/* Exotic Garage — "the printed annual" direction, in the brand's black, steel and teal.
   One face (Poppins, from the portfolio). Michroma appears once: the footer wordmark, after the logo.
   No ornaments: surfaces differ by tone, sections by colour field and scale. */
:root {
  --bg: #0a0d10;
  --surface: #131a21;
  --surface-2: #1a232c;
  --steel: #1b2530;
  --ink: #eef2f5;
  --muted: #a9b4be;
  --accent: #4fd1d9;
  --accent-ink: #04191b;
  --paper: #e9edf0;
  --paper-ink: #0a0d10;
  --paper-muted: #46525d;
  --whatsapp: #25d366;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Michroma", "Poppins", sans-serif;

  /* Five sizes */
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --step-display: clamp(4rem, 1rem + 9.4vw, 9.5rem);

  --margin: clamp(20px, 2.4vw, 40px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 12vw, 200px);
  --axis: 34%;
  --max: 1520px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: var(--step-head); }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main { overflow-x: clip; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--panel { background: var(--surface); }
.lead { font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 46ch; }
.anchor { scroll-margin-top: 96px; }
.link {
  text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--t-hover) ease;
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons: flat, square, one fill ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 0;
  font-weight: 600; font-size: var(--step-body); text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #7fe0e6; }
.btn--ghost { background: var(--surface-2); color: var(--ink); }
.btn--ghost:hover { background: #24303b; }
.btn--whatsapp { background: var(--whatsapp); color: #04170b; }
.btn--whatsapp:hover { background: #4ee28a; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header: a plain bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: var(--step-small); font-weight: 500; transition: color var(--t-hover) ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: var(--step-small); }
.nav-phone:hover { color: var(--ink); }
.nav-phone svg { width: 16px; height: 16px; }
.nav .btn { min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: var(--surface-2); border: 0; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-only { display: none; }
@media (max-width: 1000px) { .nav-phone { display: none; } }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; display: none;
    flex-direction: column; gap: 0; padding: 8px var(--margin) 24px; background: var(--surface);
  }
  .nav-links.is-open { display: flex; }
  .nav-links { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), display 200ms allow-discrete; }
  @starting-style { .nav-links.is-open { opacity: 0; transform: translateY(-8px); } }
  .nav-links a { display: block; padding: 14px 0; font-size: var(--step-body); color: var(--ink); }
  .nav-links a[aria-current="page"] { color: var(--accent); text-decoration: none; }
  .nav-links .mobile-only { display: block; }
}

/* ---------- Hero: the original full-bleed photo, logo and chrome headline ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  padding: 80px 0 120px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { /* taste-skill-ignore: scrim over the photo, brand glow */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(79,209,217,.16), transparent 70%),
    linear-gradient(90deg, rgba(10,13,16,.96) 0%, rgba(10,13,16,.82) 45%, rgba(10,13,16,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero__inner { max-width: 640px; }
.hero__logo { width: 210px; height: auto; margin-bottom: 28px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.badge { /* taste-skill-ignore: brand badge from the flyer */
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 8px;
  border: 1px solid rgba(79,209,217,.35); background: rgba(79,209,217,.08);
  font: 400 11px/1.4 var(--font-mark); letter-spacing: .16em; text-transform: uppercase; color: #cdf5f7;
  margin-bottom: 22px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 10px; }
.chrome-text { /* taste-skill-ignore: chrome lettering matches the XG logo and flyer */
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #dfe6ec 45%, #8b98a5 55%, #e9eef2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 20px 0 34px; color: #b9c3cc; font-size: var(--step-body); max-width: 52ch; }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  background: rgba(19,26,33,.92);
  margin-top: -64px; position: relative; z-index: 2;
}
.trust div { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.08); }
.trust div:last-child { border-right: 0; }
.trust strong { display: block; font-size: var(--step-body); font-weight: 600; }
.trust span { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 820px) {
  .hero { min-height: 0; padding: 56px 0 100px; }
  .hero__logo { width: 150px; }
  .hero .btn-row .btn { width: 100%; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Price list, set like a menu ---------- */
.menu { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: var(--gap); }
.menu__side { display: grid; gap: 28px; align-content: start; }
.menu__side .lead { font-size: var(--step-body); color: var(--ink); }
.menu__photo { width: min(100%, 340px); aspect-ratio: 4 / 5; object-fit: cover; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; border: 0; }
.sizes legend { width: 100%; margin-bottom: 12px; font-weight: 600; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--surface-2); color: var(--ink); font-size: var(--step-small); font-weight: 500;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.sizes input:hover + span { background: #24303b; }
.sizes input:active + span { transform: scale(0.97); }
.sizes span { transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.sizes input:checked + span { background: var(--ink); color: var(--bg); }
.sizes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu__lists { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-content: start; }
.menu__group { margin-top: 48px; }
.menu__group:nth-child(-n+2) { margin-top: 0; }
.menu__group h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 20px; }
.menu__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.item__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: var(--step-body); font-weight: 500; }
.item__row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 120ms ease; }
.item__row b.is-changing { opacity: 0; }
.item p { margin-top: 4px; color: var(--muted); font-size: var(--step-body); max-width: 36ch; }
.menu__notes { grid-column: 2; margin-top: 56px; display: grid; gap: 8px; color: var(--muted); font-size: var(--step-body); max-width: 62ch; }
.menu__notes a { color: var(--ink); }
@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr; }
  .menu__side { margin-bottom: 48px; }
  .menu__photo { display: none; }
  .menu__lists { grid-template-columns: 1fr; }
  .menu__group:nth-child(2) { margin-top: 40px; }
  .menu__group h3 { font-size: var(--step-lead); }
  .item__row { font-size: var(--step-body); }
  .menu__notes { grid-column: 1; }
}

/* ---------- Work: one strip per car ---------- */
.work { display: grid; grid-template-columns: 13% 1fr; column-gap: var(--gap); }
.work__rail { position: sticky; top: 112px; align-self: start; display: grid; gap: 16px; }
.work__rail h2 { font-size: var(--step-lead); }
.work__rail a { font-size: var(--step-body); color: var(--muted); }
.strips { display: grid; gap: 48px; min-width: 0; }
.strip { margin: 0; }
.strip__track { display: flex; gap: 8px; overflow: hidden; margin-right: calc(var(--margin) * -1); }
.strip__track img { height: 220px; width: auto; max-width: none; flex: none; transition: opacity 240ms ease; }
.strip__cap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.strip__cap strong { color: var(--ink); font-weight: 600; }
.strip__cap span:last-child { text-align: right; }
@media (hover: hover) and (pointer: fine) {
  .strips:has(.strip:hover) .strip:not(:hover) img { opacity: 0.4; }
}
@media (max-width: 820px) {
  .work { grid-template-columns: 1fr; }
  .work__rail { position: static; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
  .strip__track { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); scrollbar-width: none; }
  .strip__track::-webkit-scrollbar { display: none; }
  .strip__track img { height: 150px; scroll-snap-align: start; }
  .strip__cap { grid-template-columns: 1fr auto; }
  .strip__cap span:nth-child(2) { display: none; }
}

/* ---------- How it works: lines that step across, on a teal page ---------- */
.field-teal { background: var(--accent); color: var(--accent-ink); }
.stairs { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 56px; }
.stair { grid-column: var(--start) / -1; }
.stair:nth-child(1) { --start: 1; }
.stair:nth-child(2) { --start: 3; }
.stair:nth-child(3) { --start: 5; }
.stair:nth-child(4) { --start: 7; }
.stair h2, .stair h3 { font-size: var(--step-head); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.stair p { margin-top: 14px; max-width: 34ch; font-size: var(--step-body); color: #0d3a3e; }
@media (max-width: 820px) {
  .stairs { display: grid; grid-template-columns: 1fr; row-gap: 40px; }
  .stair { grid-column: 1; padding-left: calc(var(--n) * 6vw); }
  .stair:nth-child(1) { --n: 0; } .stair:nth-child(2) { --n: 1; } .stair:nth-child(3) { --n: 2; } .stair:nth-child(4) { --n: 3; }
  .stair h2, .stair h3 { font-size: 8vw; }
  
}

/* ---------- Reviews carousel ---------- */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; column-gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; background: var(--surface); display: flex; flex-direction: column; }
.review__shot { display: block; padding: 0; border: 0; background: #0b141a; cursor: zoom-in; height: 480px; overflow: hidden; }
.review__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.review figcaption { padding: 16px 18px 20px; display: grid; gap: 4px; }
.review figcaption strong { font-weight: 600; }
.review figcaption span, .review figcaption em { color: var(--muted); font-size: var(--step-small); font-style: normal; }
.review figcaption q { margin-top: 6px; color: var(--ink); font-style: italic; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { width: 48px; height: 48px; display: grid; place-items: center; background: var(--surface-2); border: 0; cursor: pointer; transition: background-color var(--t-hover) ease; }
.carousel__btn:hover { background: #24303b; }
.carousel__btn:active { transform: scale(0.95); }
.carousel__btn svg { width: 20px; height: 20px; }
.reviews__note { margin-top: 16px; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 600px) { .carousel { grid-auto-columns: 80%; } .review__shot { height: 420px; } }

/* ---------- Reviews page ---------- */
.reviews__count { margin-bottom: 28px; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.reviews-grid .review__shot { height: 520px; }
.reviews-empty { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: var(--gap); row-gap: 20px; }
.reviews-empty > * { grid-column: 2; }
.reviews-empty h2 { max-width: 26ch; }
.reviews-empty p { max-width: 46ch; }
@media (max-width: 820px) {
  .reviews-empty { grid-template-columns: 1fr; }
  .reviews-empty > * { grid-column: 1; }
  .reviews-grid .review__shot { height: 460px; }
}

/* ---------- Contact band ---------- */
.band { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.band__say { grid-column: 1 / span 6; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.band__photo { grid-column: 8 / span 2; width: 100%; aspect-ratio: 1; object-fit: cover; }
.band__act { grid-column: 10 / span 3; display: grid; gap: 14px; align-content: start; }
.band__act h2 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.band__act a { font-size: var(--step-body); }
.band__act small { color: var(--muted); font-size: var(--step-small); }
@media (max-width: 900px) {
  .band { grid-template-columns: 96px 1fr; column-gap: 20px; row-gap: 32px; }
  .band__say { grid-column: 1 / -1; }
  .band__photo { grid-column: 1; }
  .band__act { grid-column: 2; }
}

/* ---------- Closing band on inner pages: a steel field ---------- */
.cta { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: var(--gap); row-gap: 20px; padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px); background: var(--steel); }
.cta > * { grid-column: 2; }
.cta h2 { font-size: var(--step-head); }
.cta p { color: var(--ink); max-width: 46ch; }
.cta .btn-row { margin-top: 8px; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } .cta > * { grid-column: 1; } }

/* Photo band: four job photos butted together, no gutters */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); }
.mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner page heads ---------- */
.page-head { padding: clamp(56px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.page-head__grid { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: var(--gap); align-items: end; }
.page-head h1 { grid-column: 2; font-size: var(--step-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; }
.page-head .lead { grid-column: 2; margin-top: 28px; }
.page-head .jump { grid-column: 2; }
@media (max-width: 820px) { .page-head__grid { grid-template-columns: 1fr; } .page-head h1, .page-head .lead, .page-head .jump { grid-column: 1; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: var(--surface-2); text-decoration: none; font-size: var(--step-small); transition: background-color var(--t-hover) ease; }
.jump a:hover { background: #24303b; }

/* Section headings on inner pages: title on the axis */
.label-line { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: var(--gap); margin: 0 0 40px; font-size: var(--step-head); }
.label-line span { grid-column: 2; }
@media (max-width: 820px) { .label-line { grid-template-columns: 1fr; } .label-line span { grid-column: 1; } }

/* ---------- Services: package sheets ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; background: var(--surface); padding: 32px 28px 28px; }
.section--panel .price-card { background: var(--surface-2); }
.price-card--popular { background: var(--steel); }
.price-card__flag { order: -1; margin-bottom: 8px; color: var(--accent); font-size: var(--step-small); font-weight: 600; }
.price-card h3 { font-size: var(--step-lead); }
.price-card__sub { color: var(--muted); font-size: var(--step-body); margin: 6px 0 20px; }
.rates { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rates span { color: var(--muted); font-size: var(--step-body); }
.rates b { font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates b small { font-size: var(--step-small); font-weight: 400; color: var(--muted); margin-right: 4px; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; flex: 1 0 auto; font-size: var(--step-body); }
.includes li { padding-left: 20px; position: relative; }
.includes li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; background: var(--accent); }
.includes li strong { font-weight: 600; }
.includes--2col { grid-template-columns: 1fr 1fr; column-gap: 24px; }
@media (max-width: 560px) { .includes--2col { grid-template-columns: 1fr; } }
.price-card__note { margin-top: 18px; font-size: var(--step-small); color: var(--muted); }
.price-card .btn { margin-top: 24px; width: 100%; }
.price-card--feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; padding: 40px; }
.price-card__body { display: flex; flex-direction: column; }
.price-card--feature > .price-card__flag { grid-column: 1 / -1; margin: 0; }
.price-card__media img { width: 100%; height: 100%; object-fit: cover; }
.price-card--feature .btn { align-self: start; width: auto; }
@media (max-width: 860px) {
  .price-card--feature { grid-template-columns: 1fr; padding: 28px 22px; }
  .price-card__media { order: -1; aspect-ratio: 16 / 10; }
  .price-card--feature .btn { width: 100%; }
}
.notice { display: flex; gap: 14px; margin-top: 16px; padding: 18px 22px; background: var(--surface-2); font-size: var(--step-body); }
.notice:first-of-type { margin-top: 40px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 3px; }
.notice strong { font-weight: 600; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { min-height: 44px; padding: 0 18px; border: 0; background: var(--surface-2); cursor: pointer; font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.filters button:hover { background: #24303b; }
.filters button:active, .jump a:active, .contact-card:active { transform: scale(0.98); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.gallery { columns: 3 300px; column-gap: 8px; }
.tile { position: relative; display: block; width: 100%; margin: 0 0 8px; padding: 0; border: 0; break-inside: avoid; background: var(--surface); cursor: zoom-in; overflow: hidden; }
.tile img { width: 100%; height: auto; transition: transform 600ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.03); } }
.tile[hidden] { display: none; }
.tile figure { margin: 0; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; text-align: left; font-weight: 600; font-size: var(--step-body);
  background: linear-gradient(0deg, rgba(5,8,10,.85), rgba(5,8,10,0)); /* taste-skill-ignore: neutral scrim under text on a photo */
}
.tile figcaption small { display: block; font-weight: 400; color: #d5dce2; font-size: var(--step-small); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px 24px; background: rgba(5, 8, 10, 0.96); }
.lightbox.is-open { display: flex; }
.lightbox { transition: opacity 200ms var(--ease-out), display 200ms allow-discrete; }
.lightbox img { transition: transform 240ms var(--ease-out); }
@starting-style { .lightbox.is-open { opacity: 0; } .lightbox.is-open img { transform: scale(0.96); } }
.lightbox img { max-height: 78vh; max-width: min(1200px, 100%); width: auto; }
.lightbox p { text-align: center; }
.lightbox p small, .lightbox p span, .lightbox p em { display: block; color: var(--muted); font-style: normal; }
.lightbox button { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--surface-2); cursor: pointer; }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 920px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.form-card fieldset { border: 0; margin: 0 0 36px; padding: 0; }
.form-card legend { padding: 0; margin-bottom: 20px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.grid-2 .field { margin-bottom: 0; }
.grid-2 + .field, .field + .grid-2 { margin-top: 16px; }
.field label, .field .label { font-size: var(--step-body); font-weight: 500; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #2c3843; border-radius: 0; background: var(--bg);
  transition: border-color var(--t-hover) ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a9b4be' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.field input[type="date"] { color-scheme: dark; }
.field .hint, .hint { font-size: var(--step-body); color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; background: var(--bg); cursor: pointer; font-size: var(--step-body); transition: background-color var(--t-hover) ease; }
.check:hover { background: #0f151b; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.check:has(input:checked) { background: var(--steel); }
.check small { color: var(--muted); font-size: inherit; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .form-actions { grid-template-columns: 1fr; } }
.form-error { min-height: 1.4em; margin-bottom: 14px; color: #ff9b9b; font-size: var(--step-body); }
.form-foot { margin-top: 16px; color: var(--muted); font-size: var(--step-body); }
.aside { display: grid; gap: 8px; }
.contact-card { display: grid; gap: 2px; padding: 20px 24px; background: var(--surface); text-decoration: none; transition: background-color var(--t-hover) ease; }
a.contact-card:hover { background: var(--surface-2); }
.contact-card .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.contact-card .ico--wa { color: var(--whatsapp); }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted); font-size: var(--step-small); }
.contact-card strong { font-size: var(--step-body); font-weight: 600; }
.steps { margin: 0; padding-left: 1.25em; display: grid; gap: 10px; color: var(--ink); font-size: var(--step-body); }

/* ---------- Footer: inverted, the name at full width ---------- */
.site-footer { background: var(--paper); color: var(--paper-ink); padding: 56px 0 28px; min-height: 80svh; display: flex; }
.site-footer > .container { display: grid; grid-template-rows: auto 1fr auto auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
.site-footer h2 { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--step-body); color: var(--paper-muted); }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-mark { grid-row: 3; margin-top: 48px; }
.footer-mark svg { display: block; width: 100%; height: auto; fill: var(--paper-ink); }
.footer-legal { grid-row: 4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 20px; font-size: var(--step-small); color: var(--paper-muted); }
.footer-logo { height: 56px; width: auto; margin-bottom: 14px; }

/* Floating WhatsApp on phones */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: var(--whatsapp); color: #04170b; }
.fab:active { transform: scale(0.94); }
.fab svg { width: 28px; height: 28px; }
@media (max-width: 820px) { .fab { display: grid; } }

/* ---------- Motion: masked headline, staggered entrances, one drifting picture ---------- */
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__inner > * { opacity: 0; transform: translateY(16px); animation: rise 700ms var(--ease-out) forwards; animation-delay: calc(var(--k, 0) * 80ms + 100ms); }
  .js .hero__inner > :nth-child(2) { --k: 1; } .js .hero__inner > :nth-child(3) { --k: 2; } .js .hero__inner > :nth-child(4) { --k: 3; } .js .hero__inner > :nth-child(5) { --k: 4; }
  .js .hero__bg img { animation: drift 2400ms var(--ease-soft) both; }
  .js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--k, 0) * 80ms); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal] > :nth-child(2) { --k: 1; }
  .js [data-reveal] > :nth-child(3) { --k: 2; }
  .js [data-reveal] > :nth-child(4) { --k: 3; }
  .js [data-reveal] > :nth-child(n+5) { --k: 4; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] > * { opacity: 0; transition: opacity 400ms ease; }
  .js [data-reveal].is-in > * { opacity: 1; }
  .btn:active, .sizes input:active + span, .filters button:active, .carousel__btn:active, .fab:active { transform: none; }
  @starting-style { .lightbox.is-open img, .nav-links.is-open { transform: none; } }
}
