:root {
  --teal: #0aa99a;
  --teal-dark: #08786f;
  --ink: #1d2826;
  --muted: #62706d;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --brown: #412817;
  --white: #fff;
  --line: rgba(29, 40, 38, .14);
  --shadow: 0 18px 50px rgba(37, 29, 18, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.3rem, 5vw, 4.6rem); }
h3 { font-size: 1.35rem; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 140px) 0; }
.section-warm { background: var(--cream); }
.section-dark { color: var(--white); background: #14201e; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: .7rem 1rem; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; z-index: 130; inset: 0 0 auto; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--teal), #83e4da, #f4a64b); transform: scaleX(0); transform-origin: left; will-change: transform; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; background: rgba(255, 253, 249, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(255, 253, 249, .98); box-shadow: 0 10px 35px rgba(28, 38, 36, .09); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; transition: min-height .3s; }
.site-header.is-scrolled .header-inner { min-height: 72px; }
.brand { flex: 0 0 auto; }
.brand img { width: 150px; height: 72px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.main-nav a { position: relative; font-size: .91rem; font-weight: 750; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-call { padding: .72rem 1rem; color: white; background: var(--brown); border-radius: 999px; font-size: .88rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; background: transparent; border: 0; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; min-height: 760px; height: 100svh; max-height: 980px; display: grid; align-items: center; overflow: hidden; color: white; background: #263330; }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { object-fit: cover; opacity: 0; transform: scale(1.045); transition: opacity 1.2s ease, transform 7s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(15, 26, 24, .78) 0%, rgba(15, 26, 24, .45) 50%, rgba(15, 26, 24, .08) 78%), linear-gradient(0deg, rgba(15, 26, 24, .2), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.hero-content > * { max-width: 690px; }
.eyebrow { margin-bottom: 1.15rem; color: var(--teal); font-size: .76rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.hero .eyebrow { color: #7be1d8; }
.hero h1 { margin-bottom: 1.4rem; font-size: clamp(3.6rem, 8.7vw, 8rem); }
.hero h1 em { color: #9ce9e2; font-weight: 400; }
.hero-content > p:not(.eyebrow) { max-width: 600px; font-size: clamp(1rem, 1.7vw, 1.3rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .86rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 850; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-ghost { color: white; border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.button-dark { color: white; background: var(--ink); }
.button-outline { color: var(--ink); border-color: var(--ink); }
.hero-dots { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1180px) / 2)); bottom: 38px; display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; padding: 0; background: rgba(255,255,255,.45); border: 0; cursor: pointer; }
.hero-dots button.is-active { width: 48px; background: white; }
.hero-flavours { position: absolute; z-index: 2; right: max(28px, calc((100vw - 1180px) / 2)); top: 50%; display: grid; gap: 12px; transform: translateY(-50%); }
.hero-flavours span { justify-self: end; padding: .48rem .85rem; color: white; background: rgba(10, 169, 154, .23); border: 1px solid rgba(255,255,255,.42); border-radius: 999px; backdrop-filter: blur(8px); font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; animation: flavour-float 4.5s ease-in-out infinite; }
.hero-flavours span:nth-child(2) { margin-right: 42px; animation-delay: -1.5s; }
.hero-flavours span:nth-child(3) { margin-right: 14px; animation-delay: -3s; }
@keyframes flavour-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.split { display: grid; grid-template-columns: 1.05fr .8fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.lead { font-size: 1.28rem; font-weight: 650; }
.section-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.signature { margin: 2rem 0; padding-left: 1.4rem; border-left: 3px solid var(--teal); font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; }
.text-link { display: inline-block; color: var(--teal-dark); font-weight: 850; text-decoration: none; border-bottom: 1px solid currentColor; }
.intro-image { position: relative; margin: 0; }
.intro-image::before { content: ""; position: absolute; z-index: -1; inset: -18px 22px 22px -18px; background: var(--teal); border-radius: var(--radius); }
.intro-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-image figcaption { position: absolute; right: -20px; bottom: 24px; padding: .8rem 1.1rem; color: white; background: var(--brown); font-family: Georgia, serif; font-style: italic; border-radius: 6px; }

.flavour-marquee { overflow: hidden; padding: 20px 0; color: white; background: var(--brown); border-block: 1px solid rgba(255,255,255,.1); }
.flavour-track { width: max-content; display: flex; align-items: center; gap: 24px; animation: marquee 28s linear infinite; }
.flavour-track span { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.5vw, 2rem); font-style: italic; white-space: nowrap; }
.flavour-track i { color: #71d8ce; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-heading { max-width: 820px; margin-bottom: 3.3rem; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-heading .button { margin-top: 1rem; }
.section-heading.light .eyebrow { color: #73d9d0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 285px; padding: 34px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-number { color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.service-card h3 { margin: auto 0 .8rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.service-card p { margin-bottom: 0; color: var(--muted); }

.menu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.menu-card { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; min-height: 320px; padding: 0; overflow: hidden; color: white; background: #1b2523; border: 0; border-radius: 14px; cursor: zoom-in; box-shadow: 0 8px 24px rgba(29,40,38,.1); transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .18s ease, box-shadow .25s; }
.menu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.menu-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9,15,14,.9)); }
.menu-card span { position: absolute; z-index: 2; right: 16px; bottom: 16px; left: 16px; text-align: left; font-weight: 800; }
.menu-card b { display: block; margin-bottom: 2px; color: #87e5dd; font-size: .7rem; letter-spacing: .14em; }
.menu-card:hover { box-shadow: 0 22px 55px rgba(29,40,38,.24); }
.menu-card:hover img { transform: scale(1.065); }

.celebrations { padding-block: 0; background: var(--teal); }
.celebration-layout { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.celebration-photo { min-height: 660px; }
.celebration-photo img { width: 100%; height: 100%; object-fit: cover; }
.celebration-copy { max-width: 650px; align-self: center; padding: clamp(55px, 8vw, 120px); color: white; }
.celebration-copy .eyebrow { color: #163c37; }
.celebration-copy h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.celebration-copy p { font-size: 1.08rem; }
.contact-inline { display: flex; flex-direction: column; gap: 6px; margin-top: 2rem; font-weight: 850; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gallery-filters button { padding: .6rem 1rem; color: #d9e2e0; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; cursor: pointer; }
.gallery-filters button.is-active { color: #10201d; background: #73d9d0; border-color: #73d9d0; }
.gallery-grid { display: grid; grid-auto-rows: 240px; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { padding: 0; overflow: hidden; background: #263330; border: 0; border-radius: 8px; cursor: zoom-in; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .4s; }
.gallery-item:hover img { opacity: .82; transform: scale(1.04); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { position: relative; min-height: 300px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.news-card time { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.tag { position: absolute; top: 27px; right: 27px; padding: .25rem .6rem; color: var(--teal-dark); background: #dff7f4; border-radius: 99px; font-size: .72rem; font-weight: 850; }
.news-card h3 { margin-top: 4rem; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 500; }
.news-card p { color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(40px, 9vw, 120px); align-items: center; }
.contact-copy > p:not(.eyebrow) { max-width: 570px; color: var(--muted); font-size: 1.1rem; }
.contact-card { padding: clamp(30px, 5vw, 54px); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); font-style: normal; }
.contact-card div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-card span { display: block; margin-bottom: 4px; color: var(--teal-dark); font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a { font-weight: 750; text-decoration: none; }
.contact-card .text-link { margin-top: 26px; }
.map-embed { position: relative; grid-column: 1 / -1; margin-top: 18px; min-height: 430px; overflow: hidden; background: #dce4e1; border: 8px solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 430px; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 26px; text-align: center; background: linear-gradient(rgba(240,244,241,.87), rgba(240,244,241,.94)), url('../images/ubicacion.jpg') center/cover; }
.map-consent > div { max-width: 520px; padding: 28px; background: rgba(255,253,249,.94); border: 1px solid rgba(29,40,38,.12); border-radius: 18px; box-shadow: var(--shadow); }
.map-consent h3 { margin: .4rem 0; font-family: Georgia, serif; font-size: 1.8rem; }
.map-consent p { color: var(--muted); }
.map-consent a { display: block; margin-top: 10px; color: var(--teal-dark); font-size: .78rem; }
.map-pin { display: inline-grid; width: 46px; height: 46px; place-items: center; color: white; background: var(--teal); border-radius: 50%; font-size: 1.4rem; }
.map-embed.is-loaded .map-consent { display: none; }

.legal-page { padding-top: 86px; background: var(--paper); }
.legal-hero { padding: clamp(70px, 10vw, 130px) 0 65px; color: white; background: #14201e; }
.legal-hero .eyebrow { color: #75dbd2; }
.legal-hero h1 { max-width: 850px; margin-bottom: 1rem; font-size: clamp(3rem, 8vw, 6.8rem); }
.legal-hero p { max-width: 720px; color: #c4cecc; font-size: 1.08rem; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 780px); gap: clamp(40px, 8vw, 100px); align-items: start; }
.legal-index { position: sticky; top: 105px; padding: 22px; background: var(--cream); border-radius: 14px; }
.legal-index strong { display: block; margin-bottom: 12px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-index a { display: block; padding: 5px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-index a:hover { color: var(--teal-dark); }
.legal-content section { margin-bottom: 65px; scroll-margin-top: 110px; }
.legal-content h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.legal-content h3 { margin-top: 2rem; }
.legal-content p, .legal-content li { color: #4d5b58; }
.legal-content a { color: var(--teal-dark); }
.legal-content table { width: 100%; border-collapse: collapse; }
.legal-content th, .legal-content td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-content th { width: 32%; color: var(--ink); }
.legal-warning { margin-bottom: 45px; padding: 20px 22px; color: #513614; background: #fff2d8; border-left: 4px solid #db8a20; border-radius: 8px; }
.pending-data { padding: .08rem .35rem; color: #7a2f20; background: #ffe3dc; border-radius: 4px; font-weight: 800; }
.legal-note { padding: 20px; background: var(--cream); border-radius: 10px; }
.consent-reset { margin-top: 12px; }

.site-footer { padding: 70px 0 24px; color: #dbe4e2; background: #111b19; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid img { width: 165px; padding: 8px; background: white; border-radius: 8px; }
.footer-grid p { max-width: 330px; color: #9facaa; }
.footer-grid h2 { font: 800 .75rem/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #b8c4c1; text-decoration: none; }
.footer-grid a:hover { color: #7be1d8; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; color: #84928f; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.whatsapp-float { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: 56px; height: 56px; display: grid; place-items: center; color: white; background: #20b66b; border: 3px solid white; border-radius: 50%; box-shadow: 0 8px 28px rgba(0,0,0,.25); font-size: .8rem; font-weight: 900; text-decoration: none; }

.lightbox { width: min(940px, calc(100% - 30px)); max-height: 92vh; padding: 0; color: white; background: #111917; border: 0; border-radius: 12px; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.lightbox::backdrop { background: rgba(4,10,9,.88); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 14px 20px; }
.lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 42px; height: 42px; color: white; background: rgba(0,0,0,.65); border: 0; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease var(--reveal-delay, 0ms), transform .65s ease var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header-call { display: none; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 74px; }
  .brand img { width: 122px; height: 60px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 74px 0 auto; padding: 24px 28px 30px; display: none; flex-direction: column; align-items: flex-start; gap: 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 1.15rem; }
  .hero { min-height: 680px; }
  .hero-shade { background: linear-gradient(90deg, rgba(15,26,24,.78), rgba(15,26,24,.35)), linear-gradient(0deg, rgba(15,26,24,.45), transparent 60%); }
  .hero-flavours { display: none; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .map-embed { min-height: 360px; }
  .map-embed iframe { height: 360px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index { position: static; }
  .intro-image { width: calc(100% - 14px); margin-left: 14px; }
  .service-grid, .news-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-card { min-height: 300px; }
  .celebration-layout { grid-template-columns: 1fr; }
  .celebration-photo { min-height: 420px; }
  .celebration-copy { padding-inline: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .section { padding-block: 76px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { min-height: 460px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .gallery-item.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .flavour-track { animation: none; }
  .menu-card { transform: none !important; }
}
