/* =========================================================
   Nelfa Núñez · nelfanunez.com
   ========================================================= */
:root {
  --wine: #4A0E25;
  --wine-deep: #2B0715;
  --rose: #F2D4CC;
  --ivory: #FFF8F5;
  --ink: #22121A;
  --gold: #C79A4B;
  --muted: #7A6168;

  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 4px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .title { margin-bottom: 0; }

.title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.title--sm { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-text); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 8px 20px; font-size: 0.92rem; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d6ab5e; }
.btn--ghost { border-color: rgba(255, 248, 245, .55); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(255, 248, 245, .08); }
.btn--wine { background: var(--wine); color: var(--ivory); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--outline { border-color: var(--wine); color: var(--wine); }
.btn--outline:hover { background: var(--wine); color: var(--ivory); }
.btn--outline-light { border-color: rgba(255, 248, 245, .6); color: var(--ivory); background: transparent; }
.btn--outline-light:hover { border-color: var(--ivory); background: rgba(255, 248, 245, .08); }
.btn--dark { background: var(--wine-deep); color: var(--ivory); }
.btn--dark:hover { background: var(--ink); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Placeholder de imagen ---------- */
.ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 120px; padding: 16px;
  background: repeating-linear-gradient(135deg, var(--wine) 0 14px, #5a1630 14px 28px);
  color: var(--rose); text-align: center;
}
.ph span { font-size: .85rem; font-family: ui-monospace, Menlo, monospace; background: rgba(43, 7, 21, .7); padding: 6px 10px; border-radius: 4px; word-break: break-all; }

/* ---------- Redes ---------- */
.social { display: flex; gap: 10px; align-items: center; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .85; transition: opacity .2s, background-color .2s;
}
.social a:hover { opacity: 1; background: rgba(255, 248, 245, .1); }
.social svg, .contact svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- 1. NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  color: var(--ivory); transition: background-color .3s, box-shadow .3s;
}
.nav.is-solid { background: var(--wine); box-shadow: 0 1px 0 rgba(255, 248, 245, .08); }
.nav__inner { height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; white-space: nowrap; }
.nav__menu { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav__menu a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .88; position: relative; }
.nav__menu a:not(.btn):hover { opacity: 1; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wine); padding: 8px var(--gutter) 28px;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { background: var(--wine); }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 248, 245, .12); font-size: 1.1rem; }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; }
}

/* ---------- 2. HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--wine-deep); color: var(--ivory); overflow: hidden;
}
.hero__media { position: absolute; inset: 0 0 0 auto; width: min(58%, 820px); }
.hero__media img, .hero__media .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--wine-deep) 0%, rgba(43, 7, 21, .75) 22%, rgba(74, 14, 37, .15) 55%, rgba(74, 14, 37, 0) 100%),
    linear-gradient(0deg, rgba(43, 7, 21, .7) 0%, rgba(43, 7, 21, 0) 35%);
}
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
.hero__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(4.2rem, 15vw, 11.5rem); line-height: .88; letter-spacing: -0.03em;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > * { display: inline-block; }
.hero__name em { font-style: italic; color: var(--rose); padding-left: .35em; }
.hero__lead { max-width: 30rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255, 248, 245, .88); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.social--hero a { width: 38px; height: 38px; }

/* Animación protagonista: entrada del nombre */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__line > * { animation: rise 1.1s cubic-bezier(.2, .7, .1, 1) both; }
.hero__line:nth-child(2) > * { animation-delay: .18s; }
.hero__lead, .hero__actions, .social--hero { animation: fade .9s ease .7s both; }

@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero__media { width: 100%; }
  .hero__media img { object-position: 60% 10%; }
  .hero__media::after {
    background: linear-gradient(0deg, var(--wine-deep) 8%, rgba(43, 7, 21, .82) 42%, rgba(74, 14, 37, .1) 75%);
  }
  .hero__name em { padding-left: .2em; }
}

/* ---------- 3. CINTA ---------- */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 22px; animation: marquee 38s linear infinite; }
.ticker__track span { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; white-space: nowrap; }
.ticker__track i { font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 4. CIFRAS ---------- */
.stats { background: var(--wine-deep); color: var(--ivory); padding-block: clamp(56px, 8vw, 96px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 8px clamp(16px, 3vw, 40px); border-left: 1px solid rgba(199, 154, 75, .35); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.2rem, 7vw, 5.5rem); line-height: 1; color: var(--gold); margin-bottom: 10px; }
.stat span { display: block; max-width: 16rem; color: rgba(255, 248, 245, .82); }
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(199, 154, 75, .35); padding: 24px 0; }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- 5. SOBRE ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.about__photo img, .about__photo .ph { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); }
.about__bio { font-size: clamp(1.08rem, 1.5vw, 1.2rem); margin-bottom: 40px; max-width: 40rem; }
.timeline { border-top: 1px solid rgba(74, 14, 37, .18); }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(74, 14, 37, .18); }
.timeline b { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--wine); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 460px; }
}
@media (max-width: 480px) {
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 6. SERVICIOS ---------- */
.services { background: var(--wine); color: var(--ivory); }
.services__list { border-top: 1px solid rgba(255, 248, 245, .2); }
.services__list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px 40px; align-items: baseline;
  padding: clamp(20px, 3vw, 30px) 0; border-bottom: 1px solid rgba(255, 248, 245, .2);
}
.services__list h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.15; }
.services__list p { color: rgba(255, 248, 245, .8); }
@media (max-width: 700px) { .services__list li { grid-template-columns: 1fr; } }

/* ---------- 7. MARCAS ---------- */
.brands { background: var(--rose); }
.brands__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.brands .title { margin-bottom: 12px; }
.brands__handle {
  display: inline-block; font-family: var(--font-display); font-style: italic;
  font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.1; color: var(--wine); text-decoration: none;
  word-break: break-word; margin-bottom: 36px;
}
.brands__handle:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 36px; border-block: 1px solid rgba(74, 14, 37, .25); }
.metrics div { padding: 18px 16px 18px 0; }
.metrics div + div { padding-left: 16px; border-left: 1px solid rgba(74, 14, 37, .25); }
.metrics dt { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.metrics dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--wine); line-height: 1.1; }
.brands__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brands__sub { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; color: var(--wine); }
.brands__formats li { padding: 14px 0; border-bottom: 1px solid rgba(74, 14, 37, .25); font-size: 1.1rem; }
.brands__formats li:first-child { border-top: 1px solid rgba(74, 14, 37, .25); }
@media (max-width: 860px) { .brands__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .metrics div, .metrics div + div { padding: 14px 0; border-left: 0; }
  .metrics div + div { border-top: 1px solid rgba(74, 14, 37, .25); }
}

/* ---------- 8. INSTAGRAM ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta__grid a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.insta__grid img, .insta__grid .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insta__grid a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .insta__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 9. CLIENTES ---------- */
.clients { padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid rgba(74, 14, 37, .12); }
.clients__list { display: flex; flex-wrap: wrap; gap: 14px 0; }
.clients__list li {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--wine);
  display: flex; align-items: center;
}
.clients__list li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--gold); }
.clients__list img { height: 44px; width: auto; filter: grayscale(1); opacity: .75; }

/* ---------- 10. REEL ---------- */
.reel { background: var(--wine-deep); color: var(--ivory); }
.reel__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--wine); }
.reel__frame iframe, .reel__frame video, .reel__frame > img, .reel__frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.reel__soon {
  position: absolute; inset: auto 0 0; padding: clamp(20px, 4vw, 40px);
  background: linear-gradient(0deg, rgba(43, 7, 21, .9), rgba(43, 7, 21, 0));
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* ---------- 11. GALERÍA ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 240px); grid-auto-flow: dense; gap: 10px; }
.g { padding: 0; border: 0; background: var(--wine); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.g img, .g .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s ease; }
.g:hover img { transform: scale(1.03); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.gallery__grid .g:nth-child(1) { grid-column: span 3; }
.gallery__grid .g:nth-child(2) { grid-row: span 3; }
@media (max-width: 700px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .gallery__grid .g:nth-child(1) { grid-column: span 2; }
  .gallery__grid .g:nth-child(2) { grid-row: span 2; }
  .gallery__grid .g:nth-child(n+5) { grid-column: auto; grid-row: auto; }
}

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 4, 10, .95); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.lightbox__fig figcaption { color: var(--rose); font-size: .95rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; background: none; border: 0; color: var(--ivory); cursor: pointer; font-size: 2.6rem; line-height: 1; width: 52px; height: 52px; }
.lightbox__close { top: 10px; right: 12px; }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 56px 8px; } .lightbox__nav { top: auto; bottom: 8px; transform: none; } }

/* ---------- 12. CTA ---------- */
.cta { background: var(--gold); color: var(--ink); padding-block: clamp(48px, 6vw, 72px); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta__text { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; max-width: 42rem; }
.cta__text em { display: block; }

/* ---------- 13. NOTICIAS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(74, 14, 37, .35); background: transparent; color: var(--wine); cursor: pointer; font-weight: 500; font-size: .93rem; }
.chip:hover { border-color: var(--wine); }
.chip[aria-pressed="true"] { background: var(--wine); color: var(--ivory); border-color: var(--wine); }

.card { display: block; width: 100%; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.card__img { overflow: hidden; border-radius: var(--radius); background: var(--rose); aspect-ratio: 4 / 3; }
.card__img img, .card__img .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__meta { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); margin: 16px 0 8px; }
.card__meta b { color: var(--wine); font-weight: 600; }
.card__title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card__summary { color: var(--muted); margin-top: 8px; }

.card--featured { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.card--featured .card__img { aspect-ratio: 16 / 10; }
.card--featured .card__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.card--featured .card__summary { font-size: 1.1rem; }
.card__more { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--wine); border-bottom: 1px solid var(--gold); }

.news__grid { display: grid; align-items: start; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.news__empty { color: var(--muted); }
@media (max-width: 860px) {
  .card--featured { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .news__grid { grid-template-columns: 1fr; } }

.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(20, 4, 10, .78); }
.modal__panel { position: relative; width: 100%; max-width: 760px; background: var(--ivory); border-radius: var(--radius); overflow: hidden; outline: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ivory); color: var(--wine); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.modal__img { aspect-ratio: 16 / 9; background: var(--rose); }
.modal__img img, .modal__img .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.modal__body { padding: clamp(24px, 5vw, 48px); }
.modal__body h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; margin: 4px 0 20px; }
.modal__body p + p { margin-top: 14px; }
.modal__source { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--wine); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(74, 14, 37, .15); }
.share > span { font-size: .9rem; color: var(--muted); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(74, 14, 37, .3); background: none; color: var(--wine); text-decoration: none; font-size: .9rem; font-weight: 500; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--wine); }
.share svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 14. CONTRATAR ---------- */
.book { background: var(--wine-deep); color: var(--ivory); }
.book__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { margin-bottom: 44px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 248, 245, .14); }
.steps b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; color: var(--gold); line-height: 1; }
.book__sub { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; }
.contact li + li { margin-top: 6px; }
.contact a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; text-decoration: none; color: rgba(255, 248, 245, .9); word-break: break-all; }
.contact a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.contact .is-pending { color: rgba(255, 248, 245, .6); display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--half { grid-column: span 1; }
.field label { font-size: .95rem; font-weight: 500; color: rgba(255, 248, 245, .9); }
.field abbr { text-decoration: none; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ivory);
  background: rgba(255, 248, 245, .06); border: 1px solid rgba(255, 248, 245, .28); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 248, 245, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 248, 245, .1); box-shadow: 0 0 0 1px var(--gold); }
.field input[type="date"] { color-scheme: dark; }
.field [aria-invalid="true"] { border-color: #ff9b9b; }
.field__error { font-size: .88rem; color: #ffb4b4; min-height: 0; }
.field__error:empty { display: none; }
.form__status { grid-column: 1 / -1; font-size: .95rem; color: var(--rose); }
.form__status:empty { display: none; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 860px) { .book__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .field--half { grid-column: 1 / -1; }
  .form__actions .btn { flex: 1 1 100%; }
}

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255, 248, 245, .8); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__mail { text-decoration: none; }
.footer__mail:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .25s;
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

body.is-locked { overflow: hidden; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 16px; row-gap: 4px; }
  .ticker__track > :nth-child(n+15) { display: none; }
}
