/* 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(36px, 4.4vw, 64px); 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(760px, 100svh); 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(52px, 7.6vw, 118px); 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 11.5px/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 27px/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(34px, 3.6vw, 52px); }
.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(42px, 5.2vw, 76px); }
.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 h4 { font: 500 11.5px/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: 11px; }
  .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: 17px; padding-bottom: 10px; margin-bottom: 2px; }
  .trade-links a { padding: 8px 0; font-size: 11.5px; 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: 520px; }
  .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; }
