/* =========================================================
   Vivelhoy Propiedades
   Paleta: beige (base), verde (marca), café y caramelo (acentos)
   Proporción aproximada: 60% beige · 30% verde · 10% café/caramelo
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Beige */
  --cream: #F6F1E8;
  --paper: #FFFCF7;
  --sand: #EEE5D5;
  --sand-2: #E5D9C5;
  --line: #E3D7C4;
  --line-soft: #ECE3D5;

  /* Verde */
  --green-950: #18291F;
  --green-900: #1F3328;
  --green-800: #2C4636;
  --green-700: #3A5A45;
  --green-500: #6E8F6A;
  --green-400: #86A57F;
  --green-200: #CBDAC3;
  --green-100: #E4ECDD;
  --green-50: #EFF4EA;

  /* Café y caramelo */
  --cafe-800: #4E3627;
  --cafe-700: #6B4A33;
  --caramel-700: #8F5B2A;
  --caramel-500: #BF8547;
  --caramel-300: #E3B26B;
  --caramel-100: #F5E6CF;

  /* Texto */
  --ink: #2B2621;
  --ink-head: #22362B;
  --ink-2: #5C5248;
  --ink-3: #74695E;

  /* Logo */
  --logo-sun: #E8BE7E;
  --logo-ray: #E3B26B;
  --logo-tree: #86A57F;
  --logo-wood: #6B4A33;
  --logo-wall: var(--cream);
  --logo-house: #2C4636;
  --logo-door: #BF8547;

  /* Tipografía */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.45rem, 1.55rem + 3.3vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.5rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.35rem, 1.2rem + .55vw, 1.65rem);
  --fs-lead: clamp(1.075rem, 1rem + .3vw, 1.225rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  /* Geometría: radios anidados (interior = exterior − relleno) */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgb(43 38 33 / .05), 0 4px 14px -6px rgb(43 38 33 / .10);
  --shadow-2: 0 2px 4px rgb(43 38 33 / .04), 0 18px 40px -18px rgb(43 38 33 / .28);
  --shadow-3: 0 30px 70px -28px rgb(24 41 31 / .45), 0 6px 16px -8px rgb(24 41 31 / .18);

  --gutter: clamp(20px, 4vw, 40px);
  --container: 1200px;
  --section-y: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  font-weight: 560;
  color: var(--ink-head);
  letter-spacing: -.018em;
  line-height: 1.08;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: var(--green-200); color: var(--green-950); }
:focus-visible { outline: 2.5px solid var(--green-700); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--green-800); color: var(--cream); text-decoration: none; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Botones ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.5rem;
  border: 0; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn .i { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn > .i:last-child:not(:first-child) { transition: transform .3s var(--ease); }
.btn:hover > .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn-sm { --h: 44px; padding: 0 1.15rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-800); color: var(--cream); box-shadow: 0 8px 20px -10px rgb(31 51 40 / .55); }
.btn-primary:hover { background: var(--green-900); box-shadow: 0 12px 26px -12px rgb(31 51 40 / .6); }
.btn-secondary { background: var(--paper); color: var(--green-800); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--green-400); }
.btn-cream { background: var(--cream); color: var(--green-900); }
.btn-cream:hover { background: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  color: var(--green-800); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid var(--green-200); padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .25s var(--ease);
}
.text-link:hover { border-color: var(--green-700); gap: .7em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin-bottom: 1rem;
  color: var(--caramel-700); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }

.pill {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45rem .95rem .45rem .8rem;
  border-radius: var(--r-pill);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(246 241 232 / 0);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgb(246 241 232 / .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px -18px rgb(43 38 33 / .3);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand-mark { width: 54px; height: 41px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72;
  font-weight: 600; font-size: 1.5rem; letter-spacing: -.012em; color: var(--green-800);
}
.brand-sub {
  margin-top: 4px; padding-left: 1px;
  font-size: .625rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--caramel-700);
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul a {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2); font-size: .9688rem; font-weight: 550; text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav ul a:hover { color: var(--green-900); background: rgb(44 70 54 / .06); }
.main-nav ul a.is-active { color: var(--green-900); background: var(--green-100); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--green-900); box-shadow: inset 0 0 0 1px var(--line);
  align-items: center; justify-content: center;
}
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle .i-shut { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-shut { display: block; }

/* ---------- Portada ---------- */
.hero { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { margin-top: 1.35rem; font-size: var(--fs-display); line-height: 1.03; letter-spacing: -.025em; max-width: 13ch; }
.lead { margin-top: 1.35rem; max-width: 34rem; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.6; }

.paths { margin-top: 2.25rem; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.path {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 16px 16px 18px; border-radius: var(--r-md);
  background: var(--paper); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-soft);
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--green-200); }
.path-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--green-100); color: var(--green-800);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.path-icon .i { width: 22px; height: 22px; }
.path:hover .path-icon { background: var(--green-800); color: var(--cream); }
.path-text { display: flex; flex-direction: column; gap: 3px; padding-right: 18px; }
.path-text strong { font-size: 1.0313rem; font-weight: 650; color: var(--ink-head); line-height: 1.25; }
.path-text span { font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.path-arrow { position: absolute; top: 18px; right: 16px; width: 20px; height: 20px; color: var(--green-700); opacity: .55; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.path:hover .path-arrow { transform: translateX(3px); opacity: 1; }

.hero-area { margin-top: 1.5rem; display: flex; align-items: center; gap: .55em; color: var(--ink-3); font-size: var(--fs-sm); font-weight: 500; }
.hero-area { align-items: flex-start; line-height: 1.55; }
.hero-area .i { margin-top: .12em; }
.hero-area .i { color: var(--caramel-500); }
.area-link { color: var(--green-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--green-200); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.area-link:hover { text-decoration-color: var(--green-700); }
.area-link { white-space: nowrap; }

.hero-visual { position: relative; padding-bottom: 28px; }
.portrait {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 4.7; border-radius: var(--r-xl);
  background: var(--sand); box-shadow: var(--shadow-2);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.portrait-tag {
  position: absolute; top: 18px; right: 18px;
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 16px; border-radius: var(--r-md);
  background: rgb(255 252 247 / .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -10px rgb(43 38 33 / .35);
  line-height: 1.25;
}
.portrait-tag strong { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 600; font-size: 1.05rem; color: var(--ink-head); }
.portrait-tag span { font-size: .8125rem; color: var(--ink-2); }

.hero-listing {
  position: absolute; left: -36px; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px;
  width: min(360px, 92%); padding: 10px 16px 10px 10px;
  border-radius: var(--r-lg); background: var(--paper);
  box-shadow: var(--shadow-3); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-listing:hover { transform: translateY(-3px); }
.hero-listing img { width: 76px; height: 76px; object-fit: cover; border-radius: calc(var(--r-lg) - 10px); }
.hero-listing .hl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero-listing .hl-title { font-weight: 650; color: var(--ink-head); line-height: 1.25; font-size: .975rem; }
.hero-listing .hl-price { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 600; color: var(--green-800); font-size: 1.05rem; }
.hero-listing .hl-price small { font-family: var(--font-body); font-weight: 500; font-size: .8125rem; color: var(--ink-3); }
.hero-listing .hl-go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-100); color: var(--green-800); transition: background-color .3s var(--ease), color .3s var(--ease); }
.hero-listing:hover .hl-go { background: var(--green-800); color: var(--cream); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; width: max-content;
  padding: 4px 10px 4px 8px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-available { background: var(--green-100); color: var(--green-800); }
.badge-closed { background: var(--caramel-100); color: var(--cafe-800); }
.badge-op { background: transparent; color: var(--ink-3); padding-inline: 0; }
.badge-op::before { display: none; }

/* Franja de garantías */
.assurances {
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--r-lg); background: var(--sand);
  padding: 8px;
}
.assurances li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px; }
.assurances li + li { box-shadow: -1px 0 0 var(--sand-2); }
.assurance-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); color: var(--green-700);
}
.assurance-icon .i { width: 21px; height: 21px; }
.assurances strong { display: block; color: var(--ink-head); font-weight: 650; font-size: 1rem; line-height: 1.3; margin-top: 2px; }
.assurances div > span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .875rem; line-height: 1.5; }

/* ---------- Encabezados de sección ---------- */
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); font-size: var(--fs-lead); }
.section-head-light h2 { color: var(--cream); }
.section-head-light > p:not(.eyebrow) { color: rgb(246 241 232 / .78); }
.section-head-light .eyebrow { color: var(--caramel-300); }

/* ---------- Propiedades ---------- */
.listings { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.listing-block + .listing-block { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.block-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.block-head h3 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h3); }
.block-head h3 .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green-100); color: var(--green-800); stroke-width: 2; box-sizing: content-box; }
.count { padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: .875rem; font-weight: 600; }
.count.has-available { background: var(--green-100); box-shadow: none; color: var(--green-800); }

.listing-list { display: grid; gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Propiedad destacada (disponible) */
.feature {
  padding: 12px; border-radius: var(--r-xl);
  background: var(--paper); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-soft);
}
.mosaic {
  --outer: calc(var(--r-xl) - 12px);
  display: grid; gap: 8px;
  grid-template-columns: 2fr 1fr 1.3fr; grid-template-rows: 1fr 1fr;
  height: clamp(320px, 22rem + 10vw, 500px);
}
.tile {
  position: relative; padding: 0; border: 0; overflow: hidden; background: var(--sand);
  border-radius: 10px; cursor: zoom-in;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.tile:hover img { transform: scale(1.04); }
.tile-1 { grid-row: 1 / 3; border-top-left-radius: var(--outer); border-bottom-left-radius: var(--outer); }
.tile-2 { grid-row: 1 / 3; }
.tile-3 { border-top-right-radius: var(--outer); }
.tile-4 { border-bottom-right-radius: var(--outer); }
.mosaic.tiles-3 { grid-template-columns: 2fr 1.3fr; }
.mosaic.tiles-3 .tile-2 { grid-row: auto; border-top-right-radius: var(--outer); }
.mosaic.tiles-3 .tile-3 { border-radius: 10px 10px var(--outer) 10px; }
.mosaic.tiles-1, .mosaic.tiles-2 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic.tiles-1 .tile-1, .mosaic.tiles-2 .tile-1 { border-radius: var(--outer); }
.mosaic.tiles-2 .tile-2 { display: none; }
.tile .more {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: var(--r-pill);
  background: rgb(255 252 247 / .94); color: var(--ink-head); font-size: .8125rem; font-weight: 650;
  box-shadow: 0 4px 12px -6px rgb(0 0 0 / .3);
}
.tile .more .i { width: 16px; height: 16px; }

.feature-body {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding: clamp(18px, 1rem + 1vw, 30px) clamp(10px, .5rem + 1.5vw, 26px) clamp(10px, .5rem + .5vw, 14px);
}
.feature-main, .feature-side { display: flex; flex-direction: column; }
.feature-tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feature h4 {
  margin: 14px 0 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 560; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.08; letter-spacing: -.022em; color: var(--ink-head);
}
.feature .where { margin-top: 10px; display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: var(--fs-sm); }
.feature .where .i { color: var(--caramel-500); width: 18px; height: 18px; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; }
.price strong {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 600; font-size: clamp(1.85rem, 1.6rem + .8vw, 2.3rem); letter-spacing: -.02em; color: var(--green-800); line-height: 1;
}
.price span { color: var(--ink-3); font-weight: 500; }
.feature .desc { margin-top: 18px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; max-width: 34rem; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: .8125rem; font-weight: 550; }

.specs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.spec {
  grid-column: span 2; display: flex; flex-direction: column; gap: 6px;
  padding: 14px 14px 13px; border-radius: var(--r-sm); background: var(--cream);
}
.spec.wide { grid-column: span 3; }
.spec .i { width: 22px; height: 22px; color: var(--green-700); }
.spec strong { font-weight: 650; color: var(--ink-head); font-size: 1rem; line-height: 1.2; }
.spec span { margin-top: -3px; color: var(--ink-3); font-size: .8125rem; line-height: 1.3; }
.feature-actions { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-actions .btn { padding-inline: 1rem; }

/* Tarjetas de propiedades cerradas */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 8px; border-radius: var(--r-lg); background: var(--paper);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-soft); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--r-lg) - 8px); background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .9s var(--ease-out), filter .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); filter: saturate(1); }
.card-media .badge { position: absolute; top: 12px; left: 12px; background: rgb(245 230 207 / .96); box-shadow: 0 2px 10px -4px rgb(0 0 0 / .25); }
.card-media .photos {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--r-pill);
  background: rgb(31 51 40 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--cream); font-size: .75rem; font-weight: 650;
}
.card-media .photos .i { width: 15px; height: 15px; }
.card-body { padding: 16px 12px 10px; }
.card h4 { margin: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 580; font-size: 1.3rem; line-height: 1.2; color: var(--ink-head); letter-spacing: -.012em; }
.card .meta { margin-top: 6px; color: var(--ink-2); font-size: .9063rem; }
.card-link { position: absolute; inset: 0; border-radius: inherit; border: 0; background: transparent; cursor: zoom-in; }
.card-link:focus-visible { outline-offset: 2px; }

/* Tarjeta para dejar un pedido */
.ask {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px 24px; border-radius: var(--r-lg);
  background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-100);
}
.ask .ask-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--green-700); }
.ask .ask-icon .i { width: 22px; height: 22px; }
.ask h4 { margin: 18px 0 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 580; font-size: 1.35rem; line-height: 1.2; color: var(--ink-head); letter-spacing: -.012em; }
.ask p { margin-top: 10px; color: var(--ink-2); font-size: var(--fs-sm); }
.ask .ask-actions { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* ---------- Paneles de color ---------- */
.panel { margin-inline: clamp(8px, 1.4vw, 20px); border-radius: clamp(28px, 2vw + 16px, 44px); }
.panel-green { background: var(--green-900); color: var(--cream); }
.panel-sand { background: var(--sand); }

/* ---------- Servicios ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service {
  display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  padding: 28px 26px 26px; border-radius: var(--r-lg);
  background: rgb(246 241 232 / .055); box-shadow: inset 0 0 0 1px rgb(246 241 232 / .12);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { background: rgb(246 241 232 / .085); box-shadow: inset 0 0 0 1px rgb(246 241 232 / .2); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--caramel-300); color: var(--green-950); }
.service-icon .i { width: 24px; height: 24px; }
.service h3 { margin-top: 22px; color: var(--cream); font-size: var(--fs-h3); }
.service > p:not(.fee) { margin-top: 12px; color: rgb(246 241 232 / .78); font-size: var(--fs-sm); line-height: 1.6; }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: rgb(246 241 232 / .92); font-size: .9375rem; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fee { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgb(246 241 232 / .14); color: var(--cream); font-size: .9375rem; font-weight: 600; }
.fee span { display: block; margin-bottom: 3px; color: var(--caramel-300); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service .btn { margin-top: 22px; align-self: end; justify-self: stretch; }
.service .btn .i { flex: none; }

/* ---------- Proceso ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.process-intro h2 { font-size: var(--fs-h2); }
.process-intro > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); font-size: var(--fs-lead); }
.promises { margin-top: 28px; display: grid; gap: 4px; padding: 8px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-soft); }
.promises li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-md); color: var(--ink); font-size: .9688rem; line-height: 1.45; font-weight: 500; }
.promises li + li { box-shadow: 0 -1px 0 var(--line-soft); border-radius: 0; }
.promises .i { width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: var(--green-100); color: var(--green-800); }

.steps { position: relative; display: grid; gap: 14px; counter-reset: s; }
.step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 26px 26px 26px 22px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-soft);
}
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-800); color: var(--cream);
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 600; font-size: 1.5rem; line-height: 1;
}
.step h3 { font-size: 1.375rem; margin-top: 4px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.steps::before {
  content: ""; position: absolute; left: 49px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--green-200) 0 6px, transparent 6px 12px);
}

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.about-side { display: flex; flex-direction: column; }
.about-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--paper), var(--shadow-2); }
.quote { margin: 28px 0 0; padding: 0; }
.quote p {
  font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 420; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); line-height: 1.28; letter-spacing: -.012em; color: var(--green-800);
}
.quote footer { margin-top: 14px; color: var(--caramel-700); font-weight: 650; font-size: var(--fs-sm); }
.quote footer::before { content: "— "; }
.credentials { margin-top: 28px; display: grid; gap: 10px; }
.credentials li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .9375rem; font-weight: 550; }
.credentials .i { width: 26px; height: 26px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: var(--paper); color: var(--green-700); stroke-width: 2.4; }
.about-copy h2 { font-size: var(--fs-h2); }
.about-copy p:not(.eyebrow) { margin-top: 1.1rem; color: var(--ink-2); line-height: 1.7; max-width: 38rem; }
.about-copy .about-lead { margin-top: 1.4rem; color: var(--ink); font-size: var(--fs-lead); line-height: 1.6; }
.about-copy .btn { margin-top: 2rem; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro h2 { font-size: var(--fs-h2); }
.faq-intro > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); font-size: var(--fs-lead); margin-bottom: 1.5rem; }
.accordion { display: grid; gap: 10px; }
.acc-item { border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); transition: box-shadow .3s var(--ease); }
.acc-item.is-open { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.acc-item h3 { font: inherit; letter-spacing: 0; }
.acc-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 20px 20px 24px; border: 0; background: none; text-align: left; border-radius: inherit;
  font-weight: 620; font-size: 1.0313rem; line-height: 1.4; color: var(--ink-head);
}
.acc-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--green-800); transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.acc-icon .i { width: 18px; height: 18px; stroke-width: 2.2; }
.acc-item.is-open .acc-icon { transform: rotate(45deg); background: var(--green-800); color: var(--cream); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 24px 22px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; max-width: 44rem; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; }

/* ---------- Contacto ---------- */
.contact { padding-top: 0; }
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding: clamp(28px, 1rem + 4vw, 64px); border-radius: clamp(28px, 2vw + 16px, 44px);
  background: var(--green-800); color: var(--cream); overflow: hidden; position: relative; isolation: isolate;
}
.contact-card::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgb(232 190 126 / .16), transparent 68%);
}
.contact-info h2 { color: var(--cream); font-size: var(--fs-h2); }
.contact-info .eyebrow { color: var(--caramel-300); }
.contact-info > p:not(.eyebrow) { margin-top: 1rem; color: rgb(246 241 232 / .8); font-size: var(--fs-lead); max-width: 30rem; }
.contact-list { margin-top: 2.25rem; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.ci { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgb(246 241 232 / .09); color: var(--caramel-300); }
.ci .i { width: 21px; height: 21px; }
.contact-list div { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.contact-list span { color: rgb(246 241 232 / .62); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.contact-list a, .contact-list p { color: var(--cream); font-size: 1.0625rem; font-weight: 550; text-decoration: none; line-height: 1.45; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

.composer {
  padding: clamp(20px, 1rem + 1vw, 28px); border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-3);
}
.composer fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.composer legend { padding: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 580; font-size: 1.3rem; color: var(--ink-head); letter-spacing: -.01em; }
.choices { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2); font-size: .9063rem; font-weight: 600;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.choice:hover span { box-shadow: inset 0 0 0 1px var(--green-400); }
.choice input:checked + span { background: var(--green-800); color: var(--cream); box-shadow: none; }
.choice input:focus-visible + span { outline: 2.5px solid var(--green-700); outline-offset: 2px; }
.fields { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.fields .field { margin-top: 0; }
.field span { color: var(--ink-2); font-size: .8125rem; font-weight: 650; letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: var(--r-sm);
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 1rem;
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder { color: #9A8F82; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--green-700); }
.composer .btn { margin-top: 18px; }
.form-note { margin-top: 12px; color: var(--ink-3); font-size: .8125rem; text-align: center; }

/* ---------- Pie ---------- */
.site-footer { padding-top: clamp(3.5rem, 2rem + 4vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.tagline { margin-top: 14px; font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 420; font-size: 1.15rem; color: var(--cafe-700); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { margin-bottom: 4px; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel-700); }
.footer-col a, .footer-col span { color: var(--ink-2); font-size: .9375rem; text-decoration: none; width: max-content; max-width: 100%; }
.footer-col a:hover { color: var(--green-800); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); color: var(--ink-3); font-size: .8438rem;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 16px; border-radius: var(--r-pill);
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgb(18 120 60 / .6), 0 2px 6px rgb(0 0 0 / .1);
  transform: translateY(16px) scale(.9); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease), box-shadow .3s var(--ease), gap .35s var(--ease);
}
.wa-float.is-ready { transform: none; opacity: 1; }
.wa-float .i { width: 28px; height: 28px; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 650; font-size: 1rem; transition: max-width .45s var(--ease); }
.wa-float:hover, .wa-float.is-peek { gap: 10px; box-shadow: 0 18px 36px -12px rgb(18 120 60 / .7), 0 2px 6px rgb(0 0 0 / .1); }
.wa-float:hover .wa-label, .wa-float.is-peek .wa-label { max-width: 120px; }
.wa-float:focus-visible { outline-color: var(--green-900); }

/* ---------- Galería ---------- */
.gallery {
  width: min(1100px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--r-xl);
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgb(0 0 0 / .55);
  overflow: hidden;
}
.gallery:focus { outline: none; }
.gallery::backdrop { background: rgb(24 32 26 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gallery[open] { animation: pop .45s var(--ease-out); }
.gallery[open]::backdrop { animation: fade .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.gallery-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); padding: 12px; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 14px 14px; }
.gallery-kicker { color: var(--caramel-700); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gallery-head h2 { margin-top: 4px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.icon-btn {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: var(--cream); color: var(--green-900); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: #fff; }
.icon-btn .i { width: 22px; height: 22px; stroke-width: 2; }
.gallery-stage {
  position: relative; flex: 1 1 auto; min-height: 0;
  display: grid; place-items: center;
  height: min(64vh, 680px); border-radius: calc(var(--r-xl) - 12px); background: #EDE6DA; overflow: hidden;
}
.gallery-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.gallery-stage img.is-loading { opacity: 0; }
.gallery-nav { position: absolute; top: 50%; translate: 0 -50%; background: rgb(255 252 247 / .92); box-shadow: 0 6px 18px -8px rgb(0 0 0 / .35); }
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 8px 4px 14px; }
.gallery-meta p { color: var(--ink); font-weight: 600; }
.gallery-meta span { color: var(--ink-3); font-size: .875rem; font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px 8px 6px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gallery-thumbs button {
  flex: none; width: 76px; height: 58px; padding: 0; border: 0; border-radius: var(--r-xs); overflow: hidden;
  opacity: .55; scroll-snap-align: center; transition: opacity .2s var(--ease), box-shadow .2s var(--ease);
}
.gallery-thumbs button:hover { opacity: .85; }
.gallery-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--green-700); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cta { padding: 10px 8px 4px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.gallery-cta p { color: var(--ink-2); font-size: var(--fs-sm); }
.gallery-cta p strong { color: var(--green-800); font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 600; font-size: 1.2rem; margin-right: 4px; }
body.is-locked { overflow: hidden; }

.noscript { padding: 24px; border-radius: var(--r-lg); background: var(--sand); }

/* ---------- Movimiento ---------- */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-visual.rise .portrait img { animation: settle 1.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.06); } }
.js .hero-listing.is-shown { animation: rise .9s var(--ease-out) .6s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .js .rise, .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav ul a { padding: 0 10px; }
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurances li + li { box-shadow: none; }
  .assurances li:nth-child(2n) { box-shadow: -1px 0 0 var(--sand-2); }
  .assurances li:nth-child(n + 3) { border-top: 1px solid var(--sand-2); }
  .feature-body { grid-template-columns: 1fr; gap: 24px; }
  .mosaic { height: clamp(300px, 46vw, 460px); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled { --header-h: 62px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 4px);
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px; border-radius: var(--r-lg);
    background: var(--paper); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line-soft);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s linear .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav ul a { height: 52px; padding: 0 16px; border-radius: var(--r-sm); font-size: 1.0625rem; color: var(--ink); }
  .nav-cta { --h: 52px; font-size: 1rem; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; padding-bottom: 0; }
  .portrait { aspect-ratio: 4 / 4.2; }
  .hero-listing { position: relative; left: auto; bottom: auto; margin: -56px auto 0; width: calc(100% - 32px); }
  .services .service-grid { grid-template-columns: 1fr; max-width: 640px; }
  .process-grid, .faq-grid, .about-grid { grid-template-columns: 1fr; }
  .process-intro, .faq-intro { position: static; }
  .about-copy { order: -1; }
  .about-side { padding-top: 8px; border-top: 1px solid var(--sand-2); }
  .about-avatar { width: 88px; height: 88px; margin-top: 28px; }
  .contact-card { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .paths { grid-template-columns: 1fr; gap: 10px; }
  .path { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; }
  .path-arrow { position: static; margin-left: auto; }
  .path-text { padding-right: 0; }
  .assurances { grid-template-columns: 1fr; padding: 6px; }
  .assurances li { padding: 16px 14px; }
  .assurances li:nth-child(n) { box-shadow: none; border-top: 0; }
  .assurances li + li { border-top: 1px solid var(--sand-2); }
  .cards { grid-template-columns: 1fr; }
  .mosaic { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 6px; }
  .mosaic .tile { grid-row: auto; border-radius: 8px; aspect-ratio: 1; }
  .mosaic .tile-1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: var(--outer) var(--outer) 8px 8px; }
  .mosaic .tile-2 { border-bottom-left-radius: var(--outer); }
  .mosaic .tile-4 { border-bottom-right-radius: var(--outer); }
  .tile .more { right: 6px; bottom: 6px; padding: 6px 9px; font-size: .75rem; }
  .tile .more .i { display: none; }
  .feature-body { padding: 18px 8px 6px; }
  .feature-actions { grid-template-columns: 1fr; }
  .more-long { display: none; }
  .specs { grid-template-columns: 1fr 1fr; gap: 6px; }
  .spec, .spec.wide { grid-column: span 1; display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; row-gap: 0; align-items: center; padding: 12px; }
  .spec .i { grid-row: span 2; }
  .spec span { margin-top: 0; }
  .spec:last-child:nth-child(odd) { grid-column: span 2; }
  .fields { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .step-num { width: 46px; height: 46px; font-size: 1.3rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .gallery-inner { max-height: 100dvh; height: 100%; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .gallery-stage { height: auto; min-height: 50vh; flex: 1 1 auto; }
  .gallery-nav { width: 42px; height: 42px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .wa-float { height: 58px; width: 58px; padding: 0; justify-content: center; }
  .wa-float .wa-label { display: none; }
}

@media (max-width: 420px) {
  .brand-mark { width: 46px; height: 35px; }
  .brand-name { font-size: 1.32rem; }
  .brand-sub { font-size: .5625rem; letter-spacing: .26em; }
  .hero h1 { font-size: 2.35rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 18px; }
  .composer { padding: 18px 16px; }
}
