  :root {
    --teal: #0f586e;
    --teal-dark: #0b4555;
    --sky: #17b3e4;
    --sky-soft: #e8f7fc;
    --pink: #D81671;
    --pink-dark: #b8145f;
    --amber: #FBBF24;
    --ink: #1a1a1a;
    --slate: #475569;
    --muted: #6B7280;
    --line: #E5E7EB;
    --bg: #FAFBFC;
    --card: #FFFFFF;
    --green: #10B981;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(15,88,110,.06), 0 1px 3px rgba(15,88,110,.08);
    --shadow-md: 0 4px 16px rgba(15,88,110,.10);
    --shadow-lg: 0 18px 50px rgba(11,69,85,.22);

    /* ── FIFA widget color vars (added so transplanted CSS resolves) ── */
    --cyan: #17b3e4;
    --cyan-hover: #1496c7;
    --cyan-soft: #e8f7fc;
    --magenta: #d81671;
    --magenta-hover: #c01060;
    --white: #ffffff;
    --line-light: #F3F4F6;
    --light: #9CA3AF;
    --body: #374151;
    --navy: #0f2137;
    --hero-bg: #E2F1F9;
  }

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

  html { scroll-behavior: smooth; }

  /* Prevent any element from causing horizontal scroll (esp. on mobile/tablet) */
  html, body { max-width: 100%; overflow-x: hidden; }

  body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

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

  .wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; font-weight: 900; font-size: 15px;
    text-transform: uppercase; letter-spacing: .06em;
    padding: 15px 28px; border-radius: 12px; border: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff; box-shadow: 0 8px 22px rgba(216,22,113,.32);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(216,22,113,.42); }
  .btn-ghost {
    background: #fff; color: var(--teal); border: 2px solid var(--line);
  }
  .btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
  .btn-block { width: 100%; }

  /* ── h1 base ── */
  h1 {
    font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.025em;
    font-weight: 900; color: var(--teal); margin-bottom: 18px;
  }
  h1 .hl { color: var(--pink); }

  /* ════════════════════════════════════════════════════════════════
     TRANSPLANTED FROM FIFA VTC LANDING — Hero (image-led) + embedded
     travel insurance quote widget (.tiw) + hero-bar / results-section.
     ════════════════════════════════════════════════════════════════ */

/* ── Hero (premium image-led) ── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(8,40,52,.92) 0%, rgba(11,69,85,.80) 42%, rgba(11,69,85,.45) 100%),
    url("hero-bg.jpg");
  background-size: cover;
  background-position: center 38%;
  padding: 84px 0 88px;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}
.hero-text {
  flex: 1;
  padding: 6px 0;
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.30);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 34em;
}
@media (max-width: 860px){
  .hero { padding: 56px 0 60px; background-position: center 30%; }
  .hero .container { flex-direction: column; gap: 32px; }
  .hero-text { max-width: 100%; }
  .hero-widget { width: 100%; }
}

/* ── TRAVEL INSURANCE WIDGET (scoped under .tiw) ── */
.tiw .tiw-widget {
  background: #FFFFFF;
  border-radius: 14px;
  margin: 0 auto;
  box-shadow: 0 18px 48px rgba(15, 33, 55, 0.20);
  overflow: hidden;
}
.tiw .widget-header {
  background: linear-gradient(180deg, #e8f6fa 0%, #ffffff 100%);
  padding: 12px 26px 8px;
  border-bottom: 1px solid #EEF2F5;
}
.tiw .widget-title { font-size: 20px; font-weight: 900; color: var(--teal); letter-spacing: -0.01em; }
.tiw .widget-subtitle { font-size: 14px; color: var(--muted); }

/* ── Compact form-grid: bordered cells in explicit tidy rows ── */
.tiw .grid-row { display: grid; border-bottom: 1px solid #EEF2F5; }
.tiw .grid-row:last-child { border-bottom: none; }
/* Row 1: Plan · Age · Deductible · Smoking */
.tiw .grid-row-1 { grid-template-columns: 1.1fr 0.8fr 1fr 1fr; }
/* Row 2 (single trip): Dates(wide) · Days · Destination · Stopover */
.tiw .grid-row-single { grid-template-columns: 1.8fr 1fr 1fr; }
/* Row 2 (multi trip): Start · End (auto) · Trip Duration Range */
.tiw .grid-row-multi { grid-template-columns: 1fr 1fr 1.2fr; }
.tiw .form-grid > .grid-row > .field {
  min-width: 0;
  padding: 10px 22px;
  border-right: 1px solid #EEF2F5;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.tiw .form-grid > .grid-row > .field:last-child { border-right: none; }
.tiw .form-grid > .grid-row > .field:hover { background: #F8FAFC; }
/* Fields whose whole cell opens the control's native picker on click (see script.js
   bindFieldPicker) get a pointer cursor as an affordance, not just the control itself. */
.tiw .form-grid > .grid-row > .field:has(> .field-select),
.tiw .form-grid > .grid-row > .field:has(> input[type="date"]) { cursor: pointer; }

.tiw .field-label {
  font-size: 12px; font-weight: 800; color: #334155;
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tiw .field-label .lbl-note { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--light); }
.tiw .field-req { color: var(--magenta); }

.tiw .field-input, .tiw .field-select {
  padding: 0; border: none; border-radius: 0;
  font-size: 16px; font-weight: 600; color: var(--ink);
  background: transparent; font-family: inherit; width: 100%;
  line-height: 1.2; outline: none;
}
.tiw .field-input::placeholder { color: #B7C2CC; font-weight: 500; }
.tiw .field-input[readonly] { color: var(--muted); cursor: default; }
.tiw .field-input[readonly]:focus { color: var(--muted); }
.tiw .field-readnote { font-size: 11px; color: var(--light); font-weight: 600; margin-top: 3px; }
.tiw select.field-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%2394A3B8' stroke-width='2'><path d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat; background-position: right 0 center;
}
.tiw .field-input:focus, .tiw .field-select:focus { color: var(--teal); }
.tiw .field-input.invalid { color: var(--magenta); }
.tiw .field.invalid { background: #FEF2F4; }

/* ── Custom <ul><li> dropdown (mobile only; mirrors a native select) ── */
.tiw .ui-select { position: relative; width: 100%; }
.tiw .ui-select-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: transparent; border: none; padding: 0; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; line-height: 1.2; }
.tiw .ui-select-btn .ui-caret { width: 12px; height: 7px; flex-shrink: 0; transition: transform .18s; }
.tiw .ui-select.open .ui-select-btn .ui-caret { transform: rotate(180deg); }
.tiw .ui-select-list { position: absolute; top: calc(100% + 8px); left: -8px; right: -8px; z-index: 200; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid #E2EAEF; border-radius: 12px; box-shadow: 0 14px 34px rgba(15,33,55,.16); max-height: 260px; overflow-y: auto; display: none; }
.tiw .ui-select.open .ui-select-list { display: block; }
.tiw .ui-select-list li { padding: 11px 14px; font-size: 15px; font-weight: 600; color: var(--body); border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.tiw .ui-select-list li:hover { background: #F4FAFC; }
.tiw .ui-select-list li[aria-selected="true"] { color: var(--teal); background: #EAF8FD; }
.tiw .ui-select-list li[aria-selected="true"]::after { content: "✓"; color: var(--cyan, #17b3e4); font-weight: 800; }
.tiw .ui-select-list li[disabled] { color: var(--light); cursor: default; }
.tiw .ui-select-list li[disabled]:hover { background: transparent; }

/* Date range inside one cell — native calendar pickers (type="date") */
.tiw .date-range { display: flex; align-items: center; gap: 8px; }
.tiw .date-range input {
  padding: 0; border: none; background: transparent; font-family: inherit;
  font-size: 16px; font-weight: 600; color: var(--ink);
  flex: 1; min-width: 0; outline: none;
}
.tiw .date-range input::placeholder { color: #B7C2CC; font-weight: 500; }
.tiw .date-range .date-sep { color: #94A3B8; font-weight: 700; flex-shrink: 0; }
.tiw .date-range input:focus { color: var(--teal); }
.tiw input[type="date"] { cursor: pointer; }
.tiw input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.tiw input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.tiw input[type="date"]::-webkit-date-and-time-value { cursor: pointer; }

/* Smoking — big card-style selectable buttons, side by side */
.tiw .radio-group { display: flex; gap: 10px; align-self: stretch; }
.tiw .radio-opt {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 12px; cursor: pointer; user-select: none;
  font-size: 15px; font-weight: 700; color: var(--body);
  background: #fff; border: 1.5px solid #D6DEE2; border-radius: 10px;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.tiw .radio-opt:hover { border-color: #B7C7CF; }
.tiw .radio-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.tiw .radio-opt:has(input:checked) {
  border-color: var(--cyan, #17b3e4); background: var(--sky-soft, #e8f7fc); color: var(--teal);
  box-shadow: 0 0 0 1px var(--cyan, #17b3e4) inset;
}
.tiw .radio-opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(23,179,228,.20); }

/* ── Extras row: add-traveller + submit ── */
.tiw .form-extras { padding: 10px 26px 13px; }
.tiw .form-extras-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.tiw .form-extras-toolbar .actions-row { margin-top: 0; flex-shrink: 0; }
.tiw .extra-travellers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tiw .extra-travellers:empty { display: none; }
.tiw .extra-cell { display: flex; gap: 6px; align-items: center; }
.tiw .extra-cell .age-field {
  width: 132px; padding: 8px 12px; height: 38px;
  border: 1px solid #D1D5DB; border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; font-family: inherit; outline: none;
}
.tiw .extra-cell .age-field::placeholder { color: #B7C2CC; font-weight: 500; }
.tiw .extra-cell .age-field:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(23,179,228,.15); }
.tiw .extra-remove {
  width: 30px; height: 30px; border-radius: 6px; border: 1px solid #E5E7EB;
  background: #fff; color: #9CA3AF; font-size: 17px; cursor: pointer; line-height: 1; font-family: inherit;
}
.tiw .extra-remove:hover { color: var(--magenta); border-color: var(--magenta); }
.tiw .add-traveller-link {
  background: transparent; border: none; color: var(--cyan);
  font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 5px;
}
.tiw .add-traveller-link:hover:not(:disabled) { color: var(--teal); text-decoration: underline; }
.tiw .add-traveller-link:disabled { opacity: .4; cursor: not-allowed; }
.tiw .add-icon { font-size: 16px; line-height: 1; }
.tiw .max-warning { font-size: 11px; color: var(--magenta); margin-top: 8px; display: none; font-weight: 700; }
.tiw .max-warning.show { display: block; }

.tiw .actions-row {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 20px; margin-top: 6px; flex-wrap: wrap;
}
.tiw .checkbox-row { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.tiw .checkbox-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--body); cursor: pointer; }
.tiw .checkbox-item input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--cyan); }
.tiw .checkbox-item .muted { color: #9CA3AF; font-size: 11px; }
.tiw .actions-cta { display: flex; gap: 10px; flex-shrink: 0; }
.tiw .btn-primary {
  background: var(--magenta); color: white; padding: 0 30px; height: 46px; min-width: 200px;
  border-radius: 8px; font-size: 14px; font-weight: 800; border: none; cursor: pointer; font-family: inherit;
  text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 4px 14px rgba(216,22,113,.28);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
.tiw .btn-primary:hover {
  background: #fff; color: var(--magenta); border: 1.5px solid var(--magenta);
  transform: translateY(-1px); box-shadow: 0 6px 18px rgba(216,22,113,.18);
}
.tiw .btn-primary::after { content: "\2192"; font-size: 16px; }
.tiw .btn-secondary {
  background: #fff; color: var(--teal); padding: 0 20px; height: 46px;
  border-radius: 8px; font-size: 13px; font-weight: 800; border: 1.5px solid #CBD9E0; cursor: pointer;
  font-family: inherit; text-transform: uppercase; letter-spacing: .04em; transition: all .15s; white-space: nowrap;
}
.tiw .btn-secondary:hover { border-color: var(--teal); background: #F4FAFC; }
.tiw .error-msg { color: var(--magenta); font-size: 11px; margin-top: 3px; display: none; font-weight: 600; }
.tiw .error-msg.show { display: block; }

/* ── RESULTS (shell — populated by the quote API) ── */
.results-section { padding: 26px 0 40px; }
.results-section .tiw { width: min(calc(100vw - 48px), 1200px); max-width: 1200px; margin: 0 auto; }
@media (max-width: 560px) { .results-section .tiw { width: calc(100vw - 24px); } }
.tiw .results { display: none; }
.tiw .results.visible { display: block; }
.tiw .providers-wrap { background: #F3F4F6; border-radius: 14px; box-shadow: 0 10px 34px rgba(15,33,55,.08); }
.tiw #providerList { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.tiw .results-heading { padding: 22px 22px 0; }
.tiw .results-heading h3 { font-size: 20px; font-weight: 900; color: var(--teal); }
.tiw .results-heading p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.tiw .provider-row { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.tiw .provider-row:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); border-color: #D1D5DB; }
/* Stacked card: top band (company | price+buy) then benefits below */
.tiw .provider-card { padding: 24px 30px; display: flex; flex-direction: column; }
.tiw .provider-top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #EEF2F5;
}
/* In 3-column desktop mode provider-top is display:contents — drop its divider */
@media (min-width: 761px) {
  .tiw .provider-top { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
}
.tiw .provider-company { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 7px; min-width: 0; }
.tiw .provider-company img { max-width: 170px; max-height: 54px; object-fit: contain; }
.tiw .provider-plan-name { font-size: 14px; font-weight: 700; color: #475569; }
.tiw .provider-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.tiw .provider-rating .stars { color: #f5a623; display: inline-flex; align-items: center; gap: 1px; }
.tiw .provider-rating .star-svg { width: 15px; height: 15px; display: block; }
.tiw .provider-action { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.tiw .provider-price { font-size: 42px; font-weight: 900; color: var(--magenta); line-height: 1; letter-spacing: -1px; }
.tiw .price-suffix { font-size: 0.42em; font-weight: 900; margin-left: 2px; }
.tiw .price-upfront { font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: right; margin-bottom: 4px; }
.tiw .btn-buy {
  background: var(--magenta); color: white; padding: 12px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 800; border: none; cursor: pointer; font-family: inherit;
  transition: background .15s; width: 100%; min-width: 0; text-transform: uppercase; letter-spacing: .5px;
}
.tiw .btn-buy:hover { background: var(--magenta-hover); }
.tiw .btn-advisor {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; min-width: 0; padding: 11px 16px; border-radius: 8px;
  background: #fff; color: var(--teal); border: 1.5px solid #CBD9E0;
  font-size: 13px; font-weight: 800; font-family: inherit; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.tiw .btn-advisor svg { width: 14px; height: 14px; flex-shrink: 0; }
.tiw .btn-advisor:hover { border-color: var(--teal); background: #F4FAFC; }
.tiw .provider-benefits { min-width: 0; }
.tiw .benefits-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-bottom: 16px; }
.tiw .benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; text-align: left; }
.tiw .benefit-item { font-size: 14px; line-height: 1.45; color: var(--body); text-align: left; }
.tiw .benefit-item .bi-text strong { display: block; color: var(--ink); font-weight: 700; font-size: 14px; margin-bottom: 1px; }
.tiw .benefit-item .bi-text span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 620px) { .tiw .benefit-grid { grid-template-columns: 1fr; } }

/* Desktop: 3-column card — logo/rating | benefits (middle) | price+buy (right) */
@media (min-width: 761px) {
  .tiw .provider-card { display: grid; grid-template-columns: 180px minmax(0,1fr) 168px; gap: 34px; align-items: center; }
  .tiw .provider-top { display: contents; }             /* company + action become grid items */
  .tiw .provider-company { order: 0; align-items: center; text-align: center; }
  .tiw .provider-benefits { order: 1; }                 /* benefits sit in the middle column */
  .tiw .provider-action { order: 2; }
  .tiw .benefit-grid { gap: 12px 24px; }
}

/* Spinner for the results loading state */
@keyframes ty-spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Two columns per row on tablet — keep only the vertical divider between the pair */
  .tiw .grid-row-1, .tiw .grid-row-single { grid-template-columns: 1fr 1fr; }
  .tiw .form-grid > .grid-row > .field:nth-child(2n) { border-right: none; }
}
@media (max-width: 760px) {
  .tiw .actions-row { flex-direction: column; align-items: stretch; }
  .tiw .actions-cta { flex-direction: column; }
  .tiw .btn-primary, .tiw .btn-secondary { width: 100%; min-width: 0; }
  .tiw .provider-top { flex-direction: column; align-items: center; gap: 16px; }
  .tiw .provider-company { align-items: center; text-align: center; }
  .tiw .provider-action { align-items: center; width: 100%; }
  .tiw .provider-price { align-self: center; text-align: center; }
  .tiw .price-upfront { text-align: center; align-self: center; }
  .tiw .btn-buy, .tiw .btn-advisor { max-width: 340px; }
  /* Phone number is a primary mobile CTA — match the Buy button's weight */
  .tiw .btn-advisor { font-size: 16px; padding: 13px 20px; gap: 9px; }
  .tiw .btn-advisor svg { width: 17px; height: 17px; }
  .tiw .benefit-grid { grid-template-columns: 1fr; }
}
/* ── Mobile form: 2 fields per row, no busy grid lines — just row separators ── */
@media (max-width: 560px) {
  /* Let custom dropdowns overflow the widget instead of being clipped */
  .tiw .tiw-widget { overflow: visible; }
  .tiw .widget-header { padding: 14px 18px 10px; border-top-left-radius: 14px; border-top-right-radius: 14px; }
  .tiw .form-grid > .grid-row { grid-template-columns: 1fr 1fr !important; align-items: start; }
  .tiw .form-grid > .grid-row > .field { padding: 11px 16px; border-right: none; justify-content: flex-start; }
  .tiw .form-grid > .grid-row > .field.span-full { grid-column: 1 / -1; }

  /* Row 1 on mobile: Plan Type full-width, then DOB + Deductible paired, then Smoking */
  .tiw .grid-row-1 > .field:first-child { grid-column: 1 / -1; }
  /* Smoking gets its own full-width row so the two options never wrap mid-word */
  .tiw .form-grid > .grid-row > .field:has(.radio-group) { grid-column: 1 / -1; }
  .tiw .radio-group { gap: 8px; }
  .tiw .radio-opt { min-height: 42px; font-size: 14px; padding: 8px 10px; white-space: nowrap; }
}
@media (max-width: 360px) {
  /* Native date inputs enforce their own rendering-level minimum width,
     which CSS min-width can't shrink further — stack them instead of
     forcing two side by side into a viewport too narrow to fit both. */
  .tiw .date-range { flex-wrap: wrap; gap: 4px 0; }
  .tiw .date-range input { flex: 1 1 100%; }
  .tiw .date-range .date-sep { display: none; }
}

/* ════════════════════════════════════════════
   RESTRUCTURE — WIDGET BAR STRADDLES THE HERO EDGE
   ════════════════════════════════════════════ */

/* Hero: single centered column; widget bar straddles its bottom edge */
.hero { overflow: visible; padding: 56px 0 150px; }
.hero .container { flex-direction: column; align-items: stretch; gap: 0; }
.hero-text { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 0 28px; }
.hero-text .hero-eyebrow { margin-left: auto; margin-right: auto; margin-bottom: 16px; }
.hero-text h1 { margin-bottom: 14px; }
.hero-lead { margin: 0 auto 16px; }
.hero-bar-wrap { position: relative; z-index: 3; margin-top: -150px; }
.hero-bar-wrap .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hero-bar {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-bar .tiw { width: 100%; }
@media (max-width: 760px) {
  /* Hero bottom padding must track the widget's pull-up, or the gap reopens */
  .hero { padding: 44px 0 90px; }
  .hero-text { padding-bottom: 20px; }
  .hero-bar-wrap { margin-top: -60px; }
  .hero-bar-wrap .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 36px 0 56px; }
  .hero-text { padding-bottom: 16px; }
  .hero-bar-wrap { margin-top: -30px; }
}

/* Compact the widget ~20% shorter (tighter vertical rhythm) */
.tiw .widget-header { padding: 11px 24px 6px; }
.tiw .form-grid > .field { padding: 13px 22px; }
.tiw .form-extras { padding: 10px 24px 12px; }
.tiw .field-label { margin-bottom: 6px; }
.tiw .actions-row .btn-primary { height: 46px; }

/* ── Hero background: overlay for text contrast over the background image ── */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,rgba(8,40,52,.94),rgba(11,69,85,.82) 42%,rgba(11,69,85,.3));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
@media (max-width: 860px){ .hero { background-position: center 40%; } }

.error-msg { color: #D81671; font-size: 11px; margin-top: 4px; }

@media (max-width:767px){
  .hero-bar .tiw-widget {
    max-width: 100%;
    margin: 20px auto 0 auto;
    box-shadow: 0 8px 24px rgba(8, 40, 52, 0.12);
  }
  #resultsSection,
  #quote-top {
    scroll-margin-top: 60px;
  }
}

#resultsSection,
#quote-top {
  scroll-margin-top: 120px;
}
