/* =========================================================================
   Ilha Grande Travel — CSS propio, mobile-first, sin frameworks.
   Paleta "Selva & Sol": verde selva (marca) + amarillo sol + teal (agua).
   Fuentes del sistema (0 requests).
   ========================================================================= */

:root {
  --ocean:    #1c8f4e;   /* verde selva — color principal de marca */
  --ocean-d:  #0f5a34;
  --ocean-l:  #3fb56a;
  --deep:     #0c3a24;   /* verde bosque profundo (hero / footer) */
  --water:    #12b0b0;   /* teal — acento de agua / mar */
  --coral:    #f2663d;   /* acento cálido / errores */
  --sand:     #f6efe3;
  --sand-d:   #efe4d0;
  --sun:      #ffc21f;   /* sol */
  --sun-d:    #f3a712;

  --ink:      #142a20;
  --ink-soft: #3c534a;
  --muted:    #6a7c74;
  --line:     #e2e8e4;
  --bg:       #ffffff;
  --bg-soft:  #f2f7f3;

  --grad-hero: linear-gradient(150deg, #0c3a24 0%, #1c8f4e 55%, #12b0b0 100%);
  --grad-cta:  linear-gradient(120deg, #1c8f4e, #0f5a34);

  --shadow-sm: 0 1px 3px rgba(12,50,32,.06), 0 1px 2px rgba(12,50,32,.05);
  --shadow-md: 0 8px 26px rgba(12,50,32,.10);
  --shadow-lg: 0 20px 50px rgba(12,50,32,.16);

  --radius:   16px;
  --radius-s: 11px;
  --maxw:     1180px;
  --maxw-narrow: 760px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh;
}
body > main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--ocean-d); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding: 68px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ocean); margin: 0 0 12px;
}
.eyebrow svg { width: 16px; height: 16px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ocean); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.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; }

/* ---------- Widget de clima (Open-Meteo) ---------- */
.weather { padding: 30px 0; }
.weather__card { color: #eaf7ef; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-md); background-image: linear-gradient(145deg, #0c3a24, #12613f 58%, #109ba0); }
.weather__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.weather__title { color: #fff; font-size: 1.15rem; margin: 0; }
.weather__loc { color: #bfe0cd; font-size: .85rem; font-weight: 600; }
.weather__now { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); margin-bottom: 14px; min-height: 60px; }
.weather__ico { width: 56px; height: 56px; flex-shrink: 0; }
.weather__ico svg, .weather__dico svg { width: 100%; height: 100%; display: block; }
.weather__temp { font-size: 2.5rem; font-weight: 800; line-height: 1; color: #fff; }
.weather__temp span { font-size: 1rem; font-weight: 600; color: #cfe6d8; vertical-align: super; }
.weather__meta { display: flex; flex-direction: column; gap: 3px; }
.weather__cond { font-weight: 700; color: #fff; font-size: 1.05rem; }
.weather__stats { color: #cbe6d6; font-size: .86rem; }
.weather__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.weather__day { display: flex; flex-direction: column; align-items: center; gap: 4px; background: rgba(255,255,255,.10); border-radius: 12px; padding: 10px 6px; }
.weather__dow { font-size: .78rem; font-weight: 700; text-transform: capitalize; color: #dcefe4; }
.weather__dico { width: 32px; height: 32px; }
.weather__dtemp { font-size: .82rem; color: #cbe6d6; }
.weather__dtemp b { color: #fff; font-weight: 700; }
.weather__attrib { margin: 14px 0 0; font-size: .74rem; }
.weather__attrib a { color: #a9d4bd; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .weather__days { grid-template-columns: repeat(2, 1fr); } .weather__temp { font-size: 2.1rem; } }

/* ---------- Banner de consentimiento de cookies (GDPR/LGPD) ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--deep); color: #eaf7ef; border-top: 3px solid var(--ocean); box-shadow: 0 -6px 24px rgba(12,50,32,.22); }
.consent__inner { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; justify-content: space-between; padding: 14px 20px; }
.consent__text { margin: 0; font-size: .9rem; color: #dcefe4; max-width: 72ch; }
.consent__text a { color: #a9d4bd; text-decoration: underline; text-underline-offset: 2px; }
.consent__btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent__btn { cursor: pointer; font-family: inherit; font-weight: 650; font-size: .92rem; border-radius: 999px; padding: 10px 20px; border: 1.5px solid transparent; transition: .15s ease; white-space: nowrap; line-height: 1; }
.consent__btn--accept { background: var(--ocean); color: #fff; }
.consent__btn--accept:hover { background: var(--ocean-l); }
.consent__btn--reject { background: transparent; color: #dcefe4; border-color: rgba(255,255,255,.45); }
.consent__btn--reject:hover { border-color: #fff; color: #fff; }
@media (max-width: 560px) { .consent__inner { padding: 12px 16px; } .consent__btns { width: 100%; } .consent__btn { flex: 1; } }

/* ---------- Monito curioso (aparece de a ratos por los bordes) ---------- */
.monkey-stage { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 60; }
.monkey-peek { position: absolute; width: 68px; opacity: 0; transform: translateY(120%);
  transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .45s ease; will-change: transform, opacity; }
.monkey-peek .mk-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 5px 9px rgba(12,50,32,.28)); }
.monkey-peek.is-left   { left: 0;   transform: translateX(-120%); }
.monkey-peek.is-right  { right: 0;  transform: translateX(120%); }
.monkey-peek.is-bottom { bottom: 0; transform: translateY(120%); }
.monkey-peek.is-visible.is-left   { opacity: 1; transform: translateX(-24%) rotate(5deg); }
.monkey-peek.is-visible.is-right  { opacity: 1; transform: translateX(24%) rotate(-5deg); }
.monkey-peek.is-visible.is-bottom { opacity: 1; transform: translateY(24%); }
.monkey-peek.is-right .mk-svg { transform: scaleX(-1); }
.monkey-peek.is-visible .monkey-peek__inner { animation: mk-bob 2.4s ease-in-out infinite; }
.mk-arm { transform-box: view-box; transform-origin: 67px 66px; }
.monkey-peek.is-visible .mk-arm { animation: mk-wave .5s ease-in-out infinite alternate; }
@keyframes mk-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-2deg); } }
@keyframes mk-wave { from { transform: rotate(-8deg); } to { transform: rotate(24deg); } }
@media (max-width: 760px) { .monkey-peek { width: 52px; } }
@media (prefers-reduced-motion: reduce) { .monkey-stage { display: none !important; } }

/* ---------- Papagayo volador (cruza en diagonal por las esquinas) ---------- */
.parrot-stage { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 61; }
.parrot-fly { position: absolute; top: 0; left: 0; width: 98px; opacity: 0; will-change: transform, opacity; }
.parrot-fly.is-flying { opacity: 1; }
.parrot-fly .pr-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 11px rgba(12,50,32,.22)); }
.parrot-fly__inner { animation: pr-bob 1.1s ease-in-out infinite; }
.pr-wing { transform-box: view-box; transform-origin: 55px 40px; }
.parrot-fly.is-flying .pr-wing { animation: pr-flap .22s ease-in-out infinite alternate; }
@keyframes pr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pr-flap { from { transform: rotate(-26deg); } to { transform: rotate(30deg); } }
@media (max-width: 760px) { .parrot-fly { width: 72px; } }
@media (prefers-reduced-motion: reduce) { .parrot-stage { display: none !important; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap; line-height: 1; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: 0 6px 18px rgba(28,143,78,.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28,143,78,.42); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Header + navegación
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand__mark { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; flex-shrink: 0; }
.brand__mark svg { width: 40px; height: 40px; }
.brand__wm { display: inline-flex; align-items: center; }
.brand__wm .wm-svg { height: 42px; width: auto; display: block; }
.brand--footer .brand__wm .wm-svg { height: 46px; }
.brand__name { font-size: 1.16rem; }
.brand__tld { color: var(--ocean); }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.primary-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.navlink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 9px; color: var(--ink-soft); font-weight: 550; font-size: .95rem;
}
.navlink:hover { color: var(--ocean); background: var(--bg-soft); }
.navlink[aria-current="page"] { color: var(--ocean); background: var(--bg-soft); }
.navlink--soon { color: var(--muted); }

.badge-soon {
  display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--sand-d); color: var(--ink-soft); padding: 2px 7px; border-radius: 999px; vertical-align: middle;
}
.badge-soon--lg { font-size: .72rem; padding: 4px 12px; margin-bottom: 8px; }

/* Selector de idioma */
.lang-switch { position: relative; margin-left: 6px; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-weight: 700; color: var(--ink); font-family: inherit; font-size: .9rem;
}
.lang-switch__btn:hover { border-color: var(--ocean); }
.lang-switch__btn svg { width: 16px; height: 16px; color: var(--ocean); }
.lang-switch__cur { letter-spacing: .03em; }
.lang-switch__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 172px;
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s ease; z-index: 120;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu a {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px;
  color: var(--ink-soft); font-weight: 550; font-size: .93rem;
}
.lang-switch__menu a:hover { background: var(--bg-soft); color: var(--ocean); }
.lang-switch__menu a.is-active { color: var(--ocean); font-weight: 700; }
.lang-switch__menu a svg { width: 15px; height: 15px; margin-left: auto; }
.lang-switch__code {
  display: inline-flex; min-width: 26px; justify-content: center; font-size: .72rem; font-weight: 800;
  background: var(--bg-soft); color: var(--ink-soft); padding: 2px 5px; border-radius: 5px;
}

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--deep); }
/* Foto de fondo del hero */
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo picture, .hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Overlay para legibilidad del texto (queda por encima de la foto) */
.hero__bg { position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(9,42,28,.84) 0%, rgba(9,42,28,.5) 42%, rgba(9,42,28,.12) 100%),
    linear-gradient(0deg, rgba(9,42,28,.64) 0%, rgba(9,42,28,0) 52%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 380px at 82% -10%, rgba(255,194,31,.22), transparent 60%);
}
.hero__inner { position: relative; z-index: 1; padding: 84px 20px 92px; max-width: 820px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem;
  letter-spacing: .02em; color: #eaf7ee; background: rgba(255,255,255,.12);
  padding: 7px 14px; border-radius: 999px; margin: 0 0 18px;
}
.hero__kicker svg { width: 16px; height: 16px; }
.hero__title { color: #fff; margin: 0 0 .3em; text-shadow: 0 2px 20px rgba(0,0,0,.18); }
.hero__text { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: #eaf7ee; max-width: 620px; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Franja de datos rápidos */
.quickfacts { background: var(--deep); }
.quickfacts__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 18px 20px; }
.quickfacts__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; color: #dcefe4; padding: 8px; }
.quickfacts__ico { color: var(--sun); }
.quickfacts__ico svg { width: 22px; height: 22px; }
.quickfacts__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #9fc4b0; }
.quickfacts__value { color: #fff; font-size: 1rem; }

/* =========================================================================
   Prosa
   ========================================================================= */
.prose { font-size: 1.06rem; color: var(--ink-soft); }
.prose--center { text-align: center; max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; color: var(--ink); }
.prose h3 { margin-top: 1.3em; color: var(--ocean-d); }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   Tarjetas (cards) de secciones
   ========================================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: .18s ease; color: var(--ink);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe6d6; }
.card__ico { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ocean); border-radius: 13px; margin-bottom: 14px; }
.card__title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.card__text { color: var(--muted); font-size: .96rem; margin: 0; }
.card__more { position: absolute; top: 22px; right: 22px; color: var(--ocean); opacity: 0; transform: translateX(-4px); transition: .18s; }
.card:hover .card__more { opacity: 1; transform: translateX(0); }
.card--soon { opacity: .78; }

/* =========================================================================
   Artículo (páginas de prosa)
   ========================================================================= */
.breadcrumb { padding-top: 20px; }
.breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ocean); }
.breadcrumb svg { width: 14px; height: 14px; display: block; color: var(--line); }

.article__head { padding-top: 26px; }
.article__lead { font-size: 1.2rem; color: var(--ink-soft); margin-top: .4em; }
.article__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); }
.article__meta svg { width: 15px; height: 15px; }
.article__figure { margin: 26px auto; }

.ph-image {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sand) 0%, #dfeee2 100%); color: var(--ocean);
  border-radius: var(--radius); border: 1px dashed #cbe0cf;
}
.ph-image--wide { aspect-ratio: 21 / 8; }
.ph-image svg { opacity: .5; }

/* Fotos reales (<picture>) */
.media { position: relative; display: block; overflow: hidden; background: var(--bg-soft); }
.media picture { display: block; width: 100%; height: 100%; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot__media .media { aspect-ratio: 3 / 2; }
.media--figure { aspect-ratio: 3 / 2; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.media__credit {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  font-size: .62rem; line-height: 1.2; color: rgba(255,255,255,.92);
  background: rgba(9,42,28,.55); padding: 3px 7px; border-radius: 6px 0 0 0;
  letter-spacing: .02em;
}
.media__credit a { color: rgba(255,255,255,.92); text-decoration: none; }
.media__credit a:hover { text-decoration: underline; }

.factbox {
  margin: 34px auto; background: var(--sand); border: 1px solid var(--sand-d);
  border-radius: var(--radius); padding: 22px 26px;
}
.factbox__title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 12px; }
.factbox__title svg { color: var(--ocean); }
.factbox__list { margin: 0; display: grid; gap: 10px; }
.factbox__list > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--sand-d); }
.factbox__list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.factbox dt { color: var(--muted); font-size: .92rem; margin: 0; }
.factbox dd { margin: 0; color: var(--ink); font-weight: 600; font-size: .95rem; }

/* =========================================================================
   Guía de playas y trilhas
   ========================================================================= */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spot {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .18s ease;
}
.spot:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.spot--featured { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun), var(--shadow-sm); }
.spot__media { position: relative; }
.spot__media .ph-image { border-radius: 0; border: 0; aspect-ratio: 3 / 2; }
.spot__flag {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px;
  background: var(--sun); color: #4a3208; font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 999px;
}
.spot__flag svg { width: 13px; height: 13px; }
.spot__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.spot__type {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 9px;
}
.spot__type svg { width: 14px; height: 14px; }
.spot__type--beach { background: #e2f3f4; color: #0c7d84; }
.spot__type--trail { background: #eaf3e2; color: #4b7a2b; }
.spot__type--spot  { background: #fdeede; color: #b5651a; }
.spot__type--rest  { background: #fde7e3; color: #c0492a; }
.spot__name { font-size: 1.18rem; margin-bottom: 8px; }
.spot__desc { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.spot__meta { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.spot__meta li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--ink-soft); }
.spot__meta svg { width: 15px; height: 15px; color: var(--ocean); flex-shrink: 0; margin-top: 2px; }
.spot__meta span { color: var(--muted); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer;
  padding: 16px 20px; font-weight: 650; color: var(--ink); list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 18px; height: 18px; color: var(--ocean); transition: transform .2s; flex-shrink: 0; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 20px 16px; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* =========================================================================
   Contacto
   ========================================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact__intro h2 { margin-bottom: .3em; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(28,143,78,.14); }
.field textarea { resize: vertical; }
.field .inputerror { border-color: var(--coral); }
.form-msg:not(:empty) { margin-top: 14px; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .93rem; }
.alert--ok { background: #e6f6ef; color: #1a7a4d; border: 1px solid #bfe6d2; }
.alert--err { background: #fdece7; color: #b23b1a; border: 1px solid #f6cabb; }
.alert--err .error { margin: 2px 0; }
.loader { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; display: none; }
.loader.is-on { display: inline-block; animation: spin .7s linear infinite; }
button[disabled] .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   "Próximamente" / 404
   ========================================================================= */
.soon__inner { text-align: center; padding: 40px 0; }
.soon__ico { display: inline-flex; width: 84px; height: 84px; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ocean); border-radius: 22px; margin-bottom: 16px; }
.soon__lead { font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.soon .btn { margin-top: 12px; }

/* =========================================================================
   Ad slots (inactivos por defecto)
   ========================================================================= */
.ad-slot { max-width: var(--maxw); margin: 8px auto; min-height: 90px; }
.ad-slot--in-content { display: flex; align-items: center; justify-content: center; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--deep); color: #cfe6d8; padding: 52px 0 26px; margin-top: 8px; }
.site-footer a { color: #cfe6d8; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand--footer { color: #fff; margin-bottom: 12px; }
.brand--footer .brand__tld { color: var(--ocean-l); }
.brand--footer .brand__name { color: #fff; }
.site-footer__brand p { color: #a9c9b5; font-size: .95rem; max-width: 34ch; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.site-footer__contact svg { width: 16px; height: 16px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.site-footer h4 svg { width: 15px; height: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { font-size: .95rem; color: #a9c9b5; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; font-size: .84rem; color: #8fb3a0; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 940px) {
  .cards, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px; gap: 4px; max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: .18s ease;
  }
  .site-header.is-open .primary-nav { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .navlink { padding: 12px 14px; justify-content: space-between; }
  .lang-switch { margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
  .lang-switch__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0; }
  .quickfacts__row { grid-template-columns: repeat(2, 1fr); }
  .cards, .guide-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__inner { padding: 60px 20px 66px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ============================ Circuitos en barco + popin de paradas ======= */
.circuits-block { margin: 1.5rem 0 0.5rem; }
.circuits-lead { color: var(--ink-soft); }
.circuits { display: grid; gap: 16px; margin-top: 1.1rem; }
.circuit {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--bg); box-shadow: var(--shadow-sm); padding: 16px 18px;
}
.circuit__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.circuit__name { margin: 0; font-size: 1.16rem; color: var(--ink); }
.circuit__dur {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-weight: 700; font-size: .82rem; color: var(--ocean-d);
  background: var(--bg-soft); border-radius: 999px; padding: 3px 10px;
}
.circuit__dur svg { flex: none; }
.circuit__desc { margin: .5rem 0 .8rem; color: var(--ink-soft); font-size: .96rem; }
.circuit__stops-label {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.circuit__stops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.circuit__stops li { margin: 0; }
.stopchip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; line-height: 1.2; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px;
}
.stopchip__t { font-style: normal; font-size: .76rem; color: var(--muted); font-weight: 600; }
.stopchip__ico { display: inline-flex; color: var(--water); }
.stopchip__ico svg { display: block; }
button.stopchip--beach {
  cursor: pointer; font: inherit; color: var(--ocean-d); font-weight: 600;
  background: #eaf6ef; border-color: #cfe9da; transition: background .15s, border-color .15s, transform .05s;
}
button.stopchip--beach:hover { background: #dcefe3; border-color: var(--ocean-l); }
button.stopchip--beach:active { transform: translateY(1px); }
button.stopchip--beach:focus-visible { outline: 2px solid var(--ocean); outline-offset: 2px; }
.stopchip--lunch { background: #fff6e0; border-color: #f2e0b0; color: #8a6410; }
.circuit__note {
  margin: .8rem 0 0; display: flex; align-items: flex-start; gap: 6px;
  font-size: .82rem; color: var(--muted);
}
.circuit__note svg { flex: none; margin-top: 1px; }

/* Popin */
.beachpop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.beachpop[hidden] { display: none; }
body.beachpop-open { overflow: hidden; }
.beachpop__backdrop { position: absolute; inset: 0; background: rgba(12,50,32,.55); backdrop-filter: blur(2px); }
.beachpop__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto;
  background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: beachpop-in .18s ease-out;
}
@keyframes beachpop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.beachpop__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--ink); box-shadow: var(--shadow-sm);
}
.beachpop__close:hover { background: #fff; color: var(--coral); }
.beachpop__media { margin: 0; line-height: 0; position: relative; }
.beachpop__media img { width: 100%; height: 210px; object-fit: cover; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.beachpop__body { padding: 16px 20px 20px; }
.beachpop__body h3 { margin: .1rem 0 .5rem; color: var(--ink); font-size: 1.3rem; }
.beachpop__body p { color: var(--ink-soft); margin: 0 0 .9rem; }
.beachpop__meta { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 6px; }
.beachpop__meta li { font-size: .9rem; color: var(--ink-soft); }
.beachpop__meta .beachpop__time { font-weight: 700; color: var(--ocean-d); }
.beachpop__full {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
  color: var(--ocean); border-bottom: 2px solid transparent;
}
.beachpop__full:hover { color: var(--ocean-d); border-bottom-color: var(--ocean-l); }
