/* ============================================================
   Andaman Charters — Phuket Yacht & Dive Safari booking site
   Premium dark nautical theme
   ============================================================ */

:root {
  --navy-900: #060f1c;
  --navy-800: #0a1626;
  --navy-700: #0e2036;
  --navy-600: #14304f;
  --navy-500: #1d4266;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-300: #5eead4;
  --gold: #e9b949;
  --gold-soft: #f2d27a;
  --coral: #ff7a59;
  --text: #eaf2fb;
  --text-dim: #9fb3c8;
  --text-faint: #8aa0b8;
  --line: rgba(120, 170, 220, 0.14);
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --radius: 18px;
  --maxw: 1240px;
  --serif: "Playfair Display", "Playfair Fallback", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* metric-matched fallbacks: web fonts still load (display=swap) but the
   fallback matches their metrics, so the swap causes ~no layout shift (CWV/CLS). */
@font-face { font-family: "Playfair Fallback"; src: local("Georgia"); size-adjust: 111.5%; ascent-override: 96.6%; descent-override: 23.7%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--navy-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.accent { color: var(--teal-300); }
.gold { color: var(--gold-soft); }

/* ---------- Background glow layers ---------- */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(800px 600px at 5% 15%, rgba(29, 66, 102, 0.55), transparent 55%),
    radial-gradient(1000px 800px at 50% 110%, rgba(233, 185, 73, 0.07), transparent 60%),
    var(--navy-900);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.4;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 15, 28, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.32rem; font-weight: 700; letter-spacing: 0.2px; }
.brand .mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-500));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 6px 18px -6px var(--teal-500);
  font-size: 1.1rem;
}
.brand small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 3px; color: var(--text-faint); text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--teal-400); transition: width 0.25s; }
.nav-links a:hover::after { width: 100%; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; transition: transform 0.18s, box-shadow 0.18s, background 0.2s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: #042027; box-shadow: 0 10px 28px -10px var(--teal-500); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--teal-500); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #2a1e00; box-shadow: 0 10px 28px -10px var(--gold); }
.btn-gold:hover { transform: translateY(-2px); }
.nav-burger { display: none; font-size: 1.5rem; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 86px 0 64px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.74rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal-300); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; background: rgba(45,212,191,0.06); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); margin: 22px 0 18px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p.lead { font-size: 1.12rem; color: var(--text-dim); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat .n { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: #fff; }
.hero-stats .stat .l { font-size: 0.8rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.5px; }

.hero-visual { position: relative; height: 480px; }
.hero-card {
  position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--navy-600), var(--teal-500) 280%);
}
.hero-card.small { background: linear-gradient(135deg, var(--navy-700), var(--gold) 320%); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.main { inset: 0 0 60px 70px; }
.hero-card.small { width: 210px; height: 260px; left: 0; bottom: 0; }
.hero-float {
  position: absolute; right: 0; bottom: 78px; background: rgba(10,22,38,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
}
.hero-float .row { display: flex; align-items: center; gap: 10px; }
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 12px var(--teal-400); }
.hero-float b { font-size: 0.95rem; }
.hero-float small { color: var(--text-faint); font-size: 0.76rem; }

/* ---------- Section scaffolding ---------- */
section { padding: 78px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 38px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag { font-size: 0.76rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal-300); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 12px 0 14px; }
.sec-head p { color: var(--text-dim); font-size: 1.04rem; }

/* ---------- Filter bar ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.chip {
  padding: 9px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--text-dim);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03); transition: all 0.18s;
}
.chip:hover { color: var(--text); border-color: rgba(120,170,220,0.3); }
.chip.active { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: #042027; border-color: transparent; }
.filters .spacer { flex: 1; }
.filters select {
  background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 0.86rem; font-weight: 600; font-family: inherit; cursor: pointer;
}
.filters select:focus { outline: none; border-color: var(--teal-400); }

/* ---------- Cards grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }

.card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--card); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column; cursor: pointer;
}
.card:hover { transform: translateY(-6px); border-color: rgba(45,212,191,0.4); box-shadow: var(--shadow); background: var(--card-hover); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,15,28,0.85), transparent 55%); }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 7px; flex-wrap: wrap; z-index: 2; }
.badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.4px; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(6px); background: rgba(6,15,28,0.6); border: 1px solid rgba(255,255,255,0.12); text-transform: uppercase;
}
.badge.featured { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #2a1e00; border-color: transparent; }
.badge.burma { background: rgba(255,122,89,0.22); color: #ffb39d; border-color: rgba(255,122,89,0.4); }
.badge.berth { background: rgba(45,212,191,0.18); color: var(--teal-300); border-color: rgba(45,212,191,0.4); }
.card-type { position: absolute; bottom: 12px; left: 14px; z-index: 2; font-size: 0.74rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.5px; }

.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.28rem; margin-bottom: 4px; }
.card-op { font-size: 0.8rem; color: var(--text-faint); margin-bottom: 12px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.spec { font-size: 0.74rem; color: var(--text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 4px 9px; border-radius: 7px; display: inline-flex; gap: 5px; align-items: center; }
.card-desc { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-price .from { font-size: 0.68rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; }
.card-price .amt { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #fff; }
.card-price .amt small { font-size: 0.72rem; color: var(--text-dim); font-family: var(--sans); font-weight: 500; }
.card-cta { font-size: 0.82rem; font-weight: 600; color: var(--teal-300); display: inline-flex; align-items: center; gap: 5px; }

.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-faint); }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.dest {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate;
}
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s; }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,15,28,0.92) 8%, rgba(6,15,28,0.25) 70%); }
.dest:hover img { transform: scale(1.08); }
.dest h3 { font-size: 1.4rem; }
.dest p { font-size: 0.86rem; color: var(--text-dim); margin-top: 6px; }
.dest .tagline { font-size: 0.72rem; color: var(--teal-300); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.how-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.how-card:hover { border-color: rgba(45,212,191,0.35); transform: translateY(-4px); }
.how-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; background: linear-gradient(135deg, var(--teal-500), var(--navy-500)); color: #fff; margin-bottom: 16px; }
.how-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.how-card p { font-size: 0.92rem; color: var(--text-dim); }

/* ---------- Market section ---------- */
.market { background: linear-gradient(180deg, transparent, rgba(20,48,79,0.35), transparent); }
.market-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.market-prose { color: var(--text-dim); font-size: 0.98rem; }
.market-prose h3 { font-family: var(--sans); font-size: 1.05rem; color: var(--text); margin: 22px 0 8px; font-weight: 700; }
.market-prose h3:first-child { margin-top: 0; }
.market-prose p { margin-bottom: 12px; }
.market-prose ul { margin: 6px 0 14px 20px; }
.market-prose li { margin-bottom: 6px; }
.market-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.kpi .v { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #fff; }
.kpi .v.teal { color: var(--teal-300); }
.kpi .v.gold { color: var(--gold-soft); }
.kpi .k { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-box {
  border-radius: 28px; padding: 64px 32px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 50% 0%, rgba(45,212,191,0.18), transparent 70%), var(--navy-700);
}
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-box p { color: var(--text-dim); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-box .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: var(--navy-800); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.foot-grid p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.foot-col h4 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 9px; transition: color 0.18s; }
.foot-col a:hover { color: var(--teal-300); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 0.82rem; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(3,8,16,0.78); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.modal-overlay.open { display: flex; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 920px; background: var(--navy-800); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow); animation: rise 0.28s cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-hero { position: relative; aspect-ratio: 21 / 9; background: var(--navy-600); }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy-800), transparent 60%); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(6,15,28,0.7); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; z-index: 3; transition: background 0.2s; }
.modal-close:hover { background: rgba(255,122,89,0.3); }
.modal-title { position: absolute; bottom: 18px; left: 26px; right: 26px; z-index: 2; }
.modal-title h2 { font-size: 2rem; }
.modal-title .op { color: var(--text-dim); font-size: 0.9rem; }
.modal-body { padding: 26px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.modal-body .desc { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 18px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.mspec { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
.mspec .k { font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; }
.mspec .v { font-size: 0.98rem; font-weight: 600; margin-top: 3px; }
.modal h4, .modal-body h3 { font-family: var(--sans); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); margin: 18px 0 10px; }
.taglist { display: flex; flex-wrap: wrap; gap: 7px; }
.taglist span { font-size: 0.8rem; padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--text-dim); }
.itin-list { list-style: none; }
.itin-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.itin-list li::before { content: "⚓"; color: var(--teal-400); font-size: 0.8rem; }

/* Booking panel inside modal */
.book-panel { background: var(--navy-700); border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: sticky; top: 0; }
.book-panel .price-big { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: #fff; }
.book-panel .price-big small { font-size: 0.8rem; color: var(--text-dim); font-family: var(--sans); }
.book-panel .price-sub { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 16px; }
.book-toggle { display: flex; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.book-toggle button { flex: 1; padding: 9px; border-radius: 7px; font-size: 0.82rem; font-weight: 600; color: var(--text-dim); transition: all 0.18s; }
.book-toggle button.active { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: #042027; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 0.76rem; color: var(--text-faint); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; color: var(--text); font-family: inherit; font-size: 0.9rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); }
.field textarea { resize: vertical; min-height: 64px; }
.book-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }
.book-note { font-size: 0.74rem; color: var(--text-faint); text-align: center; margin-top: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; max-width: 520px; }
  .market-grid { grid-template-columns: 1fr; }
  .market-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .market-side .kpi { flex: 1; min-width: 150px; }
  .modal-body { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--navy-800); padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav-burger { display: block; }
  .nav-inner .btn-primary { display: none; }
  .modal-specs { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 50px 0 40px; }
}

/* ============================================================
   v2 — i18n controls, search, ratings, compare, favourites,
   dive guide, trust, schedules, inclusions, reviews, FAQ
   ============================================================ */

.wrap.narrow { max-width: 860px; }

/* ---- Nav controls (lang + currency) ---- */
.nav-ctl { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { padding: 6px 11px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; color: var(--text-dim); transition: all 0.15s; line-height: 1; }
.seg button:hover { color: var(--text); }
.seg button.on { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: #042027; }
.cur-seg button { min-width: 26px; }

/* ---- Search ---- */
.searchbar { position: relative; margin-bottom: 22px; }
.searchbar .search-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); opacity: 0.5; font-size: 0.95rem; }
.searchbar input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 44px; color: var(--text); font-family: inherit; font-size: 0.98rem; }
.searchbar input:focus { outline: none; border-color: var(--teal-400); background: rgba(255,255,255,0.06); }

/* ---- Card additions ---- */
.icon-btn { position: absolute; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; background: rgba(6,15,28,0.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14); transition: all 0.18s; }
.fav-btn { top: 12px; right: 12px; color: #fff; }
.fav-btn:hover { background: rgba(255,122,89,0.35); transform: scale(1.08); }
.fav-btn.on { color: #ff7a8a; border-color: rgba(255,122,138,0.5); }
.card-type { display: flex; align-items: center; gap: 8px; }
.card-rating { font-size: 0.72rem; font-weight: 700; color: var(--gold-soft); background: rgba(233,185,73,0.14); border: 1px solid rgba(233,185,73,0.3); padding: 2px 7px; border-radius: 7px; }
.card-rating i { color: var(--text-faint); font-style: normal; font-weight: 500; }
.card-foot { align-items: center; }
.card-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.cmp-btn { font-size: 0.72rem; font-weight: 600; color: var(--text-dim); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; transition: all 0.16s; }
.cmp-btn:hover { color: var(--text); border-color: rgba(120,170,220,0.35); }
.cmp-btn.on { background: rgba(45,212,191,0.16); color: var(--teal-300); border-color: rgba(45,212,191,0.4); }

/* ---- Dive guide ---- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: transform 0.22s, border-color 0.22s; display: flex; flex-direction: column; }
.guide-card:hover { transform: translateY(-5px); border-color: rgba(45,212,191,0.35); }
.guide-head { padding: 22px 22px 18px; position: relative; }
.guide-head.pal0 { background: linear-gradient(135deg, #0e2036, #14b8a6); }
.guide-head.pal1 { background: linear-gradient(135deg, #0a1626, #1d4266); }
.guide-head.pal2 { background: linear-gradient(135deg, #102a43, #2dd4bf); }
.guide-head.pal3 { background: linear-gradient(135deg, #0d1f33, #3b6ea5); }
.guide-head.pal4 { background: linear-gradient(135deg, #0b1c30, #e9b949); }
.guide-head.pal5 { background: linear-gradient(135deg, #0e2036, #5eead4); }
.guide-area { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: rgba(6,15,28,0.45); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.guide-head h3 { font-size: 1.4rem; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.4); }
.guide-hi { color: rgba(255,255,255,0.92); font-size: 0.86rem; margin-top: 7px; }
.guide-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.guide-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.guide-meta span { font-size: 0.74rem; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; color: var(--text); }
.guide-meta i { display: block; color: var(--text-faint); font-style: normal; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 1px; }
.guide-desc { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 14px; flex: 1; }
.guide-life { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-life span { font-size: 0.72rem; color: var(--teal-300); background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.22); border-radius: 7px; padding: 3px 8px; }

/* ---- Trust ---- */
.trust { background: linear-gradient(180deg, transparent, rgba(20,48,79,0.28), transparent); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.trust-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform 0.2s, border-color 0.2s; }
.trust-card:hover { transform: translateY(-4px); border-color: rgba(45,212,191,0.3); }
.trust-ico { font-size: 2rem; margin-bottom: 12px; }
.trust-card h3 { font-size: 1.18rem; margin-bottom: 7px; }
.trust-card p { font-size: 0.9rem; color: var(--text-dim); }

/* ---- Season & schedules ---- */
.season-note { color: var(--text-dim); font-size: 0.98rem; max-width: 880px; margin-bottom: 26px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.sched-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.sched-table th, .sched-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.sched-table thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-faint); background: rgba(255,255,255,0.03); }
.sched-table tbody tr:last-child td { border-bottom: none; }
.sched-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.sched-table td:nth-child(3) { color: var(--text-dim); }

/* ---- Inclusions ---- */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
.incl-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.incl-col h3 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.incl-yes h3::before { content: "✓"; color: var(--teal-300); }
.incl-no h3::before { content: "✕"; color: var(--coral); }
.incl-col ul { list-style: none; }
.incl-col li { font-size: 0.9rem; color: var(--text-dim); padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--line); }
.incl-col li:last-child { border-bottom: none; }
.incl-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-400); font-weight: 700; }
.incl-no li::before { content: "–"; position: absolute; left: 2px; color: var(--text-faint); font-weight: 700; }

/* ---- Reviews ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; transition: transform 0.2s, border-color 0.2s; }
.review-card:hover { transform: translateY(-4px); border-color: rgba(233,185,73,0.35); }
.review-score { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-soft); line-height: 1; }
.review-score i { font-size: 1rem; color: var(--text-faint); font-style: normal; }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; margin: 6px 0 10px; }
.review-boat { font-weight: 600; font-size: 1.02rem; }
.review-meta { font-size: 0.76rem; color: var(--text-faint); margin-top: 5px; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: rgba(45,212,191,0.35); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-size: 1rem; font-weight: 600; text-align: left; color: var(--text); }
.faq-q i { font-style: normal; font-size: 1.4rem; color: var(--teal-300); flex-shrink: 0; line-height: 1; }
.faq-a { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.93rem; }

/* ---- Modal additions ---- */
.m-rating { display: inline-block; margin-top: 8px; font-size: 0.82rem; color: var(--gold-soft); }
.m-rating b { color: #fff; }
.m-thumbs { display: flex; gap: 8px; padding: 12px 26px 0; flex-wrap: wrap; }
.m-thumb { width: 78px; height: 54px; padding: 0; border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: 0.7; transition: all 0.18s; overflow: hidden; background: none; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-thumb:hover, .m-thumb:focus-visible { opacity: 1; }
.m-thumb.on { border-color: var(--teal-400); opacity: 1; }
.mspec .v.sm { font-size: 0.85rem; line-height: 1.4; font-weight: 500; }

/* ---- Compare bar ---- */
.compare-bar { position: fixed; left: 0; right: 0; bottom: -100px; z-index: 90; background: rgba(10,22,38,0.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: bottom 0.3s cubic-bezier(0.2,0.7,0.2,1); }
.compare-bar.show { bottom: 0; }
.cb-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.cb-inner > span { font-weight: 600; }
.cb-actions { display: flex; gap: 10px; }
.cb-actions .btn { padding: 9px 18px; }

/* ---- Compare modal ---- */
.cmp-wrap { padding: 26px; position: relative; }
.cmp-title { font-size: 1.8rem; margin-bottom: 18px; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); padding: 10px 12px; white-space: nowrap; vertical-align: middle; width: 130px; }
.cmp-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.88rem; vertical-align: middle; min-width: 150px; }
.cmp-table tr:first-child td { border-bottom: 1px solid var(--line); }
.cmp-photo { text-align: center; }
.cmp-photo img { width: 100%; max-width: 180px; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.cmp-photo b { display: block; font-size: 0.95rem; }
.cmp-photo span { font-size: 0.74rem; color: var(--text-faint); }
.cmp-price { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #fff; display: block; }
.cmp-book { width: 100%; justify-content: center; padding: 9px; }

/* ---- Responsive ---- */
/* The full navigation plus CTA needs more room than common laptop viewports. */
@media (max-width: 1400px) {
  .nav-cta { display: none; }
}
@media (max-width: 860px) {
  .incl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-inner { gap: 10px; }
  .brand { font-size: 1.08rem; }
  .brand small { display: none; }
  .nav-ctl { display: flex; gap: 6px; margin-left: auto; }
  .seg button { padding: 7px 8px; }
  .cur-seg button { min-width: 22px; }
}

/* ============================================================
   v3 — accessibility: focus visibility, reduced motion, targets
   ============================================================ */
:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 2px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }
/* inputs already clear outline on focus — give them a clear keyboard ring too */
.field input:focus, .field select:focus, .field textarea:focus,
.searchbar input:focus, .filters select:focus {
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.28);
}
/* card focus ring (role=button article) */
.card:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover, .how-card:hover, .trust-card:hover, .review-card:hover, .guide-card:hover, .dest:hover img, .card:hover .card-media img { transform: none !important; }
}

/* Touch target minimums on small screens (WCAG 2.5.8) */
@media (max-width: 760px) {
  .chip, .seg button, .cmp-btn, .faq-q, .lang-btn, .cur-btn { min-height: 44px; }
  .nav-links.open a { padding: 8px 2px; display: block; }
  .icon-btn { width: 42px; height: 42px; }
}

/* Fallback: if IntersectionObserver/JS never marks .reveal, still show content after load */
.no-js .reveal, html.reveal-fallback .reveal { opacity: 1; transform: none; }

/* ============================================================
   v4 — VIP split: dive supplement section + cabin pricing
   ============================================================ */
.dive-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10,22,38,0.5), transparent 40%); }
.dive-section .sec-tag { color: var(--text-faint); }
#yachts { padding-bottom: 40px; }

/* cabin pricing table in modal */
.cabin-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 4px; }
.cabin-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.cabin-row:last-child { border-bottom: none; }
.cabin-row:nth-child(odd) { background: rgba(255,255,255,0.025); }
.cabin-name { color: var(--text); }
.cabin-name i { display: block; font-style: normal; font-size: 0.72rem; color: var(--text-faint); margin-top: 1px; }
.cabin-price { font-weight: 700; color: var(--gold-soft); white-space: nowrap; }
.sched-note { font-size: 0.9rem; color: var(--text-dim); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }

/* ============================================================
   v5 — hero slideshow (replaces overlapping cards)
   ============================================================ */
.hero-slider {
  position: absolute; inset: 0 0 26px 0; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
}
.hslide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hslide.on { opacity: 1; }
.hslide.dead { display: none; }
.hslide img { width: 100%; height: 100%; object-fit: cover; }
.hslide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,15,28,0.75), transparent 45%); }
.hcap { position: absolute; left: 20px; bottom: 18px; z-index: 2; }
.hcap b { display: block; font-family: var(--serif); font-size: 1.35rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hcap span { font-size: 0.8rem; color: rgba(255,255,255,0.85); letter-spacing: 0.4px; }
.hdots { position: absolute; right: 18px; bottom: 20px; z-index: 3; display: flex; gap: 7px; }
.hdots button { width: 9px; height: 9px; min-height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); transition: all 0.25s; padding: 0; }
.hdots button.on { background: var(--teal-300); width: 22px; border-radius: 5px; }
.hdots button:hover { background: rgba(255,255,255,0.7); }
.hdots button.dead { display: none; }
.hero-float { z-index: 4; }
@media (max-width: 980px) {
  .hero-slider { inset: 0; }
  .hero-visual { height: 300px; max-width: none; }
  .hero-float { display: none; }
}
@media (max-width: 760px) {
  .hdots button { width: 12px; height: 12px; min-height: 12px; }
  .hdots button.on { width: 26px; }
}
@media (prefers-reduced-motion: reduce) { .hslide { transition: none; } }

/* ============================================================
   v6 — NDL courses section (dive site)
   ============================================================ */
.courses-section { background: linear-gradient(180deg, rgba(20,48,79,0.30), transparent 55%); border-top: 1px solid var(--line); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: transform 0.22s, border-color 0.22s; }
.course-card:hover { transform: translateY(-5px); border-color: rgba(45,212,191,0.4); }
.course-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.course-ico { font-size: 1.9rem; }
.course-level { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-300); background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.25); padding: 4px 10px; border-radius: 999px; }
.course-card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.course-meta span { font-size: 0.76rem; color: var(--text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.course-card p { font-size: 0.9rem; color: var(--text-dim); flex: 1; margin-bottom: 14px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.course-price { font-weight: 700; color: var(--gold-soft); font-size: 0.9rem; }

/* ============================================================
   v7 — Кристина AI assistant widget
   ============================================================ */
#kr-root { position: fixed; z-index: 300; }
#kr-fab { position: fixed; right: 22px; bottom: 22px; width: 64px; height: 64px; border-radius: 50%; overflow: visible; box-shadow: 0 14px 36px -8px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.12); transition: transform 0.2s, opacity 0.2s; background: var(--navy-700); }
#kr-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#kr-fab:hover { transform: scale(1.07); }
#kr-fab.hide { opacity: 0; pointer-events: none; transform: scale(0.5); }
.kr-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal-400); animation: krpulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes krpulse { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
#kr-teaser { position: fixed; right: 96px; bottom: 34px; max-width: 250px; background: #fff; color: #14304f; font-size: 0.86rem; line-height: 1.4; padding: 12px 14px; border-radius: 14px 14px 2px 14px; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px) scale(0.96); pointer-events: none; transition: all 0.3s; }
#kr-teaser.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }

#kr-panel { position: fixed; right: 22px; bottom: 22px; width: 380px; max-width: calc(100vw - 28px); height: 600px; max-height: calc(100vh - 40px); background: var(--navy-800); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(20px) scale(0.98); pointer-events: none; transition: all 0.28s cubic-bezier(0.2,0.7,0.2,1); }
#kr-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.kr-head { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy-600), var(--navy-700)); border-bottom: 1px solid var(--line); }
.kr-head .kr-av { width: 42px; height: 42px; border-radius: 50%; }
.kr-head b { display: block; font-family: var(--serif); font-size: 1.08rem; color: #fff; }
.kr-head span { font-size: 0.72rem; color: var(--teal-300); display: flex; align-items: center; gap: 6px; }
.kr-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #36d399; box-shadow: 0 0 8px #36d399; }
#kr-close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; color: var(--text-dim); font-size: 1rem; }
#kr-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.kr-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(600px 300px at 50% 0%, rgba(45,212,191,0.05), transparent 70%); }
.kr-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.kr-msg.kr-user { flex-direction: row-reverse; }
.kr-av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.kr-bb { padding: 10px 13px; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; max-width: 80%; }
.kr-bot .kr-bb { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.kr-user .kr-bb { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: #042027; border-bottom-right-radius: 3px; font-weight: 500; }
.kr-bb p { margin: 0; }
.kr-bb b { color: #fff; }
.kr-user .kr-bb b { color: #042027; }
.kr-dots { display: flex; gap: 4px; padding: 14px 13px; }
.kr-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: krdot 1.3s infinite; }
.kr-dots span:nth-child(2) { animation-delay: 0.2s; } .kr-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes krdot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.kr-chips { display: flex; flex-wrap: wrap; gap: 7px; padding-left: 36px; }
.kr-chips button { font-size: 0.8rem; font-weight: 600; color: var(--teal-300); background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.3); border-radius: 999px; padding: 7px 13px; transition: all 0.16s; }
.kr-chips button:hover { background: rgba(45,212,191,0.22); }
.kr-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 9px; }
.kr-card { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 12px; padding: 8px; cursor: pointer; transition: border-color 0.18s, transform 0.18s; }
.kr-card:hover { border-color: rgba(45,212,191,0.45); transform: translateX(2px); }
.kr-card img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.kr-card-b { flex: 1; min-width: 0; }
.kr-card-b b { display: block; font-size: 0.85rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kr-card-b span { display: block; font-size: 0.78rem; color: var(--gold-soft); font-weight: 700; }
.kr-card-b em { font-size: 0.7rem; color: var(--text-faint); font-style: normal; }
.kr-open { font-size: 0.72rem; font-weight: 700; color: var(--teal-300); white-space: nowrap; align-self: stretch; padding: 0 4px; }
.kr-cta { display: block; text-align: center; margin-top: 9px; background: #25d366; color: #fff; font-weight: 700; font-size: 0.86rem; padding: 10px; border-radius: 11px; }
.kr-cta.ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line); margin-top: 6px; }
.kr-cta:hover { filter: brightness(1.05); }
.kr-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--navy-800); }
.kr-input input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; color: var(--text); font-family: inherit; font-size: 0.9rem; }
.kr-input input:focus { outline: none; border-color: var(--teal-400); }
.kr-input button { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: #042027; font-size: 1.1rem; flex-shrink: 0; }
.kr-foot { text-align: center; font-size: 0.62rem; color: var(--text-faint); letter-spacing: 1px; text-transform: uppercase; padding-bottom: 8px; background: var(--navy-800); }
@media (max-width: 480px) {
  #kr-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 80px); }
  #kr-fab { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  #kr-teaser { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kr-pulse { animation: none; } }

/* ===== v8: video tour in modal ===== */
.m-videos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.vid-btn { padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: var(--text-mid, #cdd8e3); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
.vid-btn:hover { border-color: var(--teal-300, #5eead4); color: #fff; }
.vid-btn.on { background: var(--teal-300, #5eead4); color: #06222b; border-color: var(--teal-300, #5eead4); font-weight: 600; }
.vid-holder iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; margin-top: 10px; background: #000; }

/* ===== v10: CLS stability + a11y touch targets ===== */
.hero-stats { display: grid; grid-template-columns: repeat(4, max-content); gap: 26px; }
.hero-stats .stat .n { min-height: 1.1em; }
@media (max-width: 560px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } }
/* expand hero slideshow dot tap target to ≥24px (WCAG 2.5.8) without enlarging the visual dot */
.hdots button { position: relative; }
.hdots button::before { content: ""; position: absolute; inset: -8px; }

/* ===== v10: skip link, rate note, target sizing ===== */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--teal-400); color: #042027; font-weight: 700; padding: 10px 16px; border-radius: 10px; transition: top 0.18s; }
.skip-link:focus { top: 12px; outline: 2px solid #fff; }
.rate-ccy-note { color: var(--text-faint); font-size: 0.8rem; margin: 8px 0 4px; }
.cmp-btn { min-height: 28px; }
[inert] { } /* progressive enhancement marker */

/* ===== v10b: 24px hero-dot tap targets (WCAG 2.5.8) — visual dot via ::after ===== */
.hdots button { width: 24px; height: 24px; min-height: 24px; padding: 0; background: transparent; display: grid; place-items: center; }
.hdots button::before { content: none; }
.hdots button::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all .25s; }
.hdots button:hover::after { background: rgba(255,255,255,0.85); }
.hdots button.on { background: transparent; width: 24px; }
.hdots button.on::after { background: var(--teal-300); width: 20px; border-radius: 5px; }
