/* BETR Insurance Brokers – static site styles
   Rebuilt from the original Elementor design (no page builder needed). */

:root {
  --primary: #2e4b78;      /* buttons, accents */
  --primary-dark: #223a5e;
  --secondary: #51678d;    /* top bar, dark sections */
  --text: #011832;         /* headings & body ink */
  --muted: #5f6d7e;
  --light: #f6f6f4;        /* light panels */
  --line: #e3e6ee;
  --white: #ffffff;
  --radius: 10px;
  --container: 1240px;
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 12px; }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: #fff; }
.section-title { font-size: clamp(30px, 3.6vw, 44px); }
.lead { font-size: 18px; color: var(--muted); }
.on-dark, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5 { color: #fff; }
.on-dark .lead { color: #f6f6f4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 16px;
  padding: 16px 26px; border-radius: 6px; border: 0; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s, transform .2s;
  background: var(--primary); color: #fff;
}
.btn:hover { background: var(--secondary); }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-light { background: var(--light); color: var(--text); }
.btn-light:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--light); color: var(--text); }
.btn-sm { padding: 12px 18px; font-size: 15px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--secondary); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; }
.topbar a:hover { color: rgba(255,255,255,.75); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.topbar .right { display: flex; }
.topbar .right a + a { border-left: 1px solid rgba(158,158,158,.25); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo img { width: 120px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--text);
  text-decoration: none; padding: 10px 14px; border-radius: 6px;
}
.main-nav a:hover { color: var(--primary); background: var(--light); }
.header-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 51% 49%; min-height: 640px; }
.hero-copy { display: flex; align-items: center; justify-content: flex-end; padding: 120px 50px 110px 20px; }
.hero-copy .inner { max-width: 580px; width: 100%; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 500; margin-bottom: 22px; }
.hero h1 .rotator { color: var(--primary); display: inline-block; min-width: 1ch; }
.hero h1 .rotator.swap { animation: swapIn .45s ease; }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .lead { margin-bottom: 34px; max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.tick {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; margin-top: 2px;
}
.tick svg { width: 11px; height: 11px; }
.hero-media {
  position: relative; background: #9aa6bb url("/assets/img/city-night.jpg") center/cover no-repeat;
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--secondary); opacity: .3; }

/* ---------- Quick cover strip (dark) ---------- */
.strip { background: var(--secondary); padding: 80px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; }
.strip-item { padding: 44px 40px; color: #fff; border-right: 1px solid rgba(255,255,255,.08); display: flex; gap: 20px; }
.strip-item:last-child { border-right: 0; }
.strip-item .icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.strip-item .icon svg { width: 24px; height: 24px; stroke: #fff; }
.strip-item h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.strip-item p { color: rgba(255,255,255,.9); font-size: 16px; }
.link-arrow { color: #fff; font-family: var(--font-head); font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Intro ---------- */
.intro { padding: 100px 0 20px; text-align: center; }
.intro .container { max-width: 900px; }
.intro .body { text-align: left; font-size: 18px; margin: 30px 0 34px; }
.intro .body p { color: #2a3a4f; }

/* ---------- Split feature rows ---------- */
.split { padding: 100px 0; }
.split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/11; object-fit: cover; background: #dfe3ea; }
.split .checks { list-style: none; padding: 0; margin: 10px 0 34px; display: grid; gap: 16px; font-size: 18px; }
.split .checks li { display: flex; gap: 14px; align-items: flex-start; }
.split + .split { padding-top: 0; }

/* ---------- Insurance solutions ---------- */
.panel-section { padding: 0 100px 100px; }
.panel { background: var(--light); border-radius: 16px; padding: 80px 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.panel-head > div:first-child { max-width: 46%; }
.panel-head .lead { max-width: 520px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: #fff; border: 1px solid rgba(159,159,159,.3); border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--primary); box-shadow: 0 14px 34px rgba(1,24,50,.08); transform: translateY(-3px); }
.card .icon-img { width: 56px; height: 56px; border-radius: 50%; background: #f5f5ff; display: grid; place-items: center; margin-bottom: 22px; }
.card .icon-img img { width: 30px; height: 30px; }
.card .icon-svg { width: 56px; height: 56px; border-radius: 50%; background: var(--light); display: grid; place-items: center; margin-bottom: 22px; }
.card .icon-svg svg { width: 26px; height: 26px; stroke: var(--primary); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.card .more { margin-top: auto; color: var(--text); font-family: var(--font-head); font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }
.card .more svg { width: 14px; height: 14px; transition: transform .2s; }
.card .more:hover { color: var(--primary); }
.card .more:hover svg { transform: translateX(3px); }
.cant-find { text-align: center; padding-top: 60px; }
.cant-find p { font-family: var(--font-body); font-size: 30px; font-weight: 600; margin-bottom: 22px; }

/* ---------- Process (dark) ---------- */
.process { background: var(--secondary); padding: 80px 0; }
.process-head { display: grid; grid-template-columns: 40% 1fr auto; gap: 40px; align-items: end; margin-bottom: 50px; }
.process-head .lead { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; }
.step { padding: 50px 40px; border-right: 1px solid rgba(255,255,255,.08); }
.step:last-child { border-right: 0; }
.step .num { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; margin-bottom: 26px; }
.step h3 { color: #fff; font-size: 21px; margin-bottom: 12px; }
.step p { color: #f5f5f5; font-size: 16px; margin: 0; }

/* ---------- Contact block (home + contact page) ---------- */
.contact-block { background: var(--secondary); padding: 90px 0; }
.contact-block .container { display: grid; grid-template-columns: 38% 1fr; gap: 70px; align-items: start; }
.info-box { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 28px 30px; color: #fff; margin-top: 18px; display: flex; gap: 18px; }
.info-box .icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.info-box .icon svg { width: 20px; height: 20px; stroke: #fff; }
.info-box h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.info-box p { margin: 0; color: #fff; }
.info-box a { color: #fff; }
.form-card { background: #fff; border-radius: 14px; padding: 50px; border: 1px solid #e7e7e7; }
.form-card h2, .form-card h3 { font-size: 30px; color: var(--text); }
.on-dark .form-card .eyebrow { color: var(--primary); }
.on-dark .form-card { color: var(--text); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--light); border: 1px solid transparent; border-radius: 6px; padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.hp { position: absolute !important; left: -9999px !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 15px; padding: 12px 14px; border-radius: 6px; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #135c2a; }
.form-status.err { display: block; background: #fdecec; color: #8a1c1c; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: linear-gradient(rgba(46,75,120,.86), rgba(81,103,141,.86)), url("/assets/img/glass-spiral.jpg") center/cover, var(--secondary); color: #fff; text-align: center; padding: 90px 0 80px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 4.5vw, 54px); }
.page-hero p { color: #f6f6f4; max-width: 640px; margin: 0 auto 18px; font-size: 18px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.8); }
.crumbs a { color: #fff; text-decoration: none; }

/* contact page split */
.contact-split { padding: 90px 0; background: linear-gradient(180deg, var(--light) 50%, #fff 50%); }
.contact-split .wrap { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(1,24,50,.07); }
.contact-split .form-side { padding: 60px; }
.contact-split .img-side {
  min-height: 420px; position: relative;
  background: #9aa6bb url("/assets/img/gherkin-shard.jpg") center/cover no-repeat;
}
.contact-split .img-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.6)); }
.contact-split .img-side .details { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 1; color: #fff; }
.contact-split .img-side .details a { color: #fff; }
.contact-split .img-side .details p { margin: 0 0 6px; }
.features { padding: 0 0 100px; }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 100px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 30px; margin-top: 10px; }
.legal h3 { font-size: 20px; margin-top: 34px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 16px; }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: 12px 14px; vertical-align: top; }
.legal th { background: var(--light); font-family: var(--font-head); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 60px 20px 50px; align-items: center; }
.footer-main .logo img { width: 130px; margin-bottom: 22px; }
.footer-main .fca { font-size: 14px; color: var(--muted); max-width: 520px; }
.footer-main .fca p { margin-bottom: 10px; }
.footer-contact { text-align: right; font-family: var(--font-body); font-size: 20px; font-weight: 600; }
.footer-contact a { color: var(--text); text-decoration: none; display: block; margin: 6px 0; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- Quote dialog ---------- */
dialog.quote { border: 0; padding: 0; border-radius: 14px; width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 40px); box-shadow: 0 30px 80px rgba(1,24,50,.3); }
dialog.quote::backdrop { background: rgba(1,24,50,.55); }
dialog.quote .inner { padding: 44px; }
dialog.quote .close { position: absolute; top: 14px; right: 14px; background: var(--light); border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; color: var(--text); }
dialog.quote h2 { font-size: 30px; }
dialog.quote .sub { color: var(--muted); }

/* ---------- Gentle reveal (content always visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .panel-section { padding: 0 20px 80px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .process-head { grid-template-columns: 1fr 1fr; }
  .process-head .btn-wrap { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .main-nav, .header-cta .btn-light { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
  }
  .site-header.open .main-nav ul { flex-direction: column; }
  .site-header.open .main-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 70px 20px 60px; justify-content: flex-start; }
  .hero-media { min-height: 320px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .split .container { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .media { order: 2; }
  .panel-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .panel-head > div:first-child { max-width: none; }
  .contact-block .container { grid-template-columns: 1fr; gap: 40px; }
  .contact-split .wrap { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .left { display: none; }
  .topbar .container { justify-content: center; }
  .header-cta .btn { padding: 11px 14px; font-size: 14px; }
  .logo img { width: 96px; }
  .site-header .container { min-height: 72px; gap: 10px; }
  .strip, .process, .contact-block { padding: 50px 0; }
  .strip-item, .step { padding: 32px 24px; }
  .intro, .split { padding: 50px 0; }
  .split + .split { padding-top: 0; }
  .panel { padding: 50px 0; border-radius: 12px; }
  .panel-section { padding: 0 0 50px; }
  .panel-section .panel { border-radius: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .process-head { grid-template-columns: 1fr; gap: 18px; }
  .form-card, .contact-split .form-side, dialog.quote .inner { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cant-find p { font-size: 24px; }
  .contact-split { padding: 50px 0; }
}
.legal td p, .legal th p { margin: 0; }

/* =====================================================================
   2026 refresh – softer, more modern finish (same brand & layout)
   ===================================================================== */
:root { --radius: 16px; --shadow-sm: 0 1px 2px rgba(1,24,50,.05), 0 4px 14px rgba(1,24,50,.05); --shadow-lg: 0 24px 60px -18px rgba(1,24,50,.28); }
body { font-size: 17px; }
h1, h2, h3 { letter-spacing: -0.025em; }
.section-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; }

/* eyebrow as a pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px;
  border-radius: 999px; background: rgba(46,75,120,.08); font-size: 12px; letter-spacing: .08em;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.on-dark .eyebrow { background: rgba(255,255,255,.12); }

/* buttons: pill + lift */
.btn { border-radius: 999px; padding: 15px 26px; box-shadow: 0 8px 20px -10px rgba(46,75,120,.7); }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-light { box-shadow: none; }
.btn-light:hover { background: #ebedf1; color: var(--text); }
.btn-white { box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.btn-sm { padding: 11px 20px; }

/* header: more room around the logo, frosted on scroll */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(1,24,50,.25); }
.site-header .container { min-height: 96px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: block; line-height: 0; }
.logo img { width: 92px; }
.main-nav a { position: relative; background: none !important; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.topbar .container { min-height: 40px; }

/* hero: soft background, photo as a rounded card with floating badges */
.hero { background: radial-gradient(1200px 500px at 0% 0%, #eef2f8 0%, rgba(238,242,248,0) 60%), linear-gradient(180deg, #fbfbfa, #f3f4f6); grid-template-columns: 52% 48%; min-height: 660px; }
.hero-copy { padding-top: 100px; padding-bottom: 100px; }
.hero h1 { font-size: clamp(42px, 5vw, 64px); font-weight: 600; letter-spacing: -0.035em; }
.hero h1 .rotator { background: linear-gradient(90deg, var(--primary), #6f87b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-media { background: none; padding: 48px 48px 48px 10px; position: relative; }
.hero-media::after { display: none; }
.hero-photo { height: 100%; min-height: 520px; border-radius: 28px; background: #9aa6bb url("/assets/img/city-night.jpg") center/cover no-repeat; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(81,103,141,0) 40%, rgba(1,24,50,.45)); }
.hero-badge {
  position: absolute; left: -24px; bottom: 96px; background: #fff; border-radius: 18px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; max-width: 280px; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; color: var(--muted);
}
.hero-badge .big { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.hero-badge.small { left: auto; right: 80px; top: 84px; bottom: auto; padding: 12px 16px; max-width: 260px; font-size: 13px; color: var(--text); font-weight: 500; border-radius: 999px; }
.hero-badge.small svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--primary); }

/* quick-cover strip */
.strip { padding: 70px 0; background: linear-gradient(135deg, #51678d, #3d557d); }
.strip-grid { background: none; gap: 20px; overflow: visible; }
.strip-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); transition: background .2s, transform .2s; }
.strip-item:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.strip-item, .strip-item:last-child { border-right: 1px solid rgba(255,255,255,.12); }

/* key facts */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; }
.fact span { color: var(--muted); font-size: 15px; }

/* intro + split rows */
.intro .body p { color: #33435a; }
.split img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.checks .tick, .ticks .tick { background: rgba(46,75,120,.1); color: var(--primary); }

/* cards */
.panel { border-radius: 28px; background: linear-gradient(180deg, #f6f6f4, #f1f2f4); }
.cards { gap: 22px; }
.card { border: 1px solid rgba(1,24,50,.06); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card:hover { border-color: rgba(46,75,120,.25); box-shadow: 0 20px 40px -18px rgba(1,24,50,.25); transform: translateY(-4px); }
.card .icon-svg { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #5b78a8); box-shadow: 0 10px 20px -10px rgba(46,75,120,.8); }
.card .icon-svg svg { stroke: #fff; width: 24px; height: 24px; }
.card .more { color: var(--primary); }

/* process */
.process { background: linear-gradient(135deg, #51678d, #3a5079); }
.steps { background: none; gap: 20px; overflow: visible; }
.step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12) !important; border-radius: var(--radius); position: relative; }
.step .num { background: #fff; color: var(--primary); }

/* contact */
.contact-block { background: linear-gradient(135deg, #51678d, #3a5079); }
.info-box { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.form-card { border-radius: 24px; border: 0; box-shadow: var(--shadow-lg); }
.field input, .field textarea, .field select { border-radius: 12px; border: 1px solid #e6e8ec; background: #fafafa; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: 0 0 0 4px rgba(46,75,120,.12); }
.contact-split .wrap { border-radius: 24px; box-shadow: var(--shadow-lg); }

/* dark footer */
.site-footer { background: #0f2340; border-top: 0; color: rgba(255,255,255,.75); }
.site-footer .footer-main .fca { color: rgba(255,255,255,.7); }
.site-footer .footer-main .fca strong { color: #fff; }
.site-footer .footer-contact a { color: #fff; }
.site-footer .footer-contact a:hover { color: #b9c7de; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer .footer-bottom .container { color: rgba(255,255,255,.6); }
.site-footer .footer-bottom a { color: rgba(255,255,255,.85); }
.site-footer .footer-bottom a:hover { color: #fff; }
.footer-main { padding-top: 70px; }

/* dialog */
dialog.quote { border-radius: 24px; }

@media (max-width: 1100px) {
  .hero-badge { left: 16px; }
  .facts .container { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-left: 20px; padding-right: 20px; justify-content: flex-start; }
  .hero-media { padding: 0 20px 40px; }
  .hero-photo { min-height: 340px; border-radius: 22px; }
  .hero-badge { left: 36px; bottom: 60px; }
  .hero-badge.small { display: none; }
  .site-header .container { min-height: 84px; }
  .step, .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .site-header .container { min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
  .logo img { width: 72px; }
  .hero-copy { padding-top: 56px; padding-bottom: 44px; }
  .hero-photo { min-height: 260px; }
  .hero-badge { left: 32px; right: 32px; bottom: 56px; max-width: none; padding: 14px 16px; }
  .hero-badge .big { font-size: 30px; }
  .fact { padding: 24px 14px; }
  .fact strong { font-size: 28px; }
  .panel { border-radius: 0; }
  .strip-grid, .steps { gap: 14px; }
}

/* ---------- Footer columns ---------- */
.footer-main { grid-template-columns: 1.6fr 1fr 1fr; align-items: start; gap: 50px; }
.footer-links h4 { color: #fff; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; }
.footer-links ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.site-footer .footer-contact { text-align: left; font-size: 16px; }
.site-footer .footer-contact a { margin: 4px 0; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 80px 0 84px; }
.page-hero .crumbs { margin-bottom: 18px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-ghost svg { width: 15px; height: 15px; }
.svc-hero-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.svc-hero-icon svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Service page body ---------- */
.svc-body { padding: 90px 0 70px; }
.svc-layout { display: grid; grid-template-columns: 1fr 380px; gap: 70px; align-items: start; }
.lead-dark { font-size: 19px; color: #33435a; margin: 6px 0 30px; }
.sub-title { font-size: 20px; margin: 10px 0 16px; }
.ticks-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ticks-list li { display: flex; gap: 12px; align-items: flex-start; }
.side-card { background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid rgba(1,24,50,.05); position: sticky; top: 120px; }
.side-card h3 { font-size: 22px; }
.side-card p { color: var(--muted); font-size: 15px; }
.side-card .btn { width: 100%; justify-content: center; margin: 6px 0 18px; }
.side-line { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 500; }
.side-line svg { width: 16px; height: 16px; color: var(--primary); }
.side-card .tiny { font-size: 13px; margin: 12px 0 0; }

.svc-covers { padding: 80px 0; background: linear-gradient(180deg, #f6f6f4, #f1f2f4); }
.cover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cover-item { background: #fff; border-radius: 14px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm); border: 1px solid rgba(1,24,50,.05); }
.extras { margin-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid rgba(46,75,120,.2); color: var(--primary); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; }

.svc-process { padding: 90px 0; }
.svc-process .svc-layout { grid-template-columns: 1fr 1fr; }
.mini-steps { display: grid; gap: 14px; margin-top: 10px; }
.mini-step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mini-step .n { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #5b78a8); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; }
.mini-step h4 { font-size: 18px; margin-bottom: 4px; }
.mini-step p { color: var(--muted); margin: 0; font-size: 16px; }
.faqs { margin-top: 10px; display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: rgba(46,75,120,.25); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-family: var(--font-head); font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 20px; }

.related { padding: 0 0 90px; }
.card-link { text-decoration: none; color: inherit; }
.disclaimer { font-size: 13px; color: var(--muted); padding-top: 22px; padding-bottom: 22px; }

/* hub + cta band */
.hub { padding: 90px 0; }
.hub-alt { background: linear-gradient(180deg, #f6f6f4, #f1f2f4); }
.cta-band { background: linear-gradient(135deg, #51678d, #3a5079); color: #fff; padding: 70px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-band .hero-btns { margin: 0; }

/* about */
.about-intro { padding-top: 90px; padding-bottom: 60px; }
.split.reg .container { grid-template-columns: 1fr 380px; }
.split.reg .side-card { position: static; }
.split.reg .side-card .btn { margin: 18px 0 0; }

@media (max-width: 1100px) {
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .svc-layout, .svc-process .svc-layout, .split.reg .container { grid-template-columns: 1fr; gap: 40px; }
  .side-card { position: static; }
}
@media (max-width: 640px) {
  .ticks-list, .cover-grid { grid-template-columns: 1fr; }
  .svc-body, .svc-covers, .svc-process, .hub { padding: 56px 0; }
  .related { padding-bottom: 56px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 56px 0 60px; }
  .side-card { padding: 26px; }
}

/* ---------- Mobile spacing polish ---------- */
.contact-block .container, .contact-split .wrap, .svc-layout, .split .container, .process-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-block .container { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
.svc-layout { grid-template-columns: minmax(0, 1fr) 380px; }
.field input, .field textarea, .field select { min-width: 0; max-width: 100%; }
.form-grid > * { min-width: 0; }
@media (max-width: 960px) {
  .contact-block .container, .contact-split .wrap, .svc-layout, .split .container, .split.reg .container { grid-template-columns: minmax(0, 1fr); }
  .process-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .topbar a { padding: 10px 12px; }
  .site-header .container { padding-left: 22px; padding-right: 18px; }
  .hero-copy { padding-left: 22px; padding-right: 22px; }
  .hero-media { padding: 0 22px 44px; }
  .hero h1 { font-size: 38px; margin-bottom: 18px; }
  .hero .lead { margin-bottom: 26px; }
  .hero-actions { gap: 22px; }
  .section-title { font-size: 30px; }
  .eyebrow { margin-bottom: 12px; }
  .lead, .lead-dark { font-size: 17px; }
  .intro .body { font-size: 16.5px; margin: 22px 0 28px; }
  .split .checks { font-size: 16.5px; }
  .strip-item { padding: 28px 22px; gap: 16px; }
  .strip-item .icon { flex-basis: 46px; width: 46px; height: 46px; }
  .card { padding: 28px 24px; }
  .panel-section { padding: 0 0 56px; }
  .panel { padding: 56px 0; }
  .panel-head { margin-bottom: 30px; }
  .cant-find { padding-top: 44px; }
  .step { padding: 30px 24px; }
  .contact-block { padding: 56px 0; }
  .contact-block .container { gap: 34px; }
  .info-box { padding: 22px; gap: 14px; }
  .form-card { padding: 30px 22px; border-radius: 20px; }
  .form-card h2, .form-card h3 { font-size: 26px; }
  .contact-split .wrap { border-radius: 20px; }
  .contact-split .form-side { padding: 32px 22px; }
  .contact-split .img-side { min-height: 300px; }
  .contact-split .img-side .details { left: 22px; right: 22px; bottom: 24px; font-size: 15px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero p { font-size: 16.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-btns .btn { justify-content: center; }
  .cta-band .hero-btns { margin: 0; max-width: none; width: 100%; }
  .side-card { padding: 26px 22px; border-radius: 20px; }
  .cover-item { padding: 18px; }
  .faq { padding: 0 18px; }
  .faq summary { padding: 18px 28px 18px 0; }
  .mini-step { gap: 14px; }
  .legal { padding: 50px 0 70px; }
  .legal h2 { font-size: 26px; }
  .footer-main { padding: 50px 22px 36px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom ul { gap: 10px 18px; }
  .disclaimer { padding-left: 22px; padding-right: 22px; }
  dialog.quote .inner { padding: 34px 22px 26px; }
  dialog.quote .close { top: 10px; right: 10px; }
  .facts .container { padding-left: 0; padding-right: 0; }
  .fact { padding: 24px 22px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .header-cta .btn { padding: 10px 13px; font-size: 13.5px; }
  .logo img { width: 66px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .footer-links:nth-of-type(2) ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .site-header.open .main-nav { padding: 6px 22px 22px; box-shadow: 0 18px 30px -18px rgba(1,24,50,.3); }
  .site-header.open .main-nav a { padding: 16px 4px; font-size: 17px; }
  .site-header.open .main-nav a::after { display: none; }
}

/* ---------- Google reviews ---------- */
.reviews { padding: 100px 0; background: #fff; }
.rv-cta { max-width: 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.review-grid { columns: 3 320px; column-gap: 22px; }
.review {
  break-inside: avoid; margin: 0 0 22px; background: #fff; border: 1px solid rgba(1,24,50,.07);
  border-radius: 18px; padding: 26px 26px 24px; box-shadow: var(--shadow-sm); display: inline-block; width: 100%;
}
.review figcaption { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review .avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.review .who { display: flex; flex-direction: column; line-height: 1.3; }
.review .who strong { font-family: var(--font-head); font-size: 16px; text-transform: capitalize; }
.review .who span { font-size: 13px; color: var(--muted); }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: #33435a; }
.rv-more { display: inline-block; margin-top: 6px; font-weight: 500; }

/* ---------- Find us / map ---------- */
.find-us { padding: 0 0 100px; }
.find-us.compact { padding: 0 0 80px; }
.find-us .container { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 50px; align-items: center; }
.find-list { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 12px; }
.find-list li { display: flex; align-items: center; gap: 12px; }
.find-list svg { width: 18px; height: 18px; color: var(--primary); flex: 0 0 18px; }
.find-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.find-list a:hover { color: var(--primary); }
.find-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.map-frame { position: relative; border-radius: 24px; overflow: hidden; min-height: 400px; box-shadow: var(--shadow-lg); background: #dfe5ee; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px;
  color: #fff; background:
    linear-gradient(rgba(46,75,120,.82), rgba(58,80,121,.88)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 56px),
    url("/assets/img/gherkin-shard.jpg") center/cover;
}
.map-placeholder .pin { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.map-placeholder .pin svg { width: 28px; height: 28px; color: var(--primary); }
.map-placeholder p { margin: 6px 0 8px; color: #fff; }
.map-placeholder small { color: rgba(255,255,255,.75); font-size: 12.5px; max-width: 280px; }

@media (max-width: 960px) {
  .find-us .container { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 640px) {
  .reviews { padding: 56px 0; }
  .review-grid { columns: 1; }
  .review { padding: 22px; }
  .find-us, .find-us.compact { padding-bottom: 56px; }
  .map-frame { min-height: 320px; border-radius: 20px; }
  .find-btns .btn { flex: 1 1 100%; justify-content: center; }
}
.map-placeholder .pin { flex: none; }

/* Rotating hero word: every word occupies the same grid cell, so the box is always
   as wide as the longest word and the heading never re-wraps or changes height. */
.hero h1 .rotator { display: inline-grid; vertical-align: bottom; background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; min-width: 0; }
.hero h1 .rotator .rw {
  grid-area: 1 / 1; opacity: 0; transform: translateY(.35em);
  transition: opacity .45s ease, transform .45s ease;
  background: linear-gradient(90deg, var(--primary), #6f87b3); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.hero h1 .rotator .rw.on { opacity: 1; transform: none; }
.hero h1 .rotator.swap { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero h1 .rotator .rw { transition: none; } }
.info-box > div { min-width: 0; }
.info-box a, .side-line, .find-list a { overflow-wrap: anywhere; }
