/* ============================================================
   BuyTripInsurance.net — "Cartographic Trust" Design System
   Premium financial services meets travel editorial
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Colors */
  --navy-900: #0A1628;
  --navy-800: #0F2035;
  --navy-700: #162A4A;
  --navy-600: #1E3A5F;
  --navy-500: #2A4A73;
  --navy-400: #3D6494;
  --navy-300: #5A82B0;

  /* Teal Accent */
  --teal-500: #00B4D8;
  --teal-400: #22C5E6;
  --teal-300: #5DD8EE;
  --teal-200: #90E6F5;
  --teal-100: #C4F1FA;
  --teal-50: #E8F9FD;

  /* Gold CTA */
  --gold-600: #B8792D;
  --gold-500: #D4943A;
  --gold-400: #E0A84F;
  --gold-300: #EABC6E;
  --gold-200: #F2D49E;
  --gold-100: #FAE8C8;
  --gold-50: #FDF5E8;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8F9FB;
  --gray-100: #F1F3F5;
  --gray-200: #E2E5E9;
  --gray-300: #CDD1D8;
  --gray-400: #A0A7B3;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --success: #059669;
  --warning: #D97706;
  --error: #DC2626;
  --info: var(--teal-500);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes — fluid scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --text-lg: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  --text-xl: clamp(1.15rem, 1.05rem + 0.5vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 1.15rem + 0.75vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 1.875rem);
  --text-4xl: clamp(1.8rem, 1.4rem + 2vw, 2.25rem);
  --text-5xl: clamp(2.2rem, 1.6rem + 3vw, 3rem);
  --text-6xl: clamp(2.8rem, 1.8rem + 4vw, 3.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --sidebar-width: 320px;
  --border-radius-sm: 6px;
  --border-radius: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12), 0 4px 8px rgba(10, 22, 40, 0.06);
  --shadow-xl: 0 20px 48px rgba(10, 22, 40, 0.16), 0 8px 16px rgba(10, 22, 40, 0.08);
  --shadow-glow-teal: 0 0 24px rgba(0, 180, 216, 0.2);
  --shadow-glow-gold: 0 0 24px rgba(212, 148, 58, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy-700);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: var(--text-5xl); margin-bottom: var(--space-6); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-5); }
h3 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
h4 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
h5 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
h6 { font-size: var(--text-lg); margin-bottom: var(--space-2); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-700);
}

.text-muted { color: var(--gray-500); }
.text-small { font-size: var(--text-sm); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-500);
  margin-bottom: var(--space-3);
  display: block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr var(--sidebar-width);
  }
}

.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

section {
  padding: var(--space-16) 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: var(--gray-300);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-300));
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--white);
  white-space: nowrap;
}

.site-logo .logo-text span {
  color: var(--teal-400);
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-dropdown-trigger::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  color: var(--gray-700);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-sm);
  font-size: var(--text-sm);
}

.nav-dropdown-menu a:hover {
  color: var(--navy-900);
  background: var(--gray-50);
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-900);
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:hover {
  color: var(--teal-400);
}

.mobile-nav .mobile-nav-section {
  margin-top: var(--space-6);
}

.mobile-nav .mobile-nav-section-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: var(--space-2);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm), var(--shadow-glow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-glow-gold);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--white);
  border-color: var(--teal-500);
}

.btn-teal:hover {
  background: linear-gradient(135deg, #009AB8, var(--teal-500));
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-glow-teal);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--gray-300);
}

.btn-outline-dark:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: calc(72px + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(212, 148, 58, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
  opacity: 0.3;
}

/* Subtle topographic grid pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-400);
}

.hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--white);
  display: block;
}

.hero-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--gray-400);
}

/* --- Page Hero (smaller, for inner pages) --- */
.page-hero {
  position: relative;
  padding: calc(72px + var(--space-12)) 0 var(--space-12);
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-lg);
  max-width: 600px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.breadcrumbs a {
  color: var(--teal-400);
}

.breadcrumbs span {
  color: var(--gray-400);
}

/* --- Comparison Table & Cards --- */
.comparison-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.view-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 4px;
}

.view-toggle button {
  padding: 8px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: calc(var(--border-radius) - 2px);
  color: var(--gray-500);
  transition: all var(--transition-base);
}

.view-toggle button.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

/* Table View */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--space-6));
  padding: 0 var(--space-6);
}

.comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-sm);
}

.comparison-table thead th {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-4) var(--space-4);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 72px;
  z-index: 10;
}

.comparison-table thead th:first-child {
  text-align: left;
  border-radius: var(--border-radius) 0 0 0;
  position: sticky;
  left: 0;
  z-index: 11;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--border-radius) 0 0;
}

.comparison-table tbody td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--white);
  position: sticky;
  left: 0;
  z-index: 5;
}

.comparison-table tbody tr:hover td {
  background: var(--teal-50);
}

.comparison-table tbody tr:hover td:first-child {
  background: var(--teal-50);
}

.comparison-table .carrier-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.comparison-table .carrier-logo {
  height: 32px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 4px 8px;
}

.comparison-table .check {
  color: var(--success);
  font-size: 18px;
}

.comparison-table .cross {
  color: var(--gray-300);
  font-size: 14px;
}

.comparison-table tfoot td {
  padding: var(--space-4);
  text-align: center;
}

/* Card View */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.carrier-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.carrier-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-lg), var(--shadow-glow-teal);
  transform: translateY(-4px);
}

.carrier-card-header {
  background: var(--navy-900);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.carrier-card-header img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.carrier-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.carrier-card-badge {
  display: inline-block;
  background: var(--teal-50);
  color: var(--teal-500);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-4);
  align-self: flex-start;
}

.carrier-card-features {
  margin-bottom: var(--space-5);
  flex: 1;
}

.carrier-card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.carrier-card-features li:last-child {
  border-bottom: none;
}

.carrier-card-features .feature-icon {
  color: var(--teal-500);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.step-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  border-radius: 50%;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-glow-teal);
}

.step-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* --- CTA Callout Boxes (in-article) --- */
.cta-box {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--border-radius-lg);
  padding: var(--space-8) var(--space-8);
  margin: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-box h3 {
  color: var(--white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.cta-box p {
  color: var(--gray-300);
  margin-bottom: var(--space-5);
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

/* Mid-article carrier callout */
.carrier-callout {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.carrier-callout h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.carrier-callout p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

/* --- Sidebar Carrier Quick Links --- */
.sidebar-carriers {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.sidebar-carriers-title {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.sidebar-carrier-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}

.sidebar-carrier-item:last-child {
  border-bottom: none;
}

.sidebar-carrier-item:hover {
  background: var(--gray-50);
}

.sidebar-carrier-item .carrier-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-900);
}

/* --- Sidebar Ad --- */
.sidebar-ad {
  margin-top: var(--space-6);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-ad a {
  display: block;
}

.sidebar-ad img {
  width: 100%;
  height: auto;
}

/* --- Article Content --- */
.article-content {
  max-width: none;
}

.article-content h2 {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-100);
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  margin-top: var(--space-8);
}

.article-content p {
  font-size: var(--text-base);
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-2);
  color: var(--gray-700);
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 4px solid var(--teal-500);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--teal-50);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--navy-700);
}

.article-content strong {
  color: var(--navy-900);
  font-weight: 700;
}

/* Info box */
.info-box {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--border-radius);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.info-box h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-2);
}

.info-box p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* Checklist */
.checklist {
  margin: var(--space-6) 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
  list-style: none;
}

.checklist li::before {
  content: '☐';
  flex-shrink: 0;
  font-size: var(--text-lg);
  color: var(--teal-500);
}

/* --- End-of-Article CTA Section --- */
.article-cta-section {
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-10);
  text-align: center;
}

.article-cta-section h3 {
  margin-bottom: var(--space-4);
}

.article-cta-section p {
  max-width: 500px;
  margin: 0 auto var(--space-6);
}

.article-cta-carriers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-400);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--gray-400);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--teal-400);
}

.footer-hotel-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gold-400);
  font-weight: 600;
  margin-top: var(--space-3);
}

.footer-hotel-link:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-6) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer-disclaimer {
  max-width: 700px;
  font-size: var(--text-xs);
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Hotel Ad Banner --- */
.hotel-banner {
  margin: var(--space-8) 0;
  text-align: center;
}

.hotel-banner a {
  display: inline-block;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.hotel-banner a:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hotel-banner img {
  max-width: 100%;
  height: auto;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-group label .required {
  color: var(--error);
}

/* Modern form inputs — applies to both .form-control and bare inputs inside .form-group */
.form-control,
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control:hover,
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--gray-300);
  background: var(--white);
}

.form-control:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.form-control::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

textarea.form-control,
.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* Contact form submit button override for modern look */
#contact-form .btn-primary,
#contact-form button[type="submit"] {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(212, 148, 58, 0.3);
}

#contact-form .btn-primary:hover,
#contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 148, 58, 0.4);
}

.form-message {
  padding: var(--space-4) var(--space-5);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-4);
  display: none;
}

.form-message.success {
  display: block;
  background: #ECFDF5;
  color: var(--success);
  border: 1px solid #A7F3D0;
}

.form-message.error {
  display: block;
  background: #FEF2F2;
  color: var(--error);
  border: 1px solid #FECACA;
}

/* --- Trust Logos Row --- */
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-8) 0;
}

.trust-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.trust-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Quick Links Grid (educational content) --- */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.quick-link-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  text-decoration: none;
}

.quick-link-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quick-link-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.quick-link-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy-900);
  margin-bottom: var(--space-1);
}

.quick-link-card p {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-bottom: 0;
}

/* --- Tips Grid (for travel tips hub) --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.tip-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.tip-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.tip-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.tip-card-body {
  padding: var(--space-5) var(--space-6);
}

.tip-card-body h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.tip-card-body h3 a {
  color: var(--navy-900);
  text-decoration: none;
}

.tip-card-body h3 a:hover {
  color: var(--teal-500);
}

.tip-card-body p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

/* --- Legal/Privacy Page --- */
.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-in-up:nth-child(5) { animation-delay: 0.5s; }

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none !important;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* --- Article Page Additions --- */

/* Page hero subtitle */
.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-lg);
  max-width: 600px;
  margin-bottom: 0;
}

/* Breadcrumb nav (alias for inner pages) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: var(--teal-400);
}

.breadcrumb span {
  color: var(--gray-400);
}

/* Primary button (alias for gold) */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm), var(--shadow-glow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-glow-gold);
}

/* Sidebar title */
.sidebar-title {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: 0;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Sidebar carrier card */
.sidebar-carrier-card {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-carrier-card:last-child {
  border-bottom: none;
}

.sidebar-carrier-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy-900);
  margin-bottom: var(--space-1);
}

.sidebar-carrier-card p {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-bottom: var(--space-3);
}

/* Article sidebar sticky */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* Comparison table in articles */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.article-content table thead th {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: left;
}

.article-content table tbody td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.article-content table tbody tr:hover td {
  background: var(--teal-50);
}

/* FAQ section */
.faq-section {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-100);
}

.faq-item {
  margin-bottom: var(--space-6);
}

.faq-item h3 {
  font-size: var(--text-xl);
  margin-top: 0;
  margin-bottom: var(--space-3);
  color: var(--navy-900);
}

.faq-item p {
  color: var(--gray-700);
}

/* Decision checklist */
.decision-checklist {
  background: var(--gray-50);
  border: 2px solid var(--teal-200);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}

.decision-checklist h3 {
  margin-top: 0;
  color: var(--navy-900);
}

.decision-checklist ul {
  list-style: none;
  padding-left: 0;
}

.decision-checklist ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-200);
}

.decision-checklist ul li:last-child {
  border-bottom: none;
}

.decision-checklist ul li::before {
  content: '\2610';
  font-size: var(--text-lg);
  color: var(--teal-500);
  flex-shrink: 0;
}

/* Scenario box */
.scenario-box {
  background: var(--gray-50);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.scenario-box h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-2);
}

.scenario-box p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.scenario-box p:last-child {
  margin-bottom: 0;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .sidebar, .hotel-banner, .sidebar-ad,
  .cta-box, .carrier-callout, .article-cta-section, .hamburger,
  .mobile-nav, .btn { display: none !important; }

  body { font-size: 12pt; color: #000; }
  .container { max-width: 100%; }
}
