/* ============================================================
   Ocean Signature Resorts — Coastal Editorial
   Cormorant Garamond display + Mulish body
   Sand + ocean-teal + gold. Light + dark.
   ============================================================ */

:root {
  --sand:      #EDE3D2;
  --foam:      #F7F3EC;
  --shell:     #E3D5C0;
  --ink:       #14252A;
  --ink-soft:  #3C4F54;
  /* Original Ocean (H10) brand blue — #384e81 is the live-site primary */
  --teal:      #384E81;
  --teal-deep: #2A3A61;
  --teal-lite: #8AA6D6;
  --gold:      #C2A36B;
  --gold-deep: #A8884B;

  --bg:        var(--foam);
  --surface:   #FFFFFF;
  --surface-2: var(--sand);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --accent:    var(--teal);
  --accent-h:  var(--teal-deep);
  --line:      color-mix(in srgb, var(--ink) 14%, transparent);
  --line-soft: color-mix(in srgb, var(--ink) 8%, transparent);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 3px;
  --shadow: 0 12px 40px -18px rgba(10, 40, 45, 0.45);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0C1A1E;
    --surface:   #11262B;
    --surface-2: #16313700;
    --surface-2: #163137;
    --text:      #EDE3D2;
    --text-soft: #A9B7B8;
    --accent:    var(--teal-lite);
    --accent-h:  #A9C0EA;
    --line:      color-mix(in srgb, var(--sand) 16%, transparent);
    --line-soft: color-mix(in srgb, var(--sand) 9%, transparent);
    --shadow: 0 14px 44px -16px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --bg:        #0C1A1E;
  --surface:   #11262B;
  --surface-2: #163137;
  --text:      #EDE3D2;
  --text-soft: #A9B7B8;
  --accent:    var(--teal-lite);
  --accent-h:  #A9C0EA;
  --line:      color-mix(in srgb, var(--sand) 16%, transparent);
  --line-soft: color-mix(in srgb, var(--sand) 9%, transparent);
  --shadow: 0 14px 44px -16px rgba(0, 0, 0, 0.7);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.narrow { max-width: 760px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head p { color: var(--text-soft); margin-top: 0.75rem; font-size: 1.05rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: currentColor; color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-light { background: rgba(255,255,255,0.92); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link-arrow { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow:hover { gap: .7rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.nav-logo { display: flex; align-items: baseline; gap: .35rem; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .02em; color: #fff; }
.nav-logo b { font-weight: 600; }
.nav-logo span { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; font-family: var(--font-body); opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: .92; }
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: .55rem 1.1rem; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); }
.nav-tools { display: flex; align-items: center; gap: 1rem; }
.lang-pill, .theme-toggle { background: transparent; border: 0; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; display: inline-flex; align-items: center; gap: .3rem; }
.theme-toggle { font-size: 1rem; }

/* solid state on scroll / non-hero pages */
.nav.scrolled, .nav.solid {
  background: var(--surface);
  box-shadow: 0 2px 20px -12px rgba(10,40,45,.5);
  border-bottom-color: var(--line);
}
.nav.scrolled .nav-logo, .nav.solid .nav-logo,
.nav.scrolled .nav-links a, .nav.solid .nav-links a,
.nav.scrolled .lang-pill, .nav.solid .lang-pill,
.nav.scrolled .theme-toggle, .nav.solid .theme-toggle { color: var(--text); }
.nav.scrolled .nav-cta, .nav.solid .nav-cta { border-color: var(--accent); color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 0; padding: 0; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: currentColor; color: #fff; transition: transform .2s, opacity .2s; }
.nav.scrolled .nav-toggle-bar, .nav.solid .nav-toggle-bar { color: var(--text); background: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,30,.35) 0%, rgba(8,26,30,.05) 35%, rgba(8,26,30,.65) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(7rem, 14vh, 11rem); max-width: 820px; }
.hero h1 { font-weight: 500; }
.hero .eyebrow { color: var(--gold); }
.hero p.lede { font-size: 1.2rem; max-width: 38ch; margin: 1.2rem 0 1.8rem; opacity: .95; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 3; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .6rem; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); }
.hero-dots button.active { background: #fff; width: 26px; border-radius: 6px; }

/* ---------- booking bar ---------- */
.booking { position: relative; z-index: 5; margin-top: -3.6rem; }
.booking-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; display: grid; grid-template-columns: 2fr 2fr 1.6fr 1.4fr auto; gap: .7rem; align-items: end; }
.booking-field { display: flex; flex-direction: column; gap: .25rem; text-align: left; }
.booking-field label { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.booking-field input, .booking-field button.fauxselect { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: .5rem 0; color: var(--text); font-size: 1rem; }
.booking-field input::placeholder { color: var(--text-soft); }
.booking .btn-primary { height: 48px; }
.booking-note { font-size: .72rem; color: var(--text-soft); margin-top: .6rem; text-align: center; }

/* ---------- pillars / cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.pillar { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pillar:hover img { transform: scale(1.06); }
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,26,30,.8)); }
.pillar-body { position: relative; z-index: 2; padding: 1.8rem; }
.pillar-body p { opacity: .9; margin: .5rem 0 1rem; font-size: .96rem; }

/* resort card */
.resort-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.resort-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.resort-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.resort-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.resort-media img.swap { position: absolute; inset: 0; opacity: 0; }
.resort-card:hover .resort-media img.swap { opacity: 1; }
.resort-card:hover .resort-media img.base { transform: scale(1.04); }
.badges { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: flex; gap: .35rem; flex-wrap: wrap; }
.badge { font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 2px; background: rgba(255,255,255,.92); color: var(--ink); }
.badge.new { background: var(--gold); color: #2a2114; }
.badge.adults { background: var(--teal-deep); color: #fff; }
.resort-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.resort-body .dest { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.resort-body h3 { font-size: 1.5rem; }
.resort-meta { display: flex; align-items: center; gap: .8rem; font-size: .82rem; color: var(--text-soft); margin-top: auto; }
.rating { color: var(--gold-deep); font-weight: 800; }
.price { margin-left: auto; text-align: right; }
.price b { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }

/* feature list / why-direct */
.feature-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; }
.feature { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.feature svg, .feature .ic { width: 22px; height: 22px; color: var(--accent); flex: none; }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem 1.5rem; }
.amenity { display: flex; align-items: center; gap: .7rem; font-size: .94rem; }
.amenity img { width: 26px; height: 26px; }

/* offers / rewards bands */
.band { background: var(--surface-2); }
.band-teal { background: var(--teal-deep); color: var(--foam); }
.band-teal .eyebrow { color: var(--gold); }
.band-teal a.link-arrow { color: var(--gold); }
.reward-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.2rem; margin-top: 2rem; }
.reward-points li { display: flex; gap: .8rem; align-items: flex-start; }
.reward-points img { width: 34px; height: 34px; filter: brightness(0) saturate(100%); }
.band-teal .reward-points img { filter: brightness(0) invert(1); }

/* editorial intro */
.editorial p { font-size: 1.12rem; color: var(--text-soft); }
.editorial p + p { margin-top: 1.1rem; }
.dropcap::first-letter { font-family: var(--font-display); font-size: 3.4rem; line-height: .8; float: left; padding: .1rem .5rem .1rem 0; color: var(--accent); }

/* resort detail */
.resort-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: #fff; }
.resort-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resort-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,26,30,.3), rgba(8,26,30,.75)); }
.resort-hero .wrap { position: relative; z-index: 2; padding-bottom: 3rem; }
.subnav { position: sticky; top: 76px; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 1.5rem; overflow-x: auto; padding: .9rem 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.subnav a:hover { color: var(--accent); }
.room, .restaurant { padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft); }
.room h3, .restaurant h3 { font-size: 1.5rem; }
.room p, .restaurant p { color: var(--text-soft); margin-top: .4rem; }
.cuisine-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.chip { font-size: .74rem; padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 100px; color: var(--text-soft); }

details.faq { border-bottom: 1px solid var(--line-soft); padding: 1rem 0; }
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--text-soft); margin-top: .6rem; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: .8rem; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }

/* social */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: .6rem; }
.social-grid a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.social-grid a:hover img { transform: scale(1.08); }
.social-grid .handle { position: absolute; inset: auto 0 0 0; padding: .5rem; font-size: .72rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

/* ---------- footer ---------- */
.site-footer { --text: #EDE3D2; --text-soft: #9fb0b0; --line: color-mix(in srgb, #EDE3D2 16%, transparent); background: #0A1A1D; color: var(--text); padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-top .foot-h { font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.footer-top a { display: block; padding: .3rem 0; color: var(--text); opacity: .85; font-size: .92rem; }
.footer-top a:hover { opacity: 1; color: var(--gold); }
.newsletter form { display: flex; gap: .5rem; margin-top: .8rem; }
.newsletter input { flex: 1; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem; color: var(--text); font-size: 16px; }
.footer-brand .nav-logo { color: var(--text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-soft); }
.footer-bottom a { color: var(--text-soft); }
.liame-decoy { display: none; }
.liame-svg { vertical-align: middle; pointer-events: none; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .booking-card { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; top: 76px; right: 0; bottom: 0; left: 0;
    background: var(--surface); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 1.5rem var(--gap); transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto; z-index: 999;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: var(--text); width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 1rem; border-color: var(--accent); color: var(--accent); text-align: center; }
  .nav-toggle { display: flex; }
  .nav .nav-tools .lang-pill span.lng { display: none; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .booking-card { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  /* iOS: prevent input zoom */
  input, textarea, select, button.fauxselect { font-size: 16px !important; }
}

/* ============================================================
   Real logo (CSS mask → inherits currentColor)
   ============================================================ */
.logo-mark {
  display: inline-block;
  width: 150px; height: 44px;
  background-color: currentColor;
  -webkit-mask: url('/assets/images/logo.svg') no-repeat left center;
  -webkit-mask-size: contain;
  mask: url('/assets/images/logo.svg') no-repeat left center;
  mask-size: contain;
}
.nav-logo { color: #fff; }
/* Logo in the original Ocean brand blue on the light scrolled header (stays white over the hero) */
.nav.scrolled .nav-logo, .nav.solid .nav-logo { color: var(--accent); }
.site-footer .logo-mark { width: 170px; height: 50px; }

/* ---------- phone dropdown ---------- */
.phone-dd { position: relative; }
.phone-trigger { background: transparent; border: 0; color: #fff; display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .03em; padding: .3rem 0; }
.nav.scrolled .phone-trigger, .nav.solid .phone-trigger { color: var(--text); }
.phone-trigger .ic { width: 16px; height: 16px; }
.phone-panel { position: absolute; top: calc(100% + 12px); right: 0; width: 320px; max-width: 90vw; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; display: none; z-index: 1100; }
.phone-dd.is-open .phone-panel { display: block; }
.phone-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-soft); }
.phone-head .ic { width: 18px; height: 18px; color: var(--accent); }
.phone-cta { width: 100%; justify-content: center; margin: 1rem 0; }
.phone-list { display: flex; flex-direction: column; gap: .7rem; max-height: 46vh; overflow-y: auto; }
.phone-list li { display: flex; flex-direction: column; }
.phone-country { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.phone-list a { font-weight: 700; font-size: .98rem; color: var(--text); }
.phone-list a:hover { color: var(--accent); }

/* ---------- booking "where to" dropdown ---------- */
.booking-where { position: relative; }
.where-panel { position: absolute; top: calc(100% + 14px); left: 0; width: min(760px, 94vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.8rem; z-index: 1200; grid-template-columns: 1fr 1.6fr; gap: 2rem; }
.where-panel:not([hidden]) { display: grid; }
.where-close { position: absolute; top: .8rem; right: 1rem; background: transparent; border: 0; font-size: 1.5rem; line-height: 1; color: var(--text-soft); }
.where-panel h5 { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: .5rem; }
.where-recent { border-right: 1px solid var(--line-soft); padding-right: 1.5rem; }
.where-recent h5 { color: var(--text-soft); }
.where-dest { display: flex; flex-direction: column; gap: .9rem; max-height: 46vh; overflow-y: auto; }
.where-dest-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.where-dest-link:hover { color: var(--accent); }
.where-dest-link .pin { width: 18px; height: 18px; color: var(--accent); flex: none; }
.where-count { color: var(--text-soft); font-weight: 400; }
.where-hotels { margin: .35rem 0 0 1.7rem; display: flex; flex-direction: column; gap: .3rem; }
.where-hotels a { font-size: .9rem; color: var(--text-soft); }
.where-hotels a:hover { color: var(--accent); }

/* ---------- cookie consent ---------- */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px -16px rgba(10,40,45,.4); padding: 1.5rem clamp(1rem,4vw,3rem); display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.cc-text { flex: 1 1 420px; font-size: .92rem; color: var(--text); margin: 0; }
.cc-text a { color: var(--accent); text-decoration: underline; font-weight: 700; }
.cc-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cc-btn { padding: .8rem 1.4rem; font-weight: 700; font-size: .82rem; border-radius: var(--radius); border: 1px solid var(--ink); background: transparent; color: var(--text); cursor: pointer; }
.cc-btn.cc-accept { background: var(--teal); border-color: var(--teal); color: #fff; }
.cc-btn.cc-accept:hover { background: var(--accent-h); }
.cc-btn:not(.cc-accept):hover { background: var(--surface-2); }
.cc-link { background: transparent; border: 0; color: var(--text-soft); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

.cc-modal { position: fixed; inset: 0; z-index: 3100; background: rgba(8,26,30,.55); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cc-modal-card { background: var(--surface); width: min(920px, 100%); max-height: 92vh; border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
.cc-modal-head { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--line); }
.cc-modal-head .cc-logo { width: 130px; height: 38px; color: var(--accent); }
.cc-modal-head h2 { font-size: 1.4rem; flex: 1; }
.cc-x { background: transparent; border: 0; font-size: 1.6rem; line-height: 1; color: var(--text-soft); cursor: pointer; }
.cc-modal-body { display: flex; min-height: 0; flex: 1; }
.cc-cats { width: 230px; flex: none; border-right: 1px solid var(--line); overflow-y: auto; padding: .5rem 0; }
.cc-cat { display: block; width: 100%; text-align: left; padding: .9rem 1.4rem; background: transparent; border: 0; border-left: 3px solid transparent; font-weight: 700; font-size: .92rem; color: var(--text); cursor: pointer; }
.cc-cat.is-active { border-left-color: var(--accent); background: var(--surface-2); }
.cc-detail { flex: 1; overflow-y: auto; padding: 1.5rem 1.8rem; }
.cc-pane { display: none; }
.cc-pane.is-active { display: block; }
.cc-pane h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.cc-pane p { color: var(--text-soft); font-size: .95rem; }
.cc-pane-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.cc-always { font-size: .78rem; font-weight: 700; color: var(--accent); }
.cc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-switch span { position: absolute; inset: 0; background: var(--shell); border-radius: 99px; transition: background .2s; cursor: pointer; }
.cc-switch span::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.cc-switch input:checked + span { background: var(--accent); }
.cc-switch input:checked + span::before { transform: translateX(20px); }
.cc-modal-foot { display: flex; gap: .8rem; flex-wrap: wrap; padding: 1.2rem 1.6rem; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .phone-trigger .phone-num { display: none; }
  .where-panel { grid-template-columns: 1fr; }
  .where-recent { display: none; }
  .cc-modal-body { flex-direction: column; }
  .cc-cats { width: 100%; display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .cc-cat { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .cc-cat.is-active { border-left: 0; border-bottom-color: var(--accent); }
}

/* hidden attribute must win over display rules above */
.cc-banner[hidden], .cc-modal[hidden], .where-panel[hidden] { display: none !important; }

/* ---------- newsletter modal ---------- */
.nl-modal { position: fixed; inset: 0; z-index: 3100; background: rgba(8,26,30,.55); display: flex; align-items: center; justify-content: center; padding: 1rem; overflow-y: auto; }
.nl-modal[hidden] { display: none !important; }
.nl-card { background: var(--surface); width: min(760px, 100%); max-height: 92vh; overflow-y: auto; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3.2rem); position: relative; box-shadow: var(--shadow); }
.nl-x { position: absolute; top: 1rem; right: 1.3rem; background: transparent; border: 0; font-size: 1.9rem; line-height: 1; color: var(--text); cursor: pointer; }
.nl-title { font-size: clamp(1.5rem, 3.4vw, 2.4rem); text-transform: uppercase; }
.nl-rule { width: 160px; height: 2px; background: var(--accent); margin: 1rem 0 1.5rem; }
.nl-sub { color: var(--text-soft); margin-bottom: 1.8rem; }
.nl-form { display: flex; flex-direction: column; gap: 1.2rem; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.nl-field { display: flex; flex-direction: column; gap: .4rem; }
.nl-field label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.nl-field.req label, .nl-field.req label span { color: var(--accent); }
.nl-field input, .nl-field select { font: inherit; font-size: 16px; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); width: 100%; }
.nl-field.req input { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.nl-field input:focus, .nl-field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.nl-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; color: var(--text); cursor: pointer; }
.nl-check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: .1rem; }
.nl-check a { color: var(--accent); text-decoration: underline; }
.nl-submit { align-self: center; margin-top: .8rem; padding-inline: 3rem; }
@media (max-width: 640px) { .nl-row { grid-template-columns: 1fr; } }

/* ============================================================
   Polish pass — accessibility, micro-interactions, motion
   ============================================================ */
:root { --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1); }

/* Accessibility: visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}
/* don't show focus ring on mouse click, only keyboard */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* Tabular figures so prices/ratings/counts never shift */
.price b, .rating, .resort-meta, .where-count, .reward-points li, .nl-field input { font-variant-numeric: tabular-nums lining-nums; }

/* Refined interactions */
.btn { transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.975); }
.btn-primary { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.resort-card { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.link-arrow { transition: gap .2s var(--ease), color .2s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); }
.pillar { transition: box-shadow .4s var(--ease-out); }
.pillar:hover { box-shadow: var(--shadow); }
.nav-links a { transition: opacity .2s var(--ease), color .2s var(--ease); }

/* Editorial detail: hairline before left-aligned eyebrows */
.section-head .eyebrow { display: inline-flex; align-items: center; gap: .7rem; }
.section-head .eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .65; }

/* Scroll reveal (no-flash: html.js-anim set pre-paint; falls back visible) */
.js-anim .section-head, .js-anim .resort-card, .js-anim .pillar, .js-anim .amenity {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js-anim .section-head.is-in, .js-anim .resort-card.is-in, .js-anim .pillar.is-in, .js-anim .amenity.is-in {
  opacity: 1; transform: none;
}

/* Respect reduced motion — kill non-essential animation everywhere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js-anim .section-head, .js-anim .resort-card, .js-anim .pillar, .js-anim .amenity { opacity: 1 !important; transform: none !important; }
  .hero-slide { transition: none !important; }
}

/* ---------- language dropdown ---------- */
.lang-dd { position: relative; }
.lang-pill { cursor: pointer; }
.lang-menu { position: absolute; top: calc(100% + 12px); right: 0; min-width: 160px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem; display: none; z-index: 1100; }
.lang-dd.is-open .lang-menu { display: block; }
.lang-menu a { display: block; padding: .55rem .7rem; font-size: .9rem; color: var(--text); border-radius: 2px; }
.lang-menu a:hover { background: var(--surface-2); color: var(--accent); }
.lang-menu a.is-active { color: var(--accent); font-weight: 700; }

/* ---------- skip link (a11y) ---------- */
.skip-link { position: fixed; top: 0; left: 0; z-index: 4000; transform: translateY(-120%); background: var(--accent); color: #fff; padding: .7rem 1.2rem; font-weight: 700; border-radius: 0 0 var(--radius) 0; transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: -4px; }
main:focus { outline: none; }

/* ---------- CRO: trust bar + sticky booking ---------- */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .6rem 2rem; padding: .9rem var(--gap); font-size: .85rem; font-weight: 600;
}
.trust-bar-inner span { display: inline-flex; align-items: center; gap: .45rem; color: var(--text-soft); }
.trust-bar-inner .tb-proof { color: var(--text); }
.trust-bar-inner .ic { color: var(--accent); font-weight: 800; }
.trust-bar-inner .star { color: var(--gold); }

.book-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -16px rgba(10,40,45,.5);
  padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom)); display: none;
}
.book-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.book-sticky .bs-from { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); display: block; }
.book-sticky .bs-price { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.book-sticky .btn { flex: 0 0 auto; }
@media (max-width: 860px) {
  .book-sticky { display: block; }
  body.has-sticky-book { padding-bottom: 76px; }
}

/* keep the customer-service phone number on a single line */
.phone-trigger, .phone-trigger .phone-num, .phone-list a { white-space: nowrap; }
