/* =========================================================
   LANDING · Il Cenone di Natale (cenone-di-natale.php)
   Hoja de estilos independiente: no depende de style.css ni de Bootstrap.
   ========================================================= */

:root {
    --cream: #fff5df;
    --red: #c92128;
    --green: #174b37;
    --ink: #201f17;
    --gold: #f2b632;
    --night: #10233d;
    --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 2l7 23 23 7-23 7-7 23-7-23-23-7 23-7z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #b91c25; color: var(--cream); font: 16px/1.6 'DM Sans', sans-serif; text-align: center; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }
.defs { position: absolute; width: 0; height: 0; }
h1, h2 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.055em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(38px, 4.5vw, 64px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--red); margin-bottom: 22px; }

/* ---------- Top / header ---------- */
.topline { background: var(--green); color: var(--cream); padding: 9px 5%; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; }
.topline span { letter-spacing: .04em; }
header { background: var(--cream); color: var(--green); padding: 20px 5% 26px; display: flex; flex-direction: column; align-items: center; gap: 15px; position: relative; }
header img { height: auto; width: 220px; }

/* Luces bajo el header */
.lights { position: absolute; left: 0; right: 0; bottom: -14px; height: 28px; z-index: 3; pointer-events: none; }
.lights svg { width: 100%; height: 28px; display: block; }
.bulb { animation: twinkle 2.4s ease-in-out infinite; }
.bulb:nth-child(3n) { animation-delay: .8s; }
.bulb:nth-child(3n+1) { animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; background: #b7091d; padding-bottom: 60px; position: relative; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 45px 6% 25px; width: 100%; max-width: 950px; position: relative; z-index: 2; }
.hero-copy > .eyebrow { color: var(--cream); font-size: 12px; margin-bottom: 14px; }
.title { max-width: 550px; width: 100%; margin: 0 0 12px; }
.title img { width: 100%; height: auto; }
.hero .intro { max-width: 690px; font-size: 18px; margin: 20px auto; }
.hero .intro strong { display: inline-block; font: 700 clamp(25px, 3.5vw, 36px)/1.2 'Fraunces', serif; margin-bottom: 12px; }
.venue-highlight { width: 100%; margin: 10px auto 25px; padding: 20px 0; border-top: 1px solid #fff5df88; border-bottom: 1px solid #fff5df88; }
.venue-highlight strong { display: block; font: 900 clamp(34px, 5vw, 56px)/1.05 'Fraunces', serif; letter-spacing: -.04em; }
.venue-highlight span { display: block; font-size: 16px; margin-top: 12px; }
.date { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 28px; }
.date strong { font: 700 30px 'Fraunces', serif; color: var(--cream); }
.date span { font-size: 16px; line-height: 1.8; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Botones ---------- */
.button { background: var(--red); color: var(--cream); display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 28px; border-radius: 40px; font-size: 16px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 0 #b9851a; }
.button.gold:hover { background: #ffc94d; }

.hero-photo { position: relative; width: min(88%, 620px); z-index: 2; }
.hero-photo > img { width: 100%; height: auto; max-height: 690px; object-fit: cover; object-position: center 40%; border: 7px solid var(--cream); }
.seal { position: absolute; right: 15px; bottom: 15px; background: var(--cream); color: var(--green); width: 130px; height: 130px; border-radius: 50%; text-align: center; font: 700 22px/1.05 'Fraunces', serif; padding: 20px 8px; transform: rotate(9deg); outline: 1px solid var(--cream); outline-offset: 6px; }
.seal small { display: block; font: 10px 'DM Sans', sans-serif; margin-bottom: 8px; }
.seal svg { width: 22px; height: 22px; margin-top: 9px; color: var(--red); }
.holly { position: absolute; width: 150px; z-index: 3; pointer-events: none; }
.hero-photo .holly.h1 { left: -48px; top: -42px; transform: rotate(-18deg); }
.hero-photo .holly.h2 { right: -40px; bottom: 120px; width: 110px; transform: rotate(150deg); }

/* Nieve */
.snow { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.snow i { position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%; background: #fff5dfcc; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(30px, 110vh, 0); } }

/* Ribbon */
.ribbon { background: var(--green); color: var(--cream); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; padding: 19px; font-size: 13px; letter-spacing: .13em; font-weight: 700; border-top: 4px solid var(--cream); border-bottom: 4px solid var(--cream); }
.ribbon svg { height: 20px; width: 20px; }

/* ---------- La mesa ---------- */
.band { width: 100%; padding: 75px max(6%, calc((100% - 1040px) / 2)); position: relative; }
.story { background: var(--green); color: var(--cream); padding-bottom: 0 !important; }
.story .eyebrow { color: var(--cream); }
.story h2 { margin-bottom: 25px; }
.story p { max-width: 720px; margin-left: auto; margin-right: auto; }
.story .table-promise { font-size: 20px; line-height: 1.6; padding: 22px 0; }
.story .table-promise strong { font-size: 24px; }
.story p + p { margin-top: 18px; }

.alert { position: relative; max-width: 640px; margin: 46px auto 10px; background: var(--gold); color: var(--ink); padding: 34px 30px 28px; border-radius: 18px; transform: rotate(-1.6deg); box-shadow: 0 10px 0 #b9851a, 0 18px 40px #0005; border: 3px solid #fff5df; }
.alert .tag { position: absolute; top: -22px; left: 50%; transform: translateX(-50%) rotate(2deg); background: var(--green); color: var(--cream); font: 900 15px 'DM Sans', sans-serif; letter-spacing: .14em; padding: 9px 20px; border-radius: 30px; white-space: nowrap; box-shadow: 0 4px 0 #0f3326; }
.alert h3 { font: 900 clamp(30px, 4.6vw, 46px)/1.05 'Fraunces', serif; letter-spacing: -.04em; margin: 6px 0 14px; color: var(--green); }
.alert p { font-size: 17px; max-width: 520px; margin: 0 auto; }
.alert .emoji { font-size: 34px; line-height: 1; display: block; margin-bottom: 4px; }
.alert .wiggle { display: inline-block; animation: wiggle 2.6s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }

.tavolata { margin: 45px 0 0; padding: 0; width: 100vw; max-width: none; position: relative; left: 50%; transform: translateX(-50%); overflow: hidden; line-height: 0; }
.tavolata img { width: 103%; max-width: none; height: auto; margin-left: -3%; }

/* ---------- Menú ---------- */
.menu-section { background: var(--cream); color: var(--green); padding: 70px 6%; position: relative; }
.menu-frame { max-width: 900px; margin: auto; padding: 35px 55px; border: 2px solid var(--red); text-align: center; color: var(--ink); position: relative; }
.menu-frame .corner { position: absolute; width: 74px; pointer-events: none; }
.menu-frame .c1 { top: -30px; left: -30px; transform: rotate(-30deg); }
.menu-frame .c2 { top: -30px; right: -30px; transform: scaleX(-1) rotate(-30deg); }
.spark { width: 48px; height: 48px; color: var(--red); }
.menu-head > .spark { margin-bottom: 18px; }
.menu-head .eyebrow { margin-bottom: 15px; }
.menu-head h2 { font-size: clamp(36px, 5vw, 58px); color: var(--green); }
.menu-head > p:last-child { font-size: 17px; max-width: 650px; margin: 22px auto; }
.menu-list { margin-top: 30px; }
.menu-list > div { padding: 20px 0; border-bottom: 1px solid #174b3728; }
.menu-list span { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--red); display: block; margin-bottom: 10px; text-transform: uppercase; }
.menu-list p { font: 700 21px/1.45 'Fraunces', serif; color: var(--green); }
.menu-list p + p { margin-top: 12px; }
.menu-bottom { margin-top: 28px; }
.menu-bottom > strong { font: 900 56px 'Fraunces', serif; color: var(--red); }
.menu-bottom small { display: block; font: 15px 'DM Sans', sans-serif; color: var(--ink); margin-top: 3px; }
.menu-bottom > p { font-size: 15px; margin-top: 19px; line-height: 1.8; }
.menu-bottom > p strong { font: 700 15px 'DM Sans', sans-serif; color: var(--ink); }
.extra-drinks { margin: 26px auto 4px; max-width: 620px; background: #174b370d; border: 1px dashed var(--green); border-radius: 12px; padding: 18px 22px; color: var(--green); text-align: center; }
.extra-drinks b { display: block; font: 700 19px 'Fraunces', serif; color: var(--red); margin-bottom: 6px; }
.extra-drinks p { font-size: 15px; line-height: 1.6; }
.menu-cta { margin-top: 26px; }
.dish-photos { width: 100%; max-width: 1040px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 22px; padding-top: 45px; }
.dish-photos figure { margin: 0; }
.dish-photos img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.dish-photos figcaption { font: 700 18px 'Fraunces', serif; color: var(--green); margin-top: 13px; }

/* ---------- Música ---------- */
.music { background: var(--night); color: var(--cream); overflow: hidden; }
.music .eyebrow { color: var(--gold); }
.music h2 { margin-bottom: 20px; color: var(--cream); }
.music h2 .note { color: var(--gold); }
.music p:not(.eyebrow) { margin: auto; max-width: 700px; }
.music strong { color: var(--gold); font-size: 20px; }
.music-photo { max-width: 900px; margin: 30px auto 0; position: relative; z-index: 2; }
.music-photo img { width: 100%; height: auto; border: 7px solid var(--gold); border-radius: 6px; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars svg { position: absolute; color: var(--gold); animation: twinkle 3s ease-in-out infinite; }
.music > *:not(.stars) { position: relative; z-index: 2; }

/* ---------- Tombola ---------- */
.tombola { background: #b91c25; color: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 25px; }
.tombola .eyebrow { color: var(--cream); }
.tombola h2 { margin-bottom: 26px; color: var(--cream); }
.tombola > div:last-child { max-width: 720px; }
.tombola-art { max-width: 450px; width: 100%; }
.tombola-art img { width: 100%; height: auto; }
.included { display: inline-block; margin-top: 22px; font-size: 14px; border-bottom: 1px solid var(--cream); padding-bottom: 5px; font-weight: 700; }

/* ---------- Reservas ---------- */
.booking { background: var(--green); color: var(--cream); padding: 75px 6%; position: relative; }
.booking .eyebrow { color: var(--cream); }
.booking-grid { max-width: 780px; margin: auto; }
.booking h2 { margin-bottom: 25px; }
.booking-grid > div > p:last-child { max-width: 700px; margin: auto; }
.booking-detail { margin: 28px auto 0; max-width: 650px; }
.booking-detail dl { margin: 0 0 25px; }
.booking-detail dl > div { padding: 18px 0; border-bottom: 1px solid #fff5df55; }
.booking-detail dt { font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; }
.booking-detail dd { margin: 0; font-size: 16px; }
.booking-detail dd .pill { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 20px; padding: 2px 12px; margin-top: 6px; font-size: 14px; }
.reservation-terms { margin-top: 28px; padding: 24px; border: 1px solid #fff5df88; text-align: left; }
.reservation-terms h3 { font: 700 25px 'Fraunces', serif; margin: 0 0 15px; text-align: center; }
.reservation-terms ul { margin: 0; padding: 0; list-style: none; }
.reservation-terms li { padding-left: 34px; position: relative; font-size: 16px; }
.reservation-terms li + li { margin-top: 14px; }
.reservation-terms li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--gold); -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.booking-cta { margin-top: 32px; }

/* ---------- Footer ---------- */
footer { background: var(--cream); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 5%; gap: 14px; position: relative; }
footer img { height: auto; width: 200px; }
footer p { font: 700 22px 'Fraunces', serif; color: var(--green); }
footer small { font-size: 12px; }

/* Botón fijo al hacer scroll */
.sticky-cta { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 50; transition: transform .35s; box-shadow: 0 8px 24px #0006; }
.sticky-cta.show { transform: translate(-50%, 0); }

a:focus-visible { outline: 3px solid #daa936; outline-offset: 5px; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
    .topline span { display: none; }
    header { padding: 16px 5% 24px; }
    header img { width: 165px; }
    .hero-copy { padding: 30px 6% 25px; }
    .title { max-width: 430px; }
    .hero .intro { font-size: 16px; }
    .hero .intro strong { font-size: 27px; }
    .hero-photo { max-width: 480px; }
    .seal { width: 95px; height: 95px; font-size: 17px; padding: 14px 4px; right: 9%; bottom: 20px; }
    .seal small { font-size: 8px; margin-bottom: 5px; }
    .seal svg { width: 15px; height: 15px; margin-top: 3px; }
    .hero-photo .holly.h1 { width: 105px; left: -26px; top: -30px; }
    .hero-photo .holly.h2 { width: 80px; right: -22px; }
    .ribbon { font-size: 11px; gap: 10px; }
    .ribbon svg { width: 14px; }
    .band { padding: 55px 6%; }
    .story p { font-size: 16px; }
    .story .table-promise { font-size: 18px; }
    .story .table-promise strong { font-size: 21px; }
    .alert { padding: 32px 20px 24px; }
    .alert p { font-size: 16px; }
    .tavolata img { width: 120%; margin-left: -4%; }
    .menu-section { padding: 50px 6%; }
    .menu-frame { padding: 30px 18px; }
    .menu-frame .corner { width: 52px; }
    .menu-frame .c1 { top: -22px; left: -18px; }
    .menu-frame .c2 { top: -22px; right: -18px; }
    .menu-list p { font-size: 19px; }
    .dish-photos { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
    .dish-photos figcaption { font-size: 16px; }
    .booking { padding: 55px 6%; }
    .venue-highlight strong { font-size: 36px; }
    .venue-highlight span { font-size: 15px; }
    .reservation-terms { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .sticky-cta { transition: none; }
    .snow, .bulb, .stars svg, .alert .wiggle { animation: none !important; }
    .snow { display: none; }
}
