/* Global Cargo Connection BC
   Layout idea: a shipping-manifest look. Left-aligned columns on cool paper,
   real cargo photography under navy overlays, one "certificate" object in the hero,
   deep petrol bands for proof, amber only for actions. Photos: Pexels. */

:root {
  --ink: #0f2533;
  --petrol: #194b66;
  --petrol-deep: #123a50;
  --paper: #f3f5f4;
  --card: #ffffff;
  --rule: #cdd7db;
  --muted: #4b6170;
  --signal: #e9b127;
  --signal-hover: #f3c24a;
  --on-dark: #e8eff2;
  --on-dark-muted: #a9bfca;
  --ok: #1f7a4d;
  --error: #b42318;

  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 3vw, 2.25rem);
  --step-4: clamp(2.25rem, 4.4vw, 3.4rem);

  --radius-sm: 4px;
  --radius: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-deep); }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 8px 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--body); font-size: var(--step-0); font-weight: 700; line-height: 1.2;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: var(--signal-hover); color: var(--ink); }
.btn-outline-light { border-color: rgba(232, 239, 242, 0.55); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { border-color: var(--on-dark); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-outline:hover { background: var(--petrol); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #dfe5e8;
  box-shadow: 0 1px 12px rgba(15, 37, 51, 0.05);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; flex: none; }
.brand-logo { height: 42px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--petrol); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone svg { width: 20px; height: 20px; color: #1f8f4e; }
.header-phone:hover { color: var(--petrol); }
.header-cta { min-height: 42px; padding: 8px 18px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid #c6d1d6; color: var(--ink);
  border-radius: var(--radius-sm); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 1040px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-row { min-height: 68px; }
  .brand-logo { height: 36px; }
  .site-header.nav-open .main-nav {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid #dfe5e8; box-shadow: 0 12px 24px rgba(15, 37, 51, 0.12);
    padding: 8px var(--gutter) 20px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 0; }
  .site-header.nav-open .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
}
@media (max-width: 380px) { .brand-logo { height: 31px; } }

/* Hero */
.hero { background: var(--petrol-deep); color: var(--on-dark); padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 8vw, 120px); position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 44, 61, 0.97) 0%, rgba(14, 44, 61, 0.9) 42%, rgba(14, 44, 61, 0.55) 100%);
}
@media (max-width: 900px) { .hero::before { background: linear-gradient(180deg, rgba(14, 44, 61, 0.92) 0%, rgba(14, 44, 61, 0.86) 100%); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero-sub { margin-top: 20px; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; letter-spacing: -0.01em; color: #f3c24a; }
.hero-lede { margin-top: 12px; font-size: var(--step-1); line-height: 1.5; color: #d5e1e7; max-width: 48ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; color: var(--on-dark-muted); font-size: var(--step--1); }
.hero-note a { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }

/* The certificate object */
.cert {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(5, 20, 30, 0.45);
  padding: 22px 24px 20px;
  margin: 0;
  position: relative;
}
.cert-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cert-kind { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.cert-tag { font-size: 0.8rem; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.cert-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 20px 0 18px; }
.cert-city { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; }
.cert-city span { display: block; font-family: var(--body); font-weight: 500; font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.cert-city.dest { text-align: right; }
.cert-line { height: 2px; background-image: linear-gradient(90deg, var(--petrol) 50%, transparent 50%); background-size: 12px 2px; position: relative; }
.cert-line::before, .cert-line::after { content: ""; position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; }
.cert-line::before { left: -2px; background: var(--petrol); }
.cert-line::after { right: -2px; background: var(--signal); box-shadow: 0 0 0 3px rgba(233, 177, 39, 0.25); }
.cert-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0; }
.cert-fields div { border-top: 1px solid var(--rule); padding-top: 8px; }
.cert-fields dt { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.cert-fields dd { margin: 2px 0 0; font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.cert-foot {
  /* perforated tear line, like a ticket stub */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--rule);
}
.cert-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.cert-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.cert-insurer { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.cert-insurer b { display: block; color: var(--ink); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cert { transform: none; max-width: 520px; }
}
@media (max-width: 420px) {
  .cert { padding: 18px 16px; }
  .cert-city { font-size: 1.4rem; }
  .cert-fields { grid-template-columns: 1fr; }
}

/* Credentials strip */
.creds { background: var(--card); border-bottom: 1px solid var(--rule); }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creds li { padding: 22px 20px 22px 0; display: grid; gap: 2px; align-content: start; }
.creds li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.creds strong { font-family: var(--display); font-size: 1.06rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: var(--petrol); }
.creds span { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
@media (max-width: 860px) {
  .creds ul { grid-template-columns: 1fr 1fr; }
  .creds li { padding: 18px 16px 18px 0; }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 460px) {
  .creds ul { grid-template-columns: 1fr; }
  .creds li, .creds li + li { padding: 14px 0; border-left: 0; }
  .creds li + li { border-top: 1px solid var(--rule); }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section-dark { background: var(--petrol); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: var(--on-dark); }

/* Liability gap + calculator */
.gap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gap-copy { display: grid; gap: 16px; }
.gap-copy p { font-size: var(--step-1); line-height: 1.55; max-width: 52ch; }
.gap-copy .law { font-size: var(--step--1); color: var(--on-dark-muted); border-left: 3px solid var(--signal); padding-left: 14px; line-height: 1.5; }
.calc { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.calc h3 { font-size: var(--step-2); color: var(--ink); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 20px; }
.calc-out { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; gap: 14px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-row span { color: var(--muted); font-size: 0.98rem; }
.calc-row strong { font-family: var(--display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.uncovered strong { color: var(--error); }
.calc-bar { height: 14px; background: #f6dcd9; border-radius: 999px; overflow: hidden; }
.calc-bar i { display: block; height: 100%; background: var(--petrol); border-radius: 999px; min-width: 4px; transition: width 0.25s ease; }
.calc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; color: var(--muted); }
.calc-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.calc-legend .k-cov::before { background: var(--petrol); }
.calc-legend .k-unc::before { background: #f6dcd9; border: 1px solid #e3aaa3; }
.calc-note { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.calc .btn { margin-top: 4px; width: 100%; }
@media (max-width: 900px) { .gap-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .calc-inputs { grid-template-columns: 1fr; } }

/* Form controls (shared) */
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #b9c6cc; border-radius: var(--radius-sm);
  padding: 11px 12px; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(25, 75, 102, 0.2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field .error { color: var(--error); font-size: 0.88rem; font-weight: 500; display: none; }
.field.has-error .error { display: block; }
.input-affix { display: flex; }
.input-affix span { display: flex; align-items: center; padding: 0 12px; background: var(--paper); border: 1.5px solid #b9c6cc; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); font-weight: 600; }
.input-affix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Services */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.svc-group h3 { font-size: var(--step-2); padding-bottom: 12px; border-bottom: 3px solid var(--petrol); }
.svc-group > p { color: var(--muted); margin-top: 10px; }
.svc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.svc-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.svc-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(25, 75, 102, 0.08); color: var(--petrol); display: grid; place-items: center; }
.svc-icon svg { width: 24px; height: 24px; }
.svc-list h4 { margin: 0; font-family: var(--display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.svc-list p { margin-top: 4px; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* Audiences */
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.aud-grid article { padding: 24px 22px 8px 0; display: grid; gap: 10px; align-content: start; }
.aud-grid article + article { padding-left: 22px; border-left: 1px solid var(--rule); }
.aud-grid h3 { font-size: var(--step-1); }
.aud-grid p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 960px) {
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .aud-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .aud-grid article:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .aud-grid article { padding-bottom: 24px; }
}
@media (max-width: 520px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud-grid article, .aud-grid article + article { padding: 20px 0; border-left: 0; }
  .aud-grid article + article { border-top: 1px solid var(--rule); }
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
  background: var(--signal); color: var(--ink);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: 52px; right: -12px; height: 2px;
  background-image: linear-gradient(90deg, rgba(232, 239, 242, 0.45) 50%, transparent 50%); background-size: 10px 2px;
}
.steps p { color: var(--on-dark); line-height: 1.5; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .steps li { padding-top: 0; padding-left: 56px; }
}

/* Claims (siniestros) */
.claims { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.claims-copy { display: grid; gap: 18px; }
.claims-copy h2 { max-width: 18ch; }
.claims-copy > p { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 52ch; }
.claims-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.claim-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: 0 18px 40px rgba(15, 37, 51, 0.08); }
.claim-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; padding-bottom: 14px; border-bottom: 2px dashed var(--rule); }
.claim-steps { list-style: none; margin: 0; padding: 0; counter-reset: cs; }
.claim-steps > li { counter-increment: cs; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 20px 0 4px; }
.claim-steps > li::before {
  content: counter(cs); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; background: var(--petrol); color: #fff;
}
.claim-steps > li:last-child::before { background: var(--signal); color: var(--ink); }
.claim-steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 66px; bottom: -18px; width: 2px;
  background-image: linear-gradient(180deg, var(--rule) 50%, transparent 50%); background-size: 2px 8px;
}
.claim-steps h3 { font-size: 1.1rem; margin-top: 8px; }
.claim-steps p { margin-top: 4px; color: var(--muted); line-height: 1.5; }
.doc-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.doc-chips li { font-size: 0.82rem; font-weight: 600; color: var(--petrol); background: rgba(25, 75, 102, 0.08); border-radius: 999px; padding: 4px 11px; }
@media (max-width: 900px) { .claims { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; line-height: 1.45; }
.check-list svg { width: 22px; height: 22px; color: var(--petrol); margin-top: 1px; }
@media (max-width: 860px) { .claim { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol); transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--ink); display: grid; gap: 10px; max-width: 70ch; }
.faq .answer ul { margin: 0; padding-left: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contact-list li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact-list svg { width: 24px; height: 24px; color: var(--signal); margin-top: 2px; }
.contact-list .k { display: block; font-size: 0.88rem; color: var(--on-dark-muted); }
.contact-list a, .contact-list .v { color: #fff; font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.contact-actions a { font-size: 0.95rem; color: var(--signal); }
.contact-cta { background: var(--petrol-deep); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.contact-cta p { color: var(--on-dark); }
.contact-cta .btn { width: 100%; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list a[href^="mailto"] { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 0.92rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links a { overflow-wrap: anywhere; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--on-dark); }
.footer-legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); line-height: 1.5; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 58, 80, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-bar .btn { min-height: 46px; padding: 10px 12px; font-size: 1rem; }
  body.has-mobile-bar { padding-bottom: 72px; }
}

/* Quote page */
.page-hero { background: var(--petrol-deep); color: var(--on-dark); padding: clamp(36px, 6vw, 64px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); max-width: 20ch; }
.page-hero p { margin-top: 14px; font-size: var(--step-1); max-width: 58ch; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-form { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 28px; }
.quote-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.quote-form fieldset > legend { font-family: var(--display); font-weight: 800; font-size: var(--step-2); padding: 0; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #b9c6cc; border-radius: 999px; font-weight: 500; cursor: pointer; background: #fff; }
.chips input:checked + span { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--petrol); }
.form-actions { display: grid; gap: 12px; }
.form-actions .btn { width: 100%; font-size: 1.1rem; min-height: 54px; }
.form-actions small { color: var(--muted); font-size: 0.88rem; }
.form-alert { border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; display: none; }
.form-alert.show { display: block; }
.form-alert.err { background: #fdecea; color: var(--error); border: 1px solid #f3b8b1; }
.done-panel { display: none; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); gap: 14px; }
.done-panel.show { display: grid; }
.done-panel h2 { font-size: var(--step-3); }
.done-panel .btn { justify-self: start; }
.quote-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.aside-box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.aside-box h2 { font-size: var(--step-2); }
.aside-box ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink); }
.aside-box p { color: var(--muted); }
.aside-box .btn { width: 100%; }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Legal page */
.legal { max-width: 760px; display: grid; gap: 16px; }
.legal h2 { font-size: var(--step-2); margin-top: 18px; }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal .todo { background: #fff6dd; border: 1px solid #f0d58a; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

[hidden] { display: none !important; }
.consent { font-weight: 400; }

/* ---------- v2: photography, protection methods, coverage cards, clients ---------- */

/* Any section can carry a photo behind it */
.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.bg-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 58, 80, 0.9); }
.has-photo.overlay-soft::before { background: linear-gradient(90deg, rgba(14, 44, 61, 0.94) 0%, rgba(14, 44, 61, 0.78) 55%, rgba(14, 44, 61, 0.5) 100%); }
@media (max-width: 860px) { .has-photo.overlay-soft::before { background: rgba(14, 44, 61, 0.88); } }

.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: rgba(233, 177, 39, 0.16); color: #ffd982; border: 1px solid rgba(233, 177, 39, 0.55);
  border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.95rem;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.hero .badge { margin-bottom: 18px; }
.hero h1 { max-width: 16ch; }

.cert-fields dd.zero { color: var(--ok); }


/* Protection methods */
.prot-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.prot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.prot-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.prot-list li:first-child { border-top: 1px solid var(--rule); }
.prot-ill { width: 64px; height: 64px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); display: grid; place-items: center; }
.prot-ill svg { width: 46px; height: 46px; }
.prot-list h3 { font-size: 1.12rem; }
.prot-list p { margin-top: 4px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .prot-grid { grid-template-columns: 1fr; }
}

/* Coverage photo cards */
.cov-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cov-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cov-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cov-body { padding: 18px 18px 20px; display: grid; gap: 8px; align-content: start; }
.cov-body h3 { font-size: 1.2rem; }
.cov-body p { color: var(--muted); line-height: 1.5; font-size: 0.98rem; }
.cov-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cov-tags span { font-size: 0.8rem; font-weight: 600; color: var(--petrol); background: rgba(25, 75, 102, 0.08); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 1040px) { .cov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cov-grid { grid-template-columns: 1fr; } }

.allrisk {
  margin-top: 20px; background: var(--petrol-deep); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
}
.allrisk strong { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
.allrisk p { max-width: 56ch; }

/* Reach band (national + international) */
.reach { color: var(--on-dark); padding: clamp(64px, 9vw, 120px) 0; }
.reach h2 { color: #fff; max-width: 20ch; font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.reach-lead { margin-top: 14px; font-size: var(--step-1); max-width: 54ch; }
.reach-cols { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 980px; border-top: 1px solid rgba(232, 239, 242, 0.25); }
.reach-cols div { padding: 20px 24px 4px 0; display: grid; gap: 6px; align-content: start; }
.reach-cols div + div { padding-left: 24px; border-left: 1px solid rgba(232, 239, 242, 0.25); }
.reach-cols h3 { color: #fff; font-size: 1.25rem; }
.reach-cols p { color: var(--on-dark); line-height: 1.5; }
@media (max-width: 760px) {
  .reach-cols { grid-template-columns: 1fr; }
  .reach-cols div, .reach-cols div + div { padding: 18px 0; border-left: 0; }
  .reach-cols div + div { border-top: 1px solid rgba(232, 239, 242, 0.25); }
}

/* Clients */
.clients { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.client-grid li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; place-items: center; padding: 28px 24px; min-height: 130px; }
.client-grid img { max-width: 100%; max-height: 64px; width: auto; height: auto; filter: grayscale(100%); opacity: 0.72; transition: filter 0.2s ease, opacity 0.2s ease; }
.client-grid li:hover img { filter: none; opacity: 1; }
.client-grid img.tall { max-height: 84px; }
@media (hover: none) { .client-grid img { filter: none; opacity: 1; } }
@media (max-width: 760px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .client-grid li { min-height: 104px; padding: 20px 16px; } .client-grid img { max-height: 52px; } }

/* Audiences with a photo */
.aud-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.aud-wrap .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aud-wrap .aud-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
.aud-wrap .aud-grid article:nth-child(n+3) { border-top: 1px solid var(--rule); }
.aud-wrap .aud-grid article { padding-bottom: 24px; }
.aud-photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 300px; position: relative; }
.aud-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .aud-wrap { grid-template-columns: 1fr; } .aud-photo { min-height: 220px; order: -1; } }


/* Floating WhatsApp (desktop) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600;
  border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 10px 28px rgba(8, 30, 42, 0.3);
}
.wa-float:hover { background: #187a42; color: #fff; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* Footer logo */
.footer-logo { width: 260px; height: auto; }
.footer-credit { margin-top: 6px; font-size: 0.82rem; opacity: 0.8; }

/* ---------- Quote tool ---------- */
.q-hero { padding: clamp(40px, 7vw, 80px) 0; color: var(--on-dark); }
.q-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.q-hero p { margin-top: 14px; font-size: var(--step-1); max-width: 56ch; }
.q-hero .badge { margin-bottom: 16px; }

.steps-nav { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: qs; }
.steps-nav li { counter-increment: qs; display: grid; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.steps-nav li::before { content: ""; height: 4px; border-radius: 2px; background: var(--rule); }
.steps-nav li span::before { content: counter(qs) ". "; }
.steps-nav li.is-done::before, .steps-nav li.is-current::before { background: var(--petrol); }
.steps-nav li.is-current { color: var(--ink); }
.q-step { display: grid; gap: 16px; }
.q-step[hidden] { display: none !important; }
.q-step > h2 { font-size: var(--step-2); }
.q-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 6px; }
.q-actions .btn { min-width: 160px; }
.q-actions .btn-primary { margin-left: auto; }
.value-note { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; line-height: 1.45; display: none; }
.value-note.show { display: block; }
.value-note.ok { background: #eaf5ef; color: #15553a; border: 1px solid #b9dcc8; }
.value-note.high { background: #fff6dd; color: #6b4b00; border: 1px solid #f0d58a; }
.upload-row { display: grid; gap: 6px; }
.upload-row .hint { font-size: 0.85rem; color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.88rem; color: var(--muted); }
.trust-row span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.q-disclaimer { font-size: 0.88rem; color: var(--muted); }

.result-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 16px; scroll-margin-top: 96px; }
.result-card[hidden] { display: none !important; }
.result-card h2 { font-size: var(--step-3); }
.premium { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; letter-spacing: -0.02em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.premium small { display: block; font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--muted); margin-top: 8px; }
.summary { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 0.98rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-actions .btn { min-height: 46px; }
.btn-ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-wa:hover { background: #187a42; color: #fff; }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; gap: 2px; } .summary dd { margin-bottom: 8px; } }
@media (max-width: 560px) {
  .aud-wrap .aud-grid { grid-template-columns: 1fr; }
  .aud-wrap .aud-grid article, .aud-wrap .aud-grid article + article { padding: 18px 0; border-left: 0; }
  .aud-wrap .aud-grid article + article { border-top: 1px solid var(--rule); }
}
@media (max-width: 420px) {
  .cert-fields { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .cert-fields dd { font-size: 0.92rem; }
}

/* ---------- v3.1: monitoring panel (replaces the stock photo) ---------- */
.monitor {
  margin: 0; background: var(--ink); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(16px, 2.2vw, 22px); display: grid; gap: 14px; align-content: start;
  box-shadow: 0 18px 40px rgba(15, 37, 51, 0.18);
}
.mon-head { display: flex; align-items: center; gap: 12px; }
.mon-head strong { font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -0.01em; }
.mon-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; color: #7fe0a6; text-transform: uppercase; letter-spacing: 0.06em; }
.mon-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ccf7a; box-shadow: 0 0 0 0 rgba(60, 207, 122, 0.6); animation: mon-blink 2s ease-out infinite; }
.mon-tag { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--on-dark-muted); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 2px 10px; }
.mon-map { background: #0b1f2b; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; overflow: hidden; }
.mon-svg { width: 100%; height: auto; display: block; }
.mon-svg .dots-m { fill: none; stroke: #4a86a3; stroke-width: 5; stroke-linecap: round; }
.mon-svg .dots-o { fill: none; stroke: #1c3d4f; stroke-width: 5; stroke-linecap: round; }
.mon-svg .r-faint path { fill: none; stroke: rgba(232, 239, 242, 0.55); stroke-width: 2.2; stroke-dasharray: 5 6; }
.mon-svg .r-glow { fill: none; stroke: rgba(233, 177, 39, 0.3); stroke-width: 12; stroke-linecap: round; }
.mon-svg .r-active { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.mon-svg .c { fill: #0b1f2b; stroke: #c9d7de; stroke-width: 2.2; }
.mon-svg .c-on { fill: #fff; stroke: var(--signal); stroke-width: 2.4; }
.mon-svg text { font-family: var(--body); font-weight: 700; font-size: 17px; }
.mon-svg .l { fill: #b5c8d1; }
.mon-svg .l-on { fill: #fff; font-weight: 800; }
.mon-svg .u-dot { fill: var(--signal); stroke: #fff; stroke-width: 3; }
.mon-svg .u-pulse { fill: rgba(233, 177, 39, 0.3); transform-box: fill-box; transform-origin: center; animation: mon-pulse 2.4s ease-out infinite; }
.mon-svg .u-tag rect { fill: #fff; }
.mon-svg .u-tag circle { fill: #1f8f4e; }
.mon-svg .u-tag text { fill: var(--ink); font-size: 16px; font-weight: 800; }
@keyframes mon-pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes mon-blink { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 122, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(60, 207, 122, 0); } }
.mon-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: 6px; overflow: hidden; }
.mon-stats div { background: var(--ink); padding: 10px 12px; display: grid; gap: 1px; align-content: start; }
.mon-stats div:nth-child(odd) { padding-left: 0; }
.mon-stats dt { font-size: 0.76rem; color: var(--on-dark-muted); font-weight: 600; }
.mon-stats dd { margin: 0; font-weight: 800; font-size: 1.02rem; color: #fff; font-variant-numeric: tabular-nums; }
.mon-stats dd.ok { color: #7fe0a6; }
.mon-stats span { font-size: 0.78rem; color: var(--on-dark-muted); }
.monitor figcaption { font-size: 0.92rem; color: var(--on-dark); line-height: 1.45; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 12px; }
@media (max-width: 380px) { .mon-stats { grid-template-columns: 1fr; } .mon-stats div { padding-left: 0; } }
