/* =============================================================
   Eco Step Flooring  |  styles.css
   Palette (exact brand values): espresso #5A2F1D, cognac #8B4A22,
   amber #B97A2E, cream #F8E9CE. Everything else is an opacity or
   color-mix tint of those four.
   Contrast rules: amber is never small text. Cognac never sits on
   espresso. Body text is espresso on cream, cream on espresso.
   ============================================================= */

:root {
  --espresso: #5A2F1D;
  --cognac:   #8B4A22;
  --amber:    #B97A2E;
  --cream:    #F8E9CE;

  --cream-2:  #F1DDB9;                                   /* fallback */
  --cream-2:  color-mix(in srgb, var(--cream) 88%, var(--cognac));
  --cream-3:  #EAD0A6;
  --cream-3:  color-mix(in srgb, var(--cream) 76%, var(--cognac));
  --espresso-2: #4B2716;
  --espresso-2: color-mix(in srgb, var(--espresso) 86%, black);

  --ink:      var(--espresso);
  --muted:    var(--cognac);
  --line:     rgba(90, 47, 29, .16);
  --line-strong: rgba(90, 47, 29, .32);
  --line-light: rgba(248, 233, 206, .18);

  --shadow-sm: 0 2px 10px rgba(90, 47, 29, .10);
  --shadow-md: 0 14px 40px -12px rgba(90, 47, 29, .28);
  --shadow-lg: 0 30px 70px -24px rgba(90, 47, 29, .45);

  --font-display: 'Sora', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;

  --section-pad: 112px;
  --header-h: 80px;
  --radius: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-wipe: cubic-bezier(.77, 0, .18, 1);
}
@media (max-width: 768px) { :root { --section-pad: 72px; --header-h: 68px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 8px); overflow-anchor: none; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 560px) { body { font-size: 16px; } }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* paper grain over the whole page, very quiet */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.18 0 0 0 0 0.11 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ---------- type ---------- */
h1, h2, h3, h4, .h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.14; font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.28; }
p { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--amber); }
.eyebrow--amber { color: rgba(248, 233, 206, .82); }

.section { padding: var(--section-pad) 0; position: relative; }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--dark .h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: rgba(248, 233, 206, .8); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head__sub { margin-top: 18px; font-size: 1.05rem; color: var(--muted); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--light .h2 { color: var(--cream); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .005em;
  border: 1.5px solid transparent; white-space: nowrap; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--full { width: 100%; display: flex; }
.btn--espresso { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn--espresso:hover { background: var(--cognac); border-color: var(--cognac); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--cream { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn--cream:hover { background: #fff; border-color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45); }
.btn--outline-cream { background: transparent; color: var(--cream); border-color: rgba(248, 233, 206, .55); }
.btn--outline-cream:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); transform: translateY(-2px); }

/* =============================================================
   HEADER
   ============================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 233, 206, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s ease, background .35s ease;
  /* iOS Safari can visibly separate a fixed element from the top edge for a
     frame or two while its address bar collapses or during rubber-band
     overscroll, showing whatever sits behind it (the ticker, mid-scroll).
     translateZ forces the header onto its own compositor layer so it tracks
     the visual viewport instead of repainting late, and the ::before bleed
     below is a second line of defence: it extends the same blurred cream
     background upward past the viewport top, so if a gap still flashes for
     a frame, it shows more header, never the page behind it. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.header::before {
  content: '';
  position: absolute;
  top: -100vh; left: 0; right: 0; height: 100vh;
  background: inherit;
  -webkit-backdrop-filter: inherit; backdrop-filter: inherit;
  z-index: -1;
}
.header.is-scrolled { background: rgba(248, 233, 206, .96); box-shadow: 0 8px 30px -14px rgba(90, 47, 29, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: calc(var(--header-h) - 10px); }
.header__brand { display: flex; align-items: center; }
.header__logo { height: 50px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo { height: 42px; }
@media (max-width: 768px) { .header__logo { height: 40px; } .header.is-scrolled .header__logo { height: 36px; } }

.header__nav { display: none; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
@media (min-width: 960px) { .header__nav { display: flex; } }
.header__nav a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 6px 0; transition: color .2s ease; }
.header__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.header__nav a:hover { color: var(--cognac); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__right { display: flex; align-items: center; gap: 14px; }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.header__phone .ico { color: var(--amber); }
.header__phone:hover { color: var(--cognac); }
@media (min-width: 1180px) { .header__phone { display: inline-flex; } }
.header__right .btn { display: none; }
@media (min-width: 960px) { .header__right .btn { display: inline-flex; } }

.header__menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; }
@media (min-width: 960px) { .header__menu-btn { display: none; } }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.header__menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.header__menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.header__menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 24px; border-top: 1px solid var(--line); background: var(--cream); }
.mobile-nav.is-open { display: flex; animation: navDrop .35s var(--ease) both; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }
.mobile-nav a { font-size: 17px; font-weight: 500; padding: 14px 2px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.mobile-nav .mobile-nav__phone { color: var(--cognac); font-weight: 600; }
.mobile-nav .mobile-nav__phone .ico { color: var(--amber); }
.mobile-nav .btn { margin-top: 16px; border-bottom: 0; }

/* =============================================================
   1. HERO
   ============================================================= */
.hero {
  position: relative; overflow: hidden; background: var(--espresso); color: var(--cream);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 120px;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  z-index: 0; will-change: transform;
  animation: heroZoom 7s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(90, 47, 29, .93) 0%, rgba(139, 74, 34, .48) 48%, rgba(90, 47, 29, .88) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; opacity: .35; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(248, 233, 206, .85);
  margin-bottom: 26px; max-width: none;
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--amber); }
@media (max-width: 560px) { .hero__eyebrow { font-size: 11px; letter-spacing: .14em; } .hero__eyebrow::before, .hero__eyebrow::after { display: none; } }
.hero__title { color: var(--cream); max-width: 17ch; margin: 0 auto 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); text-wrap: balance; }
.hero__sub { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; color: rgba(248, 233, 206, .86); max-width: 640px; margin: 0 auto 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 44px; font-size: 14.5px; color: rgba(248, 233, 206, .9); max-width: none; }
.hero__proof li { display: inline-flex; align-items: center; gap: 10px; }
.hero__proof .ico { color: var(--amber); width: 20px; height: 20px; }
.hero__proof strong { font-weight: 600; color: var(--cream); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars .ico { width: 16px; height: 16px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(248, 233, 206, .6);
  transition: color .2s ease;
}
.hero__scroll:hover { color: var(--cream); }
@keyframes heroBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* entrance stagger (needs body visibility boot script) */
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero__eyebrow { animation: heroUp .9s var(--ease) .15s both; }
.hero__title   { animation: heroUp 1s var(--ease) .3s both; }
.hero__sub     { animation: heroUp .9s var(--ease) .5s both; }
.hero__actions { animation: heroUp .9s var(--ease) .66s both; }
.hero__proof   { animation: heroUp .9s var(--ease) .82s both; }
.hero__scroll  { animation: heroFade .8s ease 1.2s both, heroBounce 2.4s ease-in-out 2s infinite; }
.header        { animation: heroFade .8s ease .05s both; }

/* =============================================================
   2. TICKER
   ============================================================= */
.ticker { background: var(--cognac); color: var(--cream); overflow: hidden; border-top: 1px solid rgba(90, 47, 29, .5); border-bottom: 1px solid rgba(90, 47, 29, .5); position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: tick 36s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; align-items: center; padding: 18px 0; }
.ticker__list li { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; padding-right: 34px; }
.ticker__list li::before { content: ''; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); margin-right: 34px; flex-shrink: 0; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   reveal system
   ============================================================= */
@keyframes revealUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes revealFade { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-visible { animation: revealUp 1.05s var(--ease) var(--delay, 0ms) both; }
.reveal-fade { opacity: 0; }
.reveal-fade.is-visible { animation: revealFade .9s var(--ease) var(--delay, 0ms) both; }

/* image wipe: reveals left to right like a board being laid.
   The clip lives on the first child, not on .wipe itself: a fully clipped
   observer target has zero intersection area in Chromium and never fires. */
.wipe > :first-child { clip-path: inset(0 100% 0 0); transition: clip-path .75s var(--ease-wipe) var(--delay, 0ms); }
.wipe img { transform: scale(1.08); transition: transform 1s var(--ease-wipe) var(--delay, 0ms); }
.wipe.is-visible > :first-child { clip-path: inset(0 0 0 0); }
.wipe.is-visible img { transform: scale(1); }

/* =============================================================
   3. ABOUT
   ============================================================= */
.about__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; padding-bottom: 12%; padding-right: 10%; }
.about__photo { border-radius: var(--radius); overflow: hidden; background: var(--cream-3); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 4 / 5; }
.about__photo--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--cream); box-shadow: var(--shadow-lg); }
.about__badge {
  position: absolute; top: 28px; left: -18px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: var(--espresso); color: var(--cream); padding: 14px 20px 14px 16px; border-radius: 6px; box-shadow: var(--shadow-md);
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
}
.about__badge-num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--amber); }
.about__copy p + p { margin-top: 16px; }
.about__copy .h2 { margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.stats__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 2.9vw, 2.7rem); line-height: 1; color: var(--espresso); font-variant-numeric: tabular-nums; }
.stats__label { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.signature { margin-top: 36px; display: flex; flex-direction: column; }
.signature__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.signature__role { font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__badge { left: 16px; }
}
@media (max-width: 560px) {
  .about__media { padding-bottom: 18%; padding-right: 6%; }
  .about__photo--small { width: 58%; border-width: 4px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about__badge { padding: 10px 14px; gap: 10px; } .about__badge-num { font-size: 1.9rem; }
}

/* =============================================================
   4. SERVICES
   ============================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; display: flex; flex-direction: column;
  transition: background .4s ease, color .4s ease, transform .45s var(--ease), box-shadow .45s ease, border-color .4s ease;
}
.svc:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc__num { position: absolute; top: 26px; right: 28px; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--muted); transition: color .4s ease; }
.svc__icon { width: 34px; height: 34px; color: var(--amber); margin-bottom: 26px; }
.svc__title { font-size: 1.25rem; line-height: 1.25; margin-bottom: 14px; color: inherit; transition: color .4s ease; }
.svc p { font-size: 15.5px; line-height: 1.6; color: rgba(90, 47, 29, .85); transition: color .4s ease; }
.svc__good { margin-top: 14px; font-size: 14px; color: var(--muted) !important; }
.svc__good strong { font-weight: 600; }
.svc__link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--espresso); transition: color .4s ease; }
.svc__link .ico { transition: transform .3s var(--ease); color: var(--amber); }
.svc:hover .svc__num, .svc:hover p, .svc:hover .svc__good, .svc:hover .svc__link { color: rgba(248, 233, 206, .82) !important; }
.svc:hover .svc__title, .svc:hover .svc__link { color: var(--cream) !important; }
.svc:hover .svc__link .ico { transform: translateX(5px); }
.svc--feature { grid-column: span 2; grid-row: span 2; padding: 0; display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.svc--feature .svc__img { position: relative; min-height: 300px; overflow: hidden; }
.svc--feature .svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc--feature:hover .svc__img img { transform: scale(1.04); }
.svc--feature .svc__body { padding: 34px 34px 32px; display: flex; flex-direction: column; position: relative; }
.svc--feature .svc__body p { max-width: 58ch; }
.svc--feature .svc__title { font-size: 1.55rem; font-weight: 700; max-width: 22ch; }
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--feature { grid-row: span 1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .svc--feature .svc__img { min-height: 100%; }
  .svc:last-child { grid-column: span 2; }
  .svc:last-child p { max-width: 58ch; }
}
@media (max-width: 680px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc--feature { grid-column: span 1; grid-template-columns: 1fr; }
  .svc:last-child { grid-column: span 1; }
  .svc--feature .svc__img { min-height: 220px; aspect-ratio: 16 / 10; }
  .svc { padding: 28px 24px 26px; }
}

/* =============================================================
   5. SPLIT (eco mechanism)
   ============================================================= */
.split__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__media { border-radius: var(--radius); }
.parallax { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--cream-3); }
.parallax img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.split__caption { margin-top: 16px; font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--muted); }
.split__copy .h2 { margin-bottom: 22px; }
.split__copy > p { margin-bottom: 30px; }
.checks { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.checks--tight { gap: 12px; margin-bottom: 30px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.checks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--espresso); color: var(--cream); margin-top: 1px; }
.checks strong { font-weight: 600; color: var(--espresso); }
@media (max-width: 960px) {
  .split__grid { grid-template-columns: 1fr; }
  .split__media { max-width: 520px; }
  .parallax { aspect-ratio: 5 / 4; }
}

/* =============================================================
   6. PROCESS
   ============================================================= */
.process { overflow: hidden; }
.process::before { content: ''; position: absolute; right: -10%; top: -20%; width: 55vw; height: 55vw; border-radius: 50%; background: radial-gradient(circle, rgba(185, 122, 46, .16), transparent 62%); pointer-events: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 12px; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-light); }
.steps::after { content: ''; position: absolute; left: 0; top: 7px; height: 1px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-wipe) .1s; }
.steps.is-visible::after { transform: scaleX(1); }
.step { position: relative; padding-top: 44px; }
.step__dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(185, 122, 46, .18); transform: scale(0); transition: transform .5s var(--ease); }
.steps.is-visible .step:nth-child(1) .step__dot { transition-delay: .25s; }
.steps.is-visible .step:nth-child(2) .step__dot { transition-delay: .7s; }
.steps.is-visible .step:nth-child(3) .step__dot { transition-delay: 1.15s; }
.steps.is-visible .step:nth-child(4) .step__dot { transition-delay: 1.6s; }
.steps.is-visible .step__dot { transform: scale(1); }
.step__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3.6rem; line-height: .9; color: var(--amber); margin-bottom: 18px; }
.step__title { font-size: 1.3rem; color: var(--cream); margin-bottom: 12px; }
.step p { font-size: 15.5px; line-height: 1.6; }
.process__cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 72px; }
.process__note { font-size: 14px; color: rgba(248, 233, 206, .7); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } .steps::before, .steps::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { padding-top: 0; padding-left: 34px; } .step__dot { top: 26px; } .step__num { font-size: 3.6rem; } }

/* =============================================================
   7. BEFORE / AFTER
   ============================================================= */
.ba__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ba__copy .h2 { margin-bottom: 22px; }
.ba__copy > p { margin-bottom: 26px; }
.ba-slider {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4;
  cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: none;
  box-shadow: var(--shadow-lg); background: var(--cream-3);
}
.ba-slider:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.ba-slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider__img--after { z-index: 1; }
.ba-slider__img--before { z-index: 2; filter: sepia(.4) saturate(.3) brightness(.74) contrast(.86); }
.ba-slider__label {
  position: absolute; top: 16px; z-index: 4; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; background: rgba(90, 47, 29, .88); color: var(--cream);
}
.ba-slider__label--before { left: 16px; }
.ba-slider__label--after { right: 16px; background: var(--cream); color: var(--espresso); }
.ba-slider__divider { position: absolute; top: 0; bottom: 0; z-index: 3; width: 2px; background: var(--amber); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(90, 47, 29, .2); }
.ba-slider__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; background: var(--amber); color: var(--espresso);
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
.ba-slider.is-dragging .ba-slider__handle { transform: translate(-50%, -50%) scale(1.1); }
.ba__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: none; }
.ba__meta span + span::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--amber); transform: rotate(45deg); margin-right: 22px; vertical-align: middle; }
@media (max-width: 960px) { .ba__grid { grid-template-columns: 1fr; } .ba__media { order: -1; } }

/* =============================================================
   8. RECENT WORK
   ============================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--espresso); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.chip:hover { border-color: var(--espresso); }
.chip.is-active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream-3); display: block; transition: opacity .3s ease, transform .3s ease; }
.tile--tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px;
  background: linear-gradient(to top, rgba(90, 47, 29, .92), rgba(90, 47, 29, 0));
  color: var(--cream); display: flex; flex-direction: column; gap: 4px;
  transform: translateY(6px); transition: transform .5s var(--ease);
}
.tile:hover .tile__cap { transform: none; }
.tile__cap::before { content: ''; width: 0; height: 1px; background: var(--amber); margin-bottom: 10px; transition: width .6s var(--ease); }
.tile:hover .tile__cap::before { width: 44px; }
.tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.15; }
.tile__meta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(248, 233, 206, .8); }
.tile__meta i { font-style: normal; margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(248, 233, 206, .4); }
.tile.is-fading { opacity: 0; transform: scale(.96); }
.tile.is-hidden { display: none; }
.work__empty { margin-top: 24px; color: var(--muted); }
@media (max-width: 960px) { .work__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 560px) { .work__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; } .tile--tall { grid-row: span 1; } }

/* =============================================================
   9. REVIEWS
   ============================================================= */
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.reviews__head .h2 { max-width: 640px; }
.rating { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream-2); }
.rating__g { width: 34px; height: 34px; }
.rating__row { display: flex; align-items: center; gap: 10px; }
.rating__num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.rating__label { font-size: 13px; color: var(--muted); }
.stars--amber .ico { width: 15px; height: 15px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.review { background: var(--cream-2); border: 1px solid var(--line); border-radius: 12px; padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.review:nth-child(2) { margin-top: 36px; }
.review__quote { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.5; letter-spacing: -.01em; color: var(--espresso); max-width: none; }
.review__who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.review__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cream); }
.review__name { display: block; font-weight: 600; font-size: 15px; }
.review__meta { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .reviews__grid { grid-template-columns: 1fr; max-width: 640px; } .review:nth-child(2) { margin-top: 0; } }

/* =============================================================
   10. FAQ
   ============================================================= */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .h2 { margin-bottom: 18px; }
.faq__intro p { color: rgba(90, 47, 29, .85); }
.faq__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--espresso); }
.faq__phone .ico { color: var(--amber); width: 26px; height: 26px; }
.faq__phone:hover { color: var(--cognac); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { font-family: var(--font-body); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--espresso); transition: color .2s ease; }
.faq-item__q:hover { color: var(--cognac); }
.faq-item__icon { width: 24px; height: 24px; color: var(--amber); transition: transform .4s var(--ease); flex-shrink: 0; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-item__inner { padding: 0 48px 26px 0; }
.faq-item__inner p { font-size: 16px; color: rgba(90, 47, 29, .85); }
.faq-item__inner p + p { margin-top: 12px; }
@media (max-width: 960px) { .faq__grid { grid-template-columns: 1fr; } .faq__intro { position: static; } .faq-item__q { font-size: 17px; padding: 20px 0; } }

/* =============================================================
   11. CONTACT
   ============================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info .h2 { margin-bottom: 18px; }
.contact__list { display: flex; flex-direction: column; gap: 22px; margin: 36px 0; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--amber); }
.contact__k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact__list a { font-weight: 600; font-size: 17px; }
.contact__list a:hover { color: var(--cognac); }
.contact__area { font-size: 15px; color: rgba(90, 47, 29, .85); }
.form { position: relative; background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px; padding: 40px; box-shadow: var(--shadow-md); }
.form__head { margin-bottom: 26px; }
.form__title { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.form__head p { font-size: 15px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: rgba(255, 255, 255, .55); color: var(--espresso); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(90, 47, 29, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(185, 122, 46, .22); background: #fff; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A2F1D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.form .btn { margin-top: 6px; }
.form__fine { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; max-width: none; }
.form__success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; background: var(--cream-2); border-radius: 14px; }
.form__success[hidden] { display: none; }
.form__success-icon { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--espresso); color: var(--cream); margin-bottom: 22px; }
.form__success h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.form__success p { color: rgba(90, 47, 29, .85); }
.form__success a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form.is-sent > :not(.form__success) { visibility: hidden; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 28px 22px; } .form__row { grid-template-columns: 1fr; gap: 0; } }

/* =============================================================
   12. FINAL CTA
   ============================================================= */
.cta { position: relative; overflow: hidden; background: var(--espresso); color: var(--cream); padding: clamp(96px, 12vw, 160px) 0; text-align: center; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.8); will-change: transform; }
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(90, 47, 29, .82), rgba(139, 74, 34, .55) 55%, rgba(90, 47, 29, .9)); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { color: var(--cream); max-width: 20ch; margin: 0 auto 22px; font-size: clamp(2rem, 4vw, 3.6rem); }
.cta__sub { color: rgba(248, 233, 206, .84); max-width: 600px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 34px; }
.cta__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--cream); }
.cta__phone .ico { color: var(--amber); width: 24px; height: 24px; }
.cta__phone:hover { color: #fff; }

/* =============================================================
   13. FOOTER
   ============================================================= */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer__logo { width: 210px; height: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 15px; color: rgba(90, 47, 29, .85); margin-bottom: 22px; max-width: 34ch; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 15px; padding: 5px 0; color: rgba(90, 47, 29, .85); transition: color .2s ease, transform .3s var(--ease); }
.footer__col a:hover { color: var(--cognac); transform: translateX(3px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__brand { grid-column: span 1; } }

/* floating call pill (mobile only) */
.floating-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  background: var(--espresso); color: var(--cream); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .4s var(--ease);
}
.floating-call .ico { color: var(--amber); }
.floating-call.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 960px) { .floating-call { display: none; } }

/* =============================================================
   reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-fade, .wipe { opacity: 1 !important; transform: none !important; }
  .wipe > :first-child { clip-path: none !important; }
  .wipe img { transform: none !important; }
  .ticker__track { animation: none !important; }
  .hero__video { animation: none !important; }
  .steps::after { transform: scaleX(1) !important; }
  .step__dot { transform: scale(1) !important; }
  .floating-call { transform: none; }
}
