/* ==========================================================================
   ISM — Insurance Services & Management, LLC.
   Design system derived from the approved homepage design.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
    /* Brand */
    --orange:        #f4791f;
    --orange-dark:   #d9660f;
    --orange-soft:   #fdf0e4;
    --orange-tint:   #fbe6d4;

    /* Neutrals */
    --ink:           #1c1c1c;
    --ink-soft:      #3a3a3a;
    --body:          #5c5c5c;
    --muted:         #8a8a8a;
    --line:          #e8e2da;
    --line-strong:   #d8d0c6;

    /* Surfaces */
    --cream:         #fdf8f2;
    --cream-deep:    #f9f2e9;
    --white:         #ffffff;
    --charcoal:      #262523;
    --charcoal-deep: #1b1a19;

    /* Type */
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-script:  'Caveat', cursive;

    /* Radii */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 14px;
    --r-pill: 999px;

    /* Elevation */
    --shadow-sm: 0 2px 10px rgba(28, 28, 28, .05);
    --shadow-md: 0 10px 34px rgba(28, 28, 28, .08);
    --shadow-lg: 0 24px 60px rgba(28, 28, 28, .12);

    /* Rhythm — generous by client request */
    --section-y:    clamp(64px, 6.5vw, 100px);
    --section-y-sm: clamp(48px, 5vw, 74px);
    --gutter:       clamp(20px, 3.4vw, 52px);
    --maxw:         1440px;
    --maxw-narrow:  900px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--body);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Default icon size — every icon context below overrides this, but the
   fallback stops an un-styled icon from rendering at its natural size. */
.icon { width: 20px; height: 20px; flex: none; }

a { color: var(--orange); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 .6em;
    letter-spacing: -.015em;
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.4em; padding-left: 1.2em; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--ink);
    color: #fff;
    padding: 14px 22px;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--section-y); }
.section--sm { padding-block: var(--section-y-sm); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--deep  { background: var(--cream-deep); }

.stack > * + * { margin-top: 1.4em; }

/* Addresses should never render italic. */
address { font-style: normal; }

/* Small layout utilities, so pages carry no inline CSS. */
.u-flush        { padding-inline: 0; }
.u-center       { text-align: center; }
.u-center .btn-row { justify-content: center; }
.u-measure      { max-width: 52ch; margin-inline: auto; }
.u-mt           { margin-top: clamp(34px, 3.6vw, 52px); }
.u-mb-0         { margin-bottom: 0; }
.grid-auto      { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.note-small     { font-size: 14px; line-height: 1.75; color: var(--muted); margin-top: 26px; }
.form-intro     { margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY SCALE
   -------------------------------------------------------------------------- */

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 22px;
    line-height: 1.5;
}
.eyebrow--muted { color: var(--muted); letter-spacing: .22em; font-weight: 600; }

.h-display {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.08;
    letter-spacing: -.018em;
}

.h-section {
    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.16;
}

.h-sub {
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.28;
}

.script {
    font-family: var(--font-script);
    color: var(--orange);
    font-weight: 500;
    font-style: normal;
    font-size: 1.16em;
    line-height: 1.3;
    letter-spacing: 0;
    display: inline-block;
}

.accent { color: var(--orange); }

.lede {
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.85;
    color: var(--body);
}

.rule {
    width: 62px;
    height: 3px;
    background: var(--orange);
    border: 0;
    margin: 0 0 30px;
    border-radius: 2px;
}
.rule--center { margin-inline: auto; }

.section-head { max-width: 720px; margin: 0 auto clamp(48px, 5vw, 76px); text-align: center; }
.section-head p { color: var(--body); }
.section-head .rule { margin: 22px auto 0; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 21px 34px;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), transform .25s var(--ease),
                box-shadow .25s var(--ease);
}
.btn .icon { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(5px); }

.btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 6px 20px rgba(244, 121, 31, .26);
}
.btn--primary:hover {
    background: var(--orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(244, 121, 31, .32);
}

.btn--ghost {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn--ghost:hover {
    color: var(--orange);
    border-color: var(--orange);
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .75);
}
.btn--outline-white:hover { background: #fff; color: var(--orange); transform: translateY(-2px); }

.btn--on-orange {
    background: #fff;
    color: var(--ink);
}
.btn--on-orange:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); }

/* Two-line phone button ("CALL US TODAY / number") */
.btn--phone {
    flex-direction: row;
    gap: 14px;
    padding: 15px 30px;
    text-align: left;
}
.btn--phone .btn-phone-inner { display: flex; flex-direction: column; gap: 4px; }
.btn--phone .btn-phone-label { font-size: 11.5px; letter-spacing: .13em; }
.btn--phone .btn-phone-number {
    font-size: 15.5px;
    letter-spacing: .02em;
    text-transform: none;
    font-weight: 700;
}
.btn--phone .icon { width: 21px; height: 21px; color: var(--orange); }
.btn--on-orange.btn--phone .icon { color: var(--orange); }
.btn--outline-white.btn--phone .icon { color: currentColor; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: stretch;
}

/* Text link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--orange);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.link-arrow--sentence {
    text-transform: none;
    letter-spacing: .01em;
    font-size: 13.5px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
    box-shadow: 0 2px 18px rgba(28, 28, 28, .07);
    border-bottom-color: var(--line);
}

/* The approved homepage treats the navigation as part of the hero.
   Inner pages retain a separate, more compact sticky header. */
.site-header--home {
    position: absolute;
    width: 100%;
    background: transparent;
    border-bottom-color: transparent;
}
.site-header--home.is-stuck {
    box-shadow: none;
    border-bottom-color: transparent;
}
.site-header--home .nav-link,
.site-header--home .submenu-toggle {
    color: var(--charcoal-deep);
    text-shadow: 0 1px 8px rgba(255, 255, 255, .95);
}
.site-header--home .brand img {
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, .82));
}
.site-header--home .header-social a {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(27, 26, 25, .3);
    color: var(--charcoal-deep);
    box-shadow: 0 3px 12px rgba(27, 26, 25, .14);
}
.site-header--home .header-social a:hover {
    background: var(--charcoal-deep);
    border-color: var(--charcoal-deep);
    color: #fff;
}
.site-header--home .header-phone {
    background: var(--charcoal-deep);
    border-color: var(--charcoal-deep);
    color: #fff;
    box-shadow: 0 3px 12px rgba(27, 26, 25, .18);
}
.site-header--home .header-phone:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: #fff;
}
.site-header--home .nav-toggle {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(27, 26, 25, .3);
    color: var(--charcoal-deep);
    box-shadow: 0 3px 12px rgba(27, 26, 25, .14);
}
.site-header--inner .header-inner {
    min-height: 74px;
    padding-block: 0;
}
.site-header--inner .brand img { height: 66px; }
.site-header--inner .header-phone {
    gap: 9px;
    padding: 12px 22px;
    font-size: 13px;
}
.site-header--inner .header-phone .icon { width: 16px; height: 16px; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 3vw, 48px);
    min-height: 100px;
    padding-block: 12px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand picture { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 74px; }

.nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    position: relative;
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 12px 0;
    white-space: nowrap;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { width: 22px; }
.nav-item--current-parent > .nav-parent .nav-link { color: var(--ink); }
.nav-item--current-parent > .nav-parent .nav-link::after { width: 22px; }

.nav-item--has-submenu { position: relative; }
.nav-parent { display: flex; align-items: center; gap: 5px; }
.submenu-toggle {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.submenu-toggle .icon {
    width: 14px;
    height: 14px;
    transition: transform .25s var(--ease);
}
.nav-item--has-submenu.is-open .submenu-toggle .icon { transform: rotate(180deg); }
.nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 10;
    width: 260px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 10px;
}
.nav-item--has-submenu:hover > .nav-submenu,
.nav-item--has-submenu:focus-within > .nav-submenu,
.nav-item--has-submenu.is-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.nav-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.nav-submenu a:hover,
.nav-submenu a:focus-visible {
    background: var(--orange-soft);
    color: var(--orange-dark);
}
.nav-submenu a[aria-current="page"] {
    background: var(--orange-soft);
    color: var(--orange-dark);
}

.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }

.header-social { display: flex; align-items: center; gap: 10px; }
.header-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: all .25s var(--ease);
}
.header-social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.header-social .icon { width: 18px; height: 18px; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 26px;
    border: 1.5px solid var(--orange);
    border-radius: var(--r-md);
    color: var(--orange);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.header-phone:hover { background: var(--orange); color: #fff; }
.header-phone .icon { width: 18px; height: 18px; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    background: var(--cream);
    overflow: hidden;
}

/* Single-cell grid: the copy sits in the cell, the media is absolutely
   positioned against the same box so both share the wrap's left edge
   and the wrap's measured right edge. */
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 660px;
    padding-block: 0 clamp(72px, 7vw, 116px);
}

.hero-media {
    position: absolute;
    top: 0;
    bottom: 0;
    /* Starts well behind the text column — the copy sits over the faded
       edge of the photograph rather than beside it. */
    left: 26%;
    /* Bleed to the viewport's right edge, exactly. The wrap's own box is
       min(--maxw, 100vw) wide and centred, so the gap from its right edge
       to the viewport is (100vw - --maxw)/2 — and zero once the viewport
       is narrower than --maxw. */
    right: calc(-1 * max(0px, 50vw - var(--maxw) / 2));
    z-index: 1;
}
.hero-media-frame {
    position: absolute;
    inset: 0;
    /* The organic lower sweep: a shallow cut on the left, lifting into a
       pronounced arc on the right so a wedge of cream is left in the
       bottom-right corner. */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    background: var(--cream-deep);
}
.hero-wave {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -18px;
    width: 100%;
    height: clamp(105px, 9vw, 138px);
    pointer-events: none;
}
.hero-wave-accent { fill: var(--orange); }
.hero-wave-fill { fill: var(--cream); }
.hero-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 36%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), opacity 1.2s var(--ease);
    will-change: transform, opacity;
}
.hero-slide.is-active {
    z-index: 2;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.hero-slide.is-staging { transition: none; }
.hero-slide.is-entering-right {
    z-index: 3;
    opacity: .96;
    transform: translate3d(100%, 0, 0);
}
.hero-slide.is-entering-left {
    z-index: 3;
    opacity: .96;
    transform: translate3d(-100%, 0, 0);
}
.hero-slide.is-leaving-left {
    z-index: 1;
    opacity: .78;
    transform: translate3d(-14%, 0, 0);
}
.hero-slide.is-leaving-right {
    z-index: 1;
    opacity: .78;
    transform: translate3d(14%, 0, 0);
}
.hero-slider-dots {
    position: absolute;
    z-index: 4;
    right: clamp(18px, 2.2vw, 34px);
    bottom: clamp(88px, 8.2vw, 122px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: var(--r-pill);
    background: rgba(20, 19, 18, .46);
    box-shadow: 0 7px 20px rgba(20, 19, 18, .14);
    backdrop-filter: blur(8px);
}
.hero-slider-dot {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .72);
    cursor: pointer;
    transition: width .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.hero-slider-dot:hover { background: #fff; transform: scale(1.12); }
.hero-slider-dot.is-active { width: 27px; background: var(--orange); }
.hero-slider-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Feathers the photo into the cream field behind the text column. The
   wash stays near-solid across the full width of the copy, then clears
   before the subject of the photograph. */
.hero-media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(96deg,
        rgba(253, 248, 242, 1) 0%,
        rgba(253, 248, 242, .97) 14%,
        rgba(253, 248, 242, .72) 30%,
        rgba(253, 248, 242, 0) 52%);
    z-index: 2;
    pointer-events: none;
}

/* One left grid line for every element in the column. */
.hero-copy {
    position: relative;
    z-index: 3;
    grid-area: 1 / 1;
    max-width: min(50%, 600px);
    padding-top: clamp(48px, 4.6vw, 78px);
    text-align: left;
}
body.home-page .hero-copy { padding-top: clamp(148px, 10vw, 166px); }
.hero-copy > * { text-align: left; }
.hero-copy .eyebrow { margin-bottom: 24px; }

/* Scoped to the hero so inner-page display headings are unaffected. */
.hero-heading {
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 1.1;
    margin-top: 6px;
    margin-bottom: 28px;
}
.hero-heading .script {
    font-size: calc(.92em + 6px);
    line-height: 1.18;
    margin-top: .02em;
}
.hero-copy .lede { max-width: 40ch; margin-bottom: 28px; }
.hero-copy .btn-row { margin: 5px 0 0; justify-content: flex-start; }

/* Compact hero quote form — deliberately light so it supports the hero
   rather than competing with it. Self-contained: move this block and
   the whole feature moves with it. */
.hero-form-band {
    background: var(--cream);
    padding-top: 40px;
    padding-bottom: clamp(14px, 2.5vw, 42px);
}
.quote-strip {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(26px, 2.6vw, 38px) clamp(26px, 3vw, 44px);
}
.quote-strip-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    margin-bottom: 26px;
}
.quote-strip-head h2 { font-size: clamp(20px, 1.7vw, 24px); margin: 0; }
.quote-strip-head p { margin: 0; font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   8. QUICK ACTIONS ("Trusted coverage")
   -------------------------------------------------------------------------- */

.quick-actions {
    background: var(--cream);
    padding-block: calc(clamp(52px, 5.5vw, 80px) - 20px) var(--section-y);
}
.quick-actions-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 clamp(38px, 4vw, 58px);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-left: 1px solid var(--line);
}
.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 14px clamp(12px, 1.5vw, 24px);
    border-right: 1px solid var(--line);
    color: var(--ink);
    transition: transform .3s var(--ease);
}
.quick-item:hover { transform: translateY(-5px); color: var(--ink); }
.quick-item .icon-main { width: 46px; height: 46px; color: var(--orange); stroke-width: 1.4; }
.quick-title {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    line-height: 1.6;
    color: var(--ink);
    white-space: pre-line;
    margin: 0;
}
.quick-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--orange);
    margin-top: auto;
}
.quick-cta .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.quick-item:hover .quick-cta .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   9. WELCOME (two column + panel)
   -------------------------------------------------------------------------- */

.welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.32fr);
    gap: clamp(44px, 5.5vw, 96px);
    align-items: center;
}
.welcome-copy .h-section { margin-bottom: 26px; }
.welcome-copy .rule { margin-bottom: 32px; }
.welcome-copy p { font-size: 16.5px; }
.welcome-copy .link-arrow { margin-top: 14px; }

.welcome-media { position: relative; }
.welcome-media > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
}

/* Same visual treatment as the approved design's overlay panel, but
   carrying only verified, non-numeric statements. No fabricated
   statistics: none were verified in the supplied project data. */
.trust-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(38, 37, 35, .94);
    border-radius: 0 0 var(--r-md) var(--r-md);
    padding: clamp(14px, 1.4vw, 20px) clamp(12px, 1.8vw, 26px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.trust-item {
    color: #fff;
    padding-inline: clamp(8px, 1.2vw, 18px);
    text-align: center;
}
.trust-item + .trust-item { border-left: 1px solid rgba(255, 255, 255, .16); }
.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(16px, 1.45vw, 20px);
    font-weight: 400;
    line-height: 1.12;
    color: var(--orange);
    margin-bottom: 4px;
}
.trust-item span {
    display: block;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.25;
    color: rgba(255, 255, 255, .74);
}

/* --------------------------------------------------------------------------
   10. REVIEWS CAROUSEL
   -------------------------------------------------------------------------- */

.reviews {
    background: var(--white);
    padding-top: calc(var(--section-y) - 30px);
}
.reviews .section-head { margin-bottom: clamp(40px, 4vw, 60px); }

.carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: 14px 4px 6px; }
.carousel-track {
    display: flex;
    gap: 34px;
    transition: transform .55s var(--ease);
    will-change: transform;
}
.carousel-slide { flex: 0 0 calc((100% - 68px) / 3); min-width: 0; }

.review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(30px, 2.9vw, 44px);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.review-avatar {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    flex: none;
    border-radius: var(--r-pill);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-body);
}
.review-stars { display: flex; gap: 4px; color: var(--orange); }
.review-stars .icon { width: 20px; height: 20px; }
.review-text {
    font-size: 16px;
    line-height: 1.85;
    color: var(--body);
    margin: 0 0 26px;
}
.review-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.review-name { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.review-foot .icon { width: 24px; height: 24px; flex: none; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: var(--r-pill);
    background: var(--white);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all .25s var(--ease);
    z-index: 2;
}
.carousel-btn:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: #fff; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn .icon { width: 18px; height: 18px; }
.carousel-btn--prev { left: calc(var(--gutter) * -1 + 4px); }
.carousel-btn--next { right: calc(var(--gutter) * -1 + 4px); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}
.carousel-dots button {
    width: 9px; height: 9px;
    padding: 0;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--line-strong);
    cursor: pointer;
    transition: all .25s var(--ease);
}
.carousel-dots button[aria-selected="true"] { background: var(--orange); width: 26px; }

/* --------------------------------------------------------------------------
   11. WHY OUR AGENCY (editorial)
   -------------------------------------------------------------------------- */

.why { background: var(--cream); }

/* The section surface runs edge-to-edge while its editorial content stays
   aligned to the same readable site grid as the sections around it. */
.why > .wrap {
    max-width: none;
    padding-inline: 0;
}

/* Full-width continuation of the supplied soft-panel treatment. */
.why-panel {
    background: transparent;
    border-radius: 0;
    padding-block: clamp(32px, 4vw, 68px);
    padding-inline: 0;
}

.why-layout {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.36fr);
    gap: clamp(40px, 5vw, 92px);
    align-items: start;
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.why-intro { position: sticky; top: 138px; }
.why-intro .h-section { margin-bottom: 22px; }
.why-intro .rule { margin-bottom: 30px; }
.why-intro .lede { max-width: 38ch; }

.why-items { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 24px); }

.why-item {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.why-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.why-item-media { min-height: 100%; }
.why-item-media img {
    width: 100%;
    height: 100%;
    min-height: clamp(190px, 17vw, 244px);
    object-fit: cover;
}

.why-item-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(26px, 2.6vw, 42px);
    border-left: 1px solid var(--line);
}
.why-item-body h3 {
    font-size: clamp(22px, 2.1vw, 30px);
    margin: 0;
    letter-spacing: -.01em;
}
.why-item-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: var(--body);
}

/* --------------------------------------------------------------------------
   12. CARRIER MARQUEE
   -------------------------------------------------------------------------- */

.carriers {
    background: var(--white);
    padding-block: calc(var(--section-y-sm) - 20px);
}
.carriers .section-head { margin-bottom: 12px; }

.marquee {
    position: relative;
    overflow: hidden;
    padding: 10px clamp(32px, 4.5vw, 72px);
    /* Keep every supplied logo at full strength. Edge masks made the first
       and last marks look faded/cropped as they entered the carousel. */
    -webkit-mask-image: none;
            mask-image: none;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(34px, 4vw, 66px);
    width: max-content;
    animation: marquee 84s linear infinite;
}
.marquee:hover .marquee-track,
.marquee-track:focus-within { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(182px, 16.35vw, 252px);
    height: clamp(125px, 10.3vw, 155px);
    padding: clamp(5px, .5vw, 9px);
    overflow: visible;
}
/* Carrier marks are the client's supplied brand assets: no greyscale,
   opacity, tint, blend, masking or filter of any kind. A fixed containment
   frame protects the outer pixels of every mark at every breakpoint. */
.marquee-item img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
    transform: none;
}

@media (max-width: 720px) {
    .marquee {
        padding: 10px 24px;
    }
    .marquee-track {
        gap: 28px;
    }
    .marquee-item {
        width: 189px;
        height: 131px;
        padding: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; }
    .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   13. GLOBAL CTA BAND
   -------------------------------------------------------------------------- */

.cta-band { background: var(--orange); color: #fff; }
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 4.5vw, 64px);
    padding-block: clamp(44px, 5vw, 72px);
}
.cta-copy h2 {
    color: #fff;
    font-size: clamp(30px, 3vw, 36px);
    margin: 0 0 12px;
}
.cta-copy p { margin: 0; color: rgba(255, 255, 255, .94); font-size: 17.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */

.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, .72); }

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 3.8vw, 56px);
    padding-block: clamp(42px, 4.2vw, 62px);
}
.footer-brand > img {
    height: 100px;
    width: auto;
    margin-top: -15px;
    margin-bottom: 26px;
    object-fit: contain;
}
.footer-brand p { font-size: 16px; line-height: 1.7; margin-bottom: 28px; color: rgba(255, 255, 255, .7); }

.footer-social { display: flex; gap: 14px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.footer-social .icon { width: 30px; height: 30px; }
.footer-made-by {
    display: inline-flex;
    align-items: center;
    margin-top: 40px;
}
.footer-made-by img {
    display: block;
    width: auto;
    height: 35px;
    object-fit: contain;
    opacity: .65;
    filter: grayscale(1);
    mix-blend-mode: normal;
    transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.footer-made-by:hover img,
.footer-made-by:focus-visible img {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.footer-col h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-contact a { color: rgba(255, 255, 255, .76); font-size: 16px; }
.footer-col a:hover, .footer-contact a:hover { color: var(--orange); }

.footer-contact { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.65; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .icon { width: 19px; height: 19px; color: var(--orange); flex: none; margin-top: 6px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-block: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .6);
}
.footer-bottom-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px 22px;
}
.footer-zambezi {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 0;
    background: transparent;
    transition: transform .25s var(--ease);
}
.footer-zambezi:hover { background: transparent; transform: translateY(-2px); }
.footer-zambezi img {
    width: clamp(160px, 15vw, 205px);
    height: auto;
    max-height: 84px;
    object-fit: contain;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.footer-legal a:hover { color: var(--orange); }

/* --------------------------------------------------------------------------
   15. FLOATING CONTACT DOCK
   -------------------------------------------------------------------------- */

.contact-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dock-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--charcoal);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform .25s var(--ease), background .25s var(--ease);
}
.dock-btn:hover { transform: scale(1.08); color: #fff; }
.dock-btn .icon { width: 24px; height: 24px; }
.dock-btn--whatsapp { background: #25d366; }
.dock-btn--email { background: #6f1d2b; }
.dock-btn--email:hover { background: #541520; }
.dock-btn--sms { background: #24b7c7; }
.dock-btn--sms:hover { background: #169aaa; }

.dock-btn .dock-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    white-space: nowrap;
    background: var(--charcoal);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 7px 13px;
    border-radius: var(--r-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dock-btn:hover .dock-tip,
.dock-btn:focus-visible .dock-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* --------------------------------------------------------------------------
   16. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */

.page-hero { position: relative; background: var(--charcoal-deep); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg picture { display: block; width: 100%; height: 100%; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 19, 18, .93) 0%, rgba(20, 19, 18, .78) 45%, rgba(20, 19, 18, .45) 100%);
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    min-height: clamp(340px, 25vw, 390px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: clamp(24px, 2vw, 30px);
    text-align: left;
}
.page-hero--tall .page-hero-inner,
.page-hero--short .page-hero-inner {
    min-height: clamp(340px, 25vw, 390px);
    padding-block: clamp(24px, 2vw, 30px);
}
.page-hero-inner > * { margin-left: 0; margin-right: 0; text-align: left; }
.page-hero h1 {
    width: 100%;
    max-width: 880px;
    color: #fff;
    margin-top: 6px;
    margin-bottom: 16px;
    font-size: clamp(38px, 3.2vw, 50px);
    line-height: 1.05;
}
.page-hero h1 .script { font-size: calc(.94em + 6px); }
.page-hero p:not(.breadcrumbs) {
    max-width: 72ch;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15.5px;
    line-height: 1.5;
}
.page-hero .breadcrumbs { margin-bottom: 8px; }
.page-hero .btn-row { margin-top: 25px; justify-content: flex-start; gap: 14px; }
.page-hero .btn { padding: 13px 22px; }
.page-hero .btn--phone { padding-block: 9px; }
.page-hero .eyebrow { margin-bottom: 8px; color: var(--orange); }

.breadcrumbs {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 20px;
    letter-spacing: .04em;
}
.breadcrumbs a { color: rgba(255, 255, 255, .78); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span { margin-inline: 8px; }

/* --------------------------------------------------------------------------
   17. PRODUCT GRIDS
   -------------------------------------------------------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.2vw, 30px);
}
.section-head + .product-grid { margin-top: -16px; }

.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: clamp(28px, 3vw, 40px);
    color: var(--ink);
    text-align: left;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-tint);
    color: var(--ink);
}
.product-icon {
    display: grid;
    place-items: center;
    width: 62px; height: 62px;
    border-radius: var(--r-md);
    background: var(--orange-soft);
    color: var(--orange);
    flex: none;
}
.product-icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.product-card h3 {
    font-size: 20px;
    margin: 0;
    letter-spacing: -.005em;
}
.product-card p { font-size: 14.5px; line-height: 1.8; margin: 0; color: var(--body); }
.product-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Business category blocks */
.cat-block + .cat-block { margin-top: clamp(56px, 6vw, 90px); }
.cat-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.cat-head .product-icon { width: 54px; height: 54px; }
.cat-head .product-icon .icon { width: 26px; height: 26px; }
.cat-head h2 { font-size: clamp(23px, 2.3vw, 30px); margin: 0 0 6px; }
.cat-head p { margin: 0; font-size: 14.5px; color: var(--muted); }

.chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 14px;
}
.chip {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 17px 20px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-soft);
    transition: all .25s var(--ease);
}
.chip:hover {
    border-color: var(--orange);
    color: var(--ink);
    background: var(--white);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.chip .icon { width: 17px; height: 17px; color: var(--orange); flex: none; }

/* Category jump nav */
.cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(48px, 5vw, 72px);
}
.cat-nav a {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--white);
    transition: all .25s var(--ease);
}
.cat-nav a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Client showcase */
.client-showcase-page .page-hero-bg img { object-position: center 54%; }
.client-showcase-page .page-hero-bg::after {
    background: linear-gradient(90deg, rgba(20, 19, 18, .86) 0%, rgba(20, 19, 18, .58) 50%, rgba(20, 19, 18, .18) 100%);
}
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}
.client-logo-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: clamp(18px, 2vw, 24px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.client-logo-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange-tint);
    box-shadow: var(--shadow-md);
    color: var(--ink);
}
.client-logo-visual {
    display: grid;
    place-items: center;
    width: 100%;
    height: 176px;
    padding: 12px;
    overflow: visible;
    border-radius: var(--r-sm);
    background: var(--cream);
}
.client-logo-image {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 14px;
    object-fit: contain !important;
    object-position: center !important;
    overflow: visible;
}
.client-logo-image--darken { filter: brightness(0) saturate(100%); }
.client-logo-image--eagle { padding: 0; }
.client-logo-image--esv { padding: 0; }
.client-wordmark {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    max-width: 220px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1;
    text-align: center;
}
.client-logo-name {
    margin-top: auto;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   18. SERVICE / FEATURE CARDS
   -------------------------------------------------------------------------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 2.2vw, 30px);
}

/* Split content block */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
}
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.split--reverse .split-media { order: -1; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--body);
}
.check-list li + li { margin-top: 16px; }
.check-list .icon { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 4px; stroke-width: 2; }

/* --------------------------------------------------------------------------
   19. CARRIER CONTACT TABLE (claims / payments)
   -------------------------------------------------------------------------- */

.carrier-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.carrier-table caption {
    caption-side: top;
    text-align: left;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 14px;
}
.carrier-table th, .carrier-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    vertical-align: middle;
}
.carrier-table thead th {
    background: var(--cream-deep);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
}
.carrier-table tbody tr:last-child th,
.carrier-table tbody tr:last-child td { border-bottom: 0; }
.carrier-table tbody tr:hover { background: var(--cream); }
.carrier-table tbody th { font-weight: 600; color: var(--ink); }
.carrier-name {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.carrier-name > span:last-child {
    position: relative;
    top: 16px;
    line-height: 1.35;
}
.carrier-logo-frame {
    display: grid;
    place-items: center;
    width: 76px;
    height: 44px;
    flex: none;
}
.carrier-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
}
.carrier-table .phone-cell a { font-weight: 600; white-space: nowrap; }
.carrier-table .action-cell { text-align: right; }

@media (max-width: 720px) {
    .carrier-table, .carrier-table tbody, .carrier-table tr { display: block; }
    .carrier-table thead { display: none; }
    .carrier-table { border: 0; background: transparent; }
    .carrier-table tr {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        padding: 18px 20px;
        margin-bottom: 14px;
    }
    .carrier-table th, .carrier-table td {
        display: block;
        border: 0;
        padding: 0;
        text-align: left;
    }
    .carrier-table tbody th { font-size: 16px; margin-bottom: 8px; }
    .carrier-logo-frame { width: 68px; height: 40px; }
    .carrier-table .action-cell { text-align: left; margin-top: 14px; }
    .carrier-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 4px;
    }
    .carrier-table .action-cell::before { content: none; }
}

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(28px, 3.4vw, 52px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field--full { grid-column: 1 / -1; }

fieldset { border: 0; margin: 0 0 40px; padding: 0; }
fieldset:last-of-type { margin-bottom: 32px; }
legend {
    display: block;
    width: 100%;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    padding: 0 0 14px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ink);
}
.field .req { color: var(--orange); }
.field .hint { font-size: 12.5px; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.6 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0;
    background: var(--white);
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(244, 121, 31, .16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c0392b; background: #fdf4f3; }

.field-error {
    font-size: 12.5px;
    color: #c0392b;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.consent {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 18px 20px;
}
.consent input[type="checkbox"] {
    width: 20px; height: 20px;
    flex: none;
    margin: 2px 0 0;
    accent-color: var(--orange);
    cursor: pointer;
}
.consent label {
    font-size: 13px;
    line-height: 1.7;
    color: var(--body);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Honeypot — hidden from humans, visible to naive bots. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
}
.form-note { font-size: 13px; color: var(--muted); margin: 0; }

.conditional { display: none; }
.conditional.is-visible { display: grid; }

.alert {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-radius: var(--r-md);
    padding: 20px 24px;
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.7;
}
.alert .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.alert strong { display: block; margin-bottom: 4px; color: inherit; }
.alert--success { background: #eef8f0; border: 1px solid #bfe3c8; color: #23663a; }
.alert--error   { background: #fdf3f2; border: 1px solid #f0c6c1; color: #96311f; }

/* Form page layout: form beside a supporting sidebar */
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
}
.form-layout--reverse { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

.form-aside { display: flex; flex-direction: column; gap: 24px; }
.form-aside .panel > .h-sub { margin-bottom: 24px; }
.form-aside .panel--dark .h-sub { font-size: 20px; margin-bottom: 16px; }
.form-aside .panel--dark .check-list { margin-top: 18px; }
.form-aside .panel--dark .check-list li { font-size: 14.5px; color: rgba(255, 255, 255, .78); }

@media (max-width: 960px) {
    .form-layout, .form-layout--reverse { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   21. INFO / CONTACT BLOCKS
   -------------------------------------------------------------------------- */

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 18px; align-items: flex-start; }
.info-list li + li { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.info-list .product-icon { width: 50px; height: 50px; }
.info-list .product-icon .icon { width: 22px; height: 22px; }
.info-list h3 {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 6px;
}
.info-list p, .info-list a { font-size: 16px; color: var(--ink); margin: 0; line-height: 1.7; }
.info-list a:hover { color: var(--orange); }

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: clamp(26px, 3vw, 42px);
}
.panel--dark { background: var(--charcoal); border-color: var(--charcoal); color: rgba(255, 255, 255, .74); }
.panel--dark h2, .panel--dark h3 { color: #fff; }
.panel--dark a { color: var(--orange); }

.contact-map-block { margin-top: clamp(46px, 6vw, 86px); }
.contact-map-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    margin-bottom: 24px;
}
.contact-map-head .h-sub { margin: 6px 0 8px; }
.contact-map-head p { margin: 0; color: var(--body); }
.contact-map-head .link-arrow { flex: none; margin-bottom: 4px; }
.contact-map-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--cream-deep);
    box-shadow: var(--shadow-md);
}
.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 36vw, 480px);
    border: 0;
}

@media (max-width: 720px) {
    .contact-map-head { align-items: flex-start; flex-direction: column; }
    .contact-map-frame iframe { height: 320px; }
}

/* --------------------------------------------------------------------------
   22. SCROLL REVEAL
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .48s var(--ease), transform .48s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */

/* The header carries a 74px logo, six uppercase nav items, two social
   icons and a phone CTA. These steps keep all of it on one line as the
   viewport narrows, rather than letting it wrap or overflow. */
@media (max-width: 1400px) {
    .nav-list { gap: 20px; }
    .nav-link { font-size: 11.8px; letter-spacing: .1em; }
    .brand img { height: 68px; }
}

@media (max-width: 1200px) {
    .nav-list { gap: 15px; }
    .nav-link { font-size: 11.3px; letter-spacing: .08em; }
    .header-social { display: none; }
    .header-phone { padding: 14px 20px; font-size: 14px; }
    .carousel-btn--prev { left: -6px; }
    .carousel-btn--next { right: -6px; }
}

@media (max-width: 1040px) {
    .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; gap: 0; }
    .client-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-item {
        border: 1px solid var(--line);
        margin: -.5px;
        padding-block: 30px;
        gap: 12px;
    }
    .welcome-grid { grid-template-columns: minmax(0, 1fr); }
    .welcome-media { order: -1; }
    .trust-panel { right: 0; }
    .carousel-slide { flex-basis: calc((100% - 34px) / 2); }
    .why-layout { grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 4vw, 52px); }
    .why-intro { position: static; }
    .why-intro .lede { max-width: 60ch; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Tablet & mobile navigation --- */
@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .header-inner { min-height: 100px; }
    .brand img { height: 82px; }

    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(400px, 88vw);
        background: var(--white);
        border-left: 1px solid var(--line);
        box-shadow: -18px 0 50px rgba(28, 28, 28, .14);
        transform: translateX(102%);
        transition: transform .38s var(--ease), visibility .38s;
        visibility: hidden;
        overflow-y: auto;
        padding: 96px var(--gutter) 40px;
        display: block;
    }
    body.nav-open .nav { transform: none; visibility: visible; }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-list > li + li { border-top: 1px solid var(--line); }
    .nav-link {
        font-size: 13px;
        letter-spacing: .12em;
        padding: 20px 2px;
    }
    .nav-link::after { display: none; }
    .nav-link[aria-current="page"] { color: var(--orange); }
    .nav-item--current-parent > .nav-parent .nav-link { color: var(--orange); }

    .nav-parent { justify-content: space-between; }
    .nav-parent .nav-link { flex: 1; }
    .submenu-toggle {
        width: 44px;
        height: 48px;
        flex: none;
    }
    .nav-submenu {
        position: static;
        width: auto;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0 0 0 14px;
        border: 0;
        border-left: 2px solid var(--orange-tint);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: max-height .3s var(--ease), padding .3s var(--ease), margin .3s var(--ease);
    }
    .nav-submenu::before { display: none; }
    .nav-item--has-submenu:hover > .nav-submenu,
    .nav-item--has-submenu:focus-within > .nav-submenu { max-height: 0; }
    .nav-item--has-submenu.is-open > .nav-submenu {
        max-height: 360px;
        margin-bottom: 14px;
        padding-top: 4px;
        padding-bottom: 8px;
        transform: none;
    }
    .nav-submenu a { padding: 11px 12px; font-size: 13px; }

    .nav-mobile-extra { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
    .nav-mobile-extra .btn { width: 100%; }
    .nav-mobile-extra .header-social { display: flex; justify-content: center; margin-top: 6px; }

    .nav-scrim {
        position: fixed;
        inset: 0;
        background: rgba(28, 28, 28, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .38s var(--ease), visibility .38s;
        z-index: 99;
    }
    body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }

    .header-phone span { display: none; }
    .header-phone { padding: 12px 14px; }
    .header-phone .icon { width: 19px; height: 19px; }
    .site-header--inner .header-phone { padding: 10px 12px; }
}

@media (min-width: 1025px) {
    .nav-mobile-extra { display: none; }
    .nav-scrim { display: none; }
}

@media (max-width: 980px) {
    /* Media becomes a static band above the copy. It is first in the
       DOM, so it simply stacks — no order overrides needed. */
    .hero-grid {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-block: 0 clamp(48px, 6vw, 76px);
    }
    .hero-media {
        position: relative;
        top: auto; right: auto; bottom: auto; left: auto;
        align-self: stretch;
        width: auto;
        margin-inline: calc(var(--gutter) * -1);
        height: clamp(300px, 52vw, 440px);
    }
    .hero-media-frame {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .hero-wave { bottom: -14px; height: clamp(72px, 15vw, 108px); }
    .hero-media-frame img { object-position: center 30%; }
    .hero-media-frame::after {
        background: linear-gradient(180deg, rgba(253, 248, 242, 0) 58%, rgba(253, 248, 242, .5) 100%);
    }
    .hero-copy {
        max-width: none;
        padding-top: clamp(40px, 6vw, 60px);
    }
    body.home-page .hero-copy { padding-top: clamp(40px, 6vw, 60px); }
    .hero-copy .lede { max-width: none; }
    .hero-heading br { display: initial; }
    .hero-heading .script { display: block; }
    .hero-copy .btn-row .btn { flex: 1 1 250px; }
}

@media (max-width: 860px) {
    .split { grid-template-columns: minmax(0, 1fr); }
    .split--reverse .split-media, .split-media { order: -1; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 220px; }
}

@media (max-width: 720px) {
    :root { --section-y: clamp(50px, 10vw, 70px); }

    .client-showcase-page .page-hero-bg img { object-position: 70% 54%; }
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carousel-slide { flex-basis: 100%; }
    .carousel-btn { top: auto; bottom: -76px; transform: none; width: 42px; height: 42px; }
    .carousel-btn--prev { left: 50%; margin-left: -52px; }
    .carousel-btn--next { right: 50%; margin-right: -52px; }
    .carousel-dots { margin-top: 30px; }
    .reviews .carousel { padding-bottom: 86px; }

    .page-hero-inner,
    .page-hero--tall .page-hero-inner,
    .page-hero--short .page-hero-inner {
        min-height: 320px;
        padding-block: 18px;
        text-align: left;
    }
    .page-hero-inner > *,
    .page-hero h1,
    .page-hero p,
    .page-hero .eyebrow,
    .page-hero .breadcrumbs { margin-left: 0; margin-right: 0; text-align: left; }
    .page-hero h1 { font-size: clamp(38px, 10.5vw, 46px); }
    .page-hero p:not(.breadcrumbs) { font-size: 15.5px; line-height: 1.55; }
    .page-hero .btn-row { justify-content: flex-start; }

    .product-grid, .form-grid, .form-grid--3 { grid-template-columns: minmax(0, 1fr); }
    .chip-grid { grid-template-columns: minmax(0, 1fr); }
    .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Why items stack: photo on top, copy beneath. */
    .why-panel {
        padding-block: clamp(22px, 5vw, 32px);
        padding-inline: 0;
        background: transparent;
    }
    .why-item { grid-template-columns: minmax(0, 1fr); }
    .why-item-media img { min-height: clamp(200px, 46vw, 280px); }
    .why-item-body { border-left: 0; border-top: 1px solid var(--line); }

    .trust-panel {
        position: absolute;
        right: 0;
        border-radius: 0 0 var(--r-md) var(--r-md);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 13px 8px;
    }
    .welcome-media > img { border-radius: var(--r-md); }

    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
    .footer-bottom-end { align-items: flex-start; justify-content: flex-start; }

    .cat-head { flex-direction: column; gap: 16px; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .form-actions .btn { width: 100%; }

    .contact-dock { right: 14px; bottom: 14px; gap: 10px; }
    .dock-btn { width: 50px; height: 50px; }
    .dock-btn .dock-tip { display: none; }
}

@media (max-width: 460px) {
    .quick-grid { grid-template-columns: minmax(0, 1fr); }
    .client-logo-grid { grid-template-columns: minmax(0, 1fr); }
    .trust-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-item { padding-inline: 6px; }
    .trust-item + .trust-item { padding-top: 0; border-top: 0; }
    .btn { width: 100%; }
    .btn-row { flex-direction: column; }
    .hero-copy .btn-row .btn { flex: none; }
    .header-actions .btn { width: auto; }
}

/* --------------------------------------------------------------------------
   24. PRINT
   -------------------------------------------------------------------------- */

@media print {
    .site-header, .site-footer, .cta-band, .contact-dock, .carousel-btn, .carousel-dots { display: none !important; }
    body { background: #fff; color: #000; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   SERVICE PAGES
   Long-form editorial body, coverage grid, and a no-JavaScript FAQ.
   Used by service.php for every entry in includes/services.php.
   ========================================================================== */

/* --- Long-form body copy --- */
.prose > * + * { margin-top: 1.15em; }
.prose .lede { margin-bottom: 0; }
.prose .h-sub {
    margin-top: clamp(38px, 4vw, 56px);
    margin-bottom: 4px;
}
.prose p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--body);
}

/* --- Related-cover cards are links; the plain coverage cards are not --- */
.product-card--link { text-decoration: none; color: inherit; }
.product-card--link .link-arrow { margin-top: 14px; }

/* --- FAQ ---------------------------------------------------------------
   Built on <details>/<summary> so it works with JavaScript disabled and
   is keyboard-operable for free. */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq-item:hover { border-color: var(--ink-soft); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 28px);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.4;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: -3px;
}

.faq-chevron {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--orange);
    transition: transform .25s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    padding: 0 clamp(20px, 2.2vw, 28px) clamp(20px, 2.2vw, 26px);
}
.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    color: var(--body);
    max-width: 68ch;
}

@media (prefers-reduced-motion: reduce) {
    .faq-chevron { transition: none; }
}
