/* Encabezado marfil y portada en dos columnas (teléfonos a la izquierda, mensaje a la derecha). */
:root {
  --ivory: #faf6f0;
  --gold: #b08d57;
  --night: #1f1a1a;
  --serif: 'Playfair Display', Georgia, serif;
  --header-h: 150px;
}

/* Encabezado */
.nav { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand brand" "links end"; align-items: center; padding: 0 var(--gutter); background: var(--ivory); color: var(--night); border-bottom: 1px solid #ece3d8; transition: box-shadow .3s; }
.nav.is-solid { box-shadow: 0 14px 30px -28px rgba(31, 26, 26, .6); }
.nav__brand { grid-area: brand; justify-self: center; padding: 18px 0 4px .16em; font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.1vw, 3rem); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.nav__links { grid-area: links; display: flex; align-items: stretch; gap: clamp(8px, 2.4vw, 40px); height: 58px; }
.nav__links a { position: relative; display: flex; align-items: center; padding: 0 clamp(10px, 1.4vw, 26px); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: #6e6461; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--night); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__end { grid-area: end; display: flex; justify-content: flex-end; }
.nav__wa { display: inline-flex; align-items: center; gap: 12px; padding: .95em 1.7em; border: 1px solid var(--night); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.nav__wa svg { width: 20px; height: 20px; }
.nav__wa:hover { background: var(--night); color: var(--ivory); }
.nav__toggle { display: none; width: 40px; height: 40px; padding: 11px 9px; background: none; border: 0; color: inherit; cursor: pointer; }
.nav__toggle span { display: block; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Portada */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; min-height: max(calc(100svh - var(--header-h)), 640px); overflow: hidden; color: var(--night);
  background:
    radial-gradient(55% 75% at 20% 22%, rgba(255, 224, 186, .85), transparent 62%),
    radial-gradient(40% 50% at 92% 95%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(100deg, #e7c6b4 0%, #f1d9cd 42%, #f7e9e2 68%, #f3e0d6 100%); }
.hero__bg { position: absolute; inset: 0 auto 0 0; width: 64%; height: 100%; object-fit: cover; object-position: 30% center; opacity: .5; filter: blur(2.5px) saturate(.85); -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 100%); mask-image: linear-gradient(90deg, #000 35%, transparent 100%); pointer-events: none; }
.hero__stage { position: relative; align-self: stretch; min-height: 600px; }
.hero__plinth { position: absolute; left: 8%; right: 4%; bottom: 0; height: 13%; background: linear-gradient(180deg, #ead9cd 0%, #dcc4b5 45%, #cdb2a2 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), 0 -18px 40px -24px rgba(90, 60, 50, .45); }
.hero__plinth::before { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 40%, rgba(120, 90, 75, .07) 0 1px, transparent 1px 4px); }

.phone--hero { position: absolute; left: 50%; }
.phone--h1 { z-index: 3; width: clamp(250px, 22vw, 360px); bottom: 7%; translate: -50% 0; }
.phone--h0 { z-index: 2; width: clamp(210px, 18.5vw, 300px); bottom: 9.5%; translate: -128% 0; }
.phone--h2 { z-index: 1; width: clamp(200px, 17.5vw, 285px); bottom: 9.5%; translate: 30% 0; }

/* Nombres apilados, menú y flecha dentro de los teléfonos de la portada */
.phone__names--stack { display: flex; flex-direction: column; align-items: center; line-height: .92; }
.phone__names--stack .amp { font-size: .72em; line-height: .9; margin: .04em 0 .02em; }
.phone--hero .phone__cover { top: 16cqi; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.phone--hero .phone__names { font-size: 17cqi; }
.phone--hero .phone__date { font-size: 4.6cqi; letter-spacing: .32em; margin-top: 3cqi; }
.phone__burger { position: absolute; z-index: 2; top: 17cqi; left: 8cqi; width: 7cqi; height: 5cqi; border-block: 1.5px solid rgba(255, 255, 255, .9); }
.phone__burger::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; translate: 0 -50%; background: rgba(255, 255, 255, .9); }
.phone__chev { position: absolute; z-index: 2; left: 50%; bottom: 9cqi; width: 5cqi; height: 5cqi; border-right: 1.5px solid rgba(255, 255, 255, .9); border-bottom: 1.5px solid rgba(255, 255, 255, .9); transform: translateX(-50%) rotate(45deg); }

/* Mensaje */
.hero__copy { position: relative; z-index: 4; padding: 48px var(--gutter) 48px 0; max-width: 36rem; }
.hero__eyebrow { margin: 0; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: #3d3433; }
.hero__eyebrow::after { content: ''; display: block; width: 72px; height: 1.5px; margin: 18px 0 30px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.5vw, 4.5rem); line-height: 1.04; letter-spacing: -.012em; margin: 0 0 24px; }
.hero__lead { font-size: 1.12rem; line-height: 1.6; color: #4a3f3e; max-width: 30em; margin: 0 0 36px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.hero__btn { display: inline-flex; align-items: center; gap: 22px; padding: 1.15em 1.6em 1.15em 2em; border-radius: 999px; background: var(--night); color: #fff; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; box-shadow: 0 18px 36px -18px rgba(31, 26, 26, .7); transition: background .2s; }
.hero__btn svg { width: 22px; height: 12px; transition: transform .3s var(--ease); }
.hero__btn:hover { background: #3a2a2c; }
.hero__btn:hover svg { transform: translateX(4px); }
.hero__alt { font-size: .95rem; color: #3d3433; text-underline-offset: 5px; }

/* Movimiento al cargar: los teléfonos suben */
@media (prefers-reduced-motion: no-preference) {
  .phone--hero { opacity: 0; transform: translateY(50px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  .is-ready .phone--hero { opacity: 1; transform: none; }
  .is-ready .phone--h0 { transition-delay: .12s; }
  .is-ready .phone--h2 { transition-delay: .24s; }
}

@media (max-width: 1020px) {
  :root { --header-h: 74px; }
  .nav { grid-template-columns: 40px 1fr 40px; grid-template-areas: "x brand end"; }
  .nav__brand { padding: 16px 0 14px .16em; font-size: 1.85rem; }
  .nav__wa { display: none; }
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 100%; inset-inline: 0; height: auto; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: var(--ivory); border-top: 1px solid #ece3d8; box-shadow: 0 12px 24px -16px rgba(31, 26, 26, .4); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px 0; font-size: .85rem; color: var(--night); border-bottom: 1px solid #ece3d8; }
  .nav__links a::after { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__bg { width: 100%; height: 62%; inset: auto 0 0 0; opacity: .4; -webkit-mask-image: linear-gradient(0deg, #000 40%, transparent); mask-image: linear-gradient(0deg, #000 40%, transparent); }
  .hero__copy { order: -1; padding: 48px var(--gutter) 8px; max-width: none; }
  .hero__stage { min-height: 500px; }
  .phone--h1 { width: 210px; }
  .phone--h0 { width: 170px; translate: -122% 0; }
  .phone--h2 { width: 165px; translate: 24% 0; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2.35rem; }
  .hero__btn { gap: 16px; padding: 1.05em 1.4em 1.05em 1.6em; }
  .hero__stage { min-height: 460px; }
  .phone--h1 { width: 190px; }
  .phone--h0 { width: 150px; }
  .phone--h2 { width: 148px; }
}
