/* ==========================================================================
   Hardscaping Santana LLC — style.css
   Brand: #fec260 (gold) · #3a404e (slate) · #4169E1 (royal blue)
   Type:  Anton (brand / headings / UI) · Inter (long-form reading text)
   ========================================================================== */

/* ---------- Fonts (self-hosted, swap for fast LCP) ---------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --gold: #fec260;
  --gold-600: #e9a93c;
  --slate: #3a404e;
  --slate-800: #2b303b;
  --slate-900: #1f232b;
  --royal: #4169e1;
  --royal-700: #2f54c4;
  --cream: #f7f4ee;
  --paper: #fbfaf7;
  --ink: #262a33;
  --muted: #5d6474;
  --line: #e4e0d8;
  --white: #fff;
  --wa: #25d366;

  --font-brand: "Anton", "Impact", "Arial Narrow", sans-serif;
  /* Reading text. Change to var(--font-brand) to use Anton everywhere. */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgb(31 35 43 / .35);
  --shadow-lg: 0 30px 70px -25px rgb(31 35 43 / .45);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
}

/* Smooth cross-page transitions (supported browsers) */
@view-transition { navigation: auto; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--royal-700); }
p { margin: 0 0 1.1em; }
ul { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--slate-900); }

h1, h2, h3, h4, .display {
  font-family: var(--font-brand);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--slate);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); letter-spacing: .02em; }
p, li { text-wrap: pretty; }

/* Justified body text site-wide. hyphens:auto (uses <html lang>) avoids wide gaps on phones;
 * in centered blocks the last line stays centered. */
p, li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.section-head--center p, .center p, .lb-caption, .media--placeholder p { text-align-last: center; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--slate-900); padding: .75rem 1.1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--slate-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  font-family: var(--font-brand); font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  box-shadow: 0 10px 24px -12px rgb(254 194 96 / .8);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 16px 30px -12px rgb(254 194 96 / .9); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--slate-900); }
.btn--royal { --btn-bg: var(--royal); --btn-fg: var(--white); box-shadow: 0 10px 24px -12px rgb(65 105 225 / .8); }
.btn--royal:hover { box-shadow: 0 16px 30px -12px rgb(65 105 225 / .9); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); box-shadow: none; }
.btn--ghost:hover { background: var(--white); color: var(--slate-900); box-shadow: none; }
.btn--outline { background: transparent; color: var(--slate); border-color: var(--slate); box-shadow: none; }
.btn--outline:hover { background: var(--slate); color: var(--white); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header / navbar ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgb(43 48 59 / .55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / .08);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled { background: rgb(43 48 59 / .94); box-shadow: 0 10px 30px -15px rgb(0 0 0 / .5); --header-h: 68px; }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { flex: none; display: block; }
.brand img { height: 48px; width: auto; transition: height .3s; }
.is-scrolled .brand img { height: 42px; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.4rem, 1.6vw, 1.6rem); }
.nav-list a {
  position: relative; display: inline-flex; align-items: center; gap: .45em;
  padding: .55em .15em;
  font-family: var(--font-brand); font-size: 1.02rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2em; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-list a[aria-current="page"] { color: var(--gold); }
.nav-list a.is-disabled { cursor: default; }
.nav-list a.is-disabled::after { display: none; }
.nav-lang a {
  padding: .45em .95em; border: 1.5px solid rgb(254 194 96 / .75); border-radius: 999px; color: var(--gold);
  transition: background-color .25s, color .25s;
}
.nav-lang a::after { display: none; }
.nav-lang a:hover { background: var(--gold); color: var(--slate-900); }
.nav-mobile-extra { display: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .08); position: relative; z-index: 2;
}
.burger { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 3px; background: var(--white); transition: transform .35s var(--ease), opacity .2s, width .3s; }
.burger span:nth-child(2) { width: 16px; justify-self: end; }
.nav-open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Tablet: inline menu, compact */
@media (max-width: 1099px) {
  .nav-list { gap: .2rem .9rem; }
  .nav-list a { font-size: .95rem; letter-spacing: .06em; }
  .brand img { height: 42px; }
}
/* Mobile: hamburger + full-screen panel */
@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .is-scrolled .brand img { height: 36px; }
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(43 48 59 / .97); }
  .nav-toggle { display: block; }
  .hero-controls .hero-arrows { display: none; }
  .hero .hero-content { padding-bottom: 8rem; }
  .hero .hero-controls { bottom: 5rem; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 2rem;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    background:
      radial-gradient(120% 60% at 100% 0%, rgb(65 105 225 / .35), transparent 60%),
      linear-gradient(160deg, var(--slate-900), var(--slate));
    clip-path: circle(0 at calc(100% - 44px) 34px);
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .nav-open .site-nav { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; transition: clip-path .6s var(--ease); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .nav-list li { opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .4s var(--ease); transition-delay: calc(var(--i) * 50ms + .15s); }
  .nav-open .nav-list li { opacity: 1; transform: none; }
  .nav-list a { font-size: clamp(2.1rem, 9vw, 2.8rem); letter-spacing: .03em; padding: .1em 0; }
  .nav-list a::after { bottom: .05em; }
  .nav-lang { margin-top: .8rem; }
  .nav-lang a { font-size: 1.2rem; padding: .5em 1.1em; }
  .nav-mobile-extra { display: grid; gap: .8rem; justify-items: start; }
  .nav-phone { color: rgb(255 255 255 / .85); text-decoration: none; font-weight: 600; }
  .nav-phone i { color: var(--gold); margin-right: .4em; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Media placeholders (until photos are uploaded) ---------- */
.media { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
  display: grid; place-content: center; justify-items: center; gap: .5rem;
  width: 100%; height: 100%; min-height: 160px;
  color: rgb(255 255 255 / .75); font-size: .8rem; text-align: center; padding: 1rem;
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / .04) 0 14px, transparent 14px 28px),
    linear-gradient(140deg, #4a5163, var(--slate-800));
}
.media--placeholder i { font-size: 2rem; color: var(--gold); opacity: .8; }
.media--placeholder span { font-family: ui-monospace, monospace; opacity: .7; word-break: break-all; }

/* ---------- Hero carousel ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(600px, min(100svh, 900px));
  color: var(--white);
  background: var(--slate-900);
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg .media { transform: scale(1.12); transition: transform 7s linear; }
.hero-slide.is-active .hero-bg .media { transform: scale(1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(31 35 43 / .92) 0%, rgb(31 35 43 / .65) 45%, rgb(31 35 43 / .15) 100%),
    linear-gradient(0deg, rgb(31 35 43 / .75), transparent 40%);
}
.hero-content { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 10rem; max-width: 760px; }
.hero-content > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-active .hero-content > * { opacity: 1; transform: none; }
.is-active .hero-content > :nth-child(2) { transition-delay: .12s; }
.is-active .hero-content > :nth-child(3) { transition-delay: .24s; }
.is-active .hero-content > :nth-child(4) { transition-delay: .36s; }
.hero-title { color: var(--white); margin-bottom: .35em; font-size: clamp(2.8rem, 1.5rem + 6.2vw, 6rem); }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgb(255 255 255 / .86); max-width: 56ch; margin-bottom: 2rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--royal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); }
.hero .eyebrow, .section--dark .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.hero-controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 5.5rem;
  display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem 2.5rem; flex-wrap: wrap;
}
.hero-dots { display: flex; align-items: center; gap: .6rem; }
.hero-dot {
  position: relative; width: 56px; height: 5px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; overflow: hidden;
  background: rgb(255 255 255 / .3);
}
.hero-dot::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: dotfill var(--hero-interval, 6500ms) linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: .6rem; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgb(255 255 255 / .45); background: rgb(255 255 255 / .06); color: var(--white);
  display: grid; place-items: center; font-size: 1.05rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.hero-arrow:hover { background: var(--gold); color: var(--slate-900); border-color: var(--gold); }
.hero-counter { font-family: var(--font-brand); letter-spacing: .1em; color: rgb(255 255 255 / .7); margin-left: 1rem; }
.hero-counter b { color: var(--gold); font-weight: 400; font-size: 1.4em; }
.hero-scroll { position: absolute; right: var(--gutter); top: 50%; z-index: 3; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgb(255 255 255 / .55); display: none; }
@media (min-width: 1200px) { .hero-scroll { display: block; } }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 5; margin-top: -3.2rem; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust-item { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item i { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: rgb(65 105 225 / .1); color: var(--royal); font-size: 1.3rem; }
.trust-item strong { display: block; font-family: var(--font-brand); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 1.08rem; color: var(--slate); line-height: 1.15; }
.trust-item span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 991px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 3rem + 6vw, 4rem); position: relative; overflow-x: clip; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--slate-800); color: rgb(255 255 255 / .82); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: rgb(255 255 255 / .72); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.section-head--split > div { max-width: 680px; }
.title-accent { color: var(--royal); }
.section--dark .title-accent { color: var(--gold); }

/* Big outlined background word */
.bg-word {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-brand); text-transform: uppercase; line-height: .8; white-space: nowrap;
  font-size: clamp(6rem, 18vw, 17rem);
  color: transparent; -webkit-text-stroke: 1.5px rgb(58 64 78 / .08);
}
.section--dark .bg-word { -webkit-text-stroke-color: rgb(255 255 255 / .06); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.split-media .frame--wide { aspect-ratio: 4 / 3; }
.split-media::before {
  content: ""; position: absolute; z-index: -1; inset: 1.6rem -1.6rem -1.6rem 1.6rem; border-radius: var(--radius);
  border: 3px solid var(--gold);
}
.split-media .badge {
  position: absolute; left: -1.25rem; bottom: 2rem;
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.3rem; border-radius: 14px; background: var(--royal); color: var(--white); box-shadow: var(--shadow);
}
.split-media .badge i { font-size: 1.8rem; color: var(--gold); }
.split-media .badge strong { display: block; font-family: var(--font-brand); font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.split-media .badge span { font-size: .85rem; opacity: .85; }
.check-list { display: grid; gap: .8rem; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list i { flex: none; margin-top: .3em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: var(--gold); color: var(--slate-900); }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split-media { width: min(100% - 1.6rem, 560px); margin-inline: 0 auto; }
  .split-media .frame { aspect-ratio: 4 / 3; }
  .split-media .badge { left: .75rem; }
}

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(280px, auto); gap: 1.25rem; }
.svc-card {
  position: relative; isolation: isolate; overflow: hidden;
  grid-column: span 3; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; padding: 1.75rem; border-radius: var(--radius);
  color: var(--white); text-decoration: none; background: var(--slate);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-card:nth-child(1), .svc-card:nth-child(2) { grid-column: span 6; min-height: 380px; }
.svc-media .media--placeholder span { display: none; }
.svc-media .media--placeholder { place-content: start end; padding: 1.75rem; }
.svc-card .svc-media { position: absolute; inset: 0; z-index: -2; }
.svc-card .svc-media > * { transition: transform .8s var(--ease); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(31 35 43 / .95) 5%, rgb(31 35 43 / .35) 60%, rgb(31 35 43 / .1)); transition: background-color .4s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--white); }
.svc-card:hover .svc-media > * { transform: scale(1.07); }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; background: var(--gold); color: var(--slate-900); margin-bottom: auto; }
.svc-card h3 { color: var(--white); margin: 1rem 0 .4rem; }
.svc-card p { color: rgb(255 255 255 / .8); font-size: .95rem; margin-bottom: 1rem; max-width: 46ch; }
.svc-more { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--gold); display: inline-flex; gap: .5rem; align-items: center; }
.svc-more i { transition: transform .3s var(--ease); }
.svc-card:hover .svc-more i { transform: translateX(6px); }
@media (max-width: 1099px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .svc-card, .svc-card:nth-child(1), .svc-card:nth-child(2) { grid-column: span 1; min-height: 300px; }
}
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--radius); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); transition: border-color .3s, transform .3s var(--ease), background-color .3s; }
.step:hover { border-color: var(--gold); transform: translateY(-4px); background: rgb(255 255 255 / .07); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-brand); font-size: 3.6rem; line-height: 1; margin-bottom: 1rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.step h3 { font-size: 1.4rem; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 991px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Featured projects strip ---------- */
.featured { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.featured > * { position: relative; overflow: hidden; border-radius: var(--radius-sm); grid-column: span 4; aspect-ratio: 4 / 3; display: block; background: var(--slate); }
.featured > :nth-child(1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.featured > * > :first-child { transition: transform .8s var(--ease); }
/* The photo fills its tile instead of setting the tile's height (vertical photos would stretch the grid) */
.featured > * > .media { position: absolute; inset: 0; }
.featured > a:hover > :first-child { transform: scale(1.06); }
.featured .tag { position: absolute; left: .9rem; bottom: .9rem; padding: .35em .85em; border-radius: 999px; background: rgb(31 35 43 / .8); backdrop-filter: blur(6px); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
@media (max-width: 760px) {
  .featured { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; padding-bottom: .75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .featured > *, .featured > :nth-child(1) { flex: 0 0 82%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
}

/* ---------- Area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--slate); }
.chip i { color: var(--royal); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; max-width: 900px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--royal); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.2rem 1.4rem; font-weight: 700; color: var(--slate); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--royal); font-size: 1.4rem; font-weight: 400; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--slate-900); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.5rem, 6vw, 5.5rem); color: var(--white);
  background: var(--royal);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    repeating-linear-gradient(120deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 22px),
    radial-gradient(60% 120% at 100% 50%, rgb(254 194 96 / .35), transparent 60%);
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgb(255 255 255 / .88); font-size: 1.1rem; max-width: 52ch; }
.cta-band .btn--ghost:hover { color: var(--royal); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: var(--white);
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(65 105 225 / .45), transparent 60%),
    linear-gradient(160deg, var(--slate-900), var(--slate));
}
.page-hero .hero-bg { opacity: .35; }
.page-hero .hero-bg::after { background: linear-gradient(90deg, rgb(31 35 43 / .9), rgb(31 35 43 / .4)); }
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: rgb(255 255 255 / .82); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-hero .bg-word { right: -2rem; bottom: -2.5rem; -webkit-text-stroke-color: rgb(255 255 255 / .07); }
.breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; margin-bottom: 1.25rem; color: rgb(255 255 255 / .65); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- About: values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value i { font-size: 1.6rem; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--slate); color: var(--gold); margin-bottom: 1.2rem; }
.value h3 { font-size: 1.35rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 991px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.quote-block { position: relative; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius); background: var(--slate); color: var(--white); overflow: hidden; }
.quote-block::before { content: "\201C"; position: absolute; right: 1.5rem; top: -1.5rem; font-family: var(--font-brand); font-size: 12rem; line-height: 1; color: rgb(254 194 96 / .2); }
.quote-block p { font-family: var(--font-brand); text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.15; letter-spacing: .02em; margin: 0; position: relative; }
.quote-block p em { font-style: normal; color: var(--gold); }

/* ---------- Services detail page ---------- */
.service-row { padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-num { font-family: var(--font-brand); font-size: 1rem; letter-spacing: .2em; color: var(--royal); }
.service-row h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); }
.service-row .split-media::before { inset: -1.2rem 1.2rem 1.2rem -1.2rem; border-color: rgb(65 105 225 / .5); }
.service-row:nth-child(even) .split-media::before { inset: -1.2rem -1.2rem 1.2rem 1.2rem; border-color: rgb(254 194 96 / .8); }

/* ---------- Projects gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .7em 1.3em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--slate);
  font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .08em; font-size: .92rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter-btn:hover { border-color: var(--slate); }
.filter-btn[aria-pressed="true"] { background: var(--slate); color: var(--gold); border-color: var(--slate); }
.filter-btn .count { font-family: var(--font-body); font-size: .75em; opacity: .65; margin-left: .35em; }

.gallery-status { color: var(--muted); font-size: .92rem; margin: 2.25rem 0 0; text-align: center; text-align-last: center; }
.g-anim { animation: gIn .6s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.js .pf-media img.media, .js .tl-media img.media, .js .pf-more img.media { opacity: 0; transition: opacity .6s, transform .7s var(--ease); }
.js .pf-media img.media.is-loaded, .js .tl-media img.media.is-loaded, .js .pf-more img.media.is-loaded { opacity: 1; }

/* Phase badge: In progress (striped royal) / Finished (gold) */
.phase {
  display: inline-flex; align-items: center; gap: .45em; padding: .38em .8em; border-radius: 999px;
  font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; line-height: 1;
}
.phase::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.phase--build { background: repeating-linear-gradient(-45deg, var(--royal) 0 8px, var(--royal-700) 8px 16px); color: var(--white); }
.phase--done { background: var(--gold); color: var(--slate-900); }


/* ---------- Before / after slider ---------- */
.ba-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--slate-900);
  box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y;
}
.ba-img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba.is-swapping .ba-img, .ba.is-swapping .ba-before img { opacity: .25; }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 20px rgb(0 0 0 / .45); pointer-events: none; }
.ba-handle {
  position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--slate-900); font-size: 1.2rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / .4); pointer-events: none; transition: transform .25s var(--ease);
}
.ba:hover .ba-handle, .ba:has(.ba-range:focus-visible) .ba-handle { transform: scale(1.1); }
.ba:has(.ba-range:focus-visible) .ba-handle { outline: 3px solid var(--white); outline-offset: 3px; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag {
  position: absolute; z-index: 1; top: 1.1rem; padding: .45em 1em; border-radius: 999px; pointer-events: none;
  font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
  background: rgb(31 35 43 / .78); color: var(--white); backdrop-filter: blur(6px);
}
.ba-tag--before { left: 1.1rem; }
.ba-tag--after { right: 1.1rem; background: var(--gold); color: var(--slate-900); }
.ba.is-hinting { animation: baHint 1.6s var(--ease); }
@keyframes baHint { 0%, 100% { --pos: 50%; } 30% { --pos: 30%; } 65% { --pos: 70%; } }
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@media (max-width: 640px) { .ba { aspect-ratio: 4 / 5; } }

/* ---------- Spotlight timeline ---------- */
.pf-spot .bg-word { left: -1rem; top: 1rem; }
.timeline {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.4rem 0 .75rem; scrollbar-width: thin;
  list-style: none; margin: 0; padding-inline: 0;
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: .9rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--royal), var(--gold)); }
.tl-step { position: relative; scroll-snap-align: start; }
.tl-step::before { content: ""; position: absolute; left: 1rem; top: -1.95rem; width: 17px; height: 17px; border-radius: 50%; background: var(--slate-800); border: 3px solid var(--royal); }
.tl-step.is-done::before { border-color: var(--gold); background: var(--gold); }
.tl-card {
  display: flex; flex-direction: column; gap: .7rem; width: 100%; height: 100%; padding: .7rem .7rem 1rem; text-align: left; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius-sm); background: rgb(255 255 255 / .04); color: var(--white);
  transition: transform .35s var(--ease), border-color .3s, background-color .3s;
}
.tl-card:hover { transform: translateY(-4px); border-color: var(--gold); background: rgb(255 255 255 / .07); }
.tl-num { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.tl-num b { font-family: var(--font-brand); font-weight: 400; color: var(--gold); font-size: 1.15rem; margin-left: .2em; }
.tl-media { position: relative; display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: var(--slate); }
.tl-media .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-card:hover .tl-media .media { transform: scale(1.06); }
.tl-text { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .04em; font-size: 1.08rem; line-height: 1.2; flex: 1; }
.tl-card .phase { align-self: flex-start; }

/* ---------- Project story cards ---------- */
.pf-grid, .pf-grid li, .timeline li { text-align: left; text-align-last: auto; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.6rem 1.3rem; }
.pf-card[hidden] { display: none; }
.pf-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .35s, transform .35s var(--ease), border-color .3s;
}
.pf-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.pf-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  aspect-ratio: 4 / 3; background: #d9d5cc; touch-action: pan-y;
}
.pf-media .media, .pf-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-frames { position: absolute; inset: 0; }
.pf-frames img { opacity: 0; transition: opacity .18s; }
.pf-frames img.is-on { opacity: 1; }
.pf-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(31 35 43 / .55), transparent 28%, transparent 70%, rgb(31 35 43 / .55)); pointer-events: none; }
.pf-bar { position: absolute; z-index: 2; left: .8rem; right: .8rem; top: .8rem; display: flex; gap: 4px; }
.pf-bar i { flex: 1; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .35); transition: background-color .2s, transform .2s; }
.pf-bar i.is-build.is-on { background: var(--royal); transform: scaleY(1.5); }
.pf-bar i.is-done.is-on { background: var(--gold); transform: scaleY(1.5); }
.pf-phase { position: absolute; z-index: 2; left: .8rem; bottom: .8rem; }
.pf-hint {
  position: absolute; z-index: 2; right: .8rem; bottom: .8rem; padding: .4em .8em; border-radius: 999px;
  background: rgb(31 35 43 / .75); color: var(--white); font-size: .74rem; font-weight: 600; backdrop-filter: blur(6px);
  transition: opacity .3s;
}
.pf-hint i { color: var(--gold); margin-right: .25em; animation: hintSwipe 2.4s var(--ease) infinite; display: inline-block; }
@keyframes hintSwipe { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
.pf-media.is-scrubbing .pf-hint { opacity: 0; }
.pf-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.25rem; }
.pf-cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); margin-bottom: .45rem; }
.pf-body h3 { margin: 0; }
@media (hover: none) { .pf-hint { opacity: 1; } }

/* ---------- Projects page: phones ---------- */
@media (max-width: 640px) {
  /* Before/after tabs: one swipeable row */
  .ba-tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: .2rem var(--gutter) .4rem; scroll-padding-inline: var(--gutter);
    -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
            mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .ba-tabs::-webkit-scrollbar { display: none; }
  .ba-tabs .filter-btn { flex: none; white-space: nowrap; font-size: .85rem; padding: .65em 1.1em; }

  /* Gallery filters: tidy 2-column grid ("All" spans the full row, an odd last button too) */
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1.75rem; }
  .filters > :first-child, .filters > :last-child:nth-child(even) { grid-column: 1 / -1; }
  .filters .filter-btn {
    display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem;
    padding: .5em .8em; border-radius: 12px; font-size: .8rem; letter-spacing: .06em; line-height: 1.15;
    text-align: center; text-wrap: balance; box-shadow: 0 3px 8px -5px rgb(31 35 43 / .25);
  }
  .filters .filter-btn .count {
    flex: none; display: inline-grid; place-items: center; min-width: 1.55rem; height: 1.55rem; padding: 0 .35rem; margin: 0;
    border-radius: 999px; background: var(--cream); color: var(--slate); font-size: .68rem; font-weight: 700; opacity: 1; letter-spacing: 0;
  }
  .filters .filter-btn[aria-pressed="true"] { box-shadow: 0 8px 18px -10px rgb(31 35 43 / .7); }
  .filters .filter-btn[aria-pressed="true"] .count { background: var(--gold); color: var(--slate-900); }
  .section-head--split .ba-tabs { width: calc(100% + var(--gutter) * 2); }

  /* Spotlight: vertical timeline, all steps visible (like desktop) */
  .timeline {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 1rem;
    overflow: visible; scroll-snap-type: none; padding: 0 0 0 2rem;
  }
  .timeline::before { left: .45rem; right: auto; top: .5rem; bottom: .5rem; width: 3px; height: auto; background: linear-gradient(180deg, var(--royal), var(--gold)); }
  .tl-step::before { left: calc(-2rem + .45rem + 1.5px - 8.5px); top: 1.1rem; }
  .tl-card {
    display: grid; grid-template-columns: minmax(0, 44%) 1fr; grid-template-rows: auto 1fr auto;
    grid-template-areas: "media num" "media text" "media phase"; gap: .35rem .9rem; padding: .6rem;
  }
  .tl-media { grid-area: media; align-self: start; }
  .tl-num { grid-area: num; }
  .tl-text { grid-area: text; font-size: 1rem; }
  .tl-card .phase { grid-area: phase; justify-self: start; }

  /* Gallery: 2-column grid of compact cards */
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .pf-card { border-radius: var(--radius-sm); }
  .pf-bar { left: .5rem; right: .5rem; top: .5rem; gap: 3px; }
  .pf-bar i { height: 3px; }
  .pf-hint { display: none; }
  .pf-phase { left: .5rem; bottom: .5rem; font-size: .6rem; padding: .35em .65em; }
  .pf-body { padding: .7rem .75rem .85rem; }
  .pf-cat { font-size: .6rem; letter-spacing: .08em; margin-bottom: .3rem; line-height: 1.35; }
  .pf-body h3 { font-size: 1rem; line-height: 1.12; }
}
@media (max-width: 340px) {
  .pf-grid { grid-template-columns: 1fr; }
  .tl-card { grid-template-columns: 1fr; grid-template-areas: "num" "media" "text" "phase"; }
}


/* ---------- Story viewer (extends .lightbox) ---------- */
.story[open] { grid-template-rows: auto auto 1fr auto auto; }
.st-head { display: flex; align-items: center; gap: 1rem; }
.st-phase[hidden] { display: none; }
.st-bar { display: flex; gap: 4px; padding: 0 var(--gutter) .8rem; }
.st-bar[hidden] { display: none; }
.st-bar i { flex: 1; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .18); transition: background-color .3s; }
.st-bar i.is-seen.is-build, .st-bar i.is-on.is-build { background: var(--royal); }
.st-bar i.is-seen.is-done, .st-bar i.is-on.is-done { background: var(--gold); }
.st-bar i.is-on { box-shadow: 0 0 0 1px rgb(255 255 255 / .6); }
.story .lb-stage img { max-height: calc(100dvh - 290px); animation: stIn .35s var(--ease); }
@keyframes stIn { from { opacity: 0; transform: scale(.985); } }
.story .lb-caption { padding-bottom: .8rem; }
.story .lb-caption strong { margin-bottom: .1rem; }
.st-meta { display: block; color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: .05em; }
.st-desc { display: block; max-width: 70ch; margin: .3rem auto 0; font-size: .92rem; color: rgb(255 255 255 / .72); }
.lb-next.is-chain { width: auto; padding: 0 1.1rem; border-radius: 999px; gap: .5rem; display: flex; align-items: center; background: var(--gold); color: var(--slate-900); border-color: var(--gold); }
.lb-next.is-chain::before { content: attr(data-label); font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.st-rail { display: flex; gap: .5rem; justify-content: safe center; overflow-x: auto; padding: 0 var(--gutter) 1.2rem; scrollbar-width: none; }
.st-rail[hidden] { display: none; }
.st-thumb { position: relative; flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #222; opacity: .55; transition: opacity .25s, border-color .25s; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-thumb:hover { opacity: .9; }
.st-thumb.is-on { opacity: 1; border-color: var(--gold); }
.st-thumb.is-build.is-on { border-color: var(--royal); }
.st-thumb.is-first-done { margin-left: 1.1rem; }
@media (max-width: 640px) {
  .story .lb-stage img { max-height: calc(100dvh - 330px); }
  .story .lb-caption { padding-top: 4.5rem; }
  .lb-next.is-chain { right: 22%; }
}

/* Lightbox (<dialog>) */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #14161c; color: var(--white);
}
.lightbox::backdrop { background: rgb(0 0 0 / .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); }
.lb-counter { font-family: var(--font-brand); letter-spacing: .12em; color: var(--gold); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(.5rem, 6vw, 5.5rem); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.lb-stage .media--placeholder { width: min(90vw, 900px); aspect-ratio: 4 / 3; height: auto; border-radius: 8px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .06); color: var(--white); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; transition: background-color .25s, color .25s; }
.lb-btn:hover { background: var(--gold); color: var(--slate-900); border-color: var(--gold); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lb-caption { text-align: center; padding: 1rem var(--gutter) 1.4rem; color: rgb(255 255 255 / .85); }
.lb-caption strong { font-family: var(--font-brand); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--white); font-size: 1.2rem; display: block; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: -64px; transform: none; } .lb-prev { left: 30%; } .lb-next { right: 30%; } .lb-caption { padding-top: 4.5rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-stack { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.info-card:hover { transform: translateX(6px); border-color: var(--royal); box-shadow: var(--shadow); color: var(--ink); }
.info-card i { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--slate); color: var(--gold); }
.info-card--wa i { background: var(--wa); color: var(--white); }
.info-card small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.info-card strong { font-size: 1.05rem; word-break: break-word; }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--cream); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: rgb(255 255 255 / .7); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 190px; margin-bottom: 1.25rem; }
.site-footer h2 { font-size: 1.15rem; letter-spacing: .1em; color: var(--white); margin-bottom: 1.1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: rgb(255 255 255 / .75); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer a.is-disabled { cursor: default; }
.site-footer a.is-disabled:hover { color: rgb(255 255 255 / .75); }
.footer-contact li { display: flex; gap: .6rem; align-items: baseline; }
.footer-contact i { color: var(--gold); width: 1em; }
.footer-area-title { margin-top: 1.6rem; }
.footer-area { font-size: .88rem; line-height: 1.8; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: var(--white); transition: background-color .25s, color .25s, transform .25s; }
.footer-social a:hover { background: var(--gold); color: var(--slate-900); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); padding: 1.3rem 0; padding-bottom: calc(1.3rem + env(safe-area-inset-bottom)); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom p { margin: 0; font-size: .85rem; }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgb(255 255 255 / .2); }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { padding-right: 70px; }
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; z-index: 90;
  right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .7rem;
  height: 62px; min-width: 62px; padding: 0 17px; border-radius: 999px;
  background: var(--wa); color: var(--white); text-decoration: none;
  box-shadow: 0 14px 30px -10px rgb(37 211 102 / .7), 0 4px 12px rgb(0 0 0 / .18);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.whatsapp-float i { font-size: 1.9rem; line-height: 1; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }
.whatsapp-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .95rem; transition: max-width .45s var(--ease); }
.whatsapp-float:hover { color: var(--white); transform: translateY(-3px); }
@media (hover: hover) and (min-width: 768px) { .whatsapp-float:hover .whatsapp-float__label { max-width: 260px; } }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink); }
.text-gold { color: var(--gold); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .whatsapp-float, .hero-controls, .nav-toggle { display: none !important; }
  .hero, .page-hero { min-height: 0; color: #000; background: none; }
}
