/* ==========================================================================
   U Nah Kin · Aventuras Akumal — site styles
   Palette: logo navy, Caribbean turquoise, warm sand, coral accent
   ========================================================================== */

:root {
  --navy: #0b2a5b;
  --navy-deep: #071d40;
  --ink: #16243d;
  --muted: #5b6a80;
  --turq: #17a9b8;
  --turq-deep: #0c7f8c;
  --turq-soft: #e3f5f6;
  --sand: #f6efe4;
  --sand-deep: #ecdfca;
  --coral: #e2674f;
  --white: #ffffff;
  --line: #e4ddd0;
  --ok: #1f8a5b;
  --warn: #b5471f;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif; /* self-hosted: assets/css/fonts.css */
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(11, 42, 91, .28);
  --shadow-sm: 0 6px 20px -10px rgba(11, 42, 91, .25);
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turq-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #dce6f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--turq-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #9fe3ea; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--turq-deep); color: var(--white); box-shadow: 0 10px 24px -10px rgba(12,127,140,.7); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: var(--white); backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background .35s, box-shadow .35s, color .35s, height .35s;
}
.site-header::before { /* legibility gradient over photos */
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4,20,45,.55), rgba(4,20,45,0));
  transition: opacity .35s;
}
.site-header.is-solid { background: rgba(255,255,255,.97); color: var(--navy); box-shadow: 0 6px 24px -14px rgba(11,42,91,.35); --header-h: 70px; backdrop-filter: blur(10px); }
.site-header.is-solid::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 32px, 1320px); margin-inline: auto; }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; line-height: 1; }
.brand svg { height: 46px; width: auto; transition: height .35s; }
.site-header.is-solid .brand svg { height: 40px; }
.brand text { fill: currentColor; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px; gap: 2px;
  background: transparent; color: inherit;
}
.lang-toggle a { border: 0; background: transparent; color: inherit; font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 999px; letter-spacing: .08em; text-decoration: none; }
.lang-toggle a[aria-current="true"] { background: var(--white); color: var(--navy); }
.site-header.is-solid .lang-toggle a[aria-current="true"] { background: var(--navy); color: var(--white); }
.header-cta { padding: 11px 20px; font-size: .88rem; }
.site-header:not(.is-solid) .header-cta { background: var(--white); color: var(--navy); box-shadow: none; }
.site-header:not(.is-solid) .header-cta:hover { background: var(--turq-deep); color: var(--white); }

.menu-btn { display: none; background: transparent; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--navy); color: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open.site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .lang-toggle a[aria-current="true"] { background: var(--white); color: var(--navy); }
  .brand svg { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); isolation: isolate; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(5,22,48,.78) 0%, rgba(5,22,48,.25) 45%, rgba(5,22,48,0) 70%),
    linear-gradient(to right, rgba(5,22,48,.35), rgba(5,22,48,0) 60%);
}
.hero__content { padding: 0 0 clamp(56px, 9vh, 110px); max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: .35em; text-wrap: balance; }
.hero h1 em { font-style: italic; color: #bff0f4; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 54ch; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__badge {
  position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(56px, 9vh, 110px);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(12px);
  border-radius: var(--radius); padding: 18px 22px; text-align: right;
}
.hero__badge small { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.hero__badge strong { font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; line-height: 1.1; }
.hero__badge span { font-size: .85rem; opacity: .85; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .hero__badge { display: none; } }

/* Inner-page hero */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--white); isolation: isolate;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,22,48,.8), rgba(5,22,48,.15) 65%); }
.page-hero .container { padding-bottom: clamp(40px, 7vh, 80px); }
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 58ch; font-size: 1.15rem; color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Facts strip ---------- */
.facts { background: var(--navy); color: var(--white); }
.facts ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.facts li { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; font-size: .95rem; text-align: left; }
.facts svg { width: 30px; height: 30px; flex: none; color: #8fdde5; }
@media (max-width: 900px) { .facts ul { grid-template-columns: repeat(2, 1fr); gap: 18px; } .facts li { justify-content: flex-start; } .facts li:last-child { grid-column: 1 / -1; } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split__media .inset {
  position: absolute; width: 46%; right: -6%; bottom: -8%; aspect-ratio: 1; border: 8px solid var(--white); border-radius: var(--radius);
}
.poem { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.5; color: var(--navy); font-style: italic; font-weight: 400; border-left: 3px solid var(--turq); padding-left: 24px; margin: 26px 0 30px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split__media .inset { right: 12px; bottom: -28px; width: 40%; }
  .split__media img { aspect-ratio: 4/3.4; }
}

/* ---------- Audience cards ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.audience {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; color: var(--white);
  display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow);
}
.audience img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.audience:hover img { transform: scale(1.05); }
.audience::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,22,48,.88), rgba(5,22,48,.05) 70%); }
.audience__body { padding: 34px; }
.audience h3 { color: var(--white); font-size: 1.9rem; }
.audience ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.audience li { padding-left: 24px; position: relative; color: rgba(255,255,255,.92); }
.audience li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: #8fdde5; }
@media (max-width: 800px) { .cards-2 { grid-template-columns: 1fr; } .audience { min-height: 400px; } }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.amenity-group { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.amenity-group h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.amenity-group h3 svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--turq-soft); color: var(--turq-deep); flex: none; }
.amenity-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.amenity-group li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.amenity-group li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--turq-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c7f8c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.highlight-note { margin-top: 30px; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; font-weight: 600; color: var(--navy); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; }
.pill svg { width: 18px; height: 18px; color: var(--turq-deep); }
@media (max-width: 1040px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amenities { grid-template-columns: 1fr; } }

/* ---------- Photo mosaic teaser ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; margin-top: 44px; }
.mosaic a { position: relative; overflow: hidden; border-radius: var(--radius-sm); display: block; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic .more { position: absolute; inset: 0; background: rgba(11,42,91,.55); color: var(--white); display: grid; place-items: center; font-weight: 700; letter-spacing: .06em; font-size: 1.05rem; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; } .mosaic a:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Weather widget ---------- */
.weather {
  background: linear-gradient(145deg, var(--navy) 0%, #12447e 55%, var(--turq-deep) 130%);
  color: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.weather::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px; background: radial-gradient(circle, rgba(255,214,120,.35), rgba(255,214,120,0) 70%); pointer-events: none; }
.weather__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.weather__place { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.weather__now { display: flex; align-items: center; gap: 16px; margin: 8px 0 4px; }
.weather__temp { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; }
.weather__temp small { font-size: 1.1rem; opacity: .75; margin-left: 6px; font-family: var(--font-body); }
.weather__icon { width: 64px; height: 64px; color: #ffd678; }
.weather__desc { font-weight: 600; opacity: .95; }
.weather__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 20px; font-size: .9rem; opacity: .92; }
.weather__meta span { display: inline-flex; align-items: center; gap: 6px; }
.weather__meta svg { width: 17px; height: 17px; opacity: .85; }
.weather__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.weather__day { text-align: center; font-size: .85rem; }
.weather__day svg { width: 30px; height: 30px; margin: 6px auto; color: #ffd678; }
.weather__day b { display: block; font-weight: 700; }
.weather__day span { opacity: .7; }
.weather__unit { border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); border-radius: 999px; font-size: .8rem; font-weight: 700; padding: 5px 12px; }
.weather__note { font-size: .75rem; opacity: .6; margin: 14px 0 0; }
.weather--loading .weather__temp { opacity: .4; }

/* ---------- Info grid (good to know) ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.info svg { width: 26px; height: 26px; color: var(--turq-deep); margin-bottom: 8px; }
.info b { display: block; color: var(--navy); font-size: 1.05rem; }
.info span { font-size: .93rem; color: var(--muted); }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }
.weather-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .weather-split { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--white); text-align: center; padding: clamp(90px, 14vw, 160px) 0; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,29,64,.62); }
.cta-band h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta-band p { font-size: 1.15rem; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c6db; padding: 80px 0 28px; font-size: .95rem; }
.site-footer a { color: #dfe9f7; text-decoration: none; }
.site-footer a:hover { color: #8fdde5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand svg { height: 54px; width: auto; color: var(--white); margin-bottom: 18px; }
.footer-brand text { fill: currentColor; }
.stripe-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; font-size: .85rem; }
.stripe-badge svg { height: 20px; width: auto; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { border: 1.5px solid var(--line); background: var(--white); color: var(--navy); padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: all .25s; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery { columns: 3 320px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.gallery figure:nth-child(3n+2) img { aspect-ratio: 4/5; object-fit: cover; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: var(--white); font-weight: 600; font-size: .92rem; background: linear-gradient(to top, rgba(5,22,48,.75), transparent); opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,14,32,.96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #dbe5f3; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox svg { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 70px; transform: none; } }

/* ---------- Rates ---------- */
.season-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.season { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.season:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.season__dates { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--turq-deep); }
.season__name { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin: 6px 0 14px; }
.season__price { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.season__price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.season__tag { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fde9e3; color: var(--warn); padding: 5px 10px; border-radius: 999px; }
.season--holiday { background: linear-gradient(160deg, #fff, #fff7ec); border-color: #f1d9b5; }
@media (max-width: 900px) { .season-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .season-grid { grid-template-columns: 1fr; } }

.rate-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.rate-notes .info { display: flex; gap: 14px; align-items: flex-start; }
.rate-notes .info svg { margin: 2px 0 0; flex: none; }
@media (max-width: 900px) { .rate-notes { grid-template-columns: 1fr; } }

.quote { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; margin-top: 44px; }
@media (max-width: 1000px) { .quote { grid-template-columns: 1fr; } }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.panel h3 { font-size: 1.45rem; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--turq-soft); color: var(--turq-deep); font-family: var(--font-body); font-size: .85rem; font-weight: 800; margin-right: 10px; vertical-align: 3px; }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; }
.cal-nav button:hover:not([disabled]) { border-color: var(--navy); }
.cal-nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-status { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cal-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,138,91,.15); }
.cal-status.is-offline .dot { background: #c9a227; box-shadow: 0 0 0 4px rgba(201,162,39,.15); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .cal-months { grid-template-columns: 1fr; } .cal-months .cal-month:nth-child(2) { display: none; } }
.cal-month h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; text-align: center; color: var(--navy); margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: .72rem; font-weight: 700; text-align: center; color: var(--muted); text-transform: uppercase; padding-bottom: 6px; }
.cal-day {
  aspect-ratio: 1 / 1.05; border: 0; background: transparent; border-radius: 10px; padding: 2px 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: .92rem; font-weight: 700; color: var(--ink); position: relative; transition: background .15s;
}
.cal-day small { font-size: .62rem; font-weight: 600; color: var(--muted); }
.cal-day:hover:not([disabled]) { background: var(--turq-soft); }
.cal-day[disabled] { cursor: default; }
.cal-day.is-past { color: #c2c8d2; }
.cal-day.is-past small { visibility: hidden; }
.cal-day.is-booked { color: #b7bfcc; background: repeating-linear-gradient(135deg, #f3f0ea 0 5px, #ebe6dc 5px 10px); text-decoration: line-through; }
.cal-day.is-booked small { visibility: hidden; }
.cal-day.is-checkout-only { background: linear-gradient(135deg, transparent 50%, #ebe6dc 50%); }
.cal-day.is-holiday small { color: var(--warn); }
.cal-day.in-range { background: var(--turq-soft); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--turq-deep) !important; color: var(--white); border-radius: 10px; text-decoration: none; }
.cal-day.is-start small, .cal-day.is-end small { color: rgba(255,255,255,.85); }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .8rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.cal-legend .lg-free { border: 1.5px solid var(--line); }
.cal-legend .lg-booked { background: repeating-linear-gradient(135deg, #f3f0ea 0 3px, #e3ddd0 3px 6px); }
.cal-legend .lg-sel { background: var(--turq-deep); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 4px rgba(23,169,184,.15); }
.field textarea { resize: vertical; min-height: 90px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.date-boxes { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; }
.date-box { padding: 12px 14px; }
.date-box + .date-box { border-left: 1.5px solid var(--line); }
.date-box small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.date-box b { font-size: 1rem; color: var(--navy); }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 6px 6px 6px 14px; }
.stepper b { font-size: 1.05rem; color: var(--navy); min-width: 2ch; text-align: center; }
.stepper div { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.2rem; line-height: 1; }
.stepper button:hover:not([disabled]) { border-color: var(--navy); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper span { font-size: .92rem; font-weight: 600; }

.breakdown { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 16px; }
.breakdown dl { margin: 0; display: grid; gap: 8px; }
.breakdown dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.breakdown dt { color: var(--muted); }
.breakdown dd { margin: 0; font-weight: 600; white-space: nowrap; }
.breakdown .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 1.15rem; }
.breakdown .total dt { color: var(--navy); font-weight: 800; }
.breakdown .total dd { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); font-weight: 500; }
.breakdown .included dd { color: var(--ok); }
.msg { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; margin: 10px 0; display: flex; gap: 10px; }
.msg--warn { background: #fdf0ea; color: var(--warn); }
.msg--ok { background: #e8f5ee; color: var(--ok); }
.msg--info { background: var(--turq-soft); color: var(--turq-deep); }
.empty-quote { text-align: center; color: var(--muted); padding: 22px 8px; font-size: .95rem; }
.empty-quote svg { width: 44px; height: 44px; color: var(--turq); margin: 0 auto 10px; }
.request { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.request[hidden] { display: none; }
.fine { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.hp { position: absolute; left: -5000px; }
.sticky-quote { position: sticky; top: 90px; }

/* ---------- Explore ---------- */
.getting-there { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; margin-top: 44px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--sand); position: relative; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.route-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; font-family: var(--font-body); }
.route-map .rm-stop circle { fill: #fff; stroke: #e2674f; stroke-width: 2.5; }
.route-map .rm-stop text { font-size: 13px; font-weight: 700; fill: var(--navy); }
.route-map .rm-home text { font-size: 15px; font-weight: 800; fill: #fff; letter-spacing: .02em; }
.route-map .rm-shield text { font-size: 12px; font-weight: 800; fill: #e2674f; }
.route-map .rm-sea { font-size: 12px; font-weight: 700; fill: #0b2a5b; opacity: .55; letter-spacing: .08em; }
.route-map .rm-caribbean { font-family: var(--font-display); font-style: italic; font-size: 17px; letter-spacing: .02em; font-weight: 400; }
.route-map .rm-note { font-size: 10px; fill: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.map-open { position: absolute; right: 16px; bottom: 16px; z-index: 1; padding: 11px 18px; font-size: .85rem; }
.routes { display: grid; gap: 14px; }
.route { display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 18px; }
.route svg { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--turq-soft); color: var(--turq-deep); }
.route h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; margin: 0 0 2px; }
.route p { margin: 0; font-size: .93rem; color: var(--muted); }
.route .time { font-weight: 700; color: var(--turq-deep); font-size: .85rem; }
@media (max-width: 900px) { .getting-there { grid-template-columns: 1fr; } }
.directions { margin-top: 28px; background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--turq); }
.directions ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.place { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.place:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.place__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand-deep); }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.place:hover .place__img img { transform: scale(1.06); }
.place__dist { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--navy); font-size: .78rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.place__dist svg { width: 14px; height: 14px; }
.place__cat { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--turq-deep); }
.place__body { padding: 22px 24px 26px; flex: 1; }
.place__body h3 { margin: 6px 0 10px; }
.place__body p { font-size: .96rem; color: var(--muted); margin: 0; }
.place__tip { margin-top: 14px !important; font-size: .88rem !important; color: var(--navy) !important; background: var(--sand); padding: 10px 12px; border-radius: 8px; }
.place--wide { grid-column: 1 / -1; flex-direction: row; }
.place--wide .place__img { aspect-ratio: auto; flex: 1.5; min-height: 360px; }
.place--wide .place__body { padding: 36px 40px; }
.place__duo img { width: 100%; height: 100%; object-fit: cover; }
.place--wide .place__body { flex: 1; align-self: center; }
.place__duo { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
@media (max-width: 1000px) { .places { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .places { grid-template-columns: 1fr; } .place--wide { grid-column: auto; flex-direction: column; } .place--wide .place__img { min-height: 240px; } }
.credits { font-size: .78rem; color: var(--muted); margin-top: 48px; line-height: 1.6; }
.credits a { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ==========================================================================
   SEO/GEO rebuild additions
   ========================================================================== */
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.site-header { top: 0; }
.footer-sub { margin-top: 28px; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 12px; }

/* Language hint (Spanish browsers on English pages) */
.lang-hint { position: fixed; z-index: 60; left: 50%; bottom: 84px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: var(--navy); color: var(--white); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); font-size: .9rem; font-weight: 600; max-width: calc(100vw - 32px); }
.lang-hint a { color: inherit; text-decoration: none; }
.lang-hint button { border: 0; background: rgba(255,255,255,.15); color: inherit; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; line-height: 1; }
@media (min-width: 761px) { .lang-hint { bottom: 20px; } }

/* Mobile quick-action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -14px rgba(11,42,91,.35); }
  .mobile-bar .btn { padding: 13px 18px; font-size: .92rem; }
  .mobile-bar .btn--primary { flex: 1; }
  .mobile-bar .btn--wa { background: var(--navy); color: var(--white); gap: 8px; }
  .mobile-bar .btn--wa svg { width: 20px; height: 20px; }
  body[data-page="rates"] .mobile-bar { display: none; }
  body[data-page="rates"] { padding-bottom: 0; }
}

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--turq-deep); border-bottom: 2px solid var(--turq-deep); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details p { margin: 0; }

/* Text blocks and article pages */
.intro-text { max-width: 760px; margin: 0 auto 36px; text-align: center; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose .lead { max-width: none; color: var(--ink); font-size: 1.25rem; }
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); }
.compare tbody th { color: var(--navy); background: var(--sand); width: 20%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Guide cards */
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.guide-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.guide-card span { padding: 20px 22px 24px; display: grid; gap: 6px; }
.guide-card b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--navy); line-height: 1.25; }
.guide-card small { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr; } }

/* Booking steps + included list (rates) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.step-card b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--turq-soft); color: var(--turq-deep); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.25rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.included { margin-top: 36px; background: var(--white); border-radius: var(--radius); padding: 28px 32px; }
.included h3 { margin-bottom: 12px; }
.included ul { margin: 0 0 14px; padding-left: 1.2em; columns: 2; column-gap: 40px; }
.included li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .included ul { columns: 1; } }

/* Route map button spacing */
.map-frame .route-map { z-index: 0; }

/* Policy cards (rates page) */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.policy-card { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.policy-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.policy-card p { margin: 0; color: var(--ink); }
.policy-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.policy-card li { color: var(--ink); }
#policy .fine { margin-top: 22px; }
@media (max-width: 900px) { .policy-grid { grid-template-columns: 1fr; } }

/* Cookie consent bar */
.consent { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); }
.consent p { margin: 0; font-size: .92rem; flex: 1 1 280px; }
.consent > div { display: flex; gap: 10px; }
.consent .btn { padding: 10px 20px; font-size: .88rem; }
.consent .btn--outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.consent .btn--outline:hover { background: var(--white); color: var(--navy); }
.consent .btn--primary { background: var(--white); color: var(--navy); box-shadow: none; }
.consent .btn--primary:hover { background: var(--turq); color: var(--white); }
@media (max-width: 760px) { .consent { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.lang-hint { bottom: auto !important; top: 84px; }

/* WhatsApp buttons */
.btn--wa { background: #128c7e; color: var(--white); border-color: transparent; gap: 10px; box-shadow: 0 10px 24px -12px rgba(18,140,126,.8); }
.btn--wa:hover { background: #0d6b60; color: var(--white); }
.btn--wa svg { width: 20px; height: 20px; flex: none; }
.mobile-bar .btn--wa { background: #128c7e; }
.cta-band .btn--wa { margin: 8px 0 0 10px; }
.wa-ask { margin-top: 28px; }
.wa-ask p { margin: 0 0 12px; color: var(--muted); }

@media (max-width: 760px) { .cta-band .btn--wa { margin-left: 0; } }
@media (min-width: 761px) { .consent { left: 24px; right: 24px; margin: 0; max-width: 640px; } }

/* WhatsApp logo in the header */
.header-wa { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; transition: transform .2s var(--ease); }
.header-wa svg { display: block; width: 100%; height: 100%; }
.header-wa:hover { transform: scale(1.1); }
@media (max-width: 960px) { .header-wa { width: 34px; height: 34px; } }
@media (max-width: 380px) { .header-actions { gap: 6px; } .lang-toggle a { padding: 5px 7px; } .brand svg { height: 32px; } }
