/* ---- Fonts (self-hosted) ----
   headings/serif = LTC Bodoni 175 (real licensed webfont).
   body/sans = Montserrat — clean free stand-in for Proxima Nova. The supplied
   "Proxima Nova" files were FONTSPRING DEMO builds (watermark glyphs in place
   of punctuation), so they can't be used. Swap in a real licensed Proxima Nova
   here (repoint --sans) when available. */
@font-face { font-family:"Montserrat"; src:url("/assets/fonts/montserrat-var.woff2") format("woff2"); font-weight:300 700; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("/assets/fonts/montserrat-italic-var.woff2") format("woff2"); font-weight:300 700; font-style:italic; font-display:swap; }
/* LTC Bodoni 175 — the original's licensed heading face (Regular only).
   Bodoni Moda stays as the fallback for any weight/italic LTC doesn't cover. */
@font-face { font-family:"ltc-bodoni-175"; src:url("/assets/fonts/ltc-bodoni-175-regular.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Bodoni Moda"; src:url("/assets/fonts/bodonimoda-var.woff2") format("woff2"); font-weight:400 700; font-style:normal; font-display:swap; }
@font-face { font-family:"Bodoni Moda"; src:url("/assets/fonts/bodonimoda-italic-var.woff2") format("woff2"); font-weight:400 700; font-style:italic; font-display:swap; }

:root {
  --navy: #000080;        /* brand blue — Book Now, links, footer name */
  --navy-deep: #000066;   /* hover */
  --heading: #16171c;     /* near-black section headings (original uses black) */
  --ink: #1d2433;
  --muted: #5f6473;
  --bg: #ffffff;
  --alt: #f5f2ec;      /* warm off-white */
  --line: #e3e0d8;
  --container: 1180px;
  --serif: "ltc-bodoni-175", "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 1.02rem;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---- Bilingual show/hide ---- */
html[data-lang="en"] [lang="es"] { display: none !important; }
html[data-lang="es"] [lang="en"] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.25rem); }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: .75rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.7rem; border: none; cursor: pointer; transition: background .15s ease;
}
.btn-book { background: var(--navy); color: #fff; }
.btn-book:hover { background: var(--navy-deep); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: .9rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line);
}
.header-inner { max-width: var(--container); margin: 0 auto; padding: .55rem clamp(1rem, 4vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; }
.brand-logo { height: clamp(70px, 8vw, 96px); width: auto; }
.header-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 1.6rem); }
.lang-toggle { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--sans); }
.lang-btn { background: none; border: none; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding: .2rem; }
.lang-btn[aria-pressed="true"] { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.lang-sep { color: var(--line); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* keep the photo bright like the original — only a whisper of a scrim, legibility comes from the text-shadow */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.12) 100%); }
.hero-overlay { position: relative; z-index: 2; text-align: center; color: #fff; padding: 2rem clamp(1.25rem, 5vw, 2rem); max-width: 900px; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.14; margin: 0 0 2rem; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 22px rgba(0,0,0,.45); }

/* ---- Sections ---- */
.section { padding: clamp(3.25rem, 7vw, 6rem) 0; }
.section-alt { background: var(--alt); }
.section-narrow { max-width: 760px; margin: 0 auto; padding-left: clamp(1.25rem,5vw,2.25rem); padding-right: clamp(1.25rem,5vw,2.25rem); }
.center-prose { text-align: center; }
.emblem { width: clamp(96px, 12vw, 132px); height: auto; margin: 0 auto clamp(1.5rem, 3vw, 2.25rem); }
.prose { font-size: 1.05rem; color: #33384a; }
.prose p { margin: 0 0 1.3rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a, .lead a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.section-heading { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.18; color: var(--heading); margin: 0 0 1.75rem; }
.section-heading.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 1.5rem; }
.lead-serif { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.22; color: var(--heading); margin: 0; }

/* ---- Gallery ---- */
.gallery-section { padding: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gallery-item { border: none; padding: 0; margin: 0; background: none; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---- Figures / video / cover ---- */
.figure-wide { margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.figure-wide img { width: 100%; border-radius: 4px; }
.figure-wide figcaption { margin-top: .6rem; text-align: center; font-size: .85rem; color: var(--muted); font-style: italic; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section-cover { padding: 0; }
.cover-img { width: 100%; height: clamp(300px, 46vw, 620px); object-fit: cover; }

/* ---- FAQ ---- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--serif); font-size: 1.22rem; color: var(--navy); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-family: var(--sans); color: var(--muted); transition: transform .2s ease; }
.faq[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 1.4rem; color: #33384a; }
.faq-a p { margin: 0; }

/* ---- Two-column layouts (description, careyes story, map+activities) ---- */
.desc-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.desc-emblem img { width: 100%; max-width: 320px; margin: 0 auto; }
.desc-split .prose { text-align: left; }
.careyes-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.careyes-split .split-media img { width: 100%; border-radius: 4px; }
.careyes-body { max-width: 820px; }
.map-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(1.25rem, 3vw, 2rem); }
.activities-list { list-style: none; margin: 0; padding: 0; }
.activities-list li { padding: .58rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.activities-list li:first-child { border-top: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: clamp(340px, 44vw, 520px); border: 0; display: block; }
@media (max-width: 820px) {
  .desc-split, .careyes-split, .map-split { grid-template-columns: 1fr; }
  .desc-emblem img { max-width: 200px; }
}

/* ---- Newsletter ---- */
.section-newsletter { background: var(--alt); }
.nl-form { margin: 1.5rem auto 0; max-width: 480px; }
.nl-row { display: flex; gap: .5rem; }
.nl-row input { flex: 1; font: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1.5px solid #c9c6bd; border-radius: 3px; background: #fff; }
.nl-row input:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.nl-privacy { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
.nl-status { margin: .6rem 0 0; font-weight: 600; color: var(--navy); min-height: 1.2em; }
.hp-field { position: absolute; left: -5000px; }
@media (max-width: 480px) { .nl-row { flex-direction: column; } }

/* ---- Footer (light, left-aligned, with address) ---- */
.site-footer { background: var(--alt); color: var(--ink); padding: clamp(2.75rem, 6vw, 4rem) 0; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem 2rem; }
.footer-name { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); margin: 0 0 .9rem; }
.footer-address { font-style: normal; line-height: 1.7; color: var(--ink); margin: 0 0 .9rem; }
.footer-email { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; align-items: flex-end; }
.footer-links a { color: var(--navy); text-decoration: none; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a:hover { text-decoration: underline; }
@media (max-width: 600px) { .footer-links { align-items: flex-start; } }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,12,24,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 2px; }
.lb-close, .lb-nav { position: absolute; background: none; border: none; color: #fff; cursor: pointer; opacity: .85; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 1.1rem; right: 1.4rem; font-size: 2.4rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3.5rem; padding: 0 1.2rem; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
@media (max-width: 560px) { .lb-nav { font-size: 2.4rem; padding: 0 .5rem; } }
