:root{
  --navy:#07182b;
  --navy2:#0f2b4d;
  --ink:#111827;
  --muted:#5b6675;
  --paper:#f7f5f0;
  --white:#fff;
  --line:#ded8cc;
  --blue:#245fa8;
  --gold:#b7832f;
  --ok:#2b6f5e;
  --danger:#b24b42;
  --shadow:0 18px 42px rgba(7,24,43,.12);
}
*{box-sizing:border-box}
html{margin:0;padding:0;background:#06111f}
body{margin:0;padding:0}
body{
  font-family:Inter,Arial,sans-serif;
  background:#06111f;
  color:var(--ink);
  line-height:1.58;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1160px,calc(100% - 40px));margin:0 auto}

.header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(7,24,43,.96);
  color:#dbe7f4;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.brand{display:inline-flex;align-items:center;min-width:0}
.brand img{width:156px;height:auto}
.brand-mark,.brand-word{display:none}
nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
nav a{font-size:14px;font-weight:800;color:#dbe7f4}
nav a:hover{color:#fff}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border-radius:6px;
  border:1px solid transparent;
  background:var(--navy);
  color:#fff;
  font-weight:800;
  line-height:1.1;
  cursor:pointer;
  box-shadow:none;
}
.btn:hover{background:#0b223d;color:#fff}
.btn-primary,.btn.block{background:var(--navy);color:#fff}
.btn.ghost,.btn-secondary{background:transparent;border-color:#cfc6b7;color:var(--navy)}
.header .btn,.header .btn-primary{background:#fff;color:var(--navy)}
.header .btn.ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.22);color:#fff}
.btn.block{width:100%}

.section,.thankyou{padding:76px 0}
.section-dark-page,.section-dark{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,var(--navy) 0%,var(--navy2) 100%);
  color:#eaf1f8;
}
.section-dark-page:before,.section-dark:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,24,43,.95),rgba(7,24,43,.78),rgba(7,24,43,.42)),url("https://images.unsplash.com/photo-1563380362065-5a92d7d1c3a8?auto=format&fit=crop&w=1800&q=84") center/cover no-repeat;
  opacity:.68;
}
.service-hero:before{
  background:linear-gradient(90deg,rgba(7,24,43,.95),rgba(7,24,43,.78),rgba(7,24,43,.42)),url("https://images.unsplash.com/photo-1565891741441-64926e441838?auto=format&fit=crop&w=1800&q=84") center/cover no-repeat;
}
.region-hero:before{
  background:linear-gradient(90deg,rgba(7,24,43,.95),rgba(7,24,43,.78),rgba(7,24,43,.42)),url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1800&q=84") center/cover no-repeat;
}
.section-dark-page > .container,.section-dark > .container{position:relative;z-index:1}
.section-slate{background:var(--paper)}
.section-white{background:#fff}
.section-tight-top{padding-top:0}

h1,h2,h3,h4{font-family:Inter,Arial,sans-serif;line-height:1.07;margin:0;font-weight:700}
h1{font-size:clamp(40px,5.8vw,68px);max-width:12.5ch;color:#fff}
h2{font-size:clamp(30px,4vw,48px);color:var(--navy)}
h3{font-size:24px;color:var(--navy)}
.section-dark h2,.section-dark h3,.section-dark-page h1,.section-dark-page h2,.section-dark-page h3{color:#fff}
.kicker{
  display:block;
  color:#d7aa62;
  text-transform:none;
  letter-spacing:0;
  font-size:14px;
  font-weight:600;
  margin:0 0 16px;
}
.sub,.section-intro,.intro{font-size:18px;color:var(--muted);max-width:68ch;margin:16px 0 0}
.section-dark .sub,.section-dark-page .sub,.section-dark .section-intro,.section-dark-page .section-intro{color:#d5e3f1}

.page-hero,.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 430px;
  gap:38px;
  align-items:center;
}
.proof,.trust-row,.chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}
.proof span,.trust-row span,.chips span{
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.075);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.image-block,.photo{
  position:relative;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:var(--shadow);
  background:#0d233c;
}
.image-block img,.photo img{width:100%;height:430px;object-fit:cover}
.compact-image-block img{height:360px}
.image-block:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(7,24,43,.02),rgba(7,24,43,.72));
}
.image-caption{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:1;
  color:#dce9f6;
}
.image-caption strong{display:block;color:#fff;font-size:20px}
.image-caption p{margin:6px 0 0;color:#c5d5e6}

.two-col-layout,.story-grid,.provider-split,.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.story-card,.card,.provider-copy,.provider-panel,.quote-box,.panel,.metric,.fit{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:28px;
  box-shadow:var(--shadow);
}
.section-dark .card,.section-dark-page .card{
  color:var(--ink);
}
.section-dark .card h1,.section-dark .card h2,.section-dark .card h3,
.section-dark-page .card h1,.section-dark-page .card h2,.section-dark-page .card h3{
  color:var(--navy);
}
.section-dark .card .sub,.section-dark-page .card .sub,
.section-dark .card .list,.section-dark-page .card .list,
.section-dark .card li,.section-dark-page .card li{
  color:var(--muted);
}
.story-card p,.card p,.provider-copy p,.provider-panel p,.quote-box p,.panel p,.metric p{color:var(--muted)}
.story-list{display:grid;gap:12px;margin-top:18px}
.story-item{
  display:block;
  padding:14px;
  border:1px solid #e7e0d4;
  border-radius:6px;
  background:#fbfaf7;
}
.story-item strong{display:block;color:#17243a}
.story-item p{margin:4px 0 0;color:#657184;font-size:14px}
.cards,.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}
.step{
  padding:22px;
  border-radius:8px;
  background:#0d233c;
  color:#d7e4f2;
}
.step strong{display:block;color:#d7aa62;text-transform:uppercase;letter-spacing:1px;font-size:12px;margin-bottom:12px}
.step h3{color:#fff;font-size:22px}
.step p{color:#bbcadb;font-size:14px;margin:8px 0 0}

.eyebrow{
  display:inline-block;
  padding:7px 10px;
  border-radius:6px;
  background:#f0eadf;
  color:#8a5d1c;
  font-size:13px;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
  margin-bottom:12px;
}
form{display:grid;gap:12px;margin-top:18px}
input,select,textarea{
  width:100%;
  min-height:46px;
  padding:12px 13px;
  border-radius:6px;
  border:1px solid var(--line);
  background:#fbfaf7;
  color:#18263a;
  font:inherit;
}
textarea{min-height:122px;resize:vertical}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:#8aaed9;
  box-shadow:0 0 0 4px rgba(36,95,168,.13);
}
option{color:#18263a}
.small{font-size:13px;color:#657184}
.muted-inline{color:#6b7280}
.consent-line{display:block;line-height:1.45;margin:2px 0 4px}
.consent-line input{width:auto;min-height:0;margin-right:8px;transform:translateY(1px)}
.form-status{min-height:20px;margin:0;color:#5d6675}
.form-status.ok{background:rgba(43,111,94,.12);border:1px solid rgba(43,111,94,.25);color:#205647;padding:10px 12px;border-radius:6px}
.form-status.err{background:rgba(178,75,66,.1);border:1px solid rgba(178,75,66,.24);color:#8a342f;padding:10px 12px;border-radius:6px}

.smart-quote-card{grid-column:span 1}
.smart-quote-side{align-self:start}
.smart-disclaimer{margin:14px 0 0}
.compact-inputs input{min-width:0}
.smart-unit-toggle{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:2px 0;
}
.smart-unit-toggle label{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #e7e0d4;
  border-radius:6px;
  background:#fff;
  padding:10px 12px;
  color:#42506a;
  font-size:13px;
  font-weight:800;
}
.smart-unit-toggle input,
.smart-rate-choice input{width:auto;min-height:0}
.smart-results{
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:18px;
}
.smart-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.smart-summary-grid div{
  border:1px solid #e7e0d4;
  border-radius:6px;
  background:#fbfaf7;
  padding:12px;
  min-width:0;
}
.smart-summary-grid span{
  display:block;
  color:#657184;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.smart-summary-grid strong{
  display:block;
  color:#17243a;
  font-size:16px;
  margin-top:5px;
  overflow-wrap:anywhere;
}
.smart-summary-grid small{
  display:block;
  color:#657184;
  font-size:12px;
  font-weight:700;
  margin-top:2px;
}
.smart-billing-note{
  border:1px solid #d8e4dd;
  border-radius:6px;
  background:#f7fbf8;
  margin:12px 0 0;
  padding:10px 12px;
}
.smart-rate-list{
  list-style:none;
  margin:14px 0 0;
  padding:0;
  display:grid;
  gap:8px;
}
.smart-rate-list li{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px;
  border:1px solid #e7e0d4;
  border-radius:6px;
  background:#fff;
}
.smart-rate-list strong{color:#17243a}
.smart-rate-list span{color:#657184;text-align:right}
.smart-copy-to-request{margin-top:12px;width:100%}
.smart-dg-flag{
  margin-top:12px;
  border:1px solid #d8e4dd;
  border-radius:6px;
  background:#f7fbf8;
  padding:12px;
}
.smart-dg-flag.warn{
  border-color:#e4c6a1;
  background:#fff8ed;
}
.smart-dg-flag.stop,
.smart-restricted-box{
  border-color:#e3b4ae;
  background:#fff4f2;
}
.smart-dg-flag strong{
  display:block;
  color:#17243a;
}
.smart-dg-flag span{
  display:block;
  color:#5d6675;
  font-size:13px;
  line-height:1.45;
  margin-top:5px;
}
.smart-policy-box{
  margin-top:14px;
  border:1px solid #d8e4dd;
  border-radius:6px;
  background:#f7fbf8;
  padding:14px;
}
.smart-policy-box strong{color:#17243a}
.smart-policy-box p{margin:8px 0 0}
.smart-rate-choices{display:grid;gap:8px;margin-top:12px}
.smart-rate-choice{
  display:flex;
  align-items:flex-start;
  gap:10px;
  border:1px solid #e7e0d4;
  border-radius:6px;
  background:#fff;
  padding:10px;
  color:#17243a;
}
.smart-rate-choice span{display:grid;gap:3px}
.smart-rate-choice small{color:#657184}
.smart-checkout-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:14px;
}
.smart-checkout-grid>div{
  border:1px solid #e7e0d4;
  border-radius:6px;
  background:#fff;
  padding:14px;
}
.smart-checkout-grid input{margin-top:9px}
.smart-consent-preview{
  display:block;
  margin-top:10px;
  color:#42506a;
  font-size:13px;
  line-height:1.45;
}
.smart-consent-preview input{
  width:auto;
  min-height:0;
  margin-right:8px;
  transform:translateY(1px);
}
.smart-label-preview{margin-top:14px}
.demo-label{
  border:2px solid #17243a;
  border-radius:6px;
  background:#fff;
  color:#17243a;
  padding:18px;
  display:grid;
  gap:12px;
}
.demo-label span{
  display:block;
  color:#8a342f;
  font-size:12px;
  font-weight:900;
  letter-spacing:.5px;
}
.demo-label strong{font-size:18px}
.carrier-label-image{
  width:100%;
  max-height:5.55in;
  object-fit:contain;
  display:block;
}
.demo-barcode{
  border:1px dashed #17243a;
  padding:14px;
  text-align:center;
  font-family:monospace;
  font-size:20px;
  letter-spacing:2px;
}
.demo-label-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.demo-label-grid p{border:1px solid #e7e0d4;padding:12px;margin:0}
.label-print-overlay[hidden]{display:none}
.label-print-overlay{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  overflow:auto;
  padding:14px 14px calc(22px + env(safe-area-inset-bottom));
  background:#f7f3ec;
}
.label-print-sheet{
  width:min(100%,4in);
  background:#fff;
}
.label-print-sheet .demo-label{
  min-height:6in;
  border-color:#17243a;
  border-radius:0;
}
.label-print-controls{
  position:relative;
  z-index:2;
  width:min(100%,4in);
  display:grid;
  grid-template-columns:1fr 112px 80px;
  gap:10px;
  padding:0;
  background:#fff;
}
.label-print-controls-top{
  position:sticky;
  top:10px;
  padding:10px;
  border:1px solid #e7e0d4;
  border-radius:8px;
  box-shadow:0 8px 22px rgba(17,27,43,.12);
}
.label-print-controls .btn{
  margin:0;
  min-height:52px;
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(23,36,58,.18);
}
.label-print-controls a.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.label-print-status{
  width:min(100%,4in);
  margin:0;
  color:#42506a;
  text-align:center;
}

@media print{
  @page{size:4in 6in;margin:0}
  body.printing-label{
    margin:0!important;
    background:#fff!important;
  }
  body.printing-label > :not(.label-print-overlay){
    display:none!important;
  }
  body.printing-label .label-print-overlay{
    display:block!important;
    position:static!important;
    width:4in;
    height:6in;
    margin:0;
    padding:0;
    overflow:hidden;
    background:#fff!important;
  }
  body.printing-label .label-print-controls{
    display:none!important;
  }
  body.printing-label .label-print-sheet{
    width:4in;
    height:6in;
  }
  body.printing-label .label-print-overlay .demo-label{
    width:4in;
    height:6in;
    box-sizing:border-box;
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:.18in;
    color:#000;
    gap:.12in;
    page-break-after:avoid;
  }
  body.printing-label .label-print-overlay .demo-label span{
    color:#000;
  }
  body.printing-label .label-print-overlay .demo-label strong{
    font-size:16px;
  }
  body.printing-label .label-print-overlay .carrier-label-image{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:contain;
  }
  body.printing-label .label-print-overlay .demo-barcode{
    color:#000;
    border-color:#000;
    font-size:18px;
  }
}

.rfq-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}
.rfq-item,.service,.brand-pill{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:20px;
}
.rfq-item span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:6px;background:#e8f0f8;color:var(--blue);font-weight:900;margin-bottom:14px}
.rfq-item strong,.service strong,.brand-pill strong{display:block;color:var(--navy)}
.rfq-item p,.service span,.brand-pill span{display:block;color:var(--muted);font-size:14px;margin-top:6px}
.brand-band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}
.brand-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:14px;align-items:center}
.brand-copy{color:var(--muted)}
.comparison-table{margin-top:28px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.comparison-row{display:grid;grid-template-columns:.8fr 1.1fr 1.1fr;border-top:1px solid var(--line)}
.comparison-row:first-child{border-top:0}
.comparison-row span{padding:16px;color:#5d6675;border-left:1px solid var(--line)}
.comparison-row span:first-child{border-left:0;color:#17243a;font-weight:800}
.comparison-head{background:#f0eadf}
.comparison-head span{color:#17243a!important;text-transform:uppercase;letter-spacing:.8px;font-size:12px}
.mode-strip{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.mode-strip span{padding:9px 12px;border-radius:6px;background:#fff;border:1px solid var(--line);font-weight:800;font-size:13px;color:#17243a}

.thankyou{min-height:76vh;display:flex;align-items:center}
.thankyou-shell{max-width:760px;margin:0 auto;text-align:center}
.dark-thankyou-shell{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:8px;
  padding:42px 30px;
}
.thankyou-badge{width:56px;height:56px;border-radius:999px;margin:0 auto 14px;background:rgba(43,111,94,.12);color:var(--ok);display:grid;place-items:center;font-weight:900;font-size:28px;border:1px solid rgba(43,111,94,.25)}
.thankyou-shell h1{font-size:clamp(30px,4.2vw,44px);line-height:1.04;max-width:none;margin:8px 0 12px;color:var(--navy)}
.thankyou-shell .sub{max-width:60ch;margin:0 auto 20px;color:var(--muted);font-size:17px;line-height:1.55}
.thankyou-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

.footer{background:#06111f;color:#b8c8da;padding:34px 0}
.footer-grid-links,.footer-grid{display:grid;grid-template-columns:1.3fr .9fr .8fr;gap:24px}
.footer strong{display:block;color:#fff;margin-bottom:8px}
.footer a{color:#fff}
.footer-copy{color:#b8c8da;line-height:1.8}

@media(max-width:950px){
  .page-hero,.hero-grid,.two-col-layout,.story-grid,.provider-split,.grid-2,.grid-4,.cards,.metrics-grid,.process-grid,.rfq-grid,.brand-grid,.footer-grid-links,.footer-grid{grid-template-columns:1fr}
  .smart-summary-grid{grid-template-columns:repeat(2,1fr)}
  .smart-checkout-grid{grid-template-columns:1fr}
  h1{max-width:none}
  .section,.thankyou{padding:54px 0}
  .section-tight-top{padding-top:0}
  .image-block img,.compact-image-block img,.photo img{height:320px}
}
@media(max-width:700px){
  .container{width:min(100% - 28px,94%)}
  .header{position:sticky}
  .nav{align-items:flex-start;flex-direction:column;gap:9px;padding:11px 0}
  .brand img{width:126px}
  .nav nav{display:flex;gap:6px;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:1px;scrollbar-width:none}
  .nav nav::-webkit-scrollbar{display:none}
  .nav nav a{white-space:nowrap;flex:0 0 auto}
  .nav nav a:not(.btn){display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 10px;border:1px solid rgba(255,255,255,.11);border-radius:999px;text-align:center;background:rgba(255,255,255,.035);font-size:12px;line-height:1;color:#dbe7f4}
  .nav nav .btn{width:auto;min-height:32px;padding:7px 12px;border-radius:999px;font-size:12px}
  .hide-sm{display:inline-flex!important}
  .section,.thankyou{padding:42px 0}
  .section-dark-page:before,.section-dark:before{background:linear-gradient(180deg,rgba(7,24,43,.92),rgba(7,24,43,.72)),url("https://images.unsplash.com/photo-1563380362065-5a92d7d1c3a8?auto=format&fit=crop&w=1100&q=80") center/cover no-repeat;opacity:1}
  .service-hero:before{background:linear-gradient(180deg,rgba(7,24,43,.92),rgba(7,24,43,.72)),url("https://images.unsplash.com/photo-1565891741441-64926e441838?auto=format&fit=crop&w=1100&q=80") center/cover no-repeat}
  .region-hero:before{background:linear-gradient(180deg,rgba(7,24,43,.92),rgba(7,24,43,.72)),url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1100&q=80") center/cover no-repeat}
  h1{font-size:clamp(34px,10.6vw,44px);line-height:1.06}
  h2{font-size:clamp(28px,9vw,40px)}
  .kicker{font-size:14px;letter-spacing:0;margin-bottom:12px}
  .sub,.section-intro,.intro{font-size:16px}
  .proof,.trust-row,.chips,.thankyou-actions{flex-direction:column;align-items:stretch}
  .proof span,.trust-row span,.chips span{text-align:center}
  .story-card,.card,.provider-copy,.provider-panel,.quote-box,.panel,.metric,.fit,.dark-thankyou-shell{padding:20px}
  .btn{width:100%}
  input,select,textarea,button{font-size:16px}
  .comparison-row{grid-template-columns:1fr}
  .comparison-row span{border-left:0;border-top:1px solid var(--line)}
  .comparison-row span:first-child{border-top:0;background:#fbfaf7}
  .footer{padding-bottom:38px}
  .smart-summary-grid{grid-template-columns:1fr}
  .smart-rate-list li{display:block}
  .smart-rate-list span{text-align:left;display:block;margin-top:4px}
}

/* Unified calculator/footer mobile fix */
.footer {
  padding: 42px 0 34px;
}

.footer-grid,
.footer-grid-links {
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, .85fr));
  gap: 28px 38px;
  align-items: start;
}

.footer-brand,
.footer-col {
  min-width: 0;
}

.footer-brand p,
.footer-copy {
  max-width: 32rem;
  line-height: 1.65;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact a {
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 232, 251, .14);
  color: #9db0c8;
  font-size: 13px;
}

.calc-trust-footer {
  padding: 34px 0;
  background: #061334 !important;
  color: #d8e4f4;
}

.calc-trust-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, .85fr));
  gap: 28px 38px;
  align-items: start;
}

.calc-trust-footer .footer-brand,
.calc-trust-footer .footer-col {
  min-width: 0;
}

.calc-trust-footer strong {
  display: block;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 900;
}

.calc-trust-footer p {
  color: #c4d3e6;
  line-height: 1.65;
  margin: 0;
  max-width: 32rem;
}

.calc-trust-footer .footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.calc-trust-footer a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: #d8e8fb;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.calc-trust-footer .footer-contact a {
  color: #fff;
  font-weight: 800;
}

.calc-trust-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 232, 251, .14);
  color: #9db0c8;
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer-grid,
  .footer-grid-links,
  .calc-trust-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col,
  .calc-trust-footer .footer-col {
    gap: 10px;
  }

  .footer a,
  .calc-trust-footer a {
    display: flex;
  }

  .footer-bottom,
  .calc-trust-footer .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 24px;
  }
}

/* Final compact footer shared by calculator and public pages */
.footer.footer-compact {
  padding: 24px 0;
  background: #061334 !important;
  color: #d8e4f4;
}

.footer-compact .footer-compact-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) auto minmax(340px, 1.4fr);
  gap: 22px 30px;
  align-items: center;
}

.footer-compact .footer-brand {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-compact .footer-brand strong {
  color: #fff;
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.footer-compact .footer-brand span {
  color: #b8c8da;
  font-size: 13px;
  line-height: 1.35;
}

.footer-compact .footer-contact-line {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-compact .footer-contact-line a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-compact .footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-compact .footer-links a {
  color: #c4d3e6;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-compact .footer-links a:hover,
.footer-compact .footer-contact-line a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-compact .footer-compact-row {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .footer-compact .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .footer.footer-compact {
    padding: 20px 0 24px;
  }

  .footer-compact .footer-brand span,
  .footer-compact .footer-contact-line a,
  .footer-compact .footer-links a {
    font-size: 12px;
  }

  .footer-compact .footer-contact-line {
    gap: 8px 12px;
  }

  .footer-compact .footer-links {
    gap: 8px 12px;
  }
}
