/* ==========================================================================
   Brooklyn Furnace Repair Svs - HVAC Contractor Theme
   Custom stylesheet (loaded after Bootstrap)
   Layout: utility bar / sticky header / hero / services / approach /
           warning signs / process / emergency / service areas / faq /
           contact / footer
   ========================================================================== */

:root {
    /* Color system */
    --ink: #0A1D30;
    --ink-soft: #12324B;
    --body: #47596C;
    --muted: #6E8397;
    --brand: #0E6BA8;
    --brand-dark: #0A5490;
    --brand-tint: #EAF4FB;
    --accent: #F4813F;
    --accent-dark: #DD6A26;
    --accent-tint: #FFF2E9;
    --line: #E1E9F1;
    --line-dark: #CFDCE7;
    --bg: #FFFFFF;
    --bg-soft: #F5F9FC;

    /* Shape + depth */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 6px 18px rgba(10, 29, 48, .06);
    --shadow: 0 18px 44px rgba(10, 29, 48, .10);
    --shadow-lg: 0 32px 70px rgba(10, 29, 48, .16);

    /* Type */
    --ff-head: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    --ff-body: 'Inter', 'Segoe UI', Arial, sans-serif;

    /* Metrics */
    --container: 1180px;
    --section-y: clamp(64px, 7.5vw, 108px);
    --header-h: 78px;
}


/* ==========================================================================
   1. Base
   ========================================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 16.5px;
    line-height: 1.75;
    font-weight: 400;
    color: var(--body);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--ff-head);
    color: var(--ink);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-top: 0;
}

h1, .h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4, .h4 { font-size: 1.15rem; font-weight: 700; }

p { margin-top: 0; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--brand);
    text-decoration: none;
    transition: color .25s ease;
}

a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

strong { color: var(--ink); font-weight: 700; }

ul { margin-bottom: 0; padding-left: 1.15rem; }

::selection {
    background: var(--brand);
    color: #fff;
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(14, 107, 168, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--ink);
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}


/* ==========================================================================
   2. Layout helpers
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 22px;
}

.container-wide {
    width: 100%;
    max-width: 1380px;
    margin-inline: auto;
    padding-inline: 22px;
}

.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(44px, 5vw, 70px); }
.bg-soft { background: var(--bg-soft); }
.bg-ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink h5 { color: #fff; }

.grid {
    display: grid;
    gap: 26px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991.98px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.split-wide-left { grid-template-columns: 1.08fr .92fr; }
.split-wide-right { grid-template-columns: .92fr 1.08fr; }

@media (max-width: 991.98px) {
    .split, .split-wide-left, .split-wide-right { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================
   3. Section headings
   ========================================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--ff-head);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.bg-ink .eyebrow { color: #8FD0F5; }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--body); font-size: 1.06rem; margin-top: 14px; }
.bg-ink .section-head p { color: rgba(255, 255, 255, .74); }

.highlight { color: var(--brand); }
.bg-ink .highlight { color: #8FD0F5; }


/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: var(--ff-head);
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease,
                color .25s ease, border-color .25s ease;
}

.btn-x:hover { transform: translateY(-2px); }
.btn-x:focus-visible { outline: 3px solid rgba(14, 107, 168, .45); outline-offset: 3px; }

.btn-primary-x {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px rgba(14, 107, 168, .28);
}

.btn-primary-x:hover { background: var(--brand-dark); color: #fff; }

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(244, 129, 63, .3);
}

.btn-accent:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-dark);
}

.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost-light {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .34);
}

.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-block { width: 100%; }
.btn-sm-x { padding: 11px 20px; font-size: .88rem; }


/* ==========================================================================
   5. Loader
   ========================================================================== */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--ink);
    transition: opacity .45s ease, visibility 0s linear .45s;
}

#preloader.is-done { opacity: 0; visibility: hidden; }

#preloader .pl-ring {
    width: 46px;
    height: 46px;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: plSpin .8s linear infinite;
}

@keyframes plSpin { to { transform: rotate(360deg); } }


/* ==========================================================================
   6. Utility bar
   ========================================================================== */

.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    font-size: .87rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 26px;
    min-height: 46px;
    padding-block: 8px;
}

.topbar__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar__list li,
.topbar__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    margin: 0;
}

.topbar__list a:hover { color: #fff; }

.topbar__list i { color: var(--accent); font-size: .82rem; }

.topbar__list strong { color: #fff; font-weight: 600; }

.topbar__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 100px;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: .82rem;
    color: #fff;
}

.topbar__tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .18);
}

@media (max-width: 767.98px) {
    .topbar__inner { justify-content: center; text-align: center; }
    .topbar__list { justify-content: center; }
    .topbar__hide-sm { display: none; }
}


/* ==========================================================================
   7. Header / navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-stuck {
    box-shadow: 0 10px 30px rgba(10, 29, 48, .08);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: var(--header-h);
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand__mark {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 10px 22px rgba(14, 107, 168, .28);
}

.brand__mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.brand__name {
    display: block;
    font-family: var(--ff-head);
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    color: var(--ink);
}

.brand__tag {
    display: block;
    font-family: var(--ff-body);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--muted);
}

/* Nav links */
.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
    position: relative;
    padding: 10px 14px;
    font-family: var(--ff-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink-soft);
    border-radius: 100px;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.nav__link:hover { color: var(--brand); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__phone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
    font-family: var(--ff-head);
}

.header__phone small {
    font-family: var(--ff-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.header__phone strong {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
}

.header__phone:hover strong { color: var(--brand); }

/* Burger */
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .nav-toggle { display: block; }
    .header__phone { display: none; }

    /* Anchored to the header box itself, so it can never detach or
       overlap the utility bar while the page scrolls. */
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        padding: 16px 22px calc(22px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(10, 29, 48, .16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
        max-height: calc(100vh - var(--header-h) - 20px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .header__nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav__link {
        padding: 13px 16px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .nav__link::after { display: none; }
    .nav__link.is-active { background: var(--brand-tint); }
    .header__nav .btn-x { margin-top: 14px; }
}

/* Lock page scroll while the mobile menu is open */
body.nav-open { overflow: hidden; }

@media (max-width: 575.98px) {
    .header__actions .btn-x { display: none; }
    .header__inner { gap: 10px; }
    .brand { gap: 10px; }
    .brand__mark { width: 40px; height: 40px; border-radius: 12px; font-size: 1.02rem; }
    .brand__name { font-size: .9rem; line-height: 1.15; }
    .brand__tag { font-size: .66rem; letter-spacing: .02em; }
    .nav-toggle { width: 42px; height: 42px; }
}

@media (max-width: 389.98px) {
    .brand__mark { width: 36px; height: 36px; font-size: .95rem; }
    .brand__name { font-size: .82rem; }
    .brand__tag { font-size: .62rem; }
}


/* ==========================================================================
   8. Hero
   ========================================================================== */

.hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(56px, 8vw, 104px);
    background: linear-gradient(120deg, rgba(8, 26, 43, .92) 0%, rgba(8, 26, 43, .82) 45%, rgba(8, 26, 43, .68) 100%),
                url(../img/bg-hero.jpg) center center / cover no-repeat;
    color: rgba(255, 255, 255, .82);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 70% at 78% 22%, rgba(14, 107, 168, .38), transparent 70%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: clamp(32px, 4.5vw, 62px);
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 100px;
    background: rgba(255, 255, 255, .08);
    font-family: var(--ff-head);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
}

.hero__badge i { color: var(--accent); }

.hero h1 { color: #fff; max-width: 17ch; }

.hero__lead {
    max-width: 56ch;
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .82);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    list-style: none;
    padding-left: 0;
}

.hero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .93rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
}

.hero__meta i { color: var(--accent); }

/* Hero request card */
.hero-card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-lg);
    color: var(--body);
}

.hero-card h2 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.hero-card > p {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 22px;
}

.hero-card__list {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    padding-left: 0;
    list-style: none;
}

.hero-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .96rem;
    color: var(--ink-soft);
}

.hero-card__list i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: .74rem;
    margin-top: 2px;
}

.hero-card__foot {
    margin-top: 16px;
    font-size: .86rem;
    color: var(--muted);
    text-align: center;
}

.hero-card__foot a { font-weight: 700; }


/* ==========================================================================
   9. Quick links bar
   ========================================================================== */

.quickbar {
    position: relative;
    z-index: 5;
    margin-top: -46px;
}

.quickbar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.quickbar__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px;
    border-right: 1px solid var(--line);
    transition: background .28s ease;
}

.quickbar__item:last-child { border-right: 0; }
.quickbar__item:hover { background: var(--brand-tint); }

.quickbar__item i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 1.05rem;
    transition: background .28s ease, color .28s ease;
}

.quickbar__item:hover i { background: var(--brand); color: #fff; }

.quickbar__item strong {
    display: block;
    font-family: var(--ff-head);
    font-size: .99rem;
    font-weight: 700;
    color: var(--ink);
}

.quickbar__item span {
    display: block;
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .quickbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quickbar__item:nth-child(2n) { border-right: 0; }
    .quickbar__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .quickbar { margin-top: -30px; }
}

@media (max-width: 575.98px) {
    .quickbar__grid { grid-template-columns: minmax(0, 1fr); }
    .quickbar__item { border-right: 0; border-bottom: 1px solid var(--line); }
    .quickbar__item:last-child { border-bottom: 0; }
}


/* ==========================================================================
   10. Media blocks
   ========================================================================== */

.media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media--tall { min-height: 460px; }
.media--mid { min-height: 380px; }

.media__float {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
}

.media__float i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-tint);
    color: var(--accent-dark);
}

.media__float strong {
    display: block;
    font-family: var(--ff-head);
    font-size: .95rem;
    color: var(--ink);
}

.media__float span {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
}

.media__tag {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 9px 18px;
    border-radius: 100px;
    background: rgba(10, 29, 48, .82);
    color: #fff;
    font-family: var(--ff-head);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .media--tall, .media--mid { min-height: 300px; }
}


/* ==========================================================================
   11. About / intro
   ========================================================================== */

.intro p + p { margin-top: 18px; }

.checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
    margin: 30px 0 34px;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: .97rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.checklist i { margin-top: 4px; color: var(--brand); }

.checklist--single { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 575.98px) {
    .checklist { grid-template-columns: minmax(0, 1fr); }
}

/* Approach cards */
.approach {
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.approach:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.approach__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 1.2rem;
}

.approach:nth-child(even) .approach__icon {
    background: var(--accent-tint);
    color: var(--accent-dark);
}

.approach h3 { margin-bottom: 10px; font-size: 1.16rem; }
.approach p { font-size: .95rem; margin-bottom: 0; }


/* ==========================================================================
   12. Service cards
   ========================================================================== */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(140deg, var(--brand-tint), #fff);
    color: var(--brand);
    font-size: 1.28rem;
    border: 1px solid rgba(14, 107, 168, .12);
    transition: background .3s ease, color .3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--brand);
    color: #fff;
}

.service-card h3 { margin-bottom: 12px; font-size: 1.22rem; }

.service-card p {
    font-size: .96rem;
    margin-bottom: 0;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--line-dark);
}

.service-card__tags span {
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--bg-soft);
    color: var(--ink-soft);
    font-size: .8rem;
    font-weight: 600;
}


/* ==========================================================================
   13. Brand / system pills
   ========================================================================== */

.pill-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

@media (max-width: 991.98px) {
    .pill-groups { grid-template-columns: minmax(0, 1fr); }
}

.pill-group {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
}

.pill-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 1.08rem;
    color: #fff;
}

.pill-group h3 i { color: var(--accent); }

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pills li {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 100px;
    font-size: .87rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.pills li:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}


/* ==========================================================================
   14. Warning signs
   ========================================================================== */

.signs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 575.98px) {
    .signs { grid-template-columns: minmax(0, 1fr); }
}

.signs li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: .97rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.signs li i { margin-top: 5px; color: var(--accent-dark); }

.signs__note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--accent-tint);
    color: #8A4318;
    font-size: .96rem;
}

.signs__note i { margin-top: 4px; color: var(--accent-dark); }
.bg-soft .signs__note { background: #fff; }


/* ==========================================================================
   15. Process steps
   ========================================================================== */

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-dark) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.steps__item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.steps__num {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border: 2px solid var(--brand);
    border-radius: 50%;
    background: #fff;
    font-family: var(--ff-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand);
}

.steps__item h3 { margin-bottom: 10px; font-size: 1.1rem; }
.steps__item p { font-size: .95rem; margin-bottom: 0; }

@media (max-width: 991.98px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps::before { display: none; }
}

@media (max-width: 575.98px) {
    .steps { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================
   16. Emergency band
   ========================================================================== */

.emergency {
    position: relative;
    isolation: isolate;
    padding-block: clamp(52px, 6vw, 78px);
    background: linear-gradient(105deg, rgba(10, 29, 48, .94) 0%, rgba(10, 60, 96, .88) 100%),
                url(../img/booking.jpg) center center / cover no-repeat;
    color: rgba(255, 255, 255, .8);
}

.emergency__inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

@media (max-width: 991.98px) {
    .emergency__inner { grid-template-columns: minmax(0, 1fr); }
}

.emergency h2 { color: #fff; }

.emergency__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 26px;
    margin-top: 24px;
    padding-left: 0;
    list-style: none;
}

@media (max-width: 575.98px) {
    .emergency__list { grid-template-columns: minmax(0, 1fr); }
}

.emergency__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .96rem;
    color: rgba(255, 255, 255, .85);
}

.emergency__list i { color: var(--accent); }

.emergency__card {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .08);
    text-align: center;
    backdrop-filter: blur(4px);
}

.emergency__card small {
    display: block;
    margin-bottom: 6px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.emergency__card a {
    display: block;
    font-family: var(--ff-head);
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.emergency__card a:hover { color: var(--accent); }

.emergency__card p {
    margin-top: 10px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
}

.emergency__card .btn-x { margin-top: 20px; }

/* ==========================================================================
   17. FAQ
   ========================================================================== */

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 940px;
    margin-inline: auto;
}

.faq {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: border-color .28s ease, box-shadow .28s ease;
}

.faq[open] {
    border-color: rgba(14, 107, 168, .35);
    box-shadow: var(--shadow-sm);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    font-family: var(--ff-head);
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--brand); }

.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.faq[open] summary::after {
    content: "\2212";
    background: var(--brand);
    color: #fff;
    transform: rotate(180deg);
}

.faq__body {
    padding: 0 26px 24px;
    font-size: .98rem;
}

.faq__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   18. Contact intro
   ========================================================================== */

.contact-intro {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.contact-intro h2 { margin-bottom: 20px; }

.contact-intro p {
    font-size: 1.04rem;
    line-height: 1.85;
    color: var(--body);
}

.contact-intro p + p {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.contact-intro p strong { font-weight: 700; }

.contact-intro a { font-family: var(--ff-head); font-weight: 700; }

.contact-intro .eyebrow {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .contact-intro p { font-size: 1rem; line-height: 1.8; }
}


/* ==========================================================================
   19. Footer
   ========================================================================== */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
    padding-top: clamp(52px, 6vw, 78px);
}

.site-footer h3 {
    margin-bottom: 22px;
    font-size: 1.06rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
}

.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: var(--accent); }

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-bottom: 44px;
}

@media (max-width: 991.98px) {
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

.site-footer .brand { margin-bottom: 20px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255, 255, 255, .6); }

.footer__about { font-size: .95rem; max-width: 42ch; }

.footer__links {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .95rem;
}

.footer__contact {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .95rem;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.footer__contact i {
    flex: 0 0 auto;
    margin-top: 5px;
    width: 18px;
    text-align: center;
    color: var(--accent);
}

.footer__contact a {
    font-family: var(--ff-head);
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.footer__hours {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .92rem;
}

.footer__hours p {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.footer__hours strong { color: #fff; font-weight: 600; }

/* Footer map */
.footer-map {
    padding-bottom: 44px;
}

.footer-map__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-map__head h3 {
    margin: 0;
    color: #fff;
}

.footer-map__head p {
    margin: 0;
    font-size: .93rem;
    color: rgba(255, 255, 255, .6);
}

.footer-map__frame {
    position: relative;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-soft);
}

.footer-map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Dark-tinted map tiles to sit with the dark footer */
.footer-map__frame iframe {
    filter: grayscale(.35) invert(.92) hue-rotate(180deg) contrast(.9) brightness(.92);
}

.footer-map__card {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
}

.footer-map__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-size: 1rem;
}

.footer-map__text {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-map__text strong {
    display: block;
    font-family: var(--ff-head);
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.3;
}

.footer-map__text span {
    display: block;
    font-size: .87rem;
    color: var(--muted);
    line-height: 1.5;
}

.footer-map__card .btn-x {
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .footer-map__card {
        flex-wrap: wrap;
        gap: 12px;
        top: 12px;
        right: 12px;
        left: 12px;
        padding: 14px 16px;
    }

    .footer-map__card .btn-x { flex: 1 1 100%; }
}

@media (max-width: 575.98px) {
    .footer-map { padding-bottom: 34px; }
    .footer-map__frame { height: 300px; }
    .footer-map__head { gap: 4px 14px; }
    .footer-map__head h3 { font-size: 1rem; }
    .footer-map__icon { width: 40px; height: 40px; }
    .footer-map__text strong { font-size: .94rem; }
}

@media (max-width: 419.98px) {
    .footer-map__frame { height: 260px; }
    .footer-map__text span { font-size: .82rem; }
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .87rem;
    color: rgba(255, 255, 255, .58);
}

.footer__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}


/* ==========================================================================
   20. Floating call button + back to top
   ========================================================================== */

.call-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 100px;
    background: var(--brand);
    color: #fff;
    font-family: var(--ff-head);
    font-size: .92rem;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(14, 107, 168, .34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background .25s ease;
}

.call-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.call-float:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 800;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, color .25s ease;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.to-top:hover { color: var(--brand); }

@media (max-width: 575.98px) {
    .call-float { left: 16px; bottom: 16px; padding: 12px 18px; font-size: .88rem; }
    .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}


/* ==========================================================================
   21. Scroll reveal
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}

[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ==========================================================================
   22. Utilities
   ========================================================================== */

.text-center-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 26px !important; }
.mt-5 { margin-top: 36px !important; }
.mb-4 { margin-bottom: 26px !important; }
.pt-0 { padding-top: 0 !important; }

/* ==========================================================================
   23. Responsive refinements
   ========================================================================== */

/* Tablet and below */
@media (max-width: 991.98px) {
    .footer-map__frame { height: 320px; }
}

/* Small phones and below */
@media (max-width: 575.98px) {
    :root { --header-h: 68px; }

    body { font-size: 16px; }

    .container,
    .container-wide { padding-inline: 18px; }

    .section { padding-block: clamp(52px, 11vw, 72px); }

    /* Hero */
    .hero { padding-block: 44px 56px; }
    .hero__lead { font-size: 1.02rem; }
    .hero__cta { gap: 12px; margin-top: 28px; }
    .hero__cta .btn-x { flex: 1 1 100%; }
    .hero__meta { gap: 10px 20px; margin-top: 28px; padding-top: 22px; font-size: .88rem; }
    .hero-card { padding: 24px 20px; border-radius: var(--radius); }
    .hero-card h2 { font-size: 1.24rem; }

    /* Quicklinks */
    .quickbar__item { padding: 18px 20px; gap: 12px; }
    .quickbar__item i { width: 40px; height: 40px; font-size: 1rem; }
    .quickbar__item strong { font-size: .95rem; }

    /* Media blocks */
    .media--tall, .media--mid { min-height: 260px; }
    .media__tag { top: 16px; left: 16px; padding: 7px 14px; font-size: .74rem; }
    .media__float { right: 16px; bottom: 16px; left: 16px; padding: 15px 16px; gap: 12px; }
    .media__float i { width: 38px; height: 38px; }

    /* Cards */
    .approach { padding: 24px 22px; }
    .approach__icon { width: 46px; height: 46px; margin-bottom: 15px; }
    .service-card { padding: 26px 22px; }
    .service-card__icon { width: 50px; height: 50px; }

    /* Steps */
    .steps { gap: 22px; }
    .steps__num { width: 50px; height: 50px; margin-bottom: 16px; }

    /* Emergency */
    .emergency__card { padding: 26px 20px; }

    /* Pill groups */
    .pill-group { padding: 22px 20px; }

    /* FAQ */
    .faq summary { padding: 18px 20px; font-size: .98rem; gap: 14px; }
    .faq__body { padding: 0 20px 20px; }

    /* Contact */
    .contact-intro { max-width: 100%; }
    .contact-intro h2 { margin-bottom: 16px; }

    /* Footer map */
    /* Footer */
    .footer__bottom { justify-content: center; text-align: center; }
}

/* Very small phones */
@media (max-width: 419.98px) {
    .container,
    .container-wide { padding-inline: 15px; }

    .hero__cta .btn-x,
    .btn-block { width: 100%; }

    .media__float span span { font-size: .78rem; }

    .call-float { padding: 11px 15px; font-size: .84rem; }
}

/* Touch devices: no hover-shift */
@media (hover: none) {
    .btn-x:hover,
    .service-card:hover,
    .approach:hover,
    .quickbar__item:hover { transform: none; }
}

/* Landscape phones - keep the hero from eating the viewport */
@media (max-height: 480px) and (orientation: landscape) {
    .hero { padding-block: 36px 44px; }
    .hero-card { padding: 20px 22px; }
}

@media print {
    .site-header, .topbar, .call-float, .to-top, .emergency, .quickbar { display: none; }
    body { color: #000; }
}
