:root {
  --primary: #0b3c5d;
  --primary-dark: #07283e;
  --accent: #328cc1;
  --accent-soft: #dcecf6;
  --gold: #e0a63d;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1d2731;
  --muted: #5d6b7a;
  --border: rgba(11, 60, 93, 0.12);
  --shadow: 0 18px 45px rgba(11, 60, 93, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 249, 252, 0.95);
  backdrop-filter: blur(14px);
}

.site-header .container {
  width: 100%;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  gap: 1rem;
}

.nav-cta {
  flex-shrink: 0;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.brand img {
  width: 200px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

/* Nav link underline effect */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.22s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}


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

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  z-index: 200;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 500;
}

.nav-dropdown__menu a:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 12px 24px rgba(50, 140, 193, 0.24);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero__grid {
  display: flex;
  justify-content: center;
}

.hero__slider {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide.measure {
  position: static;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.hero__slide .hero__actions {
  justify-content: center;
}

.hero__slide .hero__highlights {
  justify-content: center;
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 60, 93, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.hero__dot.active {
  background: var(--primary);
}

.transparent-box {
  position: relative; /* Acts as an anchor for the background */
  width: 100%;
  padding: 40px;
  color: #ffffff; /* Keeps text white */
}

/* Create a separate layer for the background image */
.transparent-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(135deg, rgb(66 165 235 / 91%), rgb(19 85 141 / 66%)), url(../../assets/images/canada.webp);
  background-size: contain;
  background-position: center;
  opacity: 0.4; /* Adjusts image transparency (0.0 to 1.0) */
  z-index: -1; /* Pushes the image behind the text */
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgb(246 252 255 / 78%);
  color: #284e65;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.08;
  margin: 0.8rem 0 0.8rem;
  color: var(--primary);
}

.hero p,
.page-intro p,
.card p,
.list-card li,
.contact-card p,
.table-card td,
.table-card th {
  color: #03172c;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0 1.2rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

.hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__card,
.card,
.quote-card,
.info-card,
.form-card,
.chart-card,
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__card {
  padding: 1.5rem;
}

.hero__card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #fbfcfe;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(50, 140, 193, 0.18);
  border-color: var(--accent);
}

.section {
  padding: 4rem 0;
}

.section--soft {
  background: #f2f6fa;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.showcase-hero img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.showcase-hero .showcase-copy {
  padding: 1.25rem 1.25rem 1.4rem;
}

.showcase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.image-card {
  overflow: hidden;
}

.image-card .image-copy {
  padding: 1rem 1rem 1.1rem;
}

.image-card h3 {
  margin: 0 0 0.35rem;
  color: var(--primary);
}

.image-card p {
  margin: 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.8rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.features-grid,
.product-grid,
.stats-grid,
.info-grid {
  display: grid;
  gap: 1.2rem;
}

.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.product-card,
.stats-card,
.info-card {
  padding: 1.4rem;
}

.feature-card .icon,
.product-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.feature-card h3,
.product-card h3,
.stats-card h3,
.info-card h3,
.quote-card h3,
.form-card h3,
.contact-card h3,
.table-card h3 {
  margin: 0 0 0.45rem;
  color: var(--primary);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card ul {
  padding-left: 1rem;
  color: var(--muted);
}

.testimonial {
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--accent);
  background: rgba(50, 140, 193, 0.08);
  border-radius: 0 16px 16px 0;
  color: var(--primary);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 3rem 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner__inner h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  flex: 1;
}

/* ── Products page layout ── */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.products-sidebar {
  padding: 1.4rem;
  position: sticky;
  top: 80px;
}

.products-sidebar h4 {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.products-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.1rem;
}

.products-nav li::before {
  content: none;
}

.products-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.products-nav a:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.products-sidebar__cta {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.products-sidebar__cta p {
  margin-bottom: 0.8rem;
}

.products-content {
  display: grid;
  gap: 1.5rem;
}

.product-detail {
  overflow: hidden;
  padding: 0;
}

.product-detail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-detail__copy {
  padding: 1.5rem 1.6rem 1.8rem;
}

.product-detail__copy h2 {
  margin: 0.5rem 0 0.8rem;
  color: var(--primary);
}

.product-detail__copy p {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

/* ── Quote page layout ── */
.quote-page-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-info h2 {
  color: var(--primary);
  margin: 0.5rem 0 1rem;
}

.quote-info p {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

/* ── Form extras ── */
.form-fieldset {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.form-fieldset legend {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  padding: 0 0.4rem;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
}

.form-success {
  padding: 0.8rem 1rem;
  background: #d4edda;
  color: #155724;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.93rem;
}

.form-error {
  padding: 0.8rem 1rem;
  background: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.93rem;
}

.captcha-question {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary);
}

.captcha-input {
  width: 100%;
  max-width: 180px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #fbfcfe;
  color: var(--text);
}

.captcha-input:focus {
  outline: 2px solid rgba(50, 140, 193, 0.18);
  border-color: var(--accent);
}

/* ── Premium Calculator ── */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: start;
}

.calc-form-wrap {
  position: sticky;
  top: 90px;
}

.calc-form-wrap .form-card {
  padding: 1rem 1.1rem;
}

.calc-form-wrap .form-card h3 {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-size: 1rem;
}

.calc-form-wrap .form-grid { gap: 0.75rem; }
.calc-form-wrap .form-fieldset { padding: 0.7rem 0.75rem; gap: 0.45rem; }
.calc-form-wrap .form-fieldset legend { font-size: 0.82rem; }
.calc-form-wrap .form-field label { font-size: 0.78rem; }
.calc-form-wrap .form-field input { padding: 0.55rem 0.65rem; font-size: 0.85rem; }
.traveller-fields { display: grid; gap: 0.55rem; }
.traveller-row[data-traveller="2"] { display: none; }
.traveller-row { padding: 0.65rem; border: 1px solid var(--border); border-radius: 8px; background: #fbfcfe; }
.traveller-row h4 { margin: 0 0 0.45rem; color: var(--primary); font-size: 0.84rem; }
.traveller-row .two-col { gap: 0.55rem; }
.traveller-row-header { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.traveller-row-header h4 { margin-bottom: 0.45rem; }
.btn-add-traveller, .btn-remove-traveller {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-add-traveller { justify-self: start; padding: 0.15rem 0; }
.btn-remove-traveller { padding: 0; }
.btn-add-traveller:hover, .btn-remove-traveller:hover { color: var(--primary); }

.total-premium {
  position: sticky;
  top: 590px;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--accent);
  margin-top: 10px;
}
.total-premium span { color: var(--muted); font-weight: 700; }
.total-premium strong { color: var(--primary); font-size: 1.25rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.radio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-pill-group input[type="radio"] { display: none; }

.radio-pill-group label {
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.radio-pill-group input[type="radio"]:checked + label {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.calc-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── Searchable multi-select ───────────────────────────── */
.ms-select { position: relative; }
.ms-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}
.ms-control:hover, .ms-control:focus { border-color: var(--accent); outline: none; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; flex: 1; }
.ms-placeholder { color: var(--muted); }
.ms-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
}
.ms-chip-x {
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 0.1rem;
}
.ms-chip-x:hover { color: var(--primary); }
.ms-caret { color: var(--muted); font-size: 0.7rem; }
.ms-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ms-filter {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  outline: none;
}
.ms-list {
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
}
.ms-option {
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}
.ms-option:hover { background: var(--accent-soft); }
.ms-option.selected { color: var(--accent); font-weight: 700; }
.ms-option.selected::before { content: "✓ "; }
.ms-empty { padding: 0.5rem 0.6rem; font-size: 0.85rem; color: var(--muted); }

/* ── Help icon + tooltip ───────────────────────────────── */
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  opacity: 0.75;
  vertical-align: 1px;
}
.help-icon:hover, .help-icon:focus { opacity: 1; outline: none; }

.help-tip {
  position: fixed;
  z-index: 3000;
  max-width: 240px;
  padding: 0.5rem 0.7rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 60, 93, 0.3);
  pointer-events: none;
}

.results-header {
  margin-bottom: 1.2rem;
}

.results-header h3 {
  color: var(--primary);
  margin: 0 0 0.25rem;
}

.results-header p {
  color: #40464c;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.coverage-cards { display: grid; gap: 2rem; }
.results-columns { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.results-columns.is-couple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.traveller-results { min-width: 0; transition: opacity 0.35s ease, transform 0.35s ease; }
.traveller-results.is-entering { animation: resultsEnter 0.4s ease both; }
.traveller-results h4 { color: var(--primary); margin: 0 0 0.8rem; }

@keyframes resultsEnter {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.coverage-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.coverage-card__header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 5px 5px 0px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: visible;
}

.coverage-card__header h4 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #fff;
  font-size: 20px;
}

/* .coverage-card__header .card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 20px;
} */

/*  */
.coverage-card__header .card-badge {
  font-weight: 700;
    background: #eecb2f;
    color: #3e3838;
    padding: 0.3rem 0.8rem;
    white-space: nowrap;
    font-size: 16px;
    position: absolute;
    top: 20px;
    right: -5px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.15);
}

/* Creates the folded "under" triangle effect on the left */
.coverage-card__header .card-badge::before {
  content: '';
    position: absolute;
    top: 100%;
    right: 0;
    border-top: 5px solid #eecb2f;
    border-right: 5px solid transparent;
}

/* Creates the stylish fish-tail cut on the right side */
.coverage-card__header .card-badge::after {
    content: '';
    position: absolute;
    top: 0px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 11px 18px 0px;
    border-color: transparent #eecb2f transparent transparent;
}
/*  */

.coverage-card__body { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; align-self: center;}

.card-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.card-controls .form-field label { font-size: 0.82rem; }

.card-controls select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: #fbfcfe;
  color: var(--text);
  font-size: 0.88rem;
}

.card-preex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.9rem;
  cursor: pointer;
}

.card-preex input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.card-premium {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border: 1px solid #f1f1f1;
}

.card-premium .prem-label { font-size: 0.78rem; font-weight: 700; color: #1d2731; text-transform: uppercase; letter-spacing: 0.06em; }
.card-premium .prem-amount { font-size: 1.8rem; font-weight: 800; color: #1d2731; line-height: 1; }
.card-premium .prem-sub { font-size: 1rem; color: #1d2731; margin-top: 0.15rem; }
.card-premium .prem-right { text-align: right; flex-grow: 1;}
.card-premium .prem-sub .deduct_discount_text{ color: #d34e37; font-weight: 500;}

.card-unavailable {
  padding: 0.75rem 1rem;
  background: #fff3cd;
  color: #856404;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.card-select {
  width: auto;
  align-self: flex-start;
  margin-top: 0.55rem;
  padding: 0.45rem 0.8rem;
  font-size: 15px;
  font-weight: 700;
  border-radius: 15px;
  cursor: pointer;
  background-color: #eecb2f;
}
.coverage-card.is-selected {
  background: #a8c791;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  animation: selectedCard 0.45s ease;
}
@keyframes selectedCard {
  0% { transform: translateY(22px) scale(0.98); opacity: 0.55; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.results-placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--muted);
}

.results-placeholder .ph-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.results-placeholder p { margin: 0; font-size: 0.95rem; }

/* ── Results overlay spinner ── */
.results-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.results-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#resultsArea {
  position: relative;
  min-width: 0;
}

/* ── Card premium amount pulse ── */
@keyframes premPulse {
  0%   { opacity: 1; transform: scale(1); }
  30%  { opacity: 0.3; transform: scale(0.92); }
  70%  { opacity: 0.3; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.prem-amount.recalc {
  animation: premPulse 0.5s ease;
}

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-form-wrap { position: static; }
  .total-premium { position: static; }
  .results-columns.is-couple { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .card-controls { grid-template-columns: 1fr; }
  .radio-pill-group label { white-space: normal; }
}

/* ── Contact detail list ── */
.contact-detail-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-detail-list a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 560px) {
  .coverage-card__header h4 {
    max-width: calc(100% - 6.5rem);
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 18px;
    line-height: 1.2;
  }
}

.stats-bar {
  background: var(--primary);
  padding: 1.6rem 0;
}

.stats-bar__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 2.5rem;
  gap: 0.2rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-plus {
  font-size: 1.3rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ── Claims paid ribbon ── */
.claims-ribbon-section {
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  background: #eef5f9;
  border-top: 1px solid rgba(11, 60, 93, 0.08);
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
}

.claims-ribbon-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.claims-ribbon-intro h2 {
  max-width: 650px;
  margin: 0.6rem 0 0.5rem;
  color: var(--primary);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.claims-ribbon-intro p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.claims-total {
  flex: 0 0 auto;
  min-width: 220px;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.08);
}

.claims-total__label,
.claims-total__note {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.claims-total strong {
  display: block;
  margin: 0.2rem 0;
  color: var(--primary);
  font-size: 1.65rem;
  line-height: 1.1;
}

.claims-total__note {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.claims-ribbon {
  position: relative;
  padding: 0.25rem 0;
  background: var(--primary);
}

.claims-ribbon::before,
.claims-ribbon::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 8rem;
  content: "";
  pointer-events: none;
}

.claims-ribbon::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.claims-ribbon::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary), transparent);
}

.claims-ribbon__track {
  display: flex;
  width: max-content;
  animation: claims-ribbon-scroll 75s linear infinite;
}

.claims-ribbon__group {
  display: flex;
  flex-shrink: 0;
  gap: 0.8rem;
  padding: 0.8rem;
}

.claim-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  white-space: nowrap;
}

.claim-pill b {
  color: var(--gold);
  font-size: 0.7rem;
}

.claim-pill strong {
  color: #fff;
  font-size: 0.86rem;
}

@keyframes claims-ribbon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.claims-ribbon-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.claims-ribbon-footer a {
  color: var(--accent);
}

.claims-ribbon:hover .claims-ribbon__track,
.claims-ribbon:focus-within .claims-ribbon__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .claims-ribbon__track { animation: none; }
}

@media (max-width: 700px) {
  .claims-ribbon-intro {
    display: block;
  }
  .claims-total {
    margin-top: 1.25rem;
  }
  .claims-ribbon-footer {
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
  }
  .claims-ribbon-footer a {
    width: 100%;
    margin-left: 0;
    margin-top: 0.35rem;
  }
}

/* ── Why TravCare ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.why-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--primary);
  margin: 0.6rem 0 1rem;
}

.why-copy p {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.why-list li {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.features-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Product cards with images ── */
.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  padding: 0;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-copy {
  padding: 1.1rem 1.2rem 1.3rem;
}

.product-copy h3 {
  margin: 0 0 0.4rem;
  color: var(--primary);
}

.product-copy p {
  margin: 0 0 0.8rem;
  font-size: 0.93rem;
}

.card-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

.card-link:hover {
  color: var(--primary);
}

.image-copy .card-link {
  display: inline-block;
  margin-top: 0.5rem;
}

/* ── Testimonials grid ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.testi-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-inline-end: 10px;
  margin-inline-start: 10px;
}

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testi-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}

.testi-card footer {
  font-size: 0.9rem;
  color: var(--primary);
}

/* ── Google-style review carousel ── */
.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 18px;
  border-radius: 10px;
  background-color: #f1f1f1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonials-grid {
  display: grid;
  grid-auto-columns: calc((100% - 1.8rem) / 3);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.testi-card {
  min-width: 0;
  min-height: 184px;
  padding: 1rem 1.1rem 1.05rem;
  gap: 0.48rem;
  margin: 0;
  border: 1px solid #e2e3e5;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.18);
  background: #fff;
}

.testi-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.testi-card__header > span:nth-child(2) {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.testi-card__header strong {
  overflow: hidden;
  color: #202124;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testi-card__header small {
  margin-top: 0.2rem;
  color: #70757a;
  font-size: 0.66rem;
}

.testi-avatar {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d9a441;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.testi-avatar--blue { background: #557d98; }
.testi-avatar--red { background: #d46b57; }
.testi-avatar--green { background: #648c73; }

.google-mark {
  flex: 0 0 auto;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.testi-stars {
  color: #fbbc04;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.testi-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #3c4043;
  font-size: 0.77rem;
  line-height: 1.45;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.testimonials-arrow {
  z-index: 1;
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0 0 3px;
  border: 1px solid #dadce0;
  border-radius: 50%;
  background: #fff;
  color: #5f6368;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.testimonials-arrow:hover,
.testimonials-arrow:focus-visible {
  background: #f8f9fa;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.24);
  outline: none;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-auto-columns: calc((100% - 0.9rem) / 2); }
}

@media (max-width: 600px) {
  .testimonials-carousel {
    gap: 0.45rem;
    overflow: hidden;
  }
  .testimonials-grid {
    display: flex;
    width: auto;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testi-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .testimonials-arrow { flex-basis: 27px; width: 27px; height: 27px; }
}

/* ── Contact split ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  color: var(--primary);
  margin: 0.6rem 0 1rem;
}

.contact-copy p {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(120deg, #062f4f 0%, #007eb8 68%, #0b4f72 100%);
  border-bottom: 4px solid #e6a21a;
}

.page-hero .eyebrow {
  background: #ffffff;
  color: #075276;
}

.page-hero h1 {
  color: #ffffff;
}

.page-hero .page-intro p {
  color: #f5fbff;
}

.page-intro {
  max-width: 760px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.25rem;
  align-items: start;
}

.list-card {
  padding: 1.4rem;
}

.list-card ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.list-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.list-card li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.quote-card,
.info-card,
.form-card,
.contact-card,
.chart-card,
.table-card {
  padding: 1.4rem;
}

.contact-card .meta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.site-footer {
  background: var(--primary);
  color: #eaf2f8;
  padding: 3.5rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.footer-contact-list a {
  color: rgba(255,255,255,0.85);
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 1px;
}

/* Footer link lists with arrow icons */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links-list li::before {
  content: '›';
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.footer-links-list a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer-links-list a:hover {
  color: #fff;
}

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card th,
.table-card td {
  text-align: left;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.table-card th {
  color: var(--primary);
  font-weight: 700;
}

.chart-card .claims-chart-wrapper {
  position: relative;
  height: 280px;
  min-height: 280px;
}

.chart-card canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hidden {
  display: none;
}

@media (max-width: 1024px) {
  .content-grid,
  .why-grid,
  .contact-split,
  .quote-page-grid,
  .products-layout,
  .showcase-hero {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-sidebar {
    position: static;
  }

  .showcase-cards,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .product-grid,
  .stats-grid,
  .features-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-divider {
    display: none;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem 1.3rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    padding-top: 3rem;
  }

  .features-grid,
  .product-grid,
  .stats-grid,
  .features-stack,
  .testimonials-grid,
  .showcase-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .navbar {
    gap: 0.6rem;
  }

  .brand img {
    width: 130px;
  }

  .nav-links {
    gap: 0.55rem;
    font-size: 0.82rem;
  }

  .nav-cta {
    padding-inline: 0.8rem;
  }
}

/* ══ Premium Calculator — Quote Modal ══════════════════════════ */
.quote-modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.quote-modal-backdrop.open { display: flex; }
.quote-modal {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.4rem 1.4rem;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.quote-modal-header h3 { margin: 0; font-size: 1.05rem; }
.quote-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--muted);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}
.quote-modal-close:hover { color: var(--text); background: #f0f0f0; }

.quote-modal .readonly-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1rem;
  background: #f4f7fb;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.55;
}
.quote-modal .readonly-summary strong { color: var(--primary); }

.quote-modal .form-grid { gap: 0.5rem; }
.quote-modal .form-grid .form-field { gap: 0.2rem; }
.quote-modal .form-grid .form-field label { font-size: 0.78rem; }
.quote-modal .form-grid .form-field input,
.quote-modal .form-grid .form-field textarea,
.quote-modal .form-grid .form-field select {
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 8px;
  width:100%;
}
.quote-modal .form-grid .form-field textarea { resize: none; }
.quote-modal .modal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.quote-modal-actions {
  display: grid;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
.quote-modal-actions .captcha-group {
  order: -1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.4rem 0.75rem;
}
.quote-modal-actions .captcha-group label { width: 100%; font-size: 0.78rem; margin: 0; }
.quote-modal-actions .captcha-group .captcha-question { font-size: 0.82rem; white-space: nowrap; }
.quote-modal-actions .captcha-spinner {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.35rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15rem;
  animation: spin 0.7s linear infinite;
}
.quote-modal-actions .captcha-error { color: #b42318; white-space: normal; }
.quote-modal-actions .captcha-input { width: 7rem; padding: 0.45rem 0.7rem; font-size: 0.85rem; border-radius: 8px; }
.quote-modal-actions #quoteModalCancel { margin-right: auto; }
.quote-modal-actions .btn {
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  align-self: end;
}
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.quote-modal .form-success,
.quote-modal .form-error { font-size: 0.82rem; padding: 0.5rem 0.75rem; margin-top: 0.5rem; }

/* ══ Premium Calculator — Card CTA ═════════════════════════════ */
.card-cta { margin-top: 1rem; width: 100%; cursor: pointer; font-size: 20px; padding: 0.5rem 0.5rem}

/* ══ Premium Calculator — Plan info icon ═══════════════════════ */
.card-info-btn {
  background: rgb(225 91 91);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 5px;
  height: 1.5rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  margin-left: 5px;
  margin-top: 0px;
}
.card-info-btn:hover { background: rgba(255,255,255,0.35); }

/* ══ Premium Calculator — Compare Modal ════════════════════════ */
.compare-modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.compare-modal-backdrop.open { display: flex; }
.compare-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  overflow: hidden;
}
.compare-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.compare-modal__head h3 { margin: 0; font-size: 1rem; color: var(--primary); }
.compare-modal__close {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; line-height: 1; color: var(--muted);
  padding: 0.1rem 0.3rem; border-radius: 4px;
}
.compare-modal__close:hover { color: var(--text); background: #f0f0f0; }
.compare-modal__body { overflow-y: auto; padding: 0 1.25rem 1.25rem; }

.plan-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.81rem;
}
.plan-compare-table th,
.plan-compare-table td {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  vertical-align: middle;
  text-align: center;
}
.plan-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--primary);
  background: #f4f7fb;
  white-space: nowrap;
}
.plan-compare-table thead th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: sticky;
  top: 0;
  z-index: 1;
}
.plan-compare-table thead th:first-child { background: #e8eef4; color: var(--primary); }
.plan-compare-table thead th.col-focus { background: linear-gradient(135deg, var(--accent), #1a6fa0); }
.plan-compare-table tbody tr:nth-child(even) td { background: #f9fbfd; }
.plan-compare-table tbody tr:nth-child(even) td:first-child { background: #f4f7fb; }
.plan-compare-table td.col-focus { background: #dff0fa !important; font-weight: 600; }
.plan-compare-table .tick { color: #1a9e5c; }
.plan-compare-table .cross { color: #c0392b; }
