/* GL Insurance Brokers — reimagined homepage
   Direction: a Gulf Coast private-advisory house. Midnight navy and gold (the brand),
   an editorial serif voice, cinematic photography, and one signature moment:
   the Coverage Index, where hovering each line of coverage brings its photograph forward. */

:root {
  --midnight: #07152C;
  --navy: #0B2145;
  --harbor: #123262;
  --gold: #D9A835;
  --gold-lt: #F0D38F;
  --gold-dk: #A97A1E;
  --white: #FFFFFF;
  --sand: #F6F2EA;
  --ink: #14203A;
  --ink-soft: #56607A;
  --line: #E4DED1;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --shell: 1320px;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--midnight); padding: 10px 16px; font-weight: 700; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dk); display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "opsz" 144; text-wrap: balance; }
h2 em, h1 em { font-style: italic; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  padding: 18px 26px; border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn-gold { background: linear-gradient(180deg, #E8C163, var(--gold)); color: var(--midnight); }
.btn-gold:hover { background: linear-gradient(180deg, #F2CF78, #E2B347); box-shadow: 0 14px 30px -14px rgba(217, 168, 53, .85); }
.btn-glass { color: var(--white); border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn-glass:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 13px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .4s var(--ease), color .4s, box-shadow .4s; }
.site-header.is-solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(7, 21, 44, .5); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 88px; transition: height .4s var(--ease); }
.site-header.is-solid .header-inner { height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 46px; height: 46px; }
.brand-word { font: 600 25px/1 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 72; }

.primary-nav { margin-left: 8px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > li > a, .nav-drop-btn {
  font: 600 14.5px/1 var(--sans); letter-spacing: .01em; color: inherit; text-decoration: none;
  background: none; border: 0; padding: 10px 0; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: 8px;
}
.nav-links > li > a::after, .nav-drop-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links > li > a:hover::after, .nav-drop-btn:hover::after, .nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.nav-item { position: relative; }
.nav-item.open .chev { transform: rotate(-135deg) translateY(-1px); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -24px; min-width: 270px; padding: 12px;
  background: var(--white); color: var(--ink); border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(7, 21, 44, .45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* bridges the gap under the button */
.dropdown a { display: block; padding: 11px 14px; font: 600 14.5px/1.3 var(--sans); text-decoration: none; border-radius: 2px; }
.dropdown a:hover { background: var(--sand); color: var(--navy); }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--gold-dk); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font: 700 15px/1 var(--sans); text-decoration: none; color: inherit; }
.header-phone svg { width: 17px; height: 17px; color: var(--gold); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(640px, 82svh); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-still, .hero-still img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-still { z-index: -3; }
.hero-video { z-index: -2; transform: scale(1.04); opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 44, .86) 0%, rgba(7, 21, 44, .55) 45%, rgba(7, 21, 44, .1) 78%),
    linear-gradient(0deg, rgba(7, 21, 44, .92) 0%, rgba(7, 21, 44, 0) 45%),
    linear-gradient(180deg, rgba(7, 21, 44, .55) 0%, rgba(7, 21, 44, 0) 22%);
}
.hero-inner { padding-top: 170px; padding-bottom: clamp(48px, 7vh, 88px); }
.hero-meta { display: flex; align-items: center; gap: 16px; font: 400 12.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 34px; }
.meta-rule { width: 56px; height: 1px; background: rgba(240, 211, 143, .6); }
.hero-meta span { white-space: nowrap; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 5vw, 72px); line-height: .95; letter-spacing: -.03em;
  max-width: 11.5ch; text-wrap: balance;
}
.hero-lede { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.7; color: rgba(255, 255, 255, .82); max-width: 560px; margin-top: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-rail { border-top: 1px solid rgba(240, 211, 143, .28); background: linear-gradient(180deg, rgba(7, 21, 44, .25), rgba(7, 21, 44, .65)); backdrop-filter: blur(10px); }
.rail-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail-inner a {
  display: flex; align-items: center; gap: 14px; padding: 26px 26px 26px 0; text-decoration: none; color: var(--white);
  font: 600 15.5px/1.2 var(--sans); border-right: 1px solid rgba(255, 255, 255, .1); transition: background .35s, padding .35s var(--ease);
}
.rail-inner a + a { padding-left: 26px; }
.rail-inner a:last-child { border-right: 0; }
.rail-inner a svg:first-child { width: 30px; height: 30px; color: var(--gold); }
.rail-arrow { margin-left: auto; width: 18px !important; height: 18px !important; color: var(--gold-lt); opacity: .55; transition: transform .35s var(--ease), opacity .35s; }
.rail-inner a:hover { background: rgba(255, 255, 255, .06); }
.rail-inner a:hover .rail-arrow { transform: translateX(4px); opacity: 1; }

/* ---------- Carriers ---------- */
.carriers { border-bottom: 1px solid var(--line); }
.carriers-inner { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 32px; padding-top: 34px; padding-bottom: 34px; }
.carriers-label { font: 500 12px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); border-left: 2px solid var(--gold); padding-left: 16px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee-set img { height: 34px; width: auto; filter: grayscale(1); opacity: .62; transition: filter .4s, opacity .4s; }
.marquee-set img.tall { height: 46px; }
.marquee-set img.thin { height: 24px; }
.marquee-set img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Coverage Index ---------- */
.coverage { padding: clamp(72px, 8.25vw, 120px) 0 clamp(96px, 11vw, 160px); }
.coverage-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 84px); }
.cindex { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cindex-list { counter-reset: none; border-bottom: 1px solid var(--line); }
.cindex-item { border-top: 1px solid var(--line); }
.cindex-item a { display: block; padding: 30px 0 30px; text-decoration: none; color: inherit; position: relative; }
.cindex-name {
  display: block; font: 400 clamp(28px, 3vw, 44px)/1.08 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 144;
  color: #9AA3B5; transition: color .45s var(--ease), transform .45s var(--ease);
}
.cindex-item a::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--gold); transition: width .6s var(--ease);
}
.cindex-text { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; max-width: 560px; transition: max-height .6s var(--ease), opacity .45s, margin .45s; }
.cindex-cta { display: inline-flex; align-items: center; gap: 10px; max-height: 0; overflow: hidden; opacity: 0; font: 700 14.5px/1 var(--sans); color: var(--navy); letter-spacing: .02em; transition: max-height .6s var(--ease), opacity .45s, margin .45s; }
.cindex-cta svg { width: 18px; height: 18px; color: var(--gold-dk); transition: transform .3s var(--ease); }
.cindex-item.is-active .cindex-name { color: var(--navy); transform: translateX(6px); }
.cindex-item.is-active a::before { width: 100%; }
.cindex-item.is-active .cindex-text { max-height: 220px; opacity: 1; margin-top: 18px; }
.cindex-item.is-active .cindex-cta { max-height: 40px; opacity: 1; margin-top: 20px; }
.cindex-item a:hover .cindex-cta svg { transform: translateX(4px); }
.cindex-thumb { display: none; }

.cindex-viewer { position: sticky; top: 120px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.viewer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.viewer-img.is-shown { opacity: 1; transform: scale(1); }
.cindex-viewer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 21, 44, .65), rgba(7, 21, 44, 0) 40%); pointer-events: none; }
.cindex-viewer::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(240, 211, 143, .45); z-index: 2; pointer-events: none; }
.viewer-cap { position: absolute; left: 40px; bottom: 36px; z-index: 3; font: 400 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); display: flex; align-items: center; gap: 14px; }
.viewer-cap::before { content: ""; width: 30px; height: 1px; background: currentColor; }

/* ---------- Split section heads ---------- */
.split-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.split-head > p { color: var(--ink-soft); font-size: 17.5px; line-height: 1.75; padding-bottom: 8px; }
.split-head--dark h2 { color: var(--white); }
.split-head--dark > p { color: rgba(255, 255, 255, .7); }

/* ---------- Industries ---------- */
.industries { background: var(--sand); padding: clamp(96px, 11vw, 150px) 0; }
.trade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trade { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); isolation: isolate; }
.trade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.trade::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 21, 44, .94) 0%, rgba(7, 21, 44, .55) 38%, rgba(7, 21, 44, 0) 68%); transition: opacity .5s; }
.trade:hover img { transform: scale(1.07); filter: saturate(1.05); }
.trade-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 24px; color: var(--white); }
.trade h3 { font: 400 23px/1.08 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 72; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(240, 211, 143, .35); }
.trade-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font: 600 13.5px/1.2 var(--sans); letter-spacing: .02em; color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .3s, padding .3s var(--ease); }
.trade-links a::after { content: "→"; color: var(--gold); transition: transform .3s var(--ease); }
.trade-links a + a { border-top: 1px solid rgba(255, 255, 255, .12); }
.trade-links a:hover { color: var(--gold-lt); }
.trade-links a:hover::after { transform: translateX(4px); }

/* ---------- Business Auto: compact split section ---------- */
.auto { padding: clamp(64px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.auto-photo { position: relative; margin: 0; aspect-ratio: 3 / 2; max-height: 400px; overflow: hidden; background: var(--sand); }
.auto-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 78%; }
.auto-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(240, 211, 143, .6); pointer-events: none; }.auto-copy h2 { font-size: clamp(28px, 2.9vw, 42px); }
.auto-lede { margin-top: 18px; max-width: 470px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.auto-list { margin: 22px 0 28px; border-top: 1px solid var(--line); max-width: 470px; }
.auto-list li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--ink); }
.auto-list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--gold-dk); border-bottom: 2px solid var(--gold-dk); transform: rotate(-45deg); }

@media (max-width: 980px) {
  .auto-grid { grid-template-columns: 1fr; }
  .auto-photo { max-height: none; }
}

/* ---------- Quote ---------- */
.quote { padding: clamp(96px, 11vw, 150px) 0; }
.quote-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.form-card { display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); padding: clamp(32px, 4vw, 56px); background: var(--white); box-shadow: 0 40px 80px -50px rgba(7, 21, 44, .45); }
.form-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt)); }
.form-banner { margin-bottom: 34px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.field-optional { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink); background: #FCFBF8;
  border: 1px solid #D9D2C3; border-radius: 2px; padding: 15px 16px; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
#contact-form { flex: 1; display: flex; flex-direction: column; }
.field--grow { flex: 1; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1B0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(217, 168, 53, .25); }
.field .err { display: none; font: 600 13px/1.3 var(--sans); color: #B3261E; margin-top: 8px; }
.field.invalid input, .field.invalid textarea { border-color: #B3261E; }
.field.invalid .err { display: block; }
.btn-submit { width: 100%; padding: 20px; font-size: 15.5px; margin-top: 8px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; font: 600 14px/1.4 var(--sans); color: #B3261E; }
.form-note { font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin-top: 18px; }
.form-note a { color: var(--navy); font-weight: 700; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.success-mark { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 18px; }
.form-success h2 { font-size: 40px; }
.form-success p { color: var(--ink-soft); margin-top: 14px; }
.form-success a { color: var(--navy); font-weight: 700; }

.contact-sidebar { display: grid; grid-template-rows: auto auto 1fr; gap: 18px; }
.side-card { background: var(--sand); padding: 32px 34px; }
.side-card h2 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.side-card p { color: var(--ink-soft); }
.side-card--navy { background: var(--navy); color: var(--white); }
.side-card--navy p { color: rgba(255, 255, 255, .75); }
.side-phone { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font: 700 15px/1 var(--sans); color: var(--gold-lt); text-decoration: none; }
.side-phone svg { width: 17px; height: 17px; color: var(--gold); }
.hours { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; flex-wrap: wrap; }
.hours span:first-child { color: var(--ink-soft); }
.steps { counter-reset: step; margin-top: 4px; }
.steps li { counter-increment: step; position: relative; padding: 14px 0 14px 50px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 13px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-dk); display: grid; place-items: center; font: 500 13px/1 var(--mono); }

/* ---------- Cities ---------- */
.cities { background: var(--sand); padding: clamp(56px, 6vw, 84px) 0; }
.cities-layout { display: block; text-align: center; max-width: 1240px; }
.cities-copy .eyebrow { justify-content: center; }
.cities-copy .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.cities-copy h2 { font-size: clamp(30px, 3vw, 40px); }
.cities-lede { margin: 12px auto 0; max-width: 620px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.city-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 22px; }
.city-grid li { display: flex; align-items: center; }
.city-grid li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 14px; }
.city-grid a { padding: 6px 0; text-decoration: none; font: 400 17px/1.2 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 48; color: var(--ink); white-space: nowrap; transition: color .3s; }
.city-grid a svg { display: none; }
.city-grid a:hover { color: var(--gold-dk); }
/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--white); min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 78%; z-index: -2; }
.cta-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 21, 44, .92) 0%, rgba(7, 21, 44, .7) 50%, rgba(7, 21, 44, .25) 100%); }
.cta-inner { padding-top: 110px; padding-bottom: 110px; }
.cta-band h2 { color: var(--white); max-width: 14ch; font-size: clamp(32px, 3.6vw, 52px); }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 22px; font-size: 18.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: rgba(255, 255, 255, .7); padding-top: 72px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand--footer { color: var(--white); }
.footer-call { display: inline-flex; align-items: center; gap: 14px; font: 400 clamp(26px, 3vw, 40px)/1 var(--serif); color: var(--gold-lt); text-decoration: none; letter-spacing: -.01em; }
.footer-call svg { width: 26px; height: 26px; color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 40px; padding: 52px 0; }
.site-footer h3 { font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-links li { margin: 12px 0; }
.footer-links a { text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--white); }
.footer-links-split { columns: 2; column-gap: 32px; }
.footer-links-split li { break-inside: avoid; margin-top: 0; margin-bottom: 12px; }
.footer-veteran { color: var(--gold-lt); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

.mobile-call-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero-inner > * { animation: rise 1.1s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .22s; }
.hero-inner > :nth-child(4) { animation-delay: .32s; }
.hero-rail { animation: fade 1.2s .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: marquee 48s linear infinite !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .primary-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--midnight); color: var(--white);
    padding: 110px var(--pad) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .site-header.nav-open .primary-nav { opacity: 1; visibility: visible; }
  .site-header.nav-open { color: var(--white); background: transparent; box-shadow: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-links > li > a, .nav-drop-btn { font: 400 30px/1 var(--serif); padding: 22px 0; width: 100%; justify-content: space-between; }
  .dropdown { position: static; min-width: 0; box-shadow: none; background: transparent; color: var(--white); border-top: 0; padding: 0 0 16px; transform: none; display: none; opacity: 1; visibility: visible; }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { color: rgba(255, 255, 255, .8); padding: 10px 0; }
  .dropdown a:hover { background: none; color: var(--gold-lt); }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .rail-inner { grid-template-columns: 1fr 1fr; }
  .rail-inner a, .rail-inner a + a { padding: 20px 16px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .rail-inner a:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .carriers-inner { grid-template-columns: 1fr; gap: 20px; }
  .cindex { grid-template-columns: 1fr; }
  .cindex-viewer { display: none; }
  .cindex-name { color: var(--navy); }
  .cindex-text { max-height: none; opacity: 1; margin-top: 14px; }
  .cindex-cta { max-height: none; opacity: 1; margin-top: 16px; }
  .cindex-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 20px; }
  .cindex-item a::before { width: 64px; }
  .split-head, .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-inner { height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-word { font-size: 21px; }
  .hero { min-height: 100svh; }
  .hero-inner { padding-top: 130px; }
  .hero-meta { font-size: 12px; }
  .meta-rule, .hero-meta span:first-child { display: none; }
  .rail-inner a { font-size: 14px; gap: 10px; }
  .rail-inner a svg:first-child { width: 24px; height: 24px; }
  .rail-arrow { display: none; }
  .trade-grid { grid-template-columns: 1fr; }
  .trade { aspect-ratio: 4 / 3.4; }
  .field-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links-split { columns: 1; }
  .mobile-call-bar {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 21, 44, .96); backdrop-filter: blur(10px);
  }
  .mobile-call-bar .btn { padding: 15px 10px; font-size: 14.5px; }
}

@media (max-width: 760px) {
  .city-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; column-gap: 22px; row-gap: 4px; }
  .city-grid li + li::before { display: none; }
  .city-grid a { font-size: 16px; }
}
@media (max-width: 400px) {
  .city-grid { grid-template-columns: repeat(2, auto); }
}

/* Comfortable thumb-sized tap areas on small links (visual size unchanged) */
.side-phone { padding: 12px 0; margin-top: 8px; }
.form-note a, .footer-bottom a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 640px) {
  .footer-links a { display: inline-block; padding: 6px 0; }
}

/* Phones: trades as a compact two-column grid (about half the scroll) */
@media (max-width: 640px) {
  .trade-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trade { aspect-ratio: 3 / 4; }
  .trade-body { padding: 14px 12px 12px; }
  .trade h3 { font-size: 16px; padding-bottom: 10px; margin-bottom: 2px; }
  .trade-links a { padding: 8px 0; font-size: 12px; letter-spacing: 0; }
}
/* Phones: hero copy sits up under the logo with "Fort Myers, Florida" between them,
   and the coverage rail becomes four tappable blocks, two by two, right under the paragraph */
@media (max-width: 760px) {
  .hero { justify-content: flex-start; }
  .hero-inner { padding-top: 104px; }
  .hero-meta { margin-bottom: 22px; }
  .hero-meta span:first-child { display: inline; }
  .hero-meta span:last-child, .meta-rule { display: none; }
}

/* Phones: shorter footer. Company and Get In Touch side by side,
   Insurance below in two columns (main coverages left, by-trade/by-city right) */
@media (max-width: 760px) {
  .site-footer { padding-top: 52px; }
  .footer-top { padding-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1.25fr; column-gap: 20px; row-gap: 32px; padding: 36px 0; }
  .footer-grid > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .footer-links li { margin: 6px 0; }
  .footer-links a, .footer-links span { font-size: 14px; }
  .footer-links-split { columns: 2; column-gap: 20px; }
  .footer-links-split li { margin-top: 0; margin-bottom: 6px; }
}

/* Phones: the hero buttons repeat the sticky Call Agent / Get a Quote bar, so drop them */
@media (max-width: 760px) {
  .hero-actions { display: none; }
}

/* The sticky Call Agent / Get a Quote bar shows on every phone size the hero buttons are hidden on */
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .mobile-call-bar {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 21, 44, .96); backdrop-filter: blur(10px);
  }
  .mobile-call-bar .btn { padding: 15px 10px; font-size: 14.5px; }
}

/* Phones: "Protect Your Business" copy sits near the top of the crane photo instead of mid-image */
@media (max-width: 760px) {
  .cta-band { align-items: flex-start; min-height: 400px; }
  .cta-inner { padding-top: 56px; padding-bottom: 56px; }
}

/* Phones: the four coverage links as one connected 2 x 2 panel along the bottom of the
   hero video, edge to edge, see-through like the desktop rail. The hero stops just above
   the sticky Call Agent / Get a Quote bar so the panel sits right on top of it. */
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 66px - env(safe-area-inset-bottom)); }
  .hero-inner { padding-bottom: 32px; }
  .hero-rail {
    margin-top: auto; border-top: 1px solid rgba(240, 211, 143, .28);
    background: linear-gradient(180deg, rgba(7, 21, 44, .12), rgba(7, 21, 44, .42));
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .rail-inner { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; max-width: none; }
  .rail-inner a, .rail-inner a + a {
    flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px;
    min-height: 104px; padding: 18px var(--pad); font: 600 15px/1.25 var(--sans);
    background: none; border: 0; border-radius: 0; backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .rail-inner a:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
  .rail-inner a:nth-child(n+3) { border-bottom: 0; }
  .rail-inner a svg:first-child { width: 26px; height: 26px; }
  .rail-inner a:active { background: rgba(217, 168, 53, .14); }
}

/* Phones: coverage links as plain see-through text with the icon in front of each name,
   no boxes or dividers. Bottom row keeps its spot; top row sits half as far above it. */
@media (max-width: 760px) {
  .hero-rail { border-top: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .rail-inner a, .rail-inner a + a {
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px;
    min-height: 0; padding: 13px var(--pad); border: 0;
    text-shadow: 0 1px 12px rgba(7, 21, 44, .7);
  }
  .rail-inner a:nth-child(odd) { border-right: 0; }
  .rail-inner a:nth-child(n+3) { padding-bottom: 22px; }
  .rail-inner a svg:first-child { width: 24px; height: 24px; filter: drop-shadow(0 1px 6px rgba(7, 21, 44, .7)); }
}
@media (max-width: 760px) {
  .rail-inner a, .rail-inner a + a { gap: 8px; font-size: 14.5px; white-space: nowrap; }
  .rail-inner a:nth-child(odd) { padding-right: 6px; }
  .rail-inner a:nth-child(even) { padding-left: 6px; }
  .rail-inner a svg:first-child { width: 21px; height: 21px; }
}
@media (max-width: 380px) {
  .rail-inner a, .rail-inner a + a { font-size: 13.5px; gap: 7px; }
  .rail-inner a svg:first-child { width: 19px; height: 19px; }
}
/* Phones: nothing behind the coverage links. The hero's bottom darkening and the
   text shadows are removed so the video shows through untouched. */
@media (max-width: 760px) {
  .hero-veil {
    background: linear-gradient(180deg, rgba(7, 21, 44, .78) 0%, rgba(7, 21, 44, .5) 50%, rgba(7, 21, 44, 0) 78%);
  }
  .rail-inner a, .rail-inner a + a { text-shadow: none; background: none; }
  .rail-inner a svg:first-child { filter: none; }
}
/* Phones: Call Agent and Get a Quote are the same size, text centered */
@media (max-width: 760px) {
  .mobile-call-bar { grid-template-columns: 1fr 1fr; }
  .mobile-call-bar .btn { justify-content: center; text-align: center; }
}

/* Phones: carriers label on one line with less space above the logos;
   Coverage heading centered and pulled up closer to the carriers strip */
@media (max-width: 760px) {
  .carriers-inner { gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .carriers-label { white-space: nowrap; }
  .carriers-label br { display: none; }
  .coverage { padding-top: 48px; }
  .coverage-head { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
  .coverage-head .eyebrow { justify-content: center; }
  .coverage-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
}

/* Phones: Industries heading centered like Coverage; half the empty space
   between Business Auto and Request a Quote, and between the quote section and Service Area */
@media (max-width: 760px) {
  .industries .split-head { text-align: center; }
  .industries .split-head .eyebrow { justify-content: center; }
  .industries .split-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
  .auto { padding-bottom: 32px; }
  .quote { padding-top: 48px; padding-bottom: 40px; }
  .cities { padding-top: 36px; }
}
@media (max-width: 352px) {
  .rail-inner a, .rail-inner a + a { font-size: 12.5px; gap: 6px; }
  .rail-inner a svg:first-child { width: 17px; height: 17px; }
}

/* Menu bars turn brand navy once the header goes white */
.site-header.is-solid .nav-toggle { color: var(--navy); }

/* Footer brand row: GL Brokers on the left, a thin gold rule running from the end of the
   wordmark across the page with the signature star in the middle; no separate line below */
.footer-top{ display:flex; align-items:center; gap:22px; flex-wrap:nowrap; padding-bottom:0; margin-bottom:8px; border-bottom:0; }
.footer-rule{ flex:1; display:flex; align-items:center; gap:14px; color:var(--gold); min-width:60px; }
.footer-rule::before, .footer-rule::after{ content:""; flex:1; height:1px; background:rgba(240,211,143,.35); }
.footer-star{ width:18px; height:18px; flex:none; filter:drop-shadow(0 0 6px rgba(217,168,53,.45)); }

/* Desktop hero rail: see-through, no boxes; arrows sit right after each name */
@media (min-width: 761px) {
  .hero-rail { border-top: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .rail-inner a, .rail-inner a + a { border-right: 0; padding-left: 0; padding-right: 0; text-shadow: 0 1px 14px rgba(7, 21, 44, .55); }
  .rail-arrow { margin-left: 10px; opacity: .8; }
  .rail-inner a:hover { background: none; }
  .rail-inner a:hover span { color: var(--gold-lt); }
}
@media (max-width: 760px) { .footer-top { gap: 16px; } .footer-rule { gap: 10px; } }

.footer-star { width: 24px; height: 24px; }
.footer-rule::before, .footer-rule::after { background: rgba(240, 211, 143, .45); }

/* Desktop footer brand row: GL Brokers centered over the Company column, the star at the exact
   center of the page, and each half of the gold line fading out at both ends */
@media (min-width: 981px){
  .site-footer .shell{ container-type:inline-size; }
  .footer-top{ display:grid; grid-template-columns:var(--c1) calc(50cqw - var(--c1) - 20px) 40px 1fr; align-items:center; gap:0;
    --c1:calc((100cqw - 80px) / 4.2); }
  .footer-top .brand{ justify-self:center; }
  .footer-rule{ display:contents; }
  .footer-rule::before, .footer-rule::after{ content:""; height:1px; align-self:center; }
  .footer-rule::before{ grid-column:2; margin-left:16px; background:linear-gradient(90deg, rgba(240,211,143,0), rgba(240,211,143,.5) 30%, rgba(240,211,143,.5) 70%, rgba(240,211,143,0)); }
  .footer-star{ grid-column:3; justify-self:center; }
  .footer-rule::after{ grid-column:4; background:linear-gradient(90deg, rgba(240,211,143,0), rgba(240,211,143,.5) 30%, rgba(240,211,143,.5) 70%, rgba(240,211,143,0)); }
}
/* Phones and tablets: same idea, lines fade at their ends */
@media (max-width: 980px){
  .footer-rule::before{ background:linear-gradient(90deg, rgba(240,211,143,0), rgba(240,211,143,.5) 35%, rgba(240,211,143,.5)); }
  .footer-rule::after{ background:linear-gradient(90deg, rgba(240,211,143,.5), rgba(240,211,143,.5) 65%, rgba(240,211,143,0)); }
}

/* Desktop hero: lighter shading along the bottom so the video shows behind the coverage links */
@media (min-width: 761px){
  .hero-veil{ background:
    linear-gradient(90deg, rgba(7, 21, 44, .86) 0%, rgba(7, 21, 44, .55) 45%, rgba(7, 21, 44, .1) 78%),
    linear-gradient(0deg, rgba(7, 21, 44, .28) 0%, rgba(7, 21, 44, 0) 26%),
    linear-gradient(180deg, rgba(7, 21, 44, .55) 0%, rgba(7, 21, 44, 0) 22%); }
}

/* Phones: GL Brokers centered in the footer, a gold line running out to each side and fading away */
@media (max-width: 760px){
  .footer-top{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:0; }
  .footer-top .brand{ grid-column:2; grid-row:1; justify-self:center; }
  .footer-rule{ display:contents; }
  .footer-star{ display:none; }
  .footer-rule::before, .footer-rule::after{ content:""; height:1px; align-self:center; grid-row:1; }
  .footer-rule::before{ grid-column:1; margin-right:16px; background:linear-gradient(90deg, rgba(240,211,143,0), rgba(240,211,143,.55) 75%, rgba(240,211,143,.3)); }
  .footer-rule::after{ grid-column:3; margin-left:16px; background:linear-gradient(90deg, rgba(240,211,143,.3), rgba(240,211,143,.55) 25%, rgba(240,211,143,0)); }
}

/* Phones: hero video shaded to match the desktop's depth so the white lettering stays crisp */
@media (max-width: 760px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(7, 21, 44, .8) 0%, rgba(7, 21, 44, .62) 45%, rgba(7, 21, 44, .55) 75%, rgba(7, 21, 44, .62) 100%);
  }
}

/* Phones: half the white space under the Commercial Property photo, and 25% less above Industries */
@media (max-width: 760px) {
  .coverage { padding-bottom: 33px; }
  .industries { padding-top: 72px; }
}

/* Desktop footer: the "B" in Brokers sits centered over the "C" in COMPANY (the logo hangs left
   into the margin; on narrower screens it stops short of the window edge). The gold line starts
   just after the wordmark; the star stays at the page center. */
@media (min-width: 981px){
  .footer-top{ --shift:max(-99px, calc(12px - ((100vw - min(100vw, 1320px)) / 2 + var(--pad)))); }
  .footer-top .brand{ grid-column:1; grid-row:1; justify-self:start; margin-left:var(--shift); }
  .footer-rule::before{ grid-column:1 / 3; grid-row:1; margin-left:calc(184px + var(--shift) + 18px); }
  .footer-star, .footer-rule::after{ grid-row:1; }
}

/* Desktop footer: symmetric columns so the star is always at the exact page center */
@media (min-width: 981px){
  .footer-top{ grid-template-columns:1fr 40px 1fr; }
  .footer-top .brand{ grid-column:1; }
  .footer-rule::before{ grid-column:1; }
  .footer-star{ grid-column:2; }
  .footer-rule::after{ grid-column:3; }
}

/* Desktop footer: the "G" in GL Brokers lines up with the "C" in COMPANY (logo hangs into the margin) */
@media (min-width: 981px){
  .footer-top{ --shift:max(-58px, calc(12px - ((100vw - min(100vw, 1320px)) / 2 + var(--pad)))); }
}

/* Desktop: 25% less space between homepage sections */
@media (min-width: 761px) {
  .carriers-inner { padding-top: 25.5px; padding-bottom: 25.5px; }
  .coverage { padding: clamp(54px, 6.19vw, 90px) 0 clamp(72px, 8.25vw, 120px); }
  .industries { padding: clamp(72px, 8.25vw, 112.5px) 0; }
  .auto { padding: clamp(48px, 5.25vw, 72px) 0; }
  .quote { padding: clamp(72px, 8.25vw, 112.5px) 0; }
  .cities { padding: clamp(42px, 4.5vw, 63px) 0; }
  .cta-band { min-height: 420px; }
  .cta-inner { padding-top: 82.5px; padding-bottom: 82.5px; }
  .site-footer { padding-top: 54px; }
}

/* Readability (contrast) for small gold labels and gold italic words on white/sand sections */
.eyebrow { color: #84600F; }
.eyebrow--gold, .hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.coverage h2 em, .industries h2 em, .auto h2 em, .quote h2 em, .cities h2 em { color: var(--gold-dk); }
/* Dimmed coverage names stay readable (contrast) */
.cindex-item:not(.is-active) .cindex-name { color: #7D869A; }

/* Home header on computers (approved by Alex 2026-11-09): menu centred on the page; Get a Quote the same
   distance from the right edge as from the top (21px), phone number beside it. Logo and banner unchanged. */
@media (min-width: 981px) {
  .site-header .header-inner { position: static; }
  .site-header .primary-nav { position: absolute; left: 50%; top: 0; bottom: 0; margin: 0; display: flex; align-items: center; transform: translateX(-50%); }
  .site-header .header-actions { position: absolute; right: 21px; top: 0; bottom: 0; margin: 0; display: flex; align-items: center; }
}

/* Home page (approved by Alex 2026-11-09): these three sections 5% smaller on computers, same place, same shapes. Nothing else changed. */
@media (min-width: 981px) {
  .hero .hero-inner, .hero .hero-rail { zoom: .95; }
  section.coverage, section.industries { zoom: .95; }
}
/* Home page (approved by Alex 2026-11-09): the top banner's text block and its coverage links 25% closer to the left edge.
   Their distance from the left edge is (screen width - 1148px) / 2, so they move left by a quarter of that. */
@media (min-width: 1148px) {
  .hero .hero-inner, .hero .hero-rail { position: relative; left: calc((1148px - 100vw) / 8); }
}
/* Home page (approved by Alex 2026-11-09): a quarter inch (24px on screen) more space between "Licensed agents answering..." and the coverage row
   (General Liability, Workers' Comp...). The row is drawn at 95%, so 24 / .95 gives 24px on screen. */
@media (min-width: 981px) { .hero .hero-rail { margin-top: calc(24px / .95); } }
/* Home page (approved by Alex 2026-11-09): GL Brokers logo and name in the left corner, mirroring Get a Quote on the right:
   the same 21px from the left edge as from the top. */
@media (min-width: 981px) {
  .site-header .brand { position: absolute; left: 21px; top: 0; bottom: 0; display: flex; align-items: center; }
}

/* Home page (approved by Alex 2026-11-09): the Contact page's quote form on the Home page. Its own styles (toolbox prune_css.py),
   limited to this section only. */
#free-quote {--navy-950:#07152c;--navy-900:#0b2145;--navy-800:#123262;--navy-700:#1a4283;--navy-600:#2857a8;--gold-700:#a97a1e;--gold-600:#c99429;--gold-500:#d9a835;--gold-400:#e6bd5c;--gold-300:#f0d38f;--ink:#1a2130;--ink-soft:#4b5568;--ink-faint:#7a8496;--line:#e7e1d5;--line-soft:#f0ebe0;--bg:#fffdfa;--bg-alt:#f8f3ea;--bg-navy-tint:#eef2f9;--font-display:'Fraunces',Georgia,'Times New Roman',serif;--font-body:'Open Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--radius-sm:8px;--radius-md:14px;--radius-lg:22px;--shadow-sm:0 1px 2px rgba(11,33,69,0.06),0 1px 1px rgba(11,33,69,0.04);--shadow-md:0 8px 24px rgba(11,33,69,0.08),0 2px 6px rgba(11,33,69,0.05);--shadow-lg:0 24px 60px rgba(11,33,69,0.14),0 8px 20px rgba(11,33,69,0.08);--wrap:1180px;--ease:cubic-bezier(.22,.8,.28,1)--navy-950:#07152C;--navy-900:#0B2145;--navy-800:#123262;--navy-700:#123262;--navy-600:#1E4A86;--gold-700:#A97A1E;--gold-600:#C99429;--gold-500:#D9A835;--gold-400:#D9A835;--gold-300:#F0D38F;--ink:#14203A;--ink-soft:#56607A;--ink-faint:#7A8299;--line:#E4DED1;--line-soft:#EEE9DF;--bg:#FFFFFF;--bg-alt:#F6F2EA;--bg-navy-tint:#F6F2EA;--font-display:"Fraunces",Georgia,serif;--font-body:"Manrope",system-ui,sans-serif;--font-mono:"IBM Plex Mono",ui-monospace,monospace;--radius-sm:2px;--radius-md:4px;--radius-lg:4px;--ease:cubic-bezier(.22,1,.36,1);--hdr:88px;--ink-faint:#5F6880;}
#free-quote *, #free-quote ::after, #free-quote ::before {box-sizing:border-box}
@media (prefers-reduced-motion:reduce) {
#free-quote *, #free-quote ::after, #free-quote ::before {animation-duration:0s!important;animation-iteration-count:1!important;transition-duration:0s!important;scroll-behavior:auto!important}
}
#free-quote img {max-width:100%;display:block}
#free-quote a {color:inherit}
#free-quote h1, #free-quote h2, #free-quote h3, #free-quote h4 {font-family:var(--font-display);color:var(--navy-900);line-height:1.15;margin:0 0 .5em;font-weight:600;letter-spacing:-.01em}
#free-quote p {margin:0 0 1em;color:var(--ink-soft)}
#free-quote ol, #free-quote ul {color:var(--ink-soft)}
#free-quote .wrap {max-width:var(--wrap);margin:0 auto;padding:0 24px}
#free-quote .star {display:inline-block;width:1em;height:1em;background:currentColor;clip-path:path('M12 0 C12 6.5 13.5 8.5 18 9.5 C13.5 10.5 12 12.5 12 19 C12 12.5 10.5 10.5 6 9.5 C10.5 8.5 12 6.5 12 0 Z')}
#free-quote .divider-star {display:flex;align-items:center;gap:14px;color:var(--gold-500)}
#free-quote .divider-star::after, #free-quote .divider-star::before {content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent)}
#free-quote .btn {position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-body);font-weight:700;font-size:.98rem;padding:14px 26px;border-radius:999px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease);white-space:nowrap}
#free-quote .btn:active {transform:scale(.97)}
#free-quote .btn-gold {background:linear-gradient(180deg,#ffcf4d 0,#e8a51c 50%,#c17d0c 100%);border-color:#ffdb70;color:var(--navy-950);box-shadow:0 6px 18px rgba(193,125,12,.5)}
#free-quote .btn-gold:hover {box-shadow:0 10px 26px rgba(193,125,12,.65);transform:translateY(-2px)}
#free-quote .btn-gold::after {content:"";position:absolute;inset:-6px;border-radius:inherit;padding:3px;background:conic-gradient(from 0deg,transparent 0 80%,var(--gold-200) 88%,#fff 92%,var(--gold-200) 96%,transparent 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:blur(1.5px);opacity:0;pointer-events:none;transition:opacity .3s ease;animation:btn-orbit 2.2s linear infinite;animation-play-state:paused}
#free-quote .btn-gold:active::after, #free-quote .btn-gold:focus-visible::after, #free-quote .btn-gold:hover::after {opacity:1;animation-play-state:running}
@keyframes btn-orbit{to{transform:rotate(360deg)}}
#free-quote .btn svg {width:16px;height:16px;transition:transform .25s var(--ease)}
#free-quote .btn:hover svg {transform:translateX(3px)}
#free-quote .btn-arrow-static svg {transition:none}
#free-quote .btn-arrow-static:hover svg {transform:none}
#free-quote section {padding:66px 0}
#free-quote .contact-section-top {padding-top:56px}
#free-quote .contact-grid {display:grid;grid-template-columns:minmax(0,640px) 360px;gap:81px;align-items:start}
#free-quote .contact-grid .form-card {width:100%;max-width:640px}
#free-quote .contact-sidebar {display:grid;gap:24px}
#free-quote .contact-info-card>p {color:#dfe6f2;font-size:.95rem;margin-bottom:18px}
#free-quote .contact-info-card.card-light {background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-md)}
#free-quote .contact-info-card.card-light h2 {color:var(--navy-900)}
#free-quote .contact-info-card.card-light .next-steps li {color:var(--navy-800);border-top-color:var(--line)}
#free-quote .form-banner {background:radial-gradient(120% 160% at 20% 0,var(--navy-700),var(--navy-950) 65%);margin:-38px -38px 30px;padding:22px 24px;border-radius:var(--radius-lg) var(--radius-lg) 0 0;text-align:center}
#free-quote .form-banner h1, #free-quote .form-banner h2 {color:#fff;margin:0;font-weight:500;letter-spacing:-.015em;white-space:nowrap;font-size:clamp(.92rem, 2.6vw, 1.45rem)}
#free-quote .contact-info-card .divider-star {margin:10px 0 16px}
#free-quote .contact-details {list-style:none;margin:0;padding:0}
#free-quote .contact-details li {padding:14px 0;border-top:1px solid var(--line);color:var(--navy-800);font-size:.95rem;line-height:1.55}
#free-quote .contact-details li:first-child {border-top:none;padding-top:0}
#free-quote .contact-details li:last-child {padding-bottom:0}
#free-quote .contact-detail-label {display:block;font-family:var(--font-body);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:5px}
#free-quote .next-steps {list-style:none;margin:0;padding:0;counter-reset:step}
#free-quote .next-steps li {counter-increment:step;position:relative;padding:12px 0 12px 44px;border-top:1px solid rgba(255,255,255,.12);color:#dfe6f2;font-size:.93rem;line-height:1.5}
#free-quote .next-steps li:first-child {border-top:none}
#free-quote .next-steps li::before {content:counter(step);position:absolute;left:0;top:12px;width:30px;height:30px;border-radius:50%;background:rgba(217,168,53,.16);color:var(--gold-400);font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center}
#free-quote .contact-info-card {background:var(--navy-900);color:#fff;border-radius:var(--radius-lg);padding:38px 34px}
#free-quote .contact-info-card h2 {color:#fff;font-size:1.2rem}
#free-quote .form-card {background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:38px;box-shadow:var(--shadow-md)}
#free-quote .field {margin-bottom:18px}
#free-quote .field label {display:block;font-size:.86rem;font-weight:600;color:var(--navy-900);margin-bottom:7px}
#free-quote .field input, #free-quote .field select, #free-quote .field textarea {width:100%;padding:13px 15px;border-radius:10px;border:1.5px solid var(--line);font-family:var(--font-body);font-size:.96rem;color:var(--ink);background:#fbfcfe;transition:border-color .25s var(--ease),box-shadow .25s var(--ease)}
#free-quote .field input:focus, #free-quote .field select:focus, #free-quote .field textarea:focus {outline:0;border-color:var(--gold-500);box-shadow:0 0 0 4px rgba(217,168,53,.16)}
#free-quote .field textarea {resize:vertical;min-height:130px}
#free-quote .field .err {display:none;color:#c0392b;font-size:.78rem;margin-top:6px}
#free-quote .form-note {font-size:.8rem;color:var(--ink-faint);margin-top:14px}
#free-quote .form-success {display:none;text-align:center;padding:40px 20px}
#free-quote .reveal {opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
#free-quote .reveal.in-view {opacity:1;transform:none}
@media (max-width:980px) {
#free-quote .contact-grid {grid-template-columns:1fr}
#free-quote .contact-grid .form-card {max-width:none}
}
@media (max-width:760px) {
#free-quote section {padding:60px 0}
}
@media (max-width:480px) {
#free-quote .wrap {padding:0 18px}
#free-quote section {padding:48px 0}
}
#free-quote .field-optional {font-weight:500;font-size:.9em;color:var(--ink-faint);letter-spacing:0;text-transform:none}
#free-quote p, #free-quote li {color:inherit;}
#free-quote h1, #free-quote h2 {font-family:var(--font-display);font-weight:400;font-optical-sizing:auto;letter-spacing:-.01em;color:var(--navy-900);}
#free-quote .eyebrow, #free-quote .section-eyebrow, #free-quote .about-copy .kicker, #free-quote .contact-detail-label, #free-quote .legal-notice h4 {font-family:var(--font-mono);font-weight:500;letter-spacing:.2em;text-transform:uppercase;}
#free-quote .btn {font-family:var(--font-body);font-weight:700;letter-spacing:.02em;border-radius:2px;border-width:1px;}
#free-quote .btn-gold, #free-quote .nav-cta .btn-gold {background:linear-gradient(180deg,#E8C163,var(--gold-500));border-color:transparent;color:var(--navy-950);box-shadow:none;}
#free-quote .btn-gold:hover, #free-quote .nav-cta .btn-gold:hover {background:linear-gradient(180deg,#F2CF78,#E2B347);box-shadow:0 14px 30px -14px rgba(217,168,53,.85);transform:none;}
#free-quote .btn-gold::after {display:none;}
#free-quote .page-hero, #free-quote .form-banner {background:radial-gradient(120% 160% at 15% 0%,#123262 0%,#0B2145 40%,#07152C 75%);}
#free-quote .field input, #free-quote .field select, #free-quote .field textarea {font-family:var(--font-body);background:#fff;border-radius:2px;}
#free-quote .field input:focus, #free-quote .field select:focus, #free-quote .field textarea:focus {border-color:var(--gold-500);box-shadow:0 0 0 3px rgba(217,168,53,.18);}
#free-quote .talk-phone {display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:4px;color:#fff;font:700 1.15rem/1.2 var(--font-body);letter-spacing:.01em;text-decoration:none;}
#free-quote .talk-phone .icon-lead {width:20px;height:20px;color:var(--gold-500);flex:none;}
#free-quote .talk-phone:hover {color:var(--gold-300);}
#free-quote .contact-grid button[type="submit"] svg, #free-quote form button[type="submit"].btn svg {margin:0;}
@media (max-width: 760px) {
#free-quote form button[type="submit"].btn {width:auto !important;min-width:66%;padding:15px 28px;gap:10px;}
#free-quote form button[type="submit"].btn svg {width:18px;height:18px;flex:none;}
}
@media (max-width: 760px) {
#free-quote .contact-grid {row-gap:40px;}
}
@media (min-width: 981px) {
#free-quote .contact-grid {align-items:stretch;}
#free-quote .contact-grid .form-card {display:flex;flex-direction:column;}
#free-quote .contact-grid #contact-form {flex:1;display:flex;flex-direction:column;}
#free-quote .contact-grid #contact-form .field:has(textarea) {flex:1;display:flex;flex-direction:column;}
#free-quote .contact-grid #contact-form textarea {flex:1;min-height:140px;resize:vertical;}
}
/* CQ-OVERRIDES: Contact page values where the Home page's own styles differ */
#free-quote .contact-grid div.form-card { position: static; font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid div.form-banner { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid form:not([class]) { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid div.field { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid label:not([class]) { line-height: 22.016px; }
#free-quote .contact-grid input:not([class]) { font-weight: 400; line-height: normal; }
#free-quote .contact-grid span.err { font-weight: 400; line-height: 19.968px; }
#free-quote .contact-grid span.field-optional { line-height: 18.4934px; }
#free-quote .contact-grid textarea:not([class]) { font-weight: 400; line-height: normal; }
#free-quote .contact-grid button.btn.btn-gold.btn-arrow-static { line-height: normal; }
#free-quote .contact-grid p.form-status.cf-note { color: rgb(180, 35, 24); font-weight: 400; line-height: 22.4px; margin-top: 10px; margin-bottom: 0px; border-top-color: rgb(180, 35, 24); text-align: center; }
#free-quote .contact-grid a:not([class]) { display: inline; font-weight: 400; margin-top: 0px; margin-bottom: 0px; padding-top: 0px; }
#free-quote .contact-grid aside.contact-sidebar { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid div.contact-info-card { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid p:not([class]) { line-height: 24.32px; }
#free-quote .contact-grid div.contact-info-card.card-light { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid div.divider-star { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid span.star { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid ul.contact-details { font-size: 16px; line-height: 25.6px; }
#free-quote .contact-grid ol.next-steps { font-size: 16px; line-height: 25.6px; }
/* the Home page's scroll-in signal (is-in) finishes the form's slide-in, like in-view does on the Contact page */
#free-quote .reveal.is-in { opacity: 1; transform: none; }
#free-quote .contact-grid label { text-transform: none; letter-spacing: normal; }
#free-quote .contact-grid p.form-status { color: #b42318; font-weight: 400; line-height: 22.4px; margin: 10px 0 0; text-align: center; }
#free-quote .contact-grid p.form-status:empty { display: none; }
#free-quote .contact-grid h2:not([class]) { font-variation-settings: normal; }
#free-quote .contact-grid a:not([class]) { padding-bottom: 0; }
#free-quote .contact-grid .contact-sidebar { grid-template-rows: none; }
/* space above and below the quote section, the same as the Business Auto section uses */
#free-quote { padding: clamp(48px, 5.25vw, 72px) 0; }
/* the form's after-send and error states (only switched on after someone types or sends) */
#free-quote .form-success.show { display: block; }
#free-quote .field.invalid input, #free-quote .field.invalid select, #free-quote .field.invalid textarea { border-color: #c0392b; }
#free-quote .field.invalid .err { display: block; }
/* /CQ-OVERRIDES */

/* Home page (Alex, 2026-11-09): the copied Contact-form styles above are tied to #free-quote and were
   overriding the "message sent" card (squeezed on phones, name turned navy). This repeats sent-card.css
   inside #free-quote so the card looks exactly like it does on the Contact page. */
#free-quote .form-card.is-sent { background: none; border: 0; box-shadow: none; padding: 0; }
#free-quote .form-card.is-sent::before, #free-quote .form-card.is-sent .form-banner { display: none; }
#free-quote .form-card.is-sent .form-success { padding: 0; text-align: left; }
#free-quote .sent-card {
  --sc-navy-950: #07152c; --sc-navy-900: #0b2145; --sc-gold-600: #c99429; --sc-gold-500: #d9a835; --sc-gold-400: #e6bd5c; --sc-gold-300: #f0d38f;
  --sc-serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sc-sans: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --sc-mono: "IBM Plex Mono", ui-monospace, monospace;
  --sc-m: 24px; 
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 540px; margin: 0 auto; padding: 38px 32px 34px; border-radius: 8px;
  background: radial-gradient(120% 90% at 100% 0%, #173d75 0%, rgba(23, 61, 117, 0) 55%), linear-gradient(160deg, #0b2145, #07152c);
  color: #fff; text-align: left; font: 400 16px/1.6 var(--sc-sans);
  box-shadow: 0 26px 50px -28px rgba(7, 21, 44, .75);
}
#free-quote .sent-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 168, 53, .42); border-radius: 4px; pointer-events: none; }
#free-quote .sent-card .sc-top { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: center; }
#free-quote .sent-card .sc-photo { display: block; width: 132px; height: 176px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--sc-gold-500), 0 16px 30px -14px rgba(0, 0, 0, .55); }
#free-quote .sent-card .sc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; font: 600 12px/1 var(--sc-sans); color: #86f2b7; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .35); }
#free-quote .sent-card .sc-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2fd17a; box-shadow: 0 0 8px rgba(47, 209, 122, .9); }
#free-quote .sent-card .sc-name { margin: 14px 0 6px; font: 400 34px/1.05 var(--sc-serif); color: #fff; letter-spacing: 0; }
#free-quote .sent-card .sc-role { display: block; font: 500 11px/1.4 var(--sc-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--sc-gold-300); }
#free-quote .sent-card .sc-msg { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
#free-quote .sent-card .sc-msg strong { color: #fff; font-weight: 700; }
#free-quote .sent-card .sc-steps { list-style: none; margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
#free-quote .sent-card .sc-steps::before, #free-quote .sent-card .sc-steps::after { content: ""; position: absolute; top: calc(26px + var(--sc-m) / 2); height: 1px; transform: translateY(-50%); }
#free-quote .sent-card .sc-steps::before { left: calc(var(--sc-m) / 2); width: calc(50% - var(--sc-m) / 2); background: var(--sc-gold-500); }
#free-quote .sent-card .sc-steps::after { left: 50%; width: calc(50% - var(--sc-m) / 2); background: repeating-linear-gradient(90deg, var(--sc-gold-500) 0 4px, transparent 4px 9px); opacity: .75; }
#free-quote .sent-card .sc-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0; padding: 0; }
#free-quote .sent-card .sc-steps li:first-child { align-items: flex-start; text-align: left; }
#free-quote .sent-card .sc-steps li:last-child { align-items: flex-end; text-align: right; }
#free-quote .sent-card .sc-mk { position: relative; display: grid; place-items: center; width: var(--sc-m); height: var(--sc-m); border-radius: 50%; border: 1.5px solid var(--sc-gold-500); background: #0d2547; }
#free-quote .sent-card .sc-mk svg { width: 12px; height: 12px; fill: none; stroke: var(--sc-gold-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#free-quote .sent-card .sc-next .sc-mk { border-style: dashed; }
#free-quote .sent-card .sc-next .sc-mk::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-gold-500); animation: sc-breathe 1.8s ease-in-out infinite; }
#free-quote .sent-card .sc-steps b { display: block; margin-top: 12px; font: 500 10.5px/1.35 var(--sc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sc-gold-300); }
#free-quote .sent-card .sc-steps small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: #fff; }
#free-quote .sent-card .sc-steps small span { white-space: nowrap; }
#free-quote 50% { transform: scale(.55); opacity: .45; }
@media (max-width: 560px) {
  #free-quote .sent-card { padding: 26px 16px 24px; }
  #free-quote .sent-card .sc-top { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  #free-quote .sent-card .sc-photo { width: 84px; height: 112px; }
  #free-quote .sent-card .sc-name { font-size: 24px; }
  #free-quote .sent-card .sc-role { letter-spacing: .08em; }
  #free-quote .sent-card .sc-msg { font-size: 14px; }
  #free-quote .sent-card .sc-steps { grid-template-columns: 1fr; gap: 20px; }
  #free-quote .sent-card .sc-steps::before, #free-quote .sent-card .sc-steps::after { display: none; }
  #free-quote .sent-card .sc-steps li, #free-quote .sent-card .sc-steps li:first-child, #free-quote .sent-card .sc-steps li:last-child {
    display: grid; grid-template-columns: var(--sc-m) 1fr; column-gap: 14px; align-items: center; text-align: left; }
  #free-quote .sent-card .sc-mk { grid-row: 1 / 3; }
  #free-quote .sent-card .sc-steps b { margin-top: 0; font-size: 10px; letter-spacing: .14em; }
  #free-quote .sent-card .sc-steps small { margin-top: 2px; font-size: 14px; }
  #free-quote .sent-card .sc-steps li:not(:last-child)::after {
    content: ""; position: absolute; left: calc(var(--sc-m) / 2); top: calc(50% + var(--sc-m) / 2 + 3px);
    height: calc(100% - var(--sc-m) + 14px); width: 1px; transform: translateX(-50%); background: var(--sc-gold-500); }
  #free-quote .sent-card .sc-steps li:nth-child(2)::after { background: repeating-linear-gradient(180deg, var(--sc-gold-500) 0 4px, transparent 4px 8px); opacity: .8; }
}

/* Home bottom block "Protect Your Business" (Alex, 2026-11-09): on computers the text moves up 50% of its
   distance from the top edge, giving more room above the dark footer line. Phones unchanged. */
@media (min-width: 981px) {
  .cta-band .cta-inner { position: relative; top: -54px; }
}

/* Bottom block (Alex, 2026-11-09): phone number first (white, gold icon), then the gold Get a Quote button,
   like the header's top-right corner. Shown on phones too. */
.cta-band .cta-phone { display: inline-flex; align-items: center; gap: 9px; font: 700 17px/1 var(--sans); color: #fff; text-decoration: none; white-space: nowrap; }
.cta-band .cta-phone:hover { color: var(--gold-300, #f0d38f); }
.cta-band .cta-phone svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.cta-band .hero-actions { align-items: center; gap: 28px; }
@media (max-width: 760px) { .cta-band .hero-actions { display: flex; gap: 18px; margin-top: 28px; } }

/* Home bottom block (Alex, 2026-11-09): the phone number and Get a Quote sit a quarter inch (24px) above the
   horizon in the crane photo. The horizon is 945px down the 1067px photo, which covers the block at
   object-position 58% 78%, so its height above the block's bottom = 22% of block height - 7.046% of block width
   (wide screens) or 11.43% of block height (phones). Heading and text stay where they were. */
.cta-band { container-type: inline-size; align-items: stretch; }
.cta-band .cta-inner { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 0; }
.cta-band .hero-actions { margin-top: auto; padding-top: 28px; }
@media (max-width: 760px) {
  .cta-band { min-height: 400px; }
  .cta-band .cta-inner { padding-top: 56px; }
  .cta-band .hero-actions { margin-top: auto; margin-bottom: 83px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .cta-band { min-height: 420px; }
  .cta-band .cta-inner { padding-top: 90px; }
  .cta-band .hero-actions { margin-bottom: max(24px, calc(116.4px - 7.046cqw)); }
}
@media (min-width: 981px) {
  .cta-band { min-height: 466px; }
  .cta-band .cta-inner { top: 0; padding-top: 29px; }
  .cta-band .hero-actions { margin-bottom: max(24px, calc(126.5px - 7.046cqw)); }
}

/* Phones (Alex, 2026-11-10): no phone number / Get a Quote row in this block; the pinned call bar covers it. */
@media (max-width: 760px) { .cta-band .hero-actions { display: none; } }

/* Fable Fixes B1 (2026-11-10): on small phones the 300px Cloudflare check did not fit inside the card padding, which pushed the page sideways. Narrower side padding gives it room. */
@media (max-width: 480px) { #free-quote .form-card { padding: 28px 18px; } #free-quote .form-banner { margin: -28px -18px 24px; } }
