/* ===== Canyon Cleaners — light theme ===== */
@font-face {
  font-family: 'Nokian';
  src: url('assets/Nokian.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #1c1d20;
  --ink-soft: #3a3d44;
  --gray: #6c7078;
  --gray-light: #9aa0a8;
  --line: #eae6e1;
  --bg: #ffffff;
  --bg-soft: #faf7f4;
  --ember: #c94b0c;
  --ember-dark: #a33808;
  --ember-tint: #fbf0e9;
  --shadow: 0 18px 44px -24px rgba(40, 30, 20, 0.28);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.display, h1, h2, h3 { font-family: 'Nokian', Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 14px;
}
.accent { color: var(--ember); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem; padding: 13px 24px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 12px 26px -12px rgba(201, 75, 12, 0.7); }
.btn-primary:hover { background: var(--ember-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 40px; width: auto; }
.brand-word { font-family: 'Nokian', Impact, sans-serif; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ember); }
.nav-links .btn { color: #fff; }
.nav-links .btn-primary:hover { color: #fff; }

/* ---- hero ---- */
.hero { background: linear-gradient(180deg, var(--ember-tint) 0%, #fff 72%); padding: 74px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: 3.6rem; color: var(--ink); margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust span { color: var(--ember); font-size: 1.05rem; letter-spacing: 2px; }
.hero-trust p { font-size: 0.9rem; color: var(--gray); margin: 0; max-width: 24rem; }

.hero-art { position: relative; }
.art-panel {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.art-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-sparkle { width: 46%; }
.art-sparkle .p1 { fill: var(--ember); opacity: .92; }
.art-sparkle .p2 { fill: var(--gray-light); opacity: .55; }
.art-sparkle .p3 { fill: var(--ember); opacity: .35; }
.art-label { font-family: 'Nokian', Impact, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-size: 1rem; }
.art-badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.art-badge-num { font-family: 'Nokian', Impact, sans-serif; font-size: 2rem; color: var(--ember); line-height: 1; }
.art-badge-txt { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 42rem; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: 2.5rem; color: var(--ink); margin-bottom: 14px; }
.section-sub { color: var(--gray); font-size: 1.08rem; }

/* ---- service cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.card:hover .card-photo img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0dbd4; }
.card-feature { border-color: rgba(201, 75, 12, 0.35); box-shadow: 0 18px 44px -26px rgba(201, 75, 12, 0.4); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--ember-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ember); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 9px;
  border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg);
}

/* ---- about ---- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: center; }
.about-highlight {
  background: linear-gradient(155deg, var(--ember-tint), #fff); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); padding: 34px 32px;
}
.about-quote { font-size: 1.4rem; font-weight: 700; line-height: 1.32; color: var(--ink); }
.about-quote::before { content: "\201C"; color: var(--ember); font-size: 1.5em; line-height: 0; vertical-align: -0.35em; margin-right: 3px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.stat:last-child { grid-column: 1 / -1; }
.stat { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.stat b { display: block; font-family: 'Nokian', Impact, sans-serif; color: var(--ember); font-size: 1.25rem; text-transform: uppercase; }
.stat span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); }
.about-copy h2 { font-size: 2.5rem; color: var(--ink); margin-bottom: 18px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.05rem; }
.about-copy strong { color: var(--ink); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 24px; }
.about-points div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); flex: none; }

/* ---- trust strip ---- */
.trust-strip { background: var(--ink); color: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; padding: 22px 24px; }
.trust-inner span {
  font-family: 'Nokian', Impact, sans-serif; text-transform: uppercase; letter-spacing: .08em;
  font-size: 0.98rem; color: #f3efe9;
}
.trust-inner span::before { content: "✦ "; color: var(--ember); }

/* ---- contact / cta ---- */
.cta { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center;
  background: linear-gradient(150deg, var(--ember-tint), #fff); border: 1px solid var(--line);
  border-radius: 24px; padding: 48px; }
.cta-copy h2 { font-size: 2.5rem; color: var(--ink); margin-bottom: 14px; }
.cta-copy p { color: var(--ink-soft); font-size: 1.08rem; max-width: 32rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cta-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 26px 28px; }
.cta-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.cta-row:last-child { border-bottom: none; }
.cta-k { color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 0.76rem; align-self: center; }
.cta-row a { color: var(--ember); font-weight: 600; }
.cta-row a:hover { text-decoration: underline; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #fff; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-mark { height: 44px; }
.footer-tag { color: var(--ember); font-weight: 600; font-size: 0.92rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-copy { color: var(--gray-light); font-size: 0.85rem; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 460px; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-points { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .hero-copy h1 { font-size: 2.9rem; }
}
@media (max-width: 620px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 64px; }
  .hero-copy h1 { font-size: 2.4rem; }
  .section-head h2, .about-copy h2, .cta-copy h2 { font-size: 2rem; }
  .trust-inner { justify-content: center; }
}

/* ===== animation / eye candy ===== */

/* Scroll-reveal — only armed when JS is present, so it fails OPEN without JS */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > *:nth-child(1) { transition-delay: .04s; }
.js .stagger.is-in > *:nth-child(2) { transition-delay: .12s; }
.js .stagger.is-in > *:nth-child(3) { transition-delay: .20s; }
.js .stagger.is-in > *:nth-child(4) { transition-delay: .28s; }
.js .stagger.is-in > *:nth-child(5) { transition-delay: .36s; }
.js .stagger.is-in > *:nth-child(6) { transition-delay: .44s; }

/* Header gains a soft shadow once you scroll */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px -18px rgba(28, 20, 12, 0.4); background: rgba(255, 255, 255, 0.92); }

/* Sheen sweep across the primary button on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left .55s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* Service-card icon flourish */
.card-icon { transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-5deg); background: #f6e2d6; }

/* Hero art — gentle sparkle, twinkle, and floating accents */
.art-sparkle { transform-origin: center; animation: cc-pulse 5.5s ease-in-out infinite; }
.art-sparkle .p1 { transform-origin: center; animation: cc-spin 26s linear infinite; }
.art-sparkle .p2 { transform-origin: center; animation: cc-twinkle 3.2s ease-in-out infinite; }
@keyframes cc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes cc-spin { to { transform: rotate(360deg); } }
@keyframes cc-twinkle { 0%, 100% { opacity: .55; } 50% { opacity: .12; } }

.float-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); opacity: .3; animation: cc-float 6s ease-in-out infinite; }
.float-dot.d1 { top: 16%; left: 18%; }
.float-dot.d2 { top: 28%; right: 16%; width: 7px; background: var(--gray-light); animation-delay: -2s; }
.float-dot.d3 { bottom: 20%; left: 26%; width: 6px; animation-delay: -4s; }
@keyframes cc-float { 0%, 100% { transform: translateY(0); opacity: .26; } 50% { transform: translateY(-14px); opacity: .5; } }

.art-badge { animation: cc-bob 5s ease-in-out infinite; }
@keyframes cc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .art-sparkle, .art-sparkle .p1, .art-sparkle .p2, .float-dot, .art-badge, .btn-primary::after { animation: none !important; }
}
