/* Roofs and Gutter – mobile-first stylesheet (no frameworks) */
:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --blue: #38bdf8;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --slate: #4a6470;       /* from the logo's slate blue-gray, darkened for text contrast */
  --slate-logo: #5b7078;
  --slate-light: #e7eef1;
  --ink: #1e293b;
  --muted: #526071;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 42, 68, .08);
  --max: 1140px;
  --callbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: var(--callbar-h); /* room for the sticky call bar on mobile */
}
img, svg { max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.35rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--slate); margin-bottom: .6em; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.3em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #1a1205; box-shadow: 0 6px 18px rgba(245, 158, 11, .35); }
.btn-accent:hover { background: #fbb024; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-dark { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-sm { padding: .5em 1em; font-size: .95rem; }
.btn-lg { padding: .95em 1.5em; font-size: 1.075rem; }
.btn-xl { padding: 1em 1.8em; font-size: 1.4rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(15,42,68,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; }
.brand img { display: block; height: 42px; width: auto; }
.menu-toggle { background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; color: var(--navy); }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }


/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #e8eef5; padding: 48px 0 56px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,42,68,.86) 0%, rgba(15,42,68,.76) 55%, rgba(15,42,68,.86) 100%); }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--accent); }
.hero-inner { position: relative; }
.hero-copy { max-width: 640px; }
.hero h1, .hero .lead { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.lead { font-size: 1.15rem; color: #dbe5ef; max-width: 38em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 14px; }
.hero-phone { font-size: .98rem; color: #c9d6e3; }
.hero-phone a { color: #fff; font-weight: 700; }

/* Trust badges */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.badge { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.badge .icon { width: 30px; height: 30px; color: var(--slate); }
.badge strong { display: block; font-size: .85rem; color: var(--navy); line-height: 1.25; }
.badge span { display: block; font-size: .95rem; font-weight: 700; color: var(--slate); word-break: break-word; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p:last-child { color: var(--muted); }
.group-title { margin: 32px 0 16px; font-size: 1.3rem; display: flex; align-items: center; gap: .6em; }
.group-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }

.card-grid { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card { display: flex; flex-direction: column; }
.card-link { display: inline-flex; align-items: center; gap: .35em; margin-top: 12px; font-weight: 700; font-size: .95rem; color: var(--slate); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-link .icon { width: 1em; height: 1em; }
.card .card-link { margin-top: auto; padding-top: 12px; }

/* Storm damage callout */
.storm { margin-top: 32px; border-radius: var(--radius); background: linear-gradient(135deg, #12314f 0%, #1f4566 100%); color: #dbe5ef; padding: 24px 20px; display: grid; gap: 16px; scroll-margin-top: 90px; }
.storm h3 { color: #fff; font-size: 1.35rem; }
.storm p { margin: 0 0 16px; }
.storm-icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: rgba(245,158,11,.15); color: var(--accent); }
.storm-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.storm .card-link { color: #fff; margin: 0; }

/* Service pages */
.page-hero { background: radial-gradient(900px 400px at 90% -20%, #24598a 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #12314f 100%); color: #dbe5ef; padding: 28px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 5.5vw, 2.9rem); max-width: 22em; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lead { max-width: 44em; }
.breadcrumb ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .9rem; color: #9fb3c8; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px 0 2px; color: #6f86a0; }
.breadcrumb a { color: #dbe5ef; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.prose-section { padding-top: 48px; padding-bottom: 48px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 3.6vw, 1.85rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--slate); }
.prose .faq { margin-top: 12px; }
.prose a { color: var(--slate); font-weight: 600; }
.related h2 { font-size: 1.4rem; }
.related-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.related-list a { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-weight: 700; color: var(--navy); text-decoration: none; }
.related-list a:hover { border-color: var(--slate); }
.related-list .icon { color: var(--slate); }
.related-areas { color: var(--muted); font-size: .95rem; margin: 0; }
.simple-page { min-height: 50vh; }
.simple-lead { font-size: 1.15rem; }
.text-link { font-weight: 700; color: var(--slate); }
.card-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--slate-light); color: var(--slate); margin-bottom: 12px; }

.cta-inline { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-inline p { margin: 0; font-size: 1.2rem; font-weight: 700; }

/* Areas */
.areas-grid { display: grid; gap: 16px; }
.area-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.area-card h3 { margin-bottom: .2em; }
.area-sub { color: var(--muted); font-size: .95rem; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.area-list li { display: flex; align-items: center; gap: .5em; }
.area-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.areas-note { margin-top: 24px; color: var(--muted); }

/* Why us */
.why-grid { display: grid; gap: 24px; }
.why-item { padding-left: 64px; position: relative; }
.why-icon { position: absolute; left: 0; top: 0; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--navy); color: var(--accent); }
.why-item p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.075rem; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--slate); border-bottom: 2.5px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 20px 18px; color: var(--muted); }
.faq-body p { margin: 0; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy) 0%, #12314f 100%); color: #cbd8e6; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; gap: 32px; align-items: start; }
.contact .btn-xl { margin: 8px 0 16px; }
.contact-areas { font-size: .95rem; color: #9fb3c8; }
.contact-form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); scroll-margin-top: 90px; }
.contact-form-card h3 { margin-bottom: .25em; }
.contact-form-card > p { color: var(--muted); font-size: .98rem; }

/* Name / address / phone block */

/* Estimate form (Netlify Forms) */
.estimate-form { display: grid; gap: 14px; margin-top: 12px; }
.field-row { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.field .req { color: #b91c1c; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #cbd5e1; border-radius: 10px; padding: .7em .8em; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(74,100,112,.35); border-color: var(--slate); }
.btn-navy { background: var(--navy); color: #fff; width: 100%; padding: .9em 1.3em; }
.btn-navy:hover { background: var(--navy-2); }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */

/* Sticky mobile call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--callbar-h);
  display: flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--accent); color: #1a1205; font-weight: 800; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom);
}
.call-bar .icon { width: 22px; height: 22px; }

/* Desktop call prompt */
.call-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 29, 48, .6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.call-modal[hidden] { display: none; }
.call-modal-box { background: #fff; border-radius: 18px; padding: 32px; max-width: 380px; width: 100%; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.call-modal-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px 10px; }
.call-modal-title { margin: 0; color: var(--muted); }
.call-modal-number { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0 0 18px; }
.call-modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inline { flex-direction: row; align-items: center; justify-content: space-between; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .storm { grid-template-columns: auto 1fr; padding: 28px; gap: 20px; }
  .contact-form-card { padding: 28px; }
  .related-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .page-hero { padding: 36px 0 72px; }
  .prose-section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding: 104px 0 112px; }
  .hero::before { background: linear-gradient(90deg, rgba(15,42,68,.94) 0%, rgba(15,42,68,.86) 42%, rgba(15,42,68,.45) 75%, rgba(15,42,68,.30) 100%); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 88px 0; }
}

/* Hours / 24/7 emergency leak line */
.storm-copy a.storm-tel { color: #fff; font-weight: 700; white-space: nowrap; }
.emergency-note { background: #fff7e6; border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; }

/* Licensed, bonded & insured trust line */
.trust-line { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.3; text-align: center; }
.trust-line .icon { width: 22px; height: 22px; flex: none; color: var(--accent); }

/* ---------- Business info (contact section) + footer ---------- */
.nowrap { white-space: nowrap; }
.nap { font-style: normal; line-height: 1.5; }
.nap p { margin: 0; }
.nap-lic { list-style: none; margin: 0; padding: 0; }
.nap-lic li { margin: 0 0 .3em; }
.nap-phone a { font-weight: 800; font-size: 1.2rem; text-decoration: none; white-space: nowrap; }
.nap-hours { font-weight: 600; }
.nap-emergency { font-size: .95rem; }
.nap-emergency-label { display: block; }
.nap-emergency a { font-weight: 700; white-space: nowrap; }
.nap-trust { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.nap-trust .icon { width: 18px; height: 18px; flex: none; color: var(--accent); }

/* Contact section block (left of the estimate form) */
.nap-dark { color: #b6c6d8; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 18px; }
.nap-dark a { color: #fff; }
.nap-dark .nap-name { font-weight: 800; font-size: 1.1rem; color: #fff; }
.nap-dark .nap-dba { font-size: .95rem; }
.nap-group { display: grid; gap: 4px; padding-left: 14px; border-left: 3px solid var(--accent); }
.nap .nap-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fa6bd; margin-bottom: 2px; }
.nap-dark .nap-trust { color: #fff; }
.nap-dark .nap-lic li:last-child { margin-bottom: 0; }

/* Footer: centered brand, three centered columns, divider, centered copyright */
.site-footer { background: #0a1d30; color: #9fb3c8; padding: 48px 0 28px; font-size: .95rem; text-align: center; }
.site-footer a { color: #e2e8f0; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 680px; margin: 0 auto; }
.footer-brand { display: inline-block; }
.footer-brand img { display: block; height: 46px; width: auto; }
.footer-dba { margin: 4px 0 0; color: #cbd5e1; font-weight: 600; }
.footer-tagline { margin: 0; }
.footer-cols { display: grid; gap: 32px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-head { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.nap-footer a { color: #fff; }
.nap-footer .nap-hours { color: #e2e8f0; }
.site-footer .nap-lic li { color: #e2e8f0; }
.site-footer .nap-trust { color: #fff; justify-content: center; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 3px 0; }
.footer-list a { color: #cbd5e1; text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 0; align-items: stretch; }
  .footer-col { padding: 0 24px; }
  .footer-col + .footer-col { border-left: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Centered heroes (home + service pages) ---------- */
.hero-inner, .page-hero .container { text-align: center; }
.hero-copy { max-width: 880px; margin: 0 auto; }
.hero h1, .page-hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.hero .lead, .page-hero .lead { max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-actions { align-items: stretch; width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
.hero-actions .btn { justify-content: center; }
.hero-phone { margin-left: auto; margin-right: auto; }
.page-hero .breadcrumb ol { justify-content: center; }
/* Even dark overlay so centered text stays readable anywhere over the photo */
.hero::before { background: linear-gradient(180deg, rgba(15,42,68,.84) 0%, rgba(15,42,68,.78) 50%, rgba(15,42,68,.86) 100%); }
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; max-width: none; }
}
@media (min-width: 900px) {
  .hero::before { background: rgba(15,42,68,.80); }
}

/* ==========================================================================
   Header navigation (kept together at the end of the file on purpose, so no
   later rule can override it).
   Below 1100px: logo + compact phone button + hamburger; the menu opens as a panel.
   1100px and up: full one-line nav; the Services submenu is an absolutely
   positioned dropdown that stays closed until hover, keyboard focus, or a click
   on the chevron button.
   ========================================================================== */
.site-nav a, .nav-call, .header-call, .form-note a, .nap-phone a { white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-call { display: none; }

.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(15,42,68,.12); }
.site-nav.open { display: block; max-height: calc(100vh - 64px); overflow-y: auto; }
.nav-list { list-style: none; margin: 0 0 12px; padding: 0; }
.nav-list > li > a { display: block; padding: 12px 0; color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-list > li > a:hover { color: var(--slate); }
.has-sub { position: relative; }
.sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: 0 0 6px 14px; border-left: 2px solid var(--slate-light); }
.sub-menu a { display: block; padding: 9px 0; font-weight: 500; font-size: .98rem; color: var(--slate); text-decoration: none; }
.sub-menu a:hover { color: var(--navy); }
.nav-call { width: 100%; }

@media (min-width: 560px) {
  .header-call { display: inline-flex; }
}

@media (min-width: 1100px) {
  .header-inner { min-height: 80px; }
  .brand img { height: 52px; }
  .header-actions { display: none; }
  .site-nav, .site-nav.open { display: flex; align-items: center; gap: 24px; position: static; padding: 0; border: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .nav-list { display: flex; align-items: center; gap: 22px; margin: 0; }
  .nav-list > li > a { padding: 6px 0; border: 0; font-size: .98rem; }
  .has-sub { display: flex; align-items: center; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 30px; margin-left: 1px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--navy); cursor: pointer; }
  .sub-toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
  .sub-toggle:hover { background: var(--bg-alt); }
  .has-sub:hover > .sub-toggle::before, .has-sub:focus-within > .sub-toggle::before, .has-sub.open > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .sub-menu { display: none; position: absolute; top: calc(100% + 10px); left: -14px; z-index: 70; min-width: 290px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(15,42,68,.16); }
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu { display: block; } /* script.js blurs links/buttons after mouse clicks so focus doesn't hold the menu open */
  .sub-menu a { padding: 9px 12px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: .95rem; }
  .sub-menu a:hover, .sub-menu a:focus-visible { background: var(--bg-alt); color: var(--slate); }
  .nav-call { width: auto; }
}
