@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&family=Dancing+Script:wght@500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  /* Paleta La Piazzetta — vino/granate del logo + crema + oro antiguo */
  --navy: #6E1E26;        /* vino principal (estructura, header, hero) */
  --navy-dark: #531219;   /* vino profundo */
  --navy-light: #8C2F38;  /* vino claro */
  --gold: #C29A5B;        /* oro antiguo (acentos) */
  --gold-light: #E2BE7E;
  --burgundy: #6E1E26;    /* títulos de sección, en familia vino */
  --burgundy-light: #8C2F38;
  --cream: #F6F0E6;
  --white: #FFFFFF;
  --off-white: #F6F0E6;
  --light: #ECE3D4;
  --text: #2A1416;        /* marrón-vino cálido para texto */
  --text-mid: #5e4a44;
  --text-light: #8A827A;
  --shadow: rgba(110, 30, 38, 0.12);
  --shadow-strong: rgba(110, 30, 38, 0.26);
  --radius: 4px;
  --transition: all 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { line-height: 1.7; }

/* ===== ORNAMENTAL ===== */
.ornament { text-align: center; margin: 1.5rem 0; color: var(--gold); font-size: 1.1rem; letter-spacing: 4px; }
.ornament::before, .ornament::after { content: '──────'; font-size: 0.6rem; vertical-align: middle; opacity: 0.5; margin: 0 8px; }
.section-title { text-align: center; color: var(--burgundy); position: relative; padding-bottom: 0.8rem; }
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold); margin: 0.6rem auto 0; }
.section-subtitle { text-align: center; color: var(--text-mid); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; margin-top: 0.4rem; }
.gold-border { border: 1px solid var(--gold); border-radius: var(--radius); }
.ornament-frame { position: relative; padding: 2rem; }
.ornament-frame::before { content: ''; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px; border: 1px solid var(--gold); opacity: 0.4; border-radius: var(--radius); pointer-events: none; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(110, 30, 38, 0.97); backdrop-filter: blur(8px); transition: var(--transition); box-shadow: 0 2px 20px var(--shadow-strong); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 2rem; max-width: 1200px; margin: 0 auto; gap: 1rem; }
.header-logo { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.header-logo img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; background: var(--white); padding: 2px; }
.header-logo-text { color: var(--white); }
.header-logo-text .script { font-family: 'Dancing Script', cursive; font-size: 1.1rem; color: var(--gold-light); line-height: 1.1; }
.header-logo-text .subtitle { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.75; }
nav { display: flex; align-items: center; gap: 0.2rem; }
.nav-link { color: rgba(255,255,255,0.85); font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.5rem 0.8rem; border-radius: var(--radius); transition: var(--transition); font-weight: 700; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.header-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-current { display: flex; align-items: center; gap: 5px; color: var(--white); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; padding: 0.4rem 0.7rem; border: 1px solid rgba(194,154,91,0.4); border-radius: 20px; cursor: pointer; transition: var(--transition); font-weight: 700; }
.lang-current:hover { border-color: var(--gold); color: var(--gold-light); }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--navy-dark); border: 1px solid rgba(194,154,91,0.3); border-radius: var(--radius); overflow: hidden; display: none; min-width: 100px; box-shadow: 0 8px 30px var(--shadow-strong); z-index: 100; }
.lang-dropdown.open { display: block; }
.lang-option { display: flex; align-items: center; gap: 8px; padding: 0.6rem 1rem; color: rgba(255,255,255,0.8); font-size: 0.8rem; cursor: pointer; transition: var(--transition); }
.lang-option:hover, .lang-option.selected { background: rgba(194,154,91,0.15); color: var(--gold-light); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; will-change: transform; overflow: hidden; }
.hero-bg-inner {
  position: absolute; inset: -20%;
  background-image: url('../imagenes/fondo.png');
  background-size: cover; background-position: center;
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@media (max-width: 768px) {
  .hero-bg-inner { background-image: url('../imagenes/fondo cel.png'); background-position: center top; inset: -8%; }
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(45,12,16,0.55) 0%, rgba(45,12,16,0.78) 100%); }
.hero-content { position: relative; z-index: 2; padding: 2rem; max-width: 660px; margin: 0 auto; text-align: center; transform: translateY(-4.5rem); }
.hero-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.35rem 1rem; border-radius: 20px; margin-bottom: 1.2rem; }
.hero-logo { width: 580px; max-width: 82vw; margin: 3rem auto 1.2rem; display: block; filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5)); }
.hero-title { color: var(--white); font-family: 'Dancing Script', cursive; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; text-shadow: 0 2px 20px rgba(0,0,0,0.5); margin-bottom: 0.3rem; }
.hero-title-sub { color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: clamp(1rem, 2.5vw, 1.6rem); letter-spacing: 6px; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-desc { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.85rem 2rem; border-radius: 40px; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; transition: var(--transition); }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(194,154,91,0.4); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 25px var(--shadow-strong); }
.btn-burgundy { background: var(--burgundy); color: var(--white); }
.btn-burgundy:hover { background: var(--burgundy-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(122,30,30,0.35); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; }
.section-light { background: linear-gradient(rgba(246,240,230,0.85), rgba(246,240,230,0.85)), url('../imagenes/hf_20260608_204134_347fdf30-410a-42b8-b068-9d83fae02a34.png') center/cover no-repeat var(--white); }
.section-off { background: linear-gradient(rgba(246,240,230,0.84), rgba(246,240,230,0.88)), url('../imagenes/hf_20260608_213859_b8571aca-d75f-4a1f-94d7-dd50adb9be70.png') center/cover no-repeat var(--off-white); }
.section-navy { background: linear-gradient(rgba(110,30,38,0.84), rgba(83,18,25,0.88)), url('../imagenes/hf_20260608_204129_edfc98a9-8413-4de2-b702-618d3437469c.png') center/cover no-repeat var(--navy); color: var(--white); }
/* La Nostra Storia (#about) — acuarela del porto di Oneglia */
#about.section-light { background: linear-gradient(rgba(246,240,230,0.4), rgba(246,240,230,0.4)), url('../imagenes/hf_20260608_202542_ed85d3e9-d8ff-4d91-b28c-30f2b9cf3ffd.png') center/cover no-repeat var(--off-white); }
@media (max-width: 768px) {
  #about.section-light { background: linear-gradient(rgba(246,240,230,0.25), rgba(246,240,230,0.25)), url('../imagenes/hf_20260608_222231_a299bf9a-c021-4e26-8f69-c920b6f0c283.png') center top / contain no-repeat var(--off-white); }
  #about .about-body { margin-top: -2rem; }
  #about .about-stats { margin-top: 14rem; }
  #about .stat-label { color: var(--text); }
}
.container { max-width: 1160px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; max-width: 780px; margin: 0 auto; }
.about-img-stack { position: relative; height: 480px; }
.about-img-main { width: 75%; height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px var(--shadow-strong); position: absolute; top: 0; left: 0; }
.about-img-accent { width: 55%; height: 240px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px var(--shadow-strong); position: absolute; bottom: 0; right: 0; border: 4px solid var(--white); }
.about-text .section-title { text-align: left; }
.about-text .section-title::after { margin-left: 0; }
.about-body { color: var(--text-mid); margin: 1.5rem 0 2rem; font-size: 1.05rem; }
.about-stats { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.stat { text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--burgundy); line-height: 1; }
.stat-label { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-top: 0.3rem; }

/* ===== MENU PAGE ===== */
.menu-hero { padding-top: 100px; background: linear-gradient(rgba(83,18,25,0.82), rgba(83,18,25,0.9)), url('../imagenes/hf_20260608_213844_18b38419-50c8-4a7d-974e-bb80c35592a0.png') center/cover no-repeat var(--navy); padding-bottom: 2rem; text-align: center; }
.menu-hero h1 { color: var(--white); }
.menu-hero p { color: rgba(255,255,255,0.7); }
.menu-nav { background: var(--off-white); position: sticky; top: 72px; z-index: 100; border-bottom: 1px solid rgba(110,30,38,0.1); }
.menu-nav-inner { display: flex; gap: 0; overflow-x: auto; max-width: 1160px; margin: 0 auto; padding: 0 1rem; scrollbar-width: none; }
.menu-nav-inner::-webkit-scrollbar { display: none; }
.menu-tab { padding: 1rem 1.2rem; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--text-mid); border-bottom: 3px solid transparent; transition: var(--transition); white-space: nowrap; cursor: pointer; }
.menu-tab:hover, .menu-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.menu-section { padding: 4rem 1.5rem; }
.menu-section:nth-child(odd) { background: var(--white); }
.menu-section:nth-child(even) { background: var(--off-white); }
.menu-cat-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--burgundy); text-align: center; margin-bottom: 0.4rem; }
.menu-cat-title-sub { text-align: center; color: var(--gold); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 2.5rem; }
.menu-sub-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 0.5rem; margin: 2rem 0 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.menu-sub-title::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: inline-block; flex-shrink: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: rgba(110,30,38,0.08); border: 1px solid rgba(110,30,38,0.08); border-radius: var(--radius); overflow: hidden; }
.menu-item { background: var(--white); padding: 1.2rem 1.4rem; transition: var(--transition); }
.menu-item:hover { background: var(--light); }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.menu-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.menu-item-name .dish-it { opacity: 0.5; font-weight: 400; font-size: 0.88em; font-style: italic; }
/* Le Specialità della Casa */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.spec-img { width: 84px; height: 84px; object-fit: contain; display: block; margin: 0 0 0.6rem; cursor: zoom-in; transition: transform 0.2s ease; }
.spec-img:hover { transform: scale(1.06); }
@media (max-width: 768px) {
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .spec-img { width: 60px; height: 60px; }
}
/* Lightbox (ampliar imágenes) */
.lightbox { position: fixed; inset: 0; z-index: 9998; background: rgba(20,5,8,0.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.55); background: #fff; }
/* Banderas del selector de idioma */
.flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 1px rgba(0,0,0,0.5); flex-shrink: 0; }
.lang-option { display: flex; align-items: center; }
.lang-current { display: flex; align-items: center; }
/* Intro video móvil */
.intro-overlay { position: fixed; inset: 0; z-index: 10000; background: #1a0608; display: none; align-items: center; justify-content: center; }
.intro-overlay.show { display: flex; }
.intro-overlay.hide { opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.intro-video { width: 100%; height: 100%; object-fit: cover; }
.intro-skip { position: absolute; bottom: 26px; right: 18px; background: rgba(0,0,0,0.45); color: #fff; border: 1px solid rgba(255,255,255,0.55); padding: 0.5rem 1.1rem; border-radius: 30px; font-size: 0.85rem; letter-spacing: 1px; cursor: pointer; }
@media (min-width: 769px) { .intro-overlay { display: none !important; } }
.menu-item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.menu-item-desc { font-size: 0.82rem; color: var(--text-mid); margin-top: 0.35rem; line-height: 1.5; font-style: italic; }
/* ===== MENU PAGE — FONDO COMPLETO ===== */
body.menu-page::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url('../imagenes/menu-bg-mobile.png') center center / cover no-repeat; }
body.menu-page, body.menu-page .menu-section, body.menu-page .menu-section:nth-child(odd), body.menu-page .menu-section:nth-child(even), body.menu-page .section-off, body.menu-page .menu-item { background: transparent; }
body.menu-page .menu-item:hover { background: rgba(255,255,255,0.4); }
/* Contenido centrado sobre la zona crema de la imagen */
body.menu-page .menu-section .container,
body.menu-page .section-off .container { max-width: 860px; }
body.menu-page .menu-nav { background: transparent; border-bottom: none; }
body.menu-page .menu-nav-inner { max-width: 860px; background: rgba(246,240,230,0.9); border-radius: 0 0 14px 14px; }
/* PC: imagen horizontal */
@media (min-width: 769px) {
  body.menu-page::before { background: url('../imagenes/menu-bg-pc.png') center center / cover no-repeat; }
}
.menu-note { text-align: center; margin-top: 2rem; font-size: 0.82rem; color: var(--text-light); padding: 0.8rem 1.5rem; background: var(--off-white); border-radius: 20px; display: inline-block; }
.menu-photos-link { text-align: center; margin-top: 2rem; }

/* ===== GALLERY ===== */
.gallery-grid { columns: 3; column-gap: 12px; }
.gallery-item { break-inside: avoid; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(110,30,38,0); transition: var(--transition); }
.gallery-item:hover::after { background: rgba(110,30,38,0.15); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(35,10,14,0.95); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--white); font-size: 2rem; cursor: pointer; opacity: 0.7; transition: var(--transition); }
.lightbox-close:hover { opacity: 1; transform: scale(1.1); }

/* ===== BOOKING ===== */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.booking-info { background: url('../imagenes/prenota-bg.png') center / cover no-repeat var(--navy-dark); aspect-ratio: 864 / 1184; color: var(--burgundy); border-radius: var(--radius); padding: 1.8rem 2.2rem 40%; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-self: start; }
.booking-info h3 { color: var(--burgundy); margin-bottom: 1rem; }
.booking-info-item { display: flex; gap: 1rem; margin-bottom: 1rem; }
.booking-info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.booking-info-text strong { display: block; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--burgundy); margin-bottom: 0.3rem; }
.booking-info-text p { opacity: 0.85; font-size: 0.95rem; line-height: 1.5; }
.booking-form { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: 0 10px 40px var(--shadow); border: 1px solid rgba(110,30,38,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.5rem; font-weight: 700; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid rgba(110,30,38,0.15); border-radius: var(--radius); font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--white); transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(110,30,38,0.08); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; }
.form-success { display: none; text-align: center; padding: 2rem; background: #e8f5e9; border-radius: var(--radius); color: #2e7d32; }
.form-success.show { display: block; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(110,30,38,0.1); box-shadow: 0 4px 20px var(--shadow); transition: var(--transition); }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px var(--shadow-strong); }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { color: var(--text-mid); font-style: italic; margin-bottom: 1.2rem; line-height: 1.7; font-size: 0.95rem; }
.review-author { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.review-author-info strong { display: block; font-size: 0.9rem; color: var(--burgundy); }
.review-author-info span { font-size: 0.78rem; color: var(--text-light); }
.reviews-cta { text-align: center; margin-top: 3rem; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; padding: 2rem; background: var(--navy); border-radius: var(--radius); color: var(--white); }
.rating-big { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.rating-details { text-align: left; }
.rating-details .stars { color: var(--gold); font-size: 1.5rem; }
.rating-details p { opacity: 0.75; font-size: 0.9rem; margin-top: 0.3rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 2.5rem; }
.contact-info-card h3 { color: var(--gold-light); margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.contact-item-text strong { display: block; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.contact-item-text p, .contact-item-text a { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.5; }
.contact-item-text a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 0.8rem; margin-top: 2rem; }
.social-btn { display: flex; align-items: center; gap: 6px; padding: 0.6rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; color: rgba(255,255,255,0.8); font-size: 0.82rem; transition: var(--transition); }
.social-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 40px var(--shadow-strong); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer { background: linear-gradient(rgba(53,18,25,0.9), rgba(40,12,16,0.94)), url('../imagenes/hf_20260608_204129_edfc98a9-8413-4de2-b702-618d3437469c.png') center/cover no-repeat var(--navy-dark); color: rgba(255,255,255,0.75); padding: 4rem 1.5rem 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1160px; margin: 0 auto; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.8rem; }
.footer-logo img { width: 58px; height: 58px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 3px; }
.footer-logo-text .script { font-family: 'Dancing Script', cursive; font-size: 1.2rem; color: var(--gold-light); }
.footer-logo-text .sub { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-family: 'Cormorant Garamond', serif; color: var(--white); margin-bottom: 1.2rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; padding-top: 1.5rem; font-size: 0.8rem; max-width: 1160px; margin: 0 auto; }

/* ===== COOKIE BANNER ===== */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--navy-dark); color: rgba(255,255,255,0.88); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; box-shadow: 0 -4px 25px rgba(0,0,0,0.35); flex-wrap: wrap; }
#cookie-banner p { font-size: 0.88rem; line-height: 1.5; flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.7rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept { background: var(--gold); color: var(--navy-dark); border: none; padding: 0.6rem 1.4rem; border-radius: 30px; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: var(--transition); }
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.3); padding: 0.6rem 1.2rem; border-radius: 30px; font-size: 0.82rem; cursor: pointer; transition: var(--transition); }
.cookie-decline:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, rgba(53,18,25,0.9) 0%, rgba(110,30,38,0.86) 100%), url('../imagenes/hf_20260608_213844_18b38419-50c8-4a7d-974e-bb80c35592a0.png') center/cover no-repeat var(--navy-dark); padding: 4rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.newsletter-section::before { content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(194,154,91,0.08) 0%, transparent 70%); pointer-events: none; }
.newsletter-title { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.5rem; }
.newsletter-sub { color: rgba(255,255,255,0.65); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; margin-bottom: 2.5rem; }
.newsletter-form { display: flex; gap: 0.8rem; max-width: 500px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type="email"] { flex: 1; min-width: 220px; padding: 0.9rem 1.3rem; border-radius: 40px; border: 1.5px solid rgba(194,154,91,0.4); background: rgba(255,255,255,0.07); color: var(--white); font-size: 0.92rem; font-family: 'Lato', sans-serif; outline: none; transition: var(--transition); }
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input[type="email"]:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.newsletter-success { display: none; color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; margin-top: 1rem; }
.newsletter-success.show { display: block; }
.newsletter-privacy { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 1rem; }
.newsletter-privacy a { color: rgba(255,255,255,0.6); text-decoration: underline; }

/* ===== EVENTS PAGE ===== */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 25px var(--shadow); transition: var(--transition); border: 1px solid rgba(27,58,95,0.08); }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 16px 45px var(--shadow-strong); }
.event-card-header { background: var(--navy); padding: 1.5rem; display: flex; align-items: center; gap: 1.2rem; }
.event-date-box { background: var(--gold); border-radius: var(--radius); padding: 0.6rem 1rem; text-align: center; flex-shrink: 0; }
.event-date-day { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--navy-dark); line-height: 1; }
.event-date-month { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--navy-dark); font-weight: 700; }
.event-header-info { color: var(--white); }
.event-header-info h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.event-tag { display: inline-block; font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; background: rgba(194,154,91,0.2); color: var(--gold-light); padding: 0.25rem 0.7rem; border-radius: 20px; }
.event-card-body { padding: 1.5rem; }
.event-card-body p { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.2rem; }
.event-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--burgundy); font-weight: 600; margin-bottom: 1rem; }
.private-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin: 2.5rem 0; }
.private-event-item { text-align: center; padding: 2rem 1.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); transition: var(--transition); }
.private-event-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(194,154,91,0.4); }
.private-event-item .icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.private-event-item h4 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 0.5rem; }
.private-event-item p { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.6; }

/* ===== CUCINA PAGE ===== */
.chef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.chef-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px var(--shadow-strong); }
.chef-img img, .chef-img video { width: 100%; height: 450px; object-fit: cover; display: block; }
.chef-img.philo-frame { background: none; box-shadow: none; border-radius: 0; overflow: visible; display: flex; justify-content: center; align-items: flex-start; }
.chef-img.philo-frame video { width: 100%; max-width: 330px; height: auto; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(194,154,91,0.9), 0 0 0 10px #fff, 0 0 0 11px rgba(194,154,91,0.45), 0 24px 55px var(--shadow-strong); margin: 0.5rem 0 1rem; }
.ingredient-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 769px) { .ingredient-grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; } }
.ingredient-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; border: 1px solid rgba(27,58,95,0.1); transition: var(--transition); box-shadow: 0 4px 16px var(--shadow); }
.ingredient-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 12px 35px var(--shadow-strong); }
.ingredient-card .icon-svg { width: 52px; height: 52px; margin: 0 auto 1.1rem; color: var(--navy); transition: var(--transition); }
.ingredient-card:hover .icon-svg { color: var(--gold); transform: scale(1.1); }
.ingredient-card h4 { color: var(--burgundy); font-size: 1.05rem; margin-bottom: 0.5rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.ingredient-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }
.commitment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
.commitment-item { display: flex; gap: 1rem; align-items: flex-start; }
.commitment-icon { font-size: 1.8rem; flex-shrink: 0; }
.commitment-item strong { color: var(--navy); display: block; margin-bottom: 0.3rem; }
.commitment-item p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

/* ===== FAQ PAGE ===== */
.faq-grid { max-width: 820px; margin: 0 auto; }
.faq-category { margin-bottom: 3rem; }
.faq-category-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--burgundy); border-bottom: 2px solid var(--gold); padding-bottom: 0.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.7rem; }
details.faq-item { border: 1px solid rgba(27,58,95,0.1); border-radius: var(--radius); margin-bottom: 0.8rem; overflow: hidden; transition: var(--transition); }
details.faq-item[open] { border-color: var(--gold); box-shadow: 0 4px 15px var(--shadow); }
details.faq-item summary { padding: 1.1rem 1.4rem; cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--navy); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; background: var(--white); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: var(--transition); font-weight: 300; line-height: 1; flex-shrink: 0; margin-left: 1rem; }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item summary:hover { background: var(--cream); }
.faq-answer { padding: 0 1.4rem 1.2rem; color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; background: var(--white); }
.faq-answer a { color: var(--gold); text-decoration: underline; }

/* ===== PRIVACY PAGE ===== */
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content h2 { color: var(--burgundy); font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.privacy-content h3 { color: var(--navy); font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.privacy-content p, .privacy-content li { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.8rem; }
.privacy-content ul { padding-left: 1.5rem; }
.privacy-content ul li { list-style: disc; }

@media (max-width: 768px) {
  .chef-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chef-img img, .chef-img video { height: 280px; }
  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-form input[type="email"] { width: 100%; min-width: unset; }
  #cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem 1.2rem; }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; display: flex; align-items: center; gap: 0.6rem; background: #25D366; color: var(--white); padding: 0.8rem 1.2rem; border-radius: 50px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); font-size: 0.85rem; font-weight: 700; }
.whatsapp-float:hover { background: #1da851; transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-label { display: none; }
@media (min-width: 768px) { .whatsapp-label { display: inline; } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { padding: 120px 1.5rem 4rem; background: linear-gradient(135deg, rgba(53,18,25,0.88) 0%, rgba(110,30,38,0.84) 100%), url('../imagenes/hf_20260608_213844_18b38419-50c8-4a7d-974e-bb80c35592a0.png') center/cover no-repeat var(--navy-dark); text-align: center; position: relative; overflow: hidden; }
.page-hero { z-index: 1; }
.page-hero + .section { margin-top: -50px; position: relative; z-index: 2; border-top-left-radius: 100% 100px; border-top-right-radius: 100% 100px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 0.8rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; }

/* ===== QUICK-LINKS CARDS ===== */
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.quick-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 6px 24px var(--shadow); transition: var(--transition); display: flex; flex-direction: column; border: 1px solid rgba(27,58,95,0.08); }
.quick-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px var(--shadow-strong); border-color: var(--gold); }
.quick-card-img { overflow: hidden; height: 210px; flex-shrink: 0; }
.quick-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.quick-card:hover .quick-card-img img { transform: scale(1.07); }
.quick-card-body { padding: 1.4rem 1.3rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.quick-card h3 { color: var(--navy); font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.45rem; }
.quick-card p { font-size: 0.83rem; color: var(--text-mid); line-height: 1.6; flex: 1; }
.quick-card-link { margin-top: 1rem; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .booking-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-img-stack { height: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); padding: 1rem; gap: 0; }
  nav.open .nav-link { padding: 0.8rem 1.2rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 600px) {
  .gallery-grid { columns: 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .booking-grid { gap: 2rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; text-align: center; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .quick-card-img { height: 160px; }
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 768px) {

  /* --- Hero --- */
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3.5rem;
    padding-top: 0;
  }
  .hero-content {
    margin-left: 0;
    margin-right: 0;
    padding: 0 1.6rem;
    text-align: center;
    max-width: 100%;
    width: 100%;
  }
  .hero-tag { font-size: 0.68rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
  .hero-logo { width: 460px; max-width: 88vw; margin: 0 auto 1.2rem; }
  .hero-title { font-size: 2.4rem; line-height: 1.05; }
  .hero-title-sub { font-size: 0.8rem; letter-spacing: 4px; margin-bottom: 1rem; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 1.6rem; max-width: 100%; }
  .hero-actions { justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
  .hero-actions .btn { padding: 0.75rem 1.4rem; font-size: 0.78rem; }
  /* Gradiente bottom-heavy para que el texto sea legible */
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(45,12,16,0.92) 0%,
      rgba(45,12,16,0.65) 35%,
      rgba(45,12,16,0.15) 70%,
      rgba(45,12,16,0.0) 100%
    );
  }

  /* --- About images --- */
  .about-img-stack { height: 250px; margin-bottom: 1.5rem; }
  .about-img-main  { width: 100%; height: 250px; position: relative; }
  .about-img-accent { display: none; }
  .about-text .section-title { text-align: center; }
  .about-text .section-title::after { margin-left: auto; margin-right: auto; }
  .about-stats { justify-content: center; }
  .about-text .btn { display: flex; justify-content: center; }

  /* --- Quick links --- */
  .quick-links { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* --- Page hero (inner pages) --- */
  .page-hero { padding: 100px 1.5rem 3rem; }
  .page-hero h1 { font-size: 2rem; }

  /* --- Menu tabs --- */
  .menu-tab { padding: 0.85rem 0.9rem; font-size: 0.72rem; }

  /* --- Review cards --- */
  .review-card { padding: 1.5rem; }

  /* --- Booking --- */
  .booking-info { padding: 1.5rem 1.5rem 40%; }
  .booking-form { padding: 1.5rem; }

  /* --- Footer --- */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* --- Gallery --- */
  .gallery-grid { columns: 1; }
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Ken Burns */
@keyframes kenBurns {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  25%  { transform: scale(1.04) translateX(-1%)  translateY(-0.5%); }
  75%  { transform: scale(1.07) translateX(1%)   translateY(-1%); }
  100% { transform: scale(1.05) translateX(0)    translateY(-0.5%); }
}

/* Video background (activar cuando tengas el video) */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* Desktop: mostrar landscape, ocultar portrait */
.hero-video-desktop { display: block; }
.hero-video-mobile  { display: none;  }
@media (max-width: 768px) {
  .hero-video-desktop { display: none;  }
  .hero-video-mobile  { display: block; }
}
/* Fallback: si el video no carga el fondo estático sigue visible */
.hero-video-active .hero-bg { opacity: 0.15; }
.hero-video-active .hero-bg-inner { animation: none; }
/* Cuando el video NO está cargado aún, mostrar el fondo estático */
.hero-video-active .hero-bg.video-loaded { opacity: 0; transition: opacity 0.8s ease; }

/* Hero entrance animations */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-tag     { animation: heroSlideUp 0.7s cubic-bezier(.22,.68,0,1.2) 0.3s  both; }
.hero-logo    { animation: heroSlideUp 0.7s ease                         0.55s both; }
.hero-title   { animation: heroSlideUp 0.9s cubic-bezier(.22,.68,0,1.1) 0.75s both; }
.hero-title-sub { animation: heroSlideUp 0.7s ease                      1.0s  both; }
.hero-desc    { animation: heroSlideUp 0.7s ease                         1.2s  both; }
.hero-actions { animation: heroSlideUp 0.7s ease                         1.4s  both; }

/* Scroll indicator */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  animation: scrollBounce 2.2s ease-in-out infinite;
  z-index: 2; font-size: 1.6rem; cursor: pointer;
  animation-delay: 2s;
}

/* Directional fade-in */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.from-left  { transform: translateX(-45px); }
.fade-in.from-right { transform: translateX(45px); }
.fade-in.visible    { opacity: 1; transform: translate(0,0); }

/* Staggered grid children */
.fade-in-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.18s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.31s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.44s; }
.fade-in-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* Section title underline reveal */
.section-title::after { width: 0; transition: width 0.8s cubic-bezier(.22,.68,0,1.2) 0.25s; }
.section-title.line-ready::after { width: 60px; }

/* Button shimmer */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; top: -50%; left: -90%;
  width: 55%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn:hover::after { left: 140%; }

/* WhatsApp floating pulse */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 35px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.1); }
}
.whatsapp-float { animation: waPulse 2.8s ease-in-out infinite; }

/* Card icon badge */
.quick-card-img { position: relative; }
.quick-card-icon { position: absolute; bottom: 12px; left: 12px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; border-radius: 50%; background: rgba(110,30,38,0.92); box-shadow: 0 6px 18px rgba(53,18,25,0.45); border: 1px solid rgba(226,190,126,0.5); backdrop-filter: blur(2px); transition: transform 0.35s cubic-bezier(.22,.68,0,1.5); z-index: 2; }
.quick-card:hover .quick-card-icon { transform: scale(1.15) rotate(-8deg); }
/* Card link slide on hover */
.quick-card-link { display: inline-block; transition: transform 0.3s ease, color 0.3s ease; }
.quick-card:hover .quick-card-link { color: var(--burgundy); transform: translateX(5px); }

/* Menu item gold accent */
.menu-item { border-left: 3px solid transparent; transition: background 0.2s ease, border-color 0.25s ease; }
.menu-item:hover { border-left-color: var(--gold); background: var(--light); }

/* Gallery scale */
.gallery-item { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.gallery-item:hover { transform: scale(0.975); box-shadow: 0 18px 45px rgba(0,0,0,0.3); }

/* Review card top border */
.review-card { border-top: 3px solid transparent; }
.review-card:hover { border-top-color: var(--gold); transform: translateY(-5px); box-shadow: 0 14px 40px var(--shadow-strong); }

/* Stats number highlight */
@keyframes countPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); color: var(--gold); }
  100% { transform: scale(1); }
}
.stat-num.pop { animation: countPop 0.5s ease; }

/* Lazy image fade-in */
img { transition: opacity 0.4s ease; }
img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].img-loaded { opacity: 1; }

/* Nav active underline slide */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px; background: var(--gold-light);
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { left: 8px; right: 8px; }

/* Smooth appear for header on scroll */
.header.scrolled { box-shadow: 0 4px 30px rgba(35,10,14,0.35); }

@media (max-width: 768px) {
  .hero-bg { animation: none; }
  .scroll-indicator { display: none; }

  /* Disable horizontal slide-in on mobile → avoid x-overflow flash */
  .fade-in.from-left  { transform: translateY(30px); }
  .fade-in.from-right { transform: translateY(30px); }

  /* Section padding tighter on mobile */
  .section { padding: 3rem 1.2rem; }

  /* Quick card icon smaller */
  .quick-card-icon { width: 40px; height: 40px; font-size: 1.15rem; bottom: 10px; left: 10px; }

  /* Stat numbers compact */
  .stat-num { font-size: 2rem; }

  /* Contact grid single column */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Map height smaller on mobile */
  .map-container { height: 280px; }
}
