/* ==========================================================================
   BAMBÜH — Chill outs para eventos
   Paleta tomada de la identidad: oliva, arena, lino, salvia y crema.
   ========================================================================== */

:root {
  /* Primitivos de marca */
  --olive-900: #262719;
  --olive-800: #303120;
  --olive-700: #414230;
  --sand-500: #C1AB8E;
  --sand-600: #A58D6E;
  --linen-300: #CFC3AF;
  --sage-500: #7F7F6C;
  --cream-100: #F2EDE5;
  --cream-50: #F7F4EE;

  /* Semánticos */
  --bg: var(--cream-100);
  --bg-alt: var(--cream-50);
  --surface: #FBF9F5;
  --text: var(--olive-800);
  --text-muted: #5E5F4E;          /* 6.2:1 sobre crema */
  --text-on-dark: var(--cream-100);
  --text-on-dark-muted: #C9C3B4;
  --accent: var(--sand-600);
  --line: rgba(48, 49, 32, .14);
  --line-light: rgba(242, 237, 229, .22);
  --focus: var(--olive-800);

  /* Tipografía */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: .75rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .5vw, 1.3rem);
  --fs-h3: clamp(1.5rem, 1.3rem + .8vw, 1.9rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --fs-h1: clamp(2.75rem, 1.8rem + 4.6vw, 6rem);

  /* Espaciado (escala amplia, 8pt) */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);

  --container: 1240px;
  --gutter: clamp(1rem, .5rem + 3vw, 3rem);
  --radius: 2px;

  /* Movimiento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .25s;
  --dur: .6s;
  --dur-slow: 1.2s;

  --z-header: 100;
  --z-menu: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.08; text-wrap: balance; }
em { font-style: italic; }
p { text-wrap: pretty; }

/* Grano sutil en todo el sitio, como papel */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .35;
  background-image: url("../assets/img/grain.png");
}

:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.skip-link {
  position: absolute; left: var(--space-2); top: -100px;
  background: var(--olive-800); color: var(--cream-100);
  padding: .75rem 1.25rem; z-index: 2000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-2); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Utilidades tipográficas ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--text-on-dark-muted); }

.section { padding-block: var(--section-y); }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.section-title em { color: var(--accent); }
.section-lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 38rem; }
.section-head { margin-bottom: var(--space-6); max-width: 50rem; }
.section-head--row { max-width: none; display: grid; gap: var(--space-3); align-items: end; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1.2fr 1fr; gap: var(--space-6); }
  .section-head--row .section-title { margin-bottom: 0; }
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--olive-800); --btn-fg: var(--cream-100); --btn-bd: var(--olive-800);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px;
  padding: .9rem 2rem;
  font-size: .8125rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover-bg, var(--sand-500));
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--btn-hover-fg, var(--olive-900)); border-color: var(--btn-hover-bg, var(--sand-500)); }
.btn:active { transform: scale(.97); }
.btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--small { min-height: 42px; padding: .6rem 1.4rem; font-size: .72rem; }
.btn--light { --btn-bg: var(--cream-100); --btn-fg: var(--olive-800); --btn-bd: var(--cream-100); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream-100); --btn-bd: rgba(242,237,229,.6); --btn-hover-bg: var(--cream-100); --btn-hover-fg: var(--olive-800); }
.btn--dark { --btn-bg: var(--olive-800); }
.btn--ghost { --btn-bg: rgba(242,237,229,.35); --btn-fg: var(--olive-800); --btn-bd: rgba(48,49,32,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  padding-block: 1.4rem;
  color: var(--olive-800);
  transition: background-color var(--dur) var(--ease-out), padding var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.header__logo { position: relative; z-index: calc(var(--z-menu) + 1); display: block; width: 132px; flex-shrink: 0; }
.logo { width: 100%; transition: opacity var(--dur) var(--ease-out); }
.logo--light { position: absolute; inset: 0; opacity: 0; }

.header.is-scrolled {
  background: rgba(242, 237, 229, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  color: var(--olive-800);
  padding-block: .85rem;
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { display: flex; gap: var(--space-4); list-style: none; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding-block: .5rem;
  font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header:not(.is-scrolled) .nav__cta { --btn-bg: transparent; --btn-fg: var(--olive-800); --btn-bd: rgba(48,49,32,.45); }

.nav__extra { display: none; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer;
  position: relative; z-index: calc(var(--z-menu) + 1);
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.menu-toggle span:first-child { top: 20px; }
.menu-toggle span:last-child { top: 28px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: var(--z-menu);
    flex-direction: column; justify-content: center; gap: var(--space-5);
    background: var(--olive-800); color: var(--cream-100);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    visibility: hidden;
    transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
  .nav__list { flex-direction: column; align-items: center; gap: var(--space-2); }
  .nav__link { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0; text-transform: none; font-weight: 300; }
  .nav__list li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: .25s; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .3s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .35s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .4s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .45s; }
  .header .nav .nav__cta { --btn-bg: var(--cream-100); --btn-fg: var(--olive-800); --btn-bd: var(--cream-100); }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { color: var(--cream-100); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open .header .logo--light { opacity: 1; }
  body.menu-open .header .logo--dark { opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 1100px); min-height: min(100dvh, 1100px);
  display: flex; align-items: flex-start;
  color: var(--olive-800);
  overflow: hidden;
  background: #E9D2B4;
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  transform: scale(1.12);
  animation: kenburns 22s var(--ease-out) forwards;
  filter: saturate(.95);
}
@keyframes kenburns { to { transform: scale(1.02); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(242,237,229,.8) 0, rgba(242,237,229,0) 160px),
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(242,237,229,.7), rgba(242,237,229,.25) 60%, transparent 80%),
    linear-gradient(180deg, rgba(242,237,229,.35) 0%, rgba(242,237,229,0) 50%, rgba(38,39,25,0) 70%, rgba(38,39,25,.35) 100%);
}
.hero__content { position: relative; padding-top: clamp(7rem, 17vh, 11rem); padding-bottom: 4rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { color: var(--olive-700); justify-content: center; }
.hero__eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6; }
@media (max-width: 600px) { .hero__eyebrow { letter-spacing: .24em; } .hero__eyebrow::before, .hero__eyebrow::after { display: none; } }
.hero__title { font-size: var(--fs-h1); margin-bottom: var(--space-3); width: 100%; }
@media (min-width: 700px) { .hero__title .line { white-space: nowrap; } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { color: var(--olive-700); }
.hero__lead { font-size: var(--fs-lead); font-weight: 400; max-width: 30rem; margin-bottom: var(--space-4); color: var(--olive-800); text-shadow: 0 0 18px rgba(242,237,229,.9); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
@media (max-height: 760px) and (min-width: 700px) { .hero__title { font-size: clamp(2.5rem, 7.2vh, 4.6rem); } .hero__content { padding-top: 6.5rem; } }

/* Entrada del hero */
[data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.hero__title [data-hero] { transform: translateY(105%); opacity: 1; transition-duration: 1.3s; }
.is-loaded [data-hero] { opacity: 1; transform: none; }
.is-loaded [data-hero="1"] { transition-delay: .2s; }
.is-loaded [data-hero="2"] { transition-delay: .35s; }
.is-loaded [data-hero="3"] { transition-delay: .5s; }
.is-loaded [data-hero="4"] { transition-delay: .8s; }
.is-loaded [data-hero="5"] { transition-delay: .95s; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; margin-left: -24px;
  width: 48px; height: 72px; display: flex; justify-content: center;
}
.hero__scroll-line { position: relative; width: 1px; height: 100%; background: rgba(242,237,229,.3); overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--cream-100);
  animation: scrollhint 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollhint { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 8vw, 8rem); } }
.about__text p:not(.eyebrow):not(.about__signature) { color: var(--text-muted); max-width: 34rem; margin-bottom: var(--space-3); }
.about__signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--text); margin-top: var(--space-4); }
.about__media { position: relative; }
.about__photo { overflow: hidden; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__monogram {
  position: absolute; left: -2.5rem; bottom: -2.5rem;
  width: 94px; padding: 1.5rem; background: var(--bg);
  box-sizing: content-box;
}
@media (max-width: 640px) { .about__monogram { left: auto; right: 1rem; bottom: -2rem; width: 57px; padding: 1rem; } }

.values {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}
.value { padding: var(--space-5) var(--space-3) var(--space-2); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .values { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .value { border-bottom: 0; border-left: 1px solid var(--line); padding: var(--space-5) var(--space-4) var(--space-4); }
  .value:first-child { border-left: 0; padding-left: 0; }
}
.value h3 { font-size: 1.5rem; margin-block: var(--space-3) var(--space-1); }
.value p { font-size: .95rem; color: var(--text-muted); }

.icon { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--lg { width: 40px; height: 40px; }
.value .icon { transition: transform var(--dur) var(--ease-out); }
.value:hover .icon { transform: translateY(-4px) rotate(-6deg); }

/* ---------- Servicios ---------- */
.services { background: var(--bg-alt); }
.services__grid { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  position: relative;
  background: var(--surface);
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--space-2);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
@media (hover: hover) { .service:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(48,49,32,.35); border-color: rgba(48,49,32,.24); } }
.service h3 { font-size: var(--fs-h3); }
.service p { color: var(--text-muted); font-size: .98rem; }

.service--featured { padding: 0; overflow: hidden; background: var(--olive-800); color: var(--cream-100); border-color: var(--olive-800); }
@media (min-width: 768px) { .service--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; } }
.service--featured .service__media { overflow: hidden; min-height: 280px; }
.service--featured .service__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 100%; transition: transform 1.6s var(--ease-out); }
.service--featured:hover .service__media img { transform: scale(1.05); }
.service--featured .service__body { padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; gap: var(--space-2); justify-content: center; }
.service--featured h3 { font-size: var(--fs-h2); }
.service--featured p { color: var(--text-on-dark-muted); }
.service__list { list-style: none; padding: 0; margin-top: var(--space-2); display: grid; gap: .6rem; }
.service__list li { display: flex; gap: .8rem; align-items: baseline; font-size: .95rem; }
.service__list li::before { content: ""; width: 1rem; height: 1px; background: var(--sand-500); flex-shrink: 0; transform: translateY(-.3em); }

.badge {
  align-self: flex-start;
  font-size: .68rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
  background: var(--sand-500); color: var(--olive-900);
}
.badge--soon { background: transparent; color: var(--text-muted); border: 1px solid var(--line); }
.service .icon--lg + .badge { margin-top: var(--space-3); }

/* ---------- Para quién ---------- */
.audience { padding-block: clamp(4rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.audience__grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .audience__grid { grid-template-columns: repeat(3, 1fr); } }
.audience__num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.audience__item h3 { font-size: 2.2rem; margin-block: .4rem .8rem; }
.audience__item p { color: var(--text-muted); max-width: 22rem; }

/* ---------- Galería ---------- */
.gallery__grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 22vw, 300px); gap: var(--space-3); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
}
.gallery__item { position: relative; overflow: hidden; margin: 0; min-height: 260px; background: var(--linen-300); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(38,39,25,.7));
  color: var(--cream-100);
  font-family: var(--font-display); font-style: italic; font-size: 1.35rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__item figcaption { opacity: 1; transform: none; } }

/* ---------- Proceso ---------- */
.process { background: var(--olive-800); color: var(--text-on-dark); }
.process .section-title em { color: var(--sand-500); }
.steps { display: grid; gap: var(--space-2); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--space-4) 0; border-top: 1px solid var(--line-light); position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--sand-500); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease-out) .2s;
}
.step.is-visible::before { transform: scaleX(1); }
@media (min-width: 768px) { .step { padding-right: var(--space-4); } }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; color: var(--sand-500); line-height: 1; }
.step h3 { font-size: 1.6rem; margin-block: var(--space-3) var(--space-1); }
.step p { color: var(--text-on-dark-muted); font-size: .98rem; }

/* ---------- Frase ---------- */
.quote {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 70vh, 640px);
  display: grid; place-items: center; text-align: center;
  color: var(--cream-100); background: var(--olive-900);
}
.quote__media { position: absolute; inset: -15% 0; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.quote__veil { position: absolute; inset: 0; background: rgba(38,39,25,.55); }
.quote__text { position: relative; display: grid; justify-items: center; gap: var(--space-4); }
.quote__text p { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 6vw, 7.5rem); line-height: 1; }
.quote__text em { color: var(--linen-300); }
.quote__mono { width: 44px; opacity: .85; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); } }
.contact__intro > p:not(.eyebrow) { color: var(--text-muted); max-width: 30rem; }
.contact__list { list-style: none; padding: 0; margin-top: var(--space-5); display: grid; gap: var(--space-2); }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list a {
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out);
  padding-block: .25rem;
}
.contact__list a:hover { background-size: 100% 1px; }

.form { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; gap: var(--space-3); }
.form__row { display: grid; gap: var(--space-3); }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .75rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: .75rem 0;
  font-size: 1rem; font-weight: 300;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(48,49,32,.3);
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23303120' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 18px;
  padding-right: 1.75rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive-800); box-shadow: 0 1px 0 0 var(--olive-800); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field.has-error input { border-color: #9B3B2A; box-shadow: 0 1px 0 0 #9B3B2A; }
.field__error { font-size: .85rem; color: #9B3B2A; min-height: 0; }
.field__error:empty { display: none; }
.form__submit { justify-self: start; margin-top: var(--space-2); }
.form__note { font-size: .85rem; color: var(--text-muted); }
.form__status { font-size: .95rem; color: var(--olive-700); }
.form__status:empty { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--olive-900); color: var(--text-on-dark-muted); padding-block: var(--space-7) var(--space-5); text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: var(--space-3); }
.footer__logo { width: min(280px, 70vw); }
.footer__tag { font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-4); margin-block: var(--space-4); }
.footer__nav a { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; padding: .6rem .2rem; transition: color var(--dur-fast); }
.footer__nav a:hover { color: var(--cream-100); }
.footer__copy { font-size: .82rem; padding-top: var(--space-4); border-top: 1px solid var(--line-light); width: 100%; }

/* ==========================================================================
   MÓVIL — capa específica para pantallas pequeñas (≤ 767px)
   ========================================================================== */
.mobile-bar { display: none; }

@media (max-width: 767px) {
  :root {
    --gutter: 1.25rem;
    --section-y: 4.5rem;
    --fs-h2: clamp(2.35rem, 1.6rem + 3.6vw, 2.9rem);
    --fs-h1: clamp(2.7rem, 1.9rem + 4.4vw, 3.4rem);
    --fs-lead: 1.08rem;
  }
  body { line-height: 1.65; }
  .eyebrow { margin-bottom: 1rem; font-size: .7rem; letter-spacing: .28em; }
  .section-title { margin-bottom: 1.25rem; line-height: 1.05; }
  .section-head { margin-bottom: 2.5rem; }
  .section-lead { font-size: 1rem; }

  /* Cabecera */
  .header { padding-block: max(.9rem, env(safe-area-inset-top)) .9rem; }
  .header.is-scrolled { padding-block: max(.6rem, env(safe-area-inset-top)) .6rem; }
  .header__logo { width: 108px; }
  .menu-toggle { margin-right: -12px; }

  /* Menú a pantalla completa */
  .nav { justify-content: space-between; padding: 7rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); }
  .nav__list { align-items: flex-start; width: 100%; gap: 0; }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--line-light); }
  .nav__link { display: block; width: 100%; font-size: 2rem; padding-block: .8rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--sand-500); }
  .nav .nav__cta { width: 100%; min-height: 54px; font-size: .78rem; }
  .nav__extra {
    display: flex; flex-direction: column; align-items: center; gap: .2rem; width: 100%;
    font-size: .9rem; color: var(--text-on-dark-muted);
    opacity: 0; transition: opacity .5s var(--ease-out);
  }
  .nav__extra img { width: 24px; margin-bottom: .6rem; opacity: .8; }
  .nav__extra a { padding: .35rem; }
  .nav.is-open .nav__extra { opacity: 1; transition-delay: .5s; }

  /* Hero: texto arriba sobre el cielo, acciones abajo al alcance del pulgar */
  .hero { min-height: 100svh; }
  .hero__img { object-position: 42% 100%; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(242,237,229,.85) 0, rgba(242,237,229,.35) 38%, rgba(242,237,229,0) 55%),
      linear-gradient(0deg, rgba(38,39,25,.78) 0, rgba(38,39,25,.25) 26%, rgba(38,39,25,0) 42%);
  }
  .hero__content { min-height: 100svh; padding-top: 7.25rem; padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); }
  .hero__eyebrow { font-size: .66rem; letter-spacing: .3em; margin-bottom: 1.25rem; }
  .hero__title { line-height: 1.02; margin-bottom: 1.1rem; }
  .hero__lead { font-size: 1.02rem; max-width: 18rem; margin-bottom: 0; }
  .hero__actions { margin-top: auto; flex-direction: column; width: 100%; gap: .75rem; }
  .hero__actions .btn { width: 100%; min-height: 54px; }
  .hero__actions .btn--dark { --btn-bg: var(--cream-100); --btn-fg: var(--olive-800); --btn-bd: var(--cream-100); }
  .hero__actions .btn--ghost { --btn-bg: transparent; --btn-fg: var(--cream-100); --btn-bd: rgba(242,237,229,.55); -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* Nosotros */
  .about__grid { gap: 2.5rem; }
  .about__signature { font-size: 1.4rem; margin-top: 1.5rem; }
  .about__photo img { aspect-ratio: 5 / 6; }
  .about__monogram { right: 1.25rem; bottom: -1.75rem; width: 44px; padding: .9rem 1rem; }

  .values { grid-template-columns: 1fr 1fr; margin-top: 4rem; border-top: 0; gap: .75rem; }
  .value { padding: 1.25rem 1.1rem 1.35rem; border: 1px solid var(--line); background: var(--surface); }
  .value .icon { width: 24px; height: 24px; }
  .value h3 { font-size: 1.22rem; margin-block: .75rem .35rem; line-height: 1.15; }
  .value p { font-size: .88rem; line-height: 1.55; }

  /* Servicios */
  .services__grid { gap: 0; }
  .service--featured { margin-bottom: 2.5rem; }
  .service--featured .service__media { min-height: 0; aspect-ratio: 4 / 3; }
  .service--featured .service__body { padding: 1.75rem 1.5rem 2rem; }
  .service--featured h3 { font-size: 2.5rem; }
  .service--featured p { font-size: .95rem; }

  .service:not(.service--featured) {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; row-gap: .3rem;
    padding: 1.4rem 0; background: none; border: 0; border-top: 1px solid var(--line);
  }
  .service:not(.service--featured):last-child { border-bottom: 1px solid var(--line); }
  .service:not(.service--featured) .icon--lg { grid-row: 1 / span 3; width: 36px; height: 36px; margin-top: .2rem; }
  .service .icon--lg + .badge { margin-top: 0; }
  .service:not(.service--featured) h3 { font-size: 1.55rem; }
  .service:not(.service--featured) p { font-size: .92rem; }
  .badge { font-size: .62rem; padding: .28rem .7rem; justify-self: start; }

  /* Para quién */
  .audience { padding-block: 3.5rem; }
  .audience__grid { gap: 0; }
  .audience__item { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
  .audience__item:first-child { border-top: 0; padding-top: 0; }
  .audience__num { grid-row: 1 / span 2; padding-top: .55rem; }
  .audience__item h3 { font-size: 1.75rem; margin-block: 0 .25rem; }
  .audience__item p { font-size: .95rem; }

  /* Galería en mosaico de dos columnas */
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: .6rem; }
  .gallery__item { min-height: 0; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item figcaption { font-size: 1rem; padding: 2rem .85rem .7rem; }

  /* Proceso como línea de tiempo vertical */
  .steps { gap: 0; }
  .step { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 1rem; padding: 0 0 2rem; border-top: 0; }
  .step::before { left: 1.1rem; top: .5rem; bottom: 0; width: 1px; height: auto; background: var(--line-light); transform: scaleY(0); transform-origin: top; }
  .step.is-visible::before { transform: scaleY(1); }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step__num {
    position: relative; z-index: 1; grid-row: 1 / span 2;
    width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
    font-size: 1.15rem; border: 1px solid var(--sand-500); border-radius: 50%; background: var(--olive-800);
  }
  .step h3 { font-size: 1.45rem; margin-block: .2rem .3rem; }
  .step p { font-size: .93rem; }

  /* Frase */
  .quote { min-height: 62svh; }
  .quote__text p { font-size: 3.4rem; }
  .quote__mono { width: 35px; }

  /* Contacto */
  .contact__grid { gap: 2.5rem; }
  .contact__list { margin-top: 1.75rem; gap: .6rem; }
  .contact__list li { position: relative; padding: .9rem 1.1rem; border: 1px solid var(--line); background: var(--surface); }
  .contact__list a { font-size: 1.3rem; flex: 1; }
  .contact__list a::after { content: ""; position: absolute; inset: 0; }
  .form { margin-inline: calc(var(--gutter) * -1); border-inline: 0; padding: 2rem var(--gutter); gap: 1.25rem; }
  .form__row { gap: 1.25rem; }
  .form__row--pair { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .field label { font-size: .68rem; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .form__submit { justify-self: stretch; min-height: 56px; }
  .form__note { text-align: center; font-size: .8rem; }

  /* Footer (deja sitio a la barra inferior) */
  .footer { padding-block: 3.5rem calc(6.5rem + env(safe-area-inset-bottom)); }
  .footer__logo { width: 190px; }
  .footer__nav { gap: 0 1.25rem; margin-block: 1.25rem; }

  /* Barra de acción inferior */
  .mobile-bar {
    display: flex; gap: .5rem; align-items: center;
    position: fixed; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom));
    z-index: 80; padding: .4rem;
    background: rgba(242,237,229,.9);
    -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
    border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 12px 32px -16px rgba(38,39,25,.45);
    transform: translateY(calc(100% + 2rem)); opacity: 0;
    transition: transform .6s var(--ease-out), opacity .4s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; opacity: 1; }
  .mobile-bar__cta { flex: 1; min-height: 48px; font-size: .74rem; }
  .mobile-bar__mail {
    width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
    border: 1px solid rgba(48,49,32,.3); border-radius: 50%;
    transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
  }
  .mobile-bar__mail:active { transform: scale(.94); background: var(--linen-300); }
  .mobile-bar__mail svg { width: 20px; height: 20px; fill: none; stroke: var(--olive-800); stroke-width: 1.4; }
  body.menu-open .mobile-bar { transform: translateY(calc(100% + 2rem)); opacity: 0; }

  /* Feedback táctil */
  .service:active, .value:active, .contact__list li:active { background: var(--cream-50); }
}

@media (max-width: 359px) {
  .values { grid-template-columns: 1fr; }
  .form__row--pair { grid-template-columns: 1fr; }
}

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 767px) { .js .reveal { transform: translateY(18px); transition-duration: .8s; } }

.js .reveal-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal-img > img:first-child { transform: scale(1.18); transition: transform 1.8s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-visible > img:first-child { transform: scale(1); }
.js .gallery__item.reveal-img.is-visible:hover > img:first-child { transform: scale(1.06); transition-duration: 1.6s; transition-delay: 0s; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__img { transform: none; }
  .mobile-bar { transition: none; }
  [data-hero], .js .reveal, .js .reveal-img, .js .reveal-img > img:first-child { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
