/* ===========================================================
   Cana Way — Punta Cana Trip Site
   September 22–29, 2026
=========================================================== */

:root {
  --navy-900: #081a30;
  --navy-800: #0f2a47;
  --navy-700: #163b60;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --coral-500: #ff6b5b;
  --coral-600: #f2503f;
  --gold-400: #ffc857;
  --sand-50: #fff9f0;
  --bg: #f4f8fb;
  --white: #ffffff;
  --ink: #0f2a47;
  --gray-600: #5b6b7f;
  --gray-500: #7c8aa0;
  --gray-200: #e4eaf1;
  --gray-100: #eef3f8;
  --shadow-sm: 0 2px 8px rgba(15, 42, 71, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 42, 71, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 42, 71, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--navy-800); }

p { margin: 0; line-height: 1.6; color: var(--gray-600); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon.filled { fill: currentColor; stroke: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: rgba(20, 184, 166, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.section-head p { font-size: 1.02rem; }

section { padding: 72px 0; }
section.tight { padding: 56px 0; }

/* ===================== NAV ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid rgba(15, 42, 71, 0.06);
  transition: box-shadow 0.25s ease;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy-800); }
.brand .brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-800));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.brand .brand-mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; color: var(--navy-700);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--navy-800); color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--coral-500); color: #fff !important; font-weight: 700;
  padding: 10px 18px; border-radius: 999px; font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { background: var(--coral-600); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; color: var(--navy-800);
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #bfe9ec 0%, #8fd3d9 22%, #37b6c4 46%, #1288a8 68%, #0a5f82 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg-photo {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 40%; z-index: 0;
}
.hero.has-photo::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,20,35,0.32) 0%, rgba(4,20,35,0.12) 30%, rgba(4,20,35,0.28) 65%, rgba(4,20,35,0.6) 100%);
}

.hero-content {
  position: relative; z-index: 5; text-align: center; width: 100%;
  padding-top: 40px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-weight: 600; font-size: 0.85rem;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 6.2rem);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 30px rgba(6, 40, 55, 0.35);
  margin-bottom: 10px;
}
.hero h1 .flag {
  display: inline-block;
  font-size: 0.55em;
  vertical-align: 0.12em;
  filter: drop-shadow(0 4px 10px rgba(6, 40, 55, 0.35));
}
.hero .subdate {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  margin-bottom: 8px;
}
.hero .subline {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 30px;
}
.hero .subline strong { color: #fff; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--coral-500); color: #fff; box-shadow: 0 10px 24px rgba(255,107,91,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,107,91,0.5); }
.btn-ghost { background: rgba(255,255,255,0.16); color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }

.countdown {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: rgba(8, 26, 48, 0.28); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; padding: 16px 20px;
}
.countdown .unit { text-align: center; min-width: 62px; }
.countdown .num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff; line-height: 1; }
.countdown .lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ===================== TRIP STATS STRIP ===================== */
.stats-strip {
  background: var(--white);
  margin-top: -40px;
  position: relative; z-index: 6;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item { padding: 24px 18px; text-align: center; border-right: 1px solid var(--gray-100); }
.stat-item:last-child { border-right: none; }
.stat-item .icon-badge { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; color: #fff; }
.stat-item h3 { font-size: 1.15rem; margin-bottom: 2px; }
.stat-item p { font-size: 0.82rem; }

/* ===================== BADGES / PILLS ===================== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-800); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.02em;
}
.pill.light { background: rgba(255,255,255,0.9); color: var(--navy-800); }
.pill.teal { background: var(--teal-600); }
.pill.coral { background: var(--coral-500); }
.pill.gold { background: var(--gold-400); color: var(--navy-900); }

/* ===================== PHOTO TILE (illustrated, replaces stock photos) ===================== */
.photo-tile {
  position: relative; border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}
.photo-tile::before { content: ""; display: block; padding-top: 75%; }
.photo-tile .icon-lg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 46%; height: 46%; color: rgba(255,255,255,0.95); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
}
.photo-tile.has-photo .icon-lg { display: none; }
.tile-photo {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.photo-tile::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,16,28,0.38) 0%, rgba(4,16,28,0) 26%, rgba(4,16,28,0) 48%, rgba(4,16,28,0.75) 100%);
}
.photo-tile .tile-pattern { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0.18; z-index: 1; }
.photo-tile .pill { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }

.grad-sunrise { background: linear-gradient(135deg, #ff9a56, #ff6b95); }
.grad-ocean   { background: linear-gradient(135deg, #12d8c4, #0d7ea6); }
.grad-lagoon  { background: linear-gradient(135deg, #36d1dc, #4d7be0); }
.grad-dusk    { background: linear-gradient(135deg, #7f53ac, #5566d6); }
.grad-night   { background: linear-gradient(135deg, #3a1c71, #b83b8f 55%, #ff9472); }
.grad-gold    { background: linear-gradient(135deg, #f7971e, #ffca57); }
.grad-jungle  { background: linear-gradient(135deg, #11998e, #34c98d); }
.grad-dune    { background: linear-gradient(135deg, #d19a6a, #c26e5a); }
.grad-sky     { background: linear-gradient(135deg, #6dd5ed, #2980b9); }
.grad-coral   { background: linear-gradient(135deg, #ff5f6d, #ffc371); }

/* ===================== CARDS GRID (shared) ===================== */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ===================== ACCOMMODATION ===================== */
.stay-card { display: flex; flex-direction: column; }
.stay-card .photo-tile::before { padding-top: 62.5%; }
.stay-body { padding: 22px; }
.stay-body .stay-dates { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--teal-600); margin-bottom: 8px; }
.stay-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.stay-body .stay-area { display: flex; align-items: center; gap: 6px; color: var(--gray-600); font-size: 0.9rem; margin-bottom: 14px; }
.stay-meta { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--gray-100); border-radius: var(--radius-sm); font-size: 0.86rem; color: var(--navy-700); margin-bottom: 16px; }
.stay-meta strong { color: var(--navy-800); }
.stay-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem;
  color: var(--coral-500); border: 1.5px solid var(--coral-500); padding: 10px 16px; border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.stay-link:hover { background: var(--coral-500); color: #fff; }
.stay-link svg { width: 16px; height: 16px; }

/* ===================== ITINERARY DAY CARDS ===================== */
.day-card { cursor: pointer; display: flex; flex-direction: column; text-align: left; border: none; padding: 0; width: 100%; font: inherit; }
.day-card:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.day-card .photo-tile .day-num { position: absolute; bottom: 10px; right: 12px; z-index: 2; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; opacity: 0.95; text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4); }
.day-body { padding: 18px 20px 22px; }
.day-body .day-date { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin-bottom: 6px; }
.day-body h3 { font-size: 1.12rem; margin-bottom: 8px; line-height: 1.35; }
.day-meta-row { display: flex; align-items: center; gap: 14px; color: var(--gray-600); font-size: 0.82rem; flex-wrap: wrap; margin-bottom: 10px; }
.day-meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.day-meta-row svg { width: 14px; height: 14px; }
.day-summary { font-size: 0.88rem; color: var(--gray-600); }
.day-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.84rem; color: var(--teal-600); }
.day-cta svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.day-card:hover .day-cta svg { transform: translateX(3px); }

/* ===================== LOW-COST GRID ===================== */
.lowcost-card { display: flex; flex-direction: column; }
.lowcost-card .photo-tile::before { padding-top: 68.75%; }
.lowcost-body { padding: 16px 18px 20px; }
.lowcost-body h4 { font-size: 1rem; margin-bottom: 8px; line-height: 1.3; }
.lowcost-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--gray-600); margin-top: 4px; }
.lowcost-row strong { color: var(--navy-800); }
.lowcost-note { margin-top: 8px; font-size: 0.78rem; color: var(--coral-600); background: rgba(255,107,91,0.08); padding: 6px 10px; border-radius: 8px; }

/* ===================== BUDGET ===================== */
.budget-card { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 8px; }
.budget-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px dashed var(--gray-200);
}
.budget-row:last-of-type { border-bottom: none; }
.budget-left { display: flex; align-items: center; gap: 14px; }
.budget-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.budget-icon svg { width: 20px; height: 20px; }
.budget-name { font-weight: 600; font-size: 0.96rem; color: var(--navy-800); }
.budget-sub { font-size: 0.78rem; color: var(--gray-500); }
.budget-amount { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-800); white-space: nowrap; }
.budget-total {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy-800); color: #fff; border-radius: var(--radius-md);
  padding: 20px 24px; margin: 10px 6px 6px;
}
.budget-total .label { font-weight: 600; font-size: 0.95rem; }
.budget-total .label small { display: block; font-weight: 400; opacity: 0.7; font-size: 0.76rem; margin-top: 2px; }
.budget-total .amount { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--gold-400); }

/* ===================== TIPS ===================== */
.tips-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.tips-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.tips-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tips-card-header .icon-badge { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #6dd5ed, #2980b9); display: flex; align-items: center; justify-content: center; color: #fff; }
.tips-card-header .icon-badge svg { width: 24px; height: 24px; }
.tips-card-header h3 { font-size: 1.15rem; }
.priority-list { list-style: none; margin: 0; padding: 0; counter-reset: pl; }
.priority-list li {
  counter-increment: pl; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem; color: var(--navy-700);
}
.priority-list li:last-child { border-bottom: none; }
.priority-list li::before {
  content: counter(pl); position: absolute; left: 0; top: 12px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal-500); color: #fff;
  font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
.priority-list li strong { color: var(--navy-800); }

.weather-note { display: flex; gap: 14px; background: rgba(255, 200, 87, 0.14); border: 1px solid rgba(255,200,87,0.4); border-radius: var(--radius-md); padding: 18px; }
.weather-note svg { width: 26px; height: 26px; color: var(--coral-500); flex-shrink: 0; }
.weather-note p { font-size: 0.88rem; color: var(--navy-700); }

/* ===================== CHECKLIST ===================== */
.checklist-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 10px; max-width: 720px; margin: 0 auto; }
.checklist-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--gray-100); cursor: pointer;
  user-select: none;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item .box {
  width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--gray-200); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; background: var(--white);
}
.checklist-item .box svg { width: 15px; height: 15px; color: #fff; opacity: 0; transform: scale(0.6); transition: all 0.15s ease; }
.checklist-item.checked .box { background: var(--teal-500); border-color: var(--teal-500); }
.checklist-item.checked .box svg { opacity: 1; transform: scale(1); }
.checklist-item.checked .label { color: var(--gray-500); text-decoration: line-through; }
.checklist-item .label { font-size: 0.94rem; color: var(--navy-700); flex: 1; transition: color 0.15s ease; }
.checklist-progress { display: flex; align-items: center; gap: 12px; padding: 16px 20px 6px; }
.progress-track { flex: 1; height: 8px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--gold-400)); border-radius: 999px; transition: width 0.3s ease; width: 0%; }
.progress-label { font-size: 0.8rem; font-weight: 700; color: var(--navy-700); white-space: nowrap; }

.sticky-note {
  margin: 22px auto 0; max-width: 720px; background: var(--gold-400); border-radius: var(--radius-md);
  padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; transform: rotate(-1deg);
  box-shadow: var(--shadow-sm);
}
.sticky-note svg { width: 22px; height: 22px; color: var(--navy-900); flex-shrink: 0; margin-top: 2px; }
.sticky-note p { color: var(--navy-900); font-weight: 600; font-size: 0.92rem; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(8, 26, 48, 0.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center; z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
@media (min-width: 720px) {
  .modal-overlay { align-items: center; padding: 30px; }
}

.modal-panel {
  background: var(--white); width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto;
  border-radius: 22px 22px 0 0; transform: translateY(30px); transition: transform 0.3s ease;
  position: relative;
}
.modal-overlay.open .modal-panel { transform: translateY(0); }
@media (min-width: 720px) {
  .modal-panel { border-radius: var(--radius-lg); transform: translateY(20px) scale(0.98); }
  .modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }
}

.modal-hero { position: relative; overflow: hidden; }
.modal-hero::before { content: ""; display: block; padding-top: 50%; }
.modal-hero .icon-lg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 30%; height: 30%; color: rgba(255,255,255,0.95); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.2)); }
.modal-hero.has-photo .icon-lg { display: none; }
.modal-hero .tile-photo { z-index: 0; }
.modal-hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,16,28,0.42) 0%, rgba(4,16,28,0) 24%, rgba(4,16,28,0) 46%, rgba(4,16,28,0.8) 100%);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(8,26,48,0.55); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3; backdrop-filter: blur(4px);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-hero .pill { position: absolute; top: 14px; left: 14px; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.modal-hero .modal-date { position: absolute; bottom: 14px; left: 18px; z-index: 2; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4); }

.modal-body { padding: 26px 26px 32px; }
.modal-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.modal-meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 14px 0 20px; }
.modal-meta .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gray-100); padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--navy-700); }
.modal-meta .chip svg { width: 14px; height: 14px; color: var(--teal-600); }

.modal-section { margin-bottom: 20px; }
.modal-section h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: 10px; }
.plan-block { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--gray-100); }
.plan-block:first-child { border-top: none; }
.plan-block .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-500); margin-top: 6px; flex-shrink: 0; }
.plan-block .txt strong { display: block; color: var(--navy-800); font-size: 0.92rem; margin-bottom: 3px; }
.plan-block .txt p { font-size: 0.88rem; }

.note-bubble {
  background: linear-gradient(135deg, #fff7e0, #ffe9c7); border: 1px solid rgba(255,200,87,0.5);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.86rem; color: var(--navy-700);
  display: flex; gap: 10px; align-items: flex-start; font-style: italic;
}
.note-bubble svg { width: 18px; height: 18px; color: var(--coral-500); flex-shrink: 0; margin-top: 2px; }

.map-frame { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-200); }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }
.map-caption { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.78rem; color: var(--gray-500); margin-top: 8px; }
.map-caption svg { width: 14px; height: 14px; }
.map-open-link { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-weight: 700; color: var(--teal-600); }
.map-open-link svg { width: 13px; height: 13px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 48px 0 28px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--teal-500), var(--navy-700)); display: flex; align-items: center; justify-content: center; }
.footer-brand .brand-mark svg { width: 18px; height: 18px; color: #fff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.88rem; opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { padding-top: 20px; font-size: 0.8rem; text-align: center; }
.footer-bottom span { color: var(--gold-400); }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed; bottom: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-md); z-index: 150; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--gray-100); }
  .tips-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; padding: 12px; box-shadow: var(--shadow-md); gap: 4px;
  }
  .nav-links.mobile-open a { padding: 12px 16px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .stats-strip { margin-top: -28px; grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 100vh; }
}

@media (max-width: 480px) {
  .countdown { padding: 12px 14px; gap: 6px; }
  .countdown .unit { min-width: 50px; }
  .countdown .num { font-size: 1.25rem; }
  .hero-actions { flex-direction: column; width: 100%; padding: 0 24px; }
  .btn { width: 100%; justify-content: center; }
}

/* ===================== BRAND MARK: FLAG VARIANT ===================== */
.brand-mark.flag-mark {
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 6px;
  overflow: hidden;
}
