/* =====================================================
   CUSTOM PROPERTIES
   ===================================================== */
:root {
  /* Safe areas (notch / home indicator) */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);

  --clr-bg:        #f5f5f7;
  --clr-bg-alt:    #ebebed;
  --clr-white:     #ffffff;
  --clr-dark:      #0c0c0d;
  --clr-dark-2:    #1c1c1f;
  --clr-text:      #1a1a1f;
  --clr-muted:     #64748b;
  --clr-gold:      #d1663a;
  --clr-gold-lt:   #e08560;
  --clr-gold-dk:   #a84e2a;
  --clr-border:    #dde5ed;
  --clr-green:     #22c55e;

  --ff-display: 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, 'Inter', sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  clamp(1.75rem, 3vw, 2.25rem);
  --fs-4xl:  clamp(2rem, 4vw, 3rem);
  --fs-hero: clamp(2.6rem, 6.5vw, 5rem);

  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;

  --max-w:     1200px;
  --px:        clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7rem);

  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   22px;
  --r-ios:  20px;
  --r-full: 9999px;

  --sh-sm:   0 2px 12px rgba(0,0,0,.04);
  --sh-md:   0 8px 32px rgba(0,0,0,.08);
  --sh-lg:   0 20px 50px rgba(0,0,0,.1);
  --sh-hero: 0 40px 100px rgba(0,0,0,.12);
  --sh-gold: 0 6px 28px rgba(209,102,58,.35);

  --ease: 250ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-slow: 450ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:  400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(209,102,58,.15);
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-left:  max(var(--px), var(--safe-left));
  padding-right: max(var(--px), var(--safe-right));
}
.section        { padding: var(--section-y) 0; }
.section--white { background: var(--clr-white, #ffffff); }
.section--dark  { background: var(--clr-dark); color: var(--clr-white, #ffffff); }

/* =====================================================
   TYPOGRAPHY HELPERS
   ===================================================== */
.section__eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-3);
}
.section__title {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}
.section__title--inv { color: var(--clr-white, #ffffff); }
.section__lead {
  font-size: var(--fs-lg);
  color: var(--clr-muted);
  max-width: 55ch;
}
.section__lead--inv { color: rgba(255,255,255,.6); }
.section__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section__header .section__lead { margin-inline: auto; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  padding: .72em 1.55em;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: transform var(--ease), box-shadow var(--ease),
              background var(--ease), color var(--ease), border-color var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--clr-gold); outline-offset: 3px; }
.btn:active { transform: scale(0.985); transition-duration: 80ms; }
.btn--lg { font-size: var(--fs-base); padding: .85em 1.9em; }

.btn--dark {
  background: var(--clr-dark);
  color: var(--clr-white, #ffffff);
  border-color: var(--clr-dark);
}
@media (hover: hover) {
  .btn--dark:hover {
    background: var(--clr-dark-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.25);
  }
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-dark);
  -webkit-text-fill-color: var(--clr-dark);
  border-color: rgba(0,0,0,.25);
}
@media (hover: hover) {
  .btn--outline-dark:hover {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.5);
    transform: translateY(-2px);
  }
}

.btn--gold {
  background: var(--clr-gold);
  color: var(--clr-white, #ffffff);
  border-color: var(--clr-gold);
  box-shadow: var(--sh-gold);
}
@media (hover: hover) {
  .btn--gold:hover {
    background: var(--clr-gold-dk);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(209,102,58,.45);
  }
}

/* iOS Safari: keep label + icon text rendering light on filled buttons */
.btn--dark,
.btn--gold {
  -webkit-text-fill-color: var(--clr-white, #ffffff);
}
.btn--dark svg,
.btn--gold svg {
  stroke: currentColor;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: calc(var(--sp-4) + var(--safe-top)) 0 var(--sp-4);
  transition: padding var(--ease-slow), background var(--ease-slow), box-shadow var(--ease-slow);
}
.header.scrolled {
  background: rgba(245,245,247,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), var(--sh-sm);
  padding: calc(var(--sp-2) + var(--safe-top)) 0 var(--sp-2);
}
/* backdrop-filter on an ancestor makes position:fixed on the mobile nav use the
   header as its containing block — the overlay shrinks to the header height. */
body.nav-open .header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--clr-bg) !important;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-4);
}
/* Logo — screen blend on dark wrapper removes black bg */
.nav__logo {
  display: flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
}

.logo__dark-wrap {
  isolation: isolate;
  background: var(--clr-dark);
  border-radius: var(--r-sm);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 120px;
  height: 48px;
}

.logo__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
  mix-blend-mode: screen;
}

/* Footer — same screen technique, dark footer is the surface */
.logo__img--footer {
  height: 64px;
  filter: none;
  mix-blend-mode: screen;
}

/* Pill nav */
.nav__pill {
  background: var(--clr-dark);
  border-radius: var(--r-full);
  padding: 0 var(--sp-6);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  /* Let the pill grow to full link width so grid does not squeeze labels into wrapping */
  width: max-content;
  max-width: 100%;
  justify-self: center;
}
.nav__pill .nav__drawer-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  box-sizing: border-box;
}
.nav__pill .nav__drawer-list > li {
  flex-shrink: 0;
}
.nav__drawer-cta {
  display: none;
}
.nav__link {
  font-family: var(--ff-display);
  font-size: clamp(0.625rem, 0.55rem + 0.35vw, 0.75rem);
  font-weight: 600;
  color: rgba(255,255,255,.65);
  -webkit-text-fill-color: rgba(255,255,255,.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45em 0.65em;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), -webkit-text-fill-color var(--ease);
}
.nav__link:hover,
.nav__link--active {
  background: rgba(255,255,255,.12);
  color: var(--clr-white, #ffffff);
  -webkit-text-fill-color: var(--clr-white, #ffffff);
}

/* Header right CTA */
.header__cta {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
}

/* Mobile hamburger — 3 bars, shown ≤720px */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.25,0.1,0.25,1),
              opacity   0.25s cubic-bezier(0.25,0.1,0.25,1),
              width     0.25s cubic-bezier(0.25,0.1,0.25,1);
  transform-origin: center;
}
/* X animation when open */
.nav__toggle[aria-expanded="true"] .nav__toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle__bar:nth-child(2) { opacity: 0; width: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: var(--clr-bg);
  padding-top: calc(108px + var(--safe-top));
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero__content { padding-bottom: var(--sp-12); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-white, #ffffff);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-full);
  padding: .42em 1.1em;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--sp-6);
  box-shadow: var(--sh-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--clr-green);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.82); }
}

.hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.03em;
  color: var(--clr-text);
  margin-bottom: var(--sp-6);
}
.hero__title em {
  font-style: italic;
  color: var(--clr-gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-muted);
  max-width: 52ch;
  margin: 0 auto var(--sp-8);
  line-height: 1.75;
}
.hero__subtitle-break {
  display: block;
  margin-top: .65em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

/* Hero image frame */
.hero__img-wrap { margin-top: var(--sp-12); }

.hero__img-frame {
  position: relative;
  border-radius: var(--r-ios) var(--r-ios) 0 0;
  overflow: hidden;
  box-shadow: var(--sh-hero);
  max-height: 560px;
}
.hero__img-frame img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Floating stat badges on hero image */
.hero__float-badge {
  position: absolute;
  bottom: var(--sp-8);
  background: var(--clr-white, #ffffff);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-6);
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__float-badge--l { left: var(--sp-8); }
.hero__float-badge--r { right: var(--sp-8); }

.fb__num {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--clr-gold);
  line-height: 1;
}
.fb__label {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-muted);
  letter-spacing: .04em;
}

/* =====================================================
   TICKER / MARQUEE
   ===================================================== */
.ticker {
  background: var(--clr-dark);
  padding: var(--sp-4) 0;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  white-space: nowrap;
  animation: tickerScroll 26s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .07em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ticker__dot {
  color: var(--clr-gold) !important;
  font-size: 1.1em;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   STATS
   ===================================================== */
.stats { background: var(--clr-bg); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.stat-card {
  background: var(--clr-white, #ffffff);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  text-align: center;
  border: 1px solid var(--clr-border);
  box-shadow: var(--sh-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
@media (hover: hover) {
  .stat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
}
@media (hover: none) {
  .stat-card:active { transform: scale(0.99); }
}
.stat-card__num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-card__label {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.service-card {
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  border: 1px solid var(--clr-border);
  transition: transform var(--ease-slow), box-shadow var(--ease-slow), background var(--ease-slow);
  position: relative;
}
@media (hover: hover) {
  .service-card:hover {
    background: var(--clr-white, #ffffff);
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
  }
}
@media (hover: none) {
  .service-card:active { transform: scale(0.99); }
}
.sc__num {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-border);
  letter-spacing: .1em;
  margin-bottom: var(--sp-4);
  display: block;
}
.sc__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  background: var(--clr-white, #ffffff);
  border-radius: var(--r-sm);
  color: var(--clr-gold);
  margin-bottom: var(--sp-4);
  border: 1px solid var(--clr-border);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
@media (hover: hover) {
  .service-card:hover .sc__icon {
    background: var(--clr-dark);
    color: var(--clr-white, #ffffff);
    border-color: var(--clr-dark);
  }
}
.sc__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-3);
  letter-spacing: -.01em;
}
.sc__desc {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  line-height: 1.7;
}

/* =====================================================
   PROCESS
   ===================================================== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.process-step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: var(--sp-8) var(--sp-6);
  transition: background var(--ease), transform var(--ease);
}
@media (hover: hover) {
  .process-step:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
  }
}
.ps__num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900;
  color: rgba(209,102,58,.22);
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.ps__body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--clr-white, #ffffff);
  margin-bottom: var(--sp-3);
}
.ps__body p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* =====================================================
   PROJECTS / GALLERY
   ===================================================== */
.projects { background: var(--clr-bg); }
.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}
.projects__col-right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.project-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--clr-dark);
  box-shadow: var(--sh-md);
  transition: transform var(--ease-slow), box-shadow var(--ease-slow);
  flex: 1;
}
@media (hover: hover) {
  .project-card:hover { transform: translateY(-6px); box-shadow: var(--sh-hero); }
}
.project-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.project-card--tall img { min-height: 464px; }
@media (hover: hover) {
  .project-card:hover img { transform: scale(1.05); }
}
.project-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-6);
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.project-card__tag {
  display: inline-block;
  background: var(--clr-gold);
  color: var(--clr-white, #ffffff);
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25em .75em;
  border-radius: var(--r-full);
  align-self: flex-start;
}
.project-card__info h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--clr-white, #ffffff);
}

/* =====================================================
   BEFORE & AFTER — title above; 4 snap sections × 2 videos
   ===================================================== */
.before-after__viewport {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  margin-top: var(--sp-8);
}
.before-after__strip {
  --ba-vh: min(46svh, 280px);
  --ba-pair-w: calc(var(--ba-vh) * 9 / 16 * 2 + var(--sp-3));
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: var(--sp-4);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.25rem, env(safe-area-inset-left, 0px));
  padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) var(--sp-4) max(1.25rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  outline: none;
  touch-action: pan-x;
  scrollbar-width: thin;
}
@media (min-width: 480px) {
  .before-after__strip { --ba-vh: min(52svh, 360px); }
}
@media (min-width: 720px) {
  .before-after__strip { --ba-vh: min(60svh, 460px); }
}
@media (min-width: 900px) {
  .before-after__strip { --ba-vh: min(68svh, 580px); }
}
.before-after__strip:focus-visible {
  box-shadow: inset 0 0 0 2px var(--clr-gold);
  border-radius: var(--r-sm);
}

/* One snap “screen” = one project (before + after videos) */
.ba-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 0 auto;
  width: var(--ba-pair-w);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.ba-pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
}

.ba-pair__title {
  font-family: var(--ff-display);
  font-size: clamp(0.75rem, 2.2vw, 1rem);
  font-weight: 800;
  color: var(--clr-text);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.ba-pair__videos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-3);
}
/* Each column: label stacked above its own frame only (not overlaid on video) */
.ba-pair__cell {
  flex: 0 0 auto;
  width: calc(var(--ba-vh) * 9 / 16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}
.ba-pair__label {
  flex: 0 0 auto;
  font-family: var(--ff-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  line-height: 1.2;
  text-align: center;
  width: 100%;
  max-width: 100%;
}
.ba-pair__frame {
  flex: 0 0 auto;
  height: var(--ba-vh);
  width: calc(var(--ba-vh) * 9 / 16);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #111;
  box-shadow: var(--sh-md);
  flex-shrink: 0;
}
.ba-pair__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   WHY US
   ===================================================== */
.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.img-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform .7s ease;
}
@media (hover: hover) {
  .img-frame:hover img { transform: scale(1.04); }
}
.img-frame__badge {
  position: absolute;
  bottom: var(--sp-6); right: var(--sp-6);
  background: var(--clr-gold);
  color: var(--clr-white, #ffffff);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: var(--fs-sm);
  text-align: center;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-gold);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.why-us__text { display: flex; flex-direction: column; gap: var(--sp-4); }
.why-us__text p { color: var(--clr-muted); line-height: 1.8; }
.why-us__list { display: flex; flex-direction: column; gap: var(--sp-3); margin: var(--sp-2) 0 var(--sp-4); }
.why-us__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-weight: 500;
}
.why-us__list li svg { flex-shrink: 0; color: var(--clr-gold); margin-top: 3px; }
.why-us__cta { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-2); }
.cta-note { font-size: var(--fs-sm); color: var(--clr-muted); font-style: italic; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact { background: var(--clr-bg); }
.contact__card {
  background: var(--clr-white, #ffffff);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-16);
  box-shadow: var(--sh-md);
  border: 1px solid var(--clr-border);
}
.contact__left .section__title { font-size: var(--fs-3xl); }
.contact__left p { color: var(--clr-muted); line-height: 1.75; margin-bottom: var(--sp-6); }
.contact__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--clr-dark);
  letter-spacing: -.025em;
  margin-bottom: var(--sp-6);
  transition: color var(--ease);
}
.contact__phone:hover { color: var(--clr-gold); }
.contact__phone svg { color: var(--clr-gold); flex-shrink: 0; }
.contact__pills { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-muted);
  background: var(--clr-bg);
  padding: .4em .9em;
  border-radius: var(--r-full);
  border: 1px solid var(--clr-border);
}
.pill svg { color: var(--clr-gold); }

.hours__heading {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--sp-6);
}
.hours__list { display: flex; flex-direction: column; }
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--clr-border);
  gap: var(--sp-4);
}
.hours__row:last-child { border-bottom: none; }
.hours__row dt { font-weight: 500; color: var(--clr-muted); font-size: var(--fs-sm); }
.hours__row dd { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-sm); color: var(--clr-text); text-align: right; }
.hours__row--closed dd { color: var(--clr-muted); }
.hours__row--emrg dd { color: var(--clr-gold); }
.contact__cta-btn { margin-top: var(--sp-8); width: 100%; justify-content: center; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--clr-dark);
  padding: var(--sp-12) 0 calc(var(--sp-12) + var(--safe-bottom));
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
}
.footer__nav { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.footer__nav a {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--clr-white, #ffffff); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--sp-6);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.22);
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* =====================================================
   REVEAL ANIMATION
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE — TABLET ≤ 960px
   ===================================================== */
@media (max-width: 960px) {
  .stats__grid    { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid  { grid-template-columns: repeat(2, 1fr); }
  .why-us__inner  { grid-template-columns: 1fr; gap: var(--sp-10); }
  .img-frame img  { height: 380px; }
  .contact__card  { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__top    { flex-direction: column; align-items: center; text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .projects__grid { grid-template-columns: 1fr; }
  .project-card--tall img { min-height: 280px; }
  .hero__float-badge { display: none; }
}

/* =====================================================
   RESPONSIVE — MOBILE NAV ≤ 720px
   ===================================================== */
@media (max-width: 720px) {
  :root {
    --fs-hero: clamp(2rem, 10vw, 3.25rem);
    --section-y: clamp(3rem, 10vw, 5rem);
    --fs-4xl: clamp(1.65rem, 6vw, 2.25rem);
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    position: relative;
    z-index: 1;
  }
  .header__cta   { display: none; }
  .nav__pill     { display: none; }
  .nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
  }

  .logo__dark-wrap {
    width: min(112px, 42vw);
    height: 44px;
    border-radius: 12px;
  }

  .nav__pill.is-open {
    display: flex;
    position: fixed;
    top: calc(4.75rem + var(--safe-top));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    min-height: calc(100svh - 4.75rem - var(--safe-top));
    min-height: calc(100dvh - 4.75rem - var(--safe-top));
    z-index: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    padding-bottom: max(var(--sp-8), var(--safe-bottom));
    box-sizing: border-box;
    background: var(--clr-bg);
    border-radius: 0;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
  }
  .nav__pill.is-open::before {
    /* soft edge under header */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--clr-border);
    z-index: 1;
  }

  .nav__pill.is-open .nav__drawer-list {
    flex: 1 1 auto;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__pill.is-open .nav__drawer-list li {
    border-bottom: 1px solid var(--clr-border);
  }
  .nav__pill.is-open .nav__drawer-list li:first-child {
    border-top: 1px solid var(--clr-border);
  }

  .nav__pill.is-open .nav__link {
    display: block;
    width: 100%;
    padding: 0.9rem 1.25rem;
    box-sizing: border-box;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--ff-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: left;
    text-decoration: none;
    line-height: 1.4;
    color: var(--clr-text);
    -webkit-text-fill-color: var(--clr-text);
    background: transparent;
    border: none;
    border-radius: 0;
    transition: background 0.15s ease, color 0.15s ease;
  }
  @media (hover: hover) {
    .nav__pill.is-open .nav__link:hover {
      background: rgba(0, 0, 0, 0.04);
    }
  }
  .nav__pill.is-open .nav__link:focus-visible {
    outline: 2px solid var(--clr-gold);
    outline-offset: -2px;
  }
  .nav__pill.is-open .nav__link--active {
    color: var(--clr-gold);
    -webkit-text-fill-color: var(--clr-gold);
    background: rgba(209, 102, 58, 0.08);
  }

  .nav__drawer-cta {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--sp-3);
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    padding: var(--sp-8) var(--sp-4) 0;
    text-align: center;
  }
  .nav__drawer-cta__book {
    display: inline-block;
    width: 100%;
    max-width: 18.5rem;
    padding: 0.8rem 1.25rem;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    font-family: var(--ff-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-white, #fff) !important;
    -webkit-text-fill-color: var(--clr-white, #fff) !important;
    background: var(--clr-gold);
    border: 2px solid var(--clr-gold);
    border-radius: 6px;
    box-shadow: var(--sh-gold);
  }
  @media (hover: hover) {
    .nav__drawer-cta__book:hover {
      background: var(--clr-gold-dk);
      border-color: var(--clr-gold-dk);
    }
  }
  .nav__drawer-cta__book:focus-visible {
    outline: 3px solid var(--clr-gold);
    outline-offset: 3px;
  }
  .nav__drawer-cta__phone {
    display: block;
    font-family: var(--ff-display);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: none;
    text-decoration: none;
    color: var(--clr-gold) !important;
    -webkit-text-fill-color: var(--clr-gold) !important;
  }
  .nav__drawer-cta__phone:hover {
    text-decoration: underline;
  }

  .services__grid { grid-template-columns: 1fr; }
  .process__grid  { grid-template-columns: 1fr; }
  .hero__actions  {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    max-width: 22rem;
    margin-inline: auto;
    width: 100%;
  }
  .hero__actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
  }

  .hero__title { margin-bottom: var(--sp-4); }
  .hero__subtitle { font-size: 1.05rem; max-width: 36ch; }

  .section__header { margin-bottom: var(--sp-10); }

  .contact__phone {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
    flex-wrap: wrap;
    word-break: break-word;
  }

  .contact__card {
    border-radius: var(--r-ios);
    padding: var(--sp-8);
  }

  .stat-card,
  .service-card,
  .process-step {
    border-radius: var(--r-ios);
  }

  .footer__top .btn {
    min-height: 48px;
    padding-inline: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .stat-card { padding: var(--sp-6); }
  .projects__grid { gap: var(--sp-4); }
  .project-card img { min-height: 200px; }
  .project-card--tall img { min-height: 240px; }
  .img-frame img { height: 320px; }
  .section__lead { font-size: var(--fs-base); }
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.wa-widget {
  position: fixed;
  right: max(1rem, var(--safe-right));
  bottom: max(1rem, calc(var(--safe-bottom) + 0.5rem));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem 0.65rem 0.75rem;
  background: #25d366;
  color: var(--clr-white, #ffffff);
  -webkit-text-fill-color: var(--clr-white, #ffffff);
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.wa-widget:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.14);
}
.wa-widget:active {
  transform: scale(0.98);
}
.wa-widget:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 4px;
}
.wa-widget__icon {
  flex-shrink: 0;
}
.wa-widget__label {
  padding-right: 0.15rem;
}

@media (max-width: 520px) {
  .wa-widget__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .wa-widget {
    padding: 0.85rem;
    border-radius: 50%;
    gap: 0;
  }
  .wa-widget__icon {
    width: 30px;
    height: 30px;
  }
}

body.nav-open .wa-widget {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge-dot { animation: none; }
  .ticker__track   { animation: none; }
  .img-frame:hover img,
  .project-card:hover img { transform: none; }
  .btn, .service-card, .stat-card, .wa-widget { transition: none; }
  .btn:active, .wa-widget:active { transform: none; }
  .before-after__strip { scroll-snap-type: none; }
}
