:root {
  --navy: #071D34;
  --navy-mid: #0E2B4B;
  --deep: #051426;
  --blue: #087EBD;
  --blue-dark: #066396;
  --aqua: #14B8A6;
  --aqua-dark: #0D9488;
  --gold: #F5B942;
  --gold-hover: #E5A72E;
  --amber: #F5B942;
  --text: #172B4D;
  --muted: #52657A;
  --bg: #F6F9FC;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(7, 29, 52, 0.05);
  --shadow-md: 0 12px 32px rgba(7, 29, 52, 0.09);
  --shadow-lg: 0 24px 54px rgba(5, 20, 38, 0.18);
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.16s ease; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 5px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 9999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-compact {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(7, 29, 52, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px; transition: min-height 0.22s ease;
}
.site-header.is-compact .header-inner { min-height: 60px; }
.brand-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.main-nav { display: none; align-items: center; gap: 4px; }
.main-nav > a, .main-nav .nav-link-drop {
  padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: 0.93rem;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.main-nav > a:hover, .main-nav > a.is-active, .main-nav .nav-link-drop:hover, .main-nav .nav-link-drop.is-active {
  background: #E8F4FA; color: var(--blue-dark);
}
.nav-dropdown-wrap { position: relative; }
.mega-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; width: 580px; z-index: 150;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px;
  grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.nav-dropdown-wrap:hover .mega-menu, .nav-dropdown-wrap:focus-within .mega-menu {
  display: grid; animation: fadeDown 0.18s ease forwards;
}
.mega-menu strong { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-dark); margin-bottom: 10px; }
.mega-menu a { display: block; padding: 6px 8px; font-size: 0.89rem; font-weight: 600; color: var(--navy); border-radius: 7px; text-decoration: none; }
.mega-menu a:hover { background: #F0F7FD; color: var(--blue-dark); }

.header-search-wrap { position: relative; display: none; flex: 0 1 240px; }
.header-search-form input {
  width: 100%; min-height: 40px; padding: 7px 14px; border: 1.5px solid var(--border);
  border-radius: 999px; font: inherit; font-size: 0.88rem; background: #F8FAFC;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.header-search-form input:focus {
  background: #fff; border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(8, 126, 189, 0.15);
}
.search-autocomplete {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 300px; z-index: 160;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-autocomplete a {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 14px;
  text-decoration: none; border-bottom: 1px solid #F1F5F9; font-size: 0.88rem; color: var(--navy);
}
.search-autocomplete a:hover { background: #EFF7FC; }
@media (min-width: 1120px) { .header-search-wrap { display: block; } }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 11px;
  font-weight: 700; font-size: 0.94rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #F5B942 0%, #F0A928 100%);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.34);
}
.btn-primary:hover { background: linear-gradient(135deg, #F8C55C 0%, #E5A122 100%); color: var(--deep); box-shadow: 0 8px 22px rgba(245, 185, 66, 0.44); }
.btn-blue { background: linear-gradient(135deg, var(--blue) 0%, #076CA3 100%); color: #fff; box-shadow: 0 6px 16px rgba(8, 126, 189, 0.25); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline-light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.55); color: #fff; backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.22); color: #fff; border-color: #fff; }
.btn-outline { background: #fff; border-color: var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); background: #F8FBFE; }
.btn-sm { min-height: 39px; padding: 8px 15px; font-size: 0.87rem; border-radius: 9px; }

/* Mobile Menu */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; color: var(--navy); cursor: pointer;
}
.mobile-drawer {
  display: none; background: #fff; border-top: 1px solid var(--border); padding: 16px 20px 22px;
  box-shadow: var(--shadow-md);
}
.mobile-drawer.is-open { display: block; animation: fadeDown 0.18s ease; }
.mobile-drawer a {
  display: block; padding: 12px 12px; font-weight: 600; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid #F1F5F9; border-radius: 8px;
}
.mobile-drawer a:hover { background: #F0F7FD; }
@media (min-width: 980px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-drawer { display: none !important; }
}

/* Panoramic Hero */
.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: 68px 0 92px;
  min-height: clamp(470px, 62vh, 620px);
  display: flex; align-items: center;
}
.hero-bg-picture, .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-bg { object-fit: cover; opacity: 0.56; transform: scale(1.02); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7, 29, 52, 0.94) 0%, rgba(7, 29, 52, 0.72) 52%, rgba(8, 126, 189, 0.36) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(20, 184, 166, 0.22); color: #8DF3E6; border: 1px solid rgba(20, 184, 166, 0.48);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.65rem); line-height: 1.08;
  margin: 0 0 18px; letter-spacing: -0.025em; font-weight: 800;
}
.hero p.lead { font-size: clamp(1.06rem, 1.8vw, 1.26rem); color: #E2ECF5; margin: 0 0 28px; max-width: 630px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 16px;
  margin-top: 32px; max-width: 620px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16);
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat-val { font-size: 1.45rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.hero-stat-lbl { font-size: 0.78rem; color: #CBD5E1; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 3px; }

/* Widget Floating Bridge */
.widget-bridge { position: relative; z-index: 10; margin-top: -42px; padding-bottom: 24px; }
@media (max-width: 720px) { .widget-bridge { margin-top: -22px; } }

/* Sections & Grids */
.section { padding: 60px 0; }
.section-alt { background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: linear-gradient(145deg, var(--navy) 0%, #0D335B 100%); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.55rem, 2.9vw, 2.25rem); margin: 0 0 6px; color: var(--navy); line-height: 1.18; letter-spacing: -0.02em; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); max-width: 650px; }
.section-dark .section-head p { color: #CBD5E1; }

.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Modern Interactive Cards */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #BBD8EC; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #DCE6F2; position: relative; }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  background: rgba(7, 29, 52, 0.85); color: #fff; backdrop-filter: blur(6px);
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; color: var(--navy); font-weight: 700; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--blue-dark); }
.card-desc { margin: 0 0 16px; color: var(--muted); font-size: 0.93rem; flex: 1; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid #F1F5F9; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 700; font-size: 0.9rem; color: var(--blue-dark); text-decoration: none;
  transition: gap 0.16s ease, color 0.16s ease;
}
.card:hover .link-arrow, .link-arrow:hover { gap: 9px; color: var(--navy); }

/* Interactive Tabs */
.tabs-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab-btn {
  min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--border); background: #fff; color: var(--navy);
  font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.tab-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel[hidden] { display: none; }

/* Affiliate Widget Container */
.widget-shell {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FE 100%);
  border: 1px solid #CBE0F5; border-radius: var(--radius-lg);
  padding: 26px 28px; box-shadow: var(--shadow-lg);
}
.widget-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.widget-tag {
  font-size: 0.76rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: #E0F2FE; color: #075985; letter-spacing: 0.02em;
}
.widget-fallback-box {
  background: #fff; border: 1.5px dashed #93BFE3; border-radius: 14px; padding: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.disclosure-note { font-size: 0.83rem; color: var(--muted); margin: 12px 0 0; }

/* Contextual CTA Banner */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #0D4073 100%);
  color: #fff; border-radius: var(--radius); padding: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin: 28px 0; box-shadow: var(--shadow-md);
}
.cta-box h3 { margin: 0 0 6px; font-size: 1.28rem; }
.cta-box p { margin: 0; color: #D8E6F3; font-size: 0.95rem; max-width: 580px; }
.inline-affiliate-link {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(8, 126, 189, 0.45);
}
.inline-affiliate-link:hover { color: var(--navy); text-decoration-color: var(--gold); }
.global-compare-band {
  background: linear-gradient(135deg, #071D34 0%, #0C3661 60%, #087EBD 100%);
  color: #fff;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.global-compare-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.global-compare-inner h2 { margin: 0 0 4px; font-size: 1.24rem; color: #fff; }
.global-compare-inner p { margin: 0; color: #CBD5E1; font-size: 0.92rem; }

/* Page Header / Destination Panoramic Banner */
.page-banner {
  position: relative; background: var(--navy); color: #fff; padding: 44px 0 48px; overflow: hidden;
}
.page-banner.has-bg { padding: 56px 0 58px; }
.page-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-banner-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(7, 29, 52, 0.95) 0%, rgba(7, 29, 52, 0.78) 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { margin: 12px 0 10px; font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.14; letter-spacing: -0.02em; }
.page-banner p { margin: 0; color: #D7E3F0; max-width: 740px; font-size: 1.06rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: #CBD5E1; list-style: none; padding: 0; margin: 0; }
.breadcrumbs a { color: #8DEFE2; text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.55; }

/* Article / Destination Layout + TOC Sidebar */
.content-layout { display: grid; gap: 32px; grid-template-columns: 1fr; padding: 38px 0; }
@media (min-width: 960px) { .content-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.prose-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .prose-card { padding: 20px; } }
.prose-card h2 { color: var(--navy); margin: 30px 0 12px; font-size: 1.45rem; border-bottom: 1px solid #F1F5F9; padding-bottom: 8px; scroll-margin-top: 84px; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card h3 { color: var(--navy); margin: 22px 0 8px; font-size: 1.14rem; }
.prose-card ul, .prose-card ol { padding-left: 20px; }
.prose-card li { margin-bottom: 7px; }

.sidebar-stack { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 960px) { .sidebar-sticky { position: sticky; top: 82px; } }
.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar-box h3 { margin: 0 0 12px; font-size: 1.06rem; color: var(--navy); }
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  display: block; padding: 6px 10px; border-radius: 8px; font-size: 0.87rem;
  color: var(--muted); text-decoration: none; border-left: 2px solid transparent;
}
.toc-list a:hover, .toc-list a.is-active { background: #EFF7FC; color: var(--blue-dark); border-left-color: var(--blue); font-weight: 600; }

.facts-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.facts-table th, .facts-table td { padding: 9px 6px; border-bottom: 1px solid #F1F5F9; text-align: left; }
.facts-table th { color: var(--muted); font-weight: 600; width: 45%; }

.two-col-compare { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 16px 0; }
@media (min-width: 640px) { .two-col-compare { grid-template-columns: 1fr 1fr; } }
.box-good { background: #F0FDF9; border: 1px solid #99F6E4; border-radius: 12px; padding: 18px; }
.box-skip { background: #FFF8EB; border: 1px solid #FDE68A; border-radius: 12px; padding: 18px; }

/* Accessible FAQ Accordions */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: #FAFBFD; overflow: hidden; }
.faq-trigger {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 15px 18px;
  font: inherit; font-weight: 700; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-trigger:hover { background: #F0F7FD; }
.faq-icon { font-size: 1.1rem; transition: transform 0.2s ease; color: var(--blue); flex-shrink: 0; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-panel { padding: 0 18px 16px; color: var(--muted); font-size: 0.94rem; }
.faq-panel[hidden] { display: none; }

/* Interactive Calculators & Tools */
.tool-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tool-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.87rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: 10px; font: inherit; color: var(--text); background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(8, 126, 189, 0.16); }

.result-panel {
  background: linear-gradient(155deg, var(--navy) 0%, #0D335B 100%);
  color: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md);
}
.result-kpi { font-size: 2.25rem; font-weight: 800; color: var(--gold); line-height: 1.1; margin: 6px 0 14px; }
.breakdown-list { list-style: none; padding: 0; margin: 16px 0; }
.breakdown-list li {
  display: flex; justify-content: space-between; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.94rem;
}
.bar-chart { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.bar-row { font-size: 0.82rem; }
.bar-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.14); overflow: hidden; margin-top: 3px; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--aqua) 0%, #38BDF8 100%); border-radius: 999px; transition: width 0.25s ease; }

/* Step cards & Newsletter */
.step-num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px;
}
.newsletter-box {
  background: linear-gradient(125deg, var(--deep) 0%, var(--navy) 60%, #0D3C68 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 38px 32px; box-shadow: var(--shadow-lg);
}
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.newsletter-form input[type="email"] {
  flex: 1 1 250px; min-height: 46px; padding: 10px 15px; border-radius: 11px; border: 1px solid #334E68; font: inherit;
}

/* Footer */
.site-footer { background: var(--deep); color: #CBD5E1; padding: 58px 0 30px; margin-top: 44px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #CBD5E1; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem;
}

/* Cookie Consent Banner & Modal */
.consent-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 780px; margin-inline: auto; z-index: 200;
  background: #fff; border: 1.5px solid var(--navy); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-lg); display: none;
}
.consent-banner.is-visible { display: block; animation: heroFadeUp 0.25s ease; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.consent-modal {
  position: fixed; inset: 0; background: rgba(5, 20, 38, 0.68); z-index: 250;
  display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px);
}
.consent-modal.is-open { display: flex; }
.consent-modal-card { background: #fff; border-radius: var(--radius); max-width: 520px; width: 100%; padding: 24px; box-shadow: var(--shadow-lg); }

/* Back to Top & Skeleton & Scroll Reveal */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 140;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2);
  background: var(--navy); color: #fff; font-weight: 800; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

.skeleton-line {
  height: 14px; border-radius: 6px; margin: 10px 14px;
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@keyframes heroFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Interactive Map SVG */
.route-map-wrap { background: #F0F6FC; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.alert-ok { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.alert-err { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media print {
  .site-header, .site-footer, .consent-banner, .back-to-top, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}
