/* =============================================================
   Dust & Done Cleaning Services — single-page site stylesheet
   Fonts : Gilroy (headings, self-hosted) · Raleway (body, Google)
   Colour: black text · #2461FF button · #E1C010 pre-headings · navy footer
   ============================================================= */

/* ---- Gilroy (drop woff2 files into /assets/fonts/ — see README) ---- */
@font-face { font-family:'Gilroy'; src:url('/assets/fonts/Gilroy-SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Gilroy'; src:url('/assets/fonts/Gilroy-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Gilroy'; src:url('/assets/fonts/Gilroy-ExtraBold.woff2') format('woff2'); font-weight:800; font-display:swap; }

/* ---- Design tokens ---- */
:root {
    --blue:        #2461FF;
    --blue-dark:   #1A4FE0;
    --blue-soft:   #EAF0FF;
    --gold:        #E1C010;
    --ink:         #111111;
    --heading:     #0C0D10;
    --muted:       #5B6472;
    --navy:        #0B1B3B;
    --navy-soft:   #16294F;
    --tint:        #F1F5FB;
    --steps-bg:    #E9F2FF;
    --line:        #E7EAF1;
    --white:       #FFFFFF;

    --font-head: 'Gilroy', 'Poppins', 'Raleway', system-ui, -apple-system, sans-serif;
    --font-body: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius:    10px;
    --radius-sm: 8px;
    --shadow-sm:   0 4px 16px rgba(17, 24, 39, .06);
    --shadow-card: 0 16px 40px rgba(17, 24, 39, .10);
    --shadow-hover:0 24px 54px rgba(17, 24, 39, .16);

    --container: 1200px;
    --gutter: 24px;
    --header-h: 118px; /* topbar + nav, for scroll offset */
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--heading);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 800;
    letter-spacing: -.01em;
}
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* anchored sections clear the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.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;
}
.skip-link {
    position: absolute; left: 16px; top: -48px;
    background: var(--blue); color: #fff; padding: 10px 16px;
    border-radius: 0 0 8px 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* Form-submit flash toast */
.toast {
    position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
    z-index: 300; display: flex; align-items: center; gap: 10px;
    max-width: calc(100vw - 32px); width: 460px;
    padding: 14px 16px; border-radius: 10px;
    background: #0B1B3B; color: #fff;
    box-shadow: 0 16px 40px rgba(11,27,59,.28);
    font-size: .92rem; font-weight: 600;
    animation: toast-in .25s ease;
}
.toast--ok { background: #12321f; }
.toast--ok .toast__ico { color: #7fe0b0; }
.toast--err { background: #3a1414; }
.toast--err .toast__ico { color: #ff9b9b; }
.toast__ico { width: 20px; height: 20px; flex-shrink: 0; }
.toast span { flex: 1; }
.toast__close {
    flex-shrink: 0; width: 26px; height: 26px; border: 0; border-radius: 6px;
    background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; line-height: 1;
    cursor: pointer;
}
.toast__close:hover { background: rgba(255,255,255,.22); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* ---- Layout helpers ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }

.eyebrow {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: .82rem;
    color: var(--blue);
    margin: 0 0 .9rem;
}
.eyebrow--center { text-align: center; }

.section-title { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 700; }
.section-lead { color: var(--muted); max-width: 48ch; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}
.section-head .section-lead { margin-bottom: 0; }
.section-head .btn { flex-shrink: 0; }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---- Buttons ---- */
.btn {
    --btn-bg: var(--blue);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn .ico { width: 1.1em; height: 1.1em; }

.btn--primary:hover { background: var(--blue-dark); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--heading); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--heading); }

.btn--hero-ghost { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; border-color: rgba(255,255,255,.5); }
.btn--hero-ghost:hover { --btn-bg: #fff; --btn-fg: var(--navy); border-color: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { color: var(--blue); }

.btn--sm  { padding: 10px 18px; font-size: .85rem; }
.btn--lg  { padding: 17px 32px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45em;
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.link-arrow .ico { transition: transform .15s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

.checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin: 4px 0 28px;
}
.checklist li {
    display: flex; align-items: flex-start; gap: .55em;
    font-weight: 600; font-size: .95rem;
}
.checklist .ico { color: var(--blue); margin-top: .2em; }
.checklist--stacked { grid-template-columns: 1fr; gap: 12px; margin-bottom: 0; }
.checklist--stacked li { font-size: 1rem; }
.checklist--badge .checklist__badge { width: 22px; height: 22px; margin-top: .1em; flex-shrink: 0; }

/* =============================================================
   Top bar
   ============================================================= */
.topbar { background: var(--navy); color: #cdd6e8; font-size: .84rem; }
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 44px; padding-block: 8px;
}
.topbar__tagline { margin: 0; font-weight: 600; color: #fff; }
.topbar__meta { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__meta span, .topbar__meta a { display: inline-flex; align-items: center; gap: .5em; color: #cdd6e8; }
.topbar__meta a:hover { color: #fff; }

/* =============================================================
   Header / navigation
   ============================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.brand--light img { filter: brightness(0) invert(1); }

.primary-nav__list { display: flex; align-items: center; gap: 4px; }
.primary-nav__item > a {
    display: inline-flex; align-items: center;
    padding: 10px 13px;
    font-family: var(--font-head); font-weight: 700; font-size: .93rem;
    color: var(--heading); border-radius: 8px;
}
.primary-nav__item > a:hover,
.primary-nav__item > a.is-active,
.primary-nav__item > a[aria-current="page"] { color: var(--blue); }
.primary-nav__cta { margin-left: 12px; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    color: var(--navy); cursor: pointer;
    -webkit-appearance: none; appearance: none;
}
.nav-toggle svg { width: 26px; height: 26px; stroke-width: 2.2; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

/* =============================================================
   Hero — full-bleed photo + navy overlay
   ============================================================= */
.hero {
    position: relative;
    color: #fff;
    padding: 92px 0 104px;
    background:
        linear-gradient(180deg, rgba(11,27,59,.72), rgba(11,27,59,.82)),
        url('/assets/img/hero.webp') center / cover no-repeat;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}
.hero__title {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 800;
    max-width: 12ch;
}
.hero__lead { font-size: 1.08rem; color: #dbe3f2; max-width: 52ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; color: #eef2fa; }
.hero__badges .ico { color: #7fe0b0; width: 18px; height: 18px; }

/* Quote card (hero: navy · contact: white) */
.quote-card {
    background: var(--navy);
    color: #fff;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: 34px;
    box-shadow: var(--shadow-card);
}
.quote-card__title { color: var(--gold); font-size: 1.55rem; margin-bottom: .3rem; }
.quote-card__sub { color: #b9c4dc; font-size: .92rem; margin-bottom: 1.4rem; }
.quote-card--light { background: #fff; color: var(--ink); border-color: var(--line); }
.quote-card--light .quote-card__title { color: var(--heading); }
.quote-card--light .quote-card__sub { color: var(--muted); }
.quote-card--light .field input,
.quote-card--light .field select,
.quote-card--light .field textarea { border-color: var(--line); background: #fff; }

/* Honeypot spam trap — off-screen, never seen or reached by real visitors */
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 0; width: 0; overflow: hidden; }

.field { margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select, .field textarea, .newsletter input {
    width: 100%; font: inherit; font-size: .95rem;
    padding: 14px 15px; border-radius: var(--radius-sm);
    border: 1px solid transparent; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #8a93a4; }
.field input:focus, .field select:focus, .field textarea:focus,
.newsletter input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,97,255,.35); }
.quote-card .btn { margin-top: 8px; }

/* =============================================================
   About
   ============================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about__copy p:not(.eyebrow) { color: var(--muted); }
.media-frame, .about__media, .fast-cta__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.about__media img, .fast-cta__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* =============================================================
   Why choose us — feature cards
   ============================================================= */
.why__intro { max-width: 640px; margin-bottom: 52px; }
.why__intro .section-lead { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
    background: #fff; border-radius: var(--radius); padding: 32px 26px; text-align: center;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature-card__icon {
    display: grid; place-items: center; width: 62px; height: 62px;
    margin: 0 auto 18px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
}
.feature-card__icon .ico { width: 28px; height: 28px; }
.feature-card__title { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.feature-card__text { color: var(--muted); font-size: .9rem; margin: 0; }

/* =============================================================
   Services — featured grid + "explore more" reveal
   ============================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-grid--more { margin-top: 30px; }
.service-grid--more[hidden] { display: none; }

.service-card {
    display: flex; flex-direction: column; background: #fff;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card__media { display: block; height: 220px; background: var(--tint); overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body {
    flex: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
    padding: 26px 24px 28px;
}
.service-card__title { font-size: 1.3rem; margin: 0; }
.service-card__title a { color: var(--heading); }
.service-card__title a:hover { color: var(--blue); }
.service-card__text { color: var(--muted); font-size: .93rem; margin: 0; }
.service-card__body .link-arrow { margin-top: auto; padding-top: .6rem; }

.services__toggle-wrap { text-align: center; margin-top: 48px; }
.services__toggle-caret { transition: transform .2s ease; }
#moreServicesToggle[aria-expanded="true"] .services__toggle-caret { transform: rotate(180deg); }

/* =============================================================
   Steps
   ============================================================= */
.steps {
    background:
        radial-gradient(circle at 20% 20%, rgba(36,97,255,.06) 0 2px, transparent 2px) 0 0 / 46px 46px,
        radial-gradient(circle at 70% 60%, rgba(36,97,255,.05) 0 3px, transparent 3px) 0 0 / 70px 70px,
        var(--steps-bg);
}
.steps__intro { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.steps__intro .section-lead { margin-inline: auto; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.step-card { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px 34px 46px; box-shadow: var(--shadow-card); }
.step-card:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -40px; width: 40px; border-top: 2px dashed #9db8ee;
}
.step-card__icon {
    position: absolute; top: 34px; left: -28px;
    display: grid; place-items: center; width: 56px; height: 56px;
    border-radius: 50%; background: var(--gold); color: #fff;
}
.step-card__icon .ico { width: 26px; height: 26px; }
.step-card__title { font-size: 1.18rem; margin-bottom: .4rem; }
.step-card__text { color: var(--muted); font-size: .93rem; margin: 0; }

/* =============================================================
   Fast CTA
   ============================================================= */
.fast-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fast-cta__copy p:not(.eyebrow):not(.fast-cta__phone) { color: var(--muted); }
.fast-cta__phone { margin-bottom: 1rem; }
.fast-cta__phone a {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
}
.fast-cta__media img { aspect-ratio: 5 / 4; }

/* =============================================================
   Testimonials — flush-left image + stacked quotes (Figma highlight)
   ============================================================= */
.testimonials { position: relative; background: var(--tint); overflow: hidden; }
.testimonials__media {
    position: absolute; inset: 0 auto 0 0;
    width: min(44%, 660px);
    background: url('/assets/img/testimonial.webp') center / cover no-repeat;
}
.testimonials__grid { display: grid; grid-template-columns: minmax(0, 44%) 1fr; }
.testimonials__body { grid-column: 2; padding: 96px 0 96px 72px; }
.testimonials__body .section-lead { margin-bottom: 40px; }

.testimonial-list { display: flex; flex-direction: column; gap: 22px; }
.testimonials__cta { margin-top: 28px; }
.tq {
    margin: 0; background: #fff; border-radius: var(--radius);
    padding: 26px 28px; box-shadow: var(--shadow-card);
}
.tq__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tq__mark { color: var(--blue); }
.tq__mark .ico { width: 26px; height: 26px; }
.tq blockquote { margin: 12px 0 16px; font-size: 1rem; color: var(--ink); }

/* Star rating */
.stars { --rating: 5; --star: #FFB400; display: inline-flex; align-items: center; line-height: 1; }
.stars::before {
    content: "\2605\2605\2605\2605\2605";
    font-size: 1.05rem;
    letter-spacing: 3px;
    background: linear-gradient(90deg,
        var(--star) calc(var(--rating) / 5 * 100%),
        #d7ddea calc(var(--rating) / 5 * 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tq figcaption { display: flex; align-items: center; gap: 14px; }
.tq__avatar {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--blue-soft); color: var(--blue);
    font-family: var(--font-head); font-weight: 800; flex-shrink: 0;
}
.tq figcaption strong { display: block; font-family: var(--font-head); color: var(--heading); }
.tq__role { font-size: .82rem; color: var(--blue); font-weight: 600; }

/* =============================================================
   Blog
   ============================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card {
    display: flex; flex-direction: column; background: #fff;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.post-card__media { display: block; height: 210px; background: var(--tint); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: .35rem; }
.post-card__title { font-size: 1.18rem; margin: 0; }
.post-card__title a { color: var(--heading); }
.post-card__title a:hover { color: var(--blue); }
.post-card__meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #98a1b1; margin: 0; }
.post-card__text { color: var(--muted); font-size: .93rem; margin: .2rem 0 .6rem; }

/* =============================================================
   Contact
   ============================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__info .section-lead { margin-bottom: 28px; }
.contact__list { display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact__list span {
    display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 10px; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm);
}
.contact__list a { color: var(--ink); }
.contact__list a:hover { color: var(--blue); }
.contact__map {
    position: relative;
    isolation: isolate; /* contain Leaflet's internal z-indexes below the sticky header */
    margin-top: 28px;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--tint);
}
.contact__map .leaflet-container { font: inherit; }

/* Marker + business-name card */
.map-pin { background: none; border: 0; filter: drop-shadow(0 6px 10px rgba(11,27,59,.35)); }
.map-card .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(11, 27, 59, .22);
    padding: 4px 6px;
}
.map-card .leaflet-popup-content { margin: 11px 15px; line-height: 1.4; width: 215px !important; }
.map-card__name {
    display: block;
    font-family: var(--font-head); font-weight: 800; font-size: .98rem; color: var(--heading);
}
.map-card__addr { display: block; margin-top: 2px; font-size: .85rem; color: var(--muted); }
.map-card .leaflet-popup-tip { box-shadow: 0 14px 34px rgba(11, 27, 59, .22); }

/* =============================================================
   Service inside page (/service.php)
   ============================================================= */
.breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: .82rem;
    margin-bottom: 20px;
}
.breadcrumb a { color: #cdd8ef; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
.breadcrumb__sep { width: 15px; height: 15px; transform: rotate(-90deg); color: #8fa3c9; }

.svc-hero {
    position: relative;
    color: #fff;
    padding: 76px 0 88px;
    background:
        linear-gradient(180deg, rgba(11,27,59,.78), rgba(11,27,59,.86)),
        var(--svc-img, none) center / cover no-repeat,
        var(--navy);
}
.svc-hero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; max-width: 18ch; }
.svc-hero__lead { font-size: 1.08rem; color: #dbe3f2; max-width: 56ch; margin-bottom: 1.8rem; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.svc-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.svc-body__main p { color: var(--muted); }
.svc-body__main > .section-title { margin-bottom: 1rem; }
.svc-body__subhead { font-size: 1.3rem; margin: 2.2rem 0 1rem; }
.svc-body__note {
    margin-top: 24px; padding-left: 18px;
    border-left: 3px solid var(--blue-soft);
    font-size: .92rem;
}

.svc-body__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.svc-aside-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 28px 26px;
}
.svc-aside-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.svc-aside-card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.svc-aside-card__list li { display: flex; align-items: flex-start; gap: .6em; font-size: .92rem; font-weight: 600; }
.svc-aside-card__list .ico { color: var(--blue); margin-top: .15em; flex-shrink: 0; }
.svc-aside-card__call { margin: 16px 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.svc-aside-card__call a { font-family: var(--font-head); font-weight: 700; }

.svc-book__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.svc-book__intro .section-lead { margin-bottom: 28px; }
.svc-book__form { max-width: none; }
.svc-book__disclaimer, .svc-book__note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* selects acting as their own label until a value is chosen */
.field select.is-placeholder { color: #8a93a4; }

.svc-related .section-head { margin-bottom: 40px; }

/* =============================================================
   Blog post page (/post.php)
   ============================================================= */
.breadcrumb--ink a { color: var(--muted); }
.breadcrumb--ink a:hover { color: var(--blue); }
.breadcrumb--ink [aria-current] { color: var(--heading); }
.breadcrumb--ink .breadcrumb__sep { color: #b7bfce; }

.post-hero { background: var(--tint); padding: 40px 0 52px; }
.post-hero__inner { max-width: 760px; margin-inline: auto; }
.post-hero .eyebrow { margin-top: 18px; }
.post-hero__title { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 16px; }
.post-hero__meta {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 0; font-size: .9rem; color: var(--muted);
    font-family: var(--font-head); font-weight: 600;
}

.post__layout { max-width: 760px; margin-inline: auto; padding-block: 0 96px; }
.post__figure { margin: -32px 0 40px; }
.post__figure img {
    width: 100%; height: auto; max-height: 440px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-card);
}

.post__body { font-size: 1.06rem; line-height: 1.8; color: #23262e; }
.post__body > p { margin: 0 0 1.35rem; }
.post__body h2 {
    font-size: 1.5rem; margin: 2.4rem 0 1rem;
    padding-top: .4rem;
}
.post__body h3 { font-size: 1.2rem; margin: 2rem 0 .8rem; }
.post__body ul { margin: 0 0 1.35rem; padding-left: 1.3rem; list-style: disc; }
.post__body li { margin-bottom: .6rem; padding-left: .2rem; }
.post__body li::marker { color: var(--blue); }
.post__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.post__body a:hover { color: var(--blue-dark); }
.post__body strong { color: var(--heading); }

.post__foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post__byline { font-size: .88rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; }
.post__cta {
    margin-top: 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    background: var(--blue-soft); border-radius: var(--radius); padding: 28px 30px;
}
.post__cta h2 { font-size: 1.25rem; margin-bottom: .3rem; }
.post__cta p { margin: 0; color: var(--muted); font-size: .95rem; }
.post__cta .btn { flex-shrink: 0; }


/* "Don't want to fill in the form?" call-back band */
.callback { background: var(--blue-soft); }
.callback__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; padding-block: 44px;
}
.callback__copy h2 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); margin-bottom: .35rem; }
.callback__copy p { margin: 0; color: var(--muted); }
.callback__form { display: flex; gap: 12px; flex-shrink: 0; }
.callback__form input {
    width: 180px; font: inherit; font-size: .95rem;
    padding: 14px 15px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.callback__form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,97,255,.35); }

/* =============================================================
   Reviews page (/reviews/)
   ============================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reviews-grid--more { margin-top: 28px; }
.reviews__toggle-wrap { text-align: center; margin-top: 48px; }
.reviews__toggle-caret { transition: transform .2s ease; }
#moreReviewsToggle[aria-expanded="true"] .reviews__toggle-caret { transform: rotate(180deg); }
.reviews-empty {
    text-align: center; padding: 56px 24px; color: var(--muted);
    background: var(--tint); border-radius: var(--radius);
    font-size: 1.02rem;
}

.review-cta__prompt { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.review-cta__prompt .section-lead { margin-inline: auto; margin-bottom: 28px; }
.review-form { max-width: 560px; margin: 0 auto; }

.review-toggle-caret { transition: transform .2s ease; }
#reviewToggle[aria-expanded="true"] .review-toggle-caret { transform: rotate(180deg); }

.review-form__rating-label {
    display: block; font-family: var(--font-head); font-weight: 700;
    font-size: .85rem; color: var(--heading); margin-bottom: 8px;
}
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.star-input label {
    font-size: 2.2rem; line-height: 1; color: #d7ddea; cursor: pointer;
    padding: 2px 3px; transition: color .1s ease; border-radius: 4px;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
    color: #FFB400;
}
.star-input input:focus-visible ~ label { outline: 2px solid var(--blue); outline-offset: 1px; }

.review-form button[type="submit"]:disabled {
    opacity: .6; cursor: not-allowed; transform: none;
}
.btn-spinner {
    display: inline-block; width: 1em; height: 1em; margin-right: 8px;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
    border-radius: 50%; vertical-align: -2px;
    animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* =============================================================
   404 / not found (404.php, and service.php / post.php bad-slug)
   ============================================================= */
.notfound {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(11,27,59,.82), rgba(11,27,59,.90)),
        url('/assets/img/404.webp') center / cover no-repeat;
}
.notfound__inner { max-width: 640px; margin-inline: auto; padding-block: 72px; }
.notfound__code {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(4.5rem, 13vw, 7.5rem);
    line-height: 1; margin: 0 0 4px; color: #fff; letter-spacing: -.02em;
    text-shadow: 0 12px 34px rgba(0,0,0,.25);
}
.notfound__title { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.notfound__text { color: #dbe3f2; font-size: 1.05rem; max-width: 46ch; margin: 0 auto 32px; }
.notfound__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   Closing CTA
   ============================================================= */
.closing-cta { background: var(--blue); color: #fff; }
.closing-cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 60px;
}
.closing-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; max-width: 24ch; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--navy); color: #b9c4dc; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.7fr; gap: 48px; padding-block: 84px 64px; }
.site-footer__brand .brand { margin-bottom: 22px; }
.site-footer__addr { display: flex; align-items: flex-start; gap: .6em; color: #cdd6e8; margin-bottom: 22px; line-height: 1.55; }
.site-footer__addr .ico { width: 1.1em; height: 1.1em; margin-top: .22em; flex-shrink: 0; }
.site-footer__label {
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0;
    font-size: .74rem; color: var(--gold); margin: 14px 0 2px;
}
.site-footer__contact { display: block; color: #fff; font-weight: 500; }
.site-footer__contact:hover { color: #7ea3ff; }
.site-footer__socials { display: flex; gap: 12px; margin-top: 24px; }
.site-footer__socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--navy-soft); color: #fff; }
.site-footer__socials a:hover { background: var(--blue); }
.site-footer__heading { font-family: var(--font-head); font-size: 1.12rem; color: #fff; margin: 0 0 20px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a { color: #b9c4dc; }
.site-footer__col a:hover { color: #fff; }
.site-footer__newsletter p { font-size: .92rem; max-width: 36ch; }
.newsletter { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.newsletter input { border-color: var(--navy-soft); }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.10); }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: .85rem; }
.site-footer__bar-inner p { margin: 0; }

/* =============================================================
   Back-to-top button
   ============================================================= */
.to-top {
    position: fixed;
    right: clamp(16px, 3.5vw, 34px);
    bottom: clamp(16px, 3.5vw, 34px);
    z-index: 90;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(11, 27, 59, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.9);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background .15s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }
.to-top:active { transform: translateY(0); }
.to-top__ico { width: 22px; height: 22px; transform: rotate(180deg); }

@media (max-width: 620px) {
    .to-top { width: 44px; height: 44px; }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1080px) {
    :root { --header-h: 108px; }
    .section { padding: 80px 0; }
    .hero__grid, .about__grid, .fast-cta__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
    .hero__title { max-width: none; }
    .about__media { order: -1; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid, .post-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid { grid-template-columns: 1fr; gap: 20px; }
    .step-card { padding: 28px 26px; }
    .step-card:not(:last-child)::after { display: none; }
    .step-card__icon { position: static; margin-bottom: 16px; }

    .testimonials__media { position: static; width: 100%; height: 280px; }
    .testimonials__grid { display: block; }
    .testimonials__body { padding: 64px 0; }

    .svc-body__grid, .svc-book__grid { grid-template-columns: 1fr; gap: 40px; }
    .svc-body__aside { position: static; }

    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
    .topbar__tagline { display: none; }
    .topbar__inner { justify-content: center; }
    .topbar__meta { justify-content: center; gap: 16px; }

    .brand img { height: 48px; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
        padding: 12px var(--gutter) 20px; display: none;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .primary-nav__item > a { padding: 12px 8px; font-size: 1rem; }
    .primary-nav__cta { margin: 12px 0 0; }
    .primary-nav__cta .btn { width: 100%; justify-content: center; }

    .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .closing-cta__inner { flex-direction: column; text-align: center; }
    .checklist { grid-template-columns: 1fr; }

    .callback__inner { flex-direction: column; align-items: stretch; text-align: center; gap: 24px; }
    .callback__form { flex-wrap: wrap; justify-content: center; }
    .callback__form input { flex: 1 1 180px; width: auto; }
    .callback__form .btn { width: 100%; justify-content: center; }

    .post__cta { flex-direction: column; align-items: flex-start; gap: 18px; }
    .post__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 620px) {
    :root { --gutter: 18px; }
    .section { padding: 60px 0; }
    .feature-grid, .service-grid, .post-grid, .reviews-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .quote-card { padding: 26px 22px; }
    .hero__actions .btn,
    .svc-hero__actions .btn,
    .notfound__actions .btn { width: 100%; justify-content: center; }
    .notfound { min-height: 56vh; }
    .hero__title { font-size: clamp(2.15rem, 9vw, 2.85rem); max-width: none; }
    .section-head .btn { width: 100%; justify-content: center; }

    /* compact horizontal feature cards on phones */
    .feature-card { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px; }
    .feature-card__icon { margin: 0; width: 50px; height: 50px; flex-shrink: 0; }
    .feature-card__icon .ico { width: 24px; height: 24px; }
    .feature-card__body { flex: 1; min-width: 0; }
    .feature-card__title { margin-bottom: .15rem; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 34px; padding-block: 56px 44px; }
    .site-footer__bar-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
