/* ============================================================
   Freedom Fingerprinting – Main Stylesheet v2
   Logo-compatible design: white header, flag-red accent, navy primary
   Architecture: BEM, CSS custom properties, WordPress-ready
   ============================================================ */

/* -------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------- */
:root {
    /* Brand Colors – pulled from the actual logo */
    --color-navy: #0d1f3c;
    /* Logo circle / text */
    --color-navy-mid: #162d54;
    --color-navy-dark: #091528;
    --color-red: #B22234;
    /* American flag red from logo */
    --color-red-hover: #8f1a28;
    --color-white: #ffffff;
    --color-off-white: #f8f7f4;
    --color-smoke: #ededea;
    --color-ink: #191917;
    --color-muted: #5a5855;
    --color-border: #dedad4;
    --color-border-light: #eeebe6;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

    /* Spacing scale */
    --sp-2: 0.5rem;
    --sp-4: 1rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Layout */
    --max-w: 1160px;
    --pad-inline: clamp(1.25rem, 5vw, 2.5rem);
    --header-h: 70px;

    /* Motion */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.25s;
}


/* -------------------------------------------------------
   2. Reset + Base
   ------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

/* 
   Direct link offset fix: 
   Applying scroll-margin-top to sections handles the fixed header gap 
   natively for all hash links and page-load hashes.
*/
[id] {
    scroll-margin-top: calc(var(--header-h) + 32px);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-ink);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

ul,
ol {
    list-style: none;
}

address {
    font-style: normal;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.15;
}


/* -------------------------------------------------------
   3. Container
   ------------------------------------------------------- */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-inline);
}


/* -------------------------------------------------------
   4. Buttons
   ------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 1px;
    white-space: nowrap;
    text-decoration: none;
    border: 2px solid transparent;
    transition:
        background var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        color var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease),
        transform 0.15s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Navy bg / white text */
.btn--primary {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn--primary:hover {
    background: var(--color-navy-mid);
    border-color: var(--color-navy-mid);
    box-shadow: 0 4px 18px rgba(13, 31, 60, 0.28);
}

/* Outline (for hero on white bg) */
.btn--outline {
    background: transparent;
    color: var(--color-navy);
    border-color: rgba(13, 31, 60, 0.35);
}

.btn--outline:hover {
    border-color: var(--color-navy);
    background: rgba(13, 31, 60, 0.04);
}

/* White (for dark section) */
.btn--white {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
}

.btn--white:hover {
    background: var(--color-off-white);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* Red accent */
.btn--red {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.btn--red:hover {
    background: var(--color-red-hover);
    border-color: var(--color-red-hover);
    box-shadow: 0 4px 18px rgba(178, 34, 52, 0.3);
}

.btn--large {
    padding: 0.85rem 2rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
}


/* -------------------------------------------------------
   5. Section Headers
   ------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--sp-12);
}

.section-header--left {
    text-align: left;
}

.section-header__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 0.6rem;
    padding-left: 1.4rem;
    position: relative;
}

.section-header__eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 1px;
    background: var(--color-red);
    transform: translateY(-50%);
}

.section-header__heading {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.01em;
}

/* Light (for dark sections) */
.section-header--light .section-header__eyebrow {
    color: rgba(255, 255, 255, 0.55);
}

.section-header--light .section-header__eyebrow::before {
    background: rgba(255, 255, 255, 0.4);
}

.section-header--light .section-header__heading {
    color: var(--color-white);
}

.section-header__sub {
    margin-top: 0.875rem;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.7;
}


/* -------------------------------------------------------
   6. Site Header
   Logo is full-color on WHITE background — clean, professional.
   ------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
    height: var(--header-h);
    transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(13, 31, 60, 0.1);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    min-width: 0;
}

/* Logo */
.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header__logo-img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Fallback (text+icon) */
.site-header__logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.site-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-header__logo-text strong {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: 0.01em;
}

.site-header__logo-text em {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--color-red);
}

/* Nav */
.site-nav {
    flex: 1;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.site-nav__link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-muted);
    letter-spacing: 0.02em;
    padding: 0.2rem 0;
    position: relative;
    text-decoration: none;
}

.site-nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--dur) var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--color-navy);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
    width: 100%;
}

/* Header actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-shrink: 0;
}

.site-header__phone {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
}

.site-header__phone:hover {
    color: var(--color-red);
}

/* Mobile toggle */
.site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    margin-left: auto;
}

.site-header__toggle span {
    display: block;
    height: 2px;
    background: var(--color-navy);
    border-radius: 1px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.site-header__drawer {
    display: none;
    background: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 2px solid var(--color-red);
    padding: var(--sp-6) var(--pad-inline) var(--sp-8);
}

.site-header__drawer[aria-hidden="false"] {
    display: block;
}

.site-nav__list--mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
}

.site-nav__list--mobile .site-nav__link {
    font-size: 1.0625rem;
    color: var(--color-navy);
}

.site-nav__list--mobile .btn {
    margin-top: var(--sp-2);
}


/* -------------------------------------------------------
   7. Hero
   White background so logo/visual shows naturally.
   Strong typographic layout with navy on white.
   ------------------------------------------------------- */
.hero {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    /* Thin red top accent to echo logo flag colors */
    border-top: 3px solid var(--color-red);
}

/* Soft warm texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 70% 60% at 80% 50%, rgba(13, 31, 60, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 640px;
    align-items: center;
    gap: var(--sp-12);
    padding-top: var(--sp-20);
    padding-bottom: var(--sp-20);
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(178, 34, 52, 0.07);
    border: 1px solid rgba(178, 34, 52, 0.2);
    color: var(--color-red);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    margin-bottom: var(--sp-6);
    border-radius: 1px;
}

/* Heading */
.hero__heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-6);
}

.hero__heading em {
    font-style: italic;
    color: var(--color-red);
}

.hero__subtext {
    font-size: 1.125rem;
    color: var(--color-muted);
    max-width: 640px;
    line-height: 1.75;
    margin-bottom: var(--sp-8);
}

.hero__actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-8);
}

/* Trust list */
.hero__trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-muted);
}

.hero__trust-check {
    color: var(--color-red);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow-x: clip;
}

.hero__logo-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
    position: relative;
    width: min(100%, 300px);
}

/* The main hero image (fingerprint flag logo) */
.hero__logo-panel-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    --hero-logo-scale: 1.45;
    transform: scale(var(--hero-logo-scale)) translateZ(0);
    /* Force GPU rendering and prevent flickering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* MANDATORY: Edge 'mask' to prevent 1px boundary lines from the image file */
    outline: 2px solid white;
    outline-offset: -2px;

    /* Zoom in to crop out the internal white space */
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    animation: floatLogo 10s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: scale(var(--hero-logo-scale)) translateY(0px) translateZ(0);
    }

    50% {
        transform: scale(var(--hero-logo-scale)) translateY(-4px) translateZ(0);
    }

    100% {
        transform: scale(var(--hero-logo-scale)) translateY(0px) translateZ(0);
    }
}

/* SVG fallback container */
.hero__logo-svg {
    width: 300px;
    height: 300px;
    align-items: center;
    justify-content: center;
}

.hero__logo-svg svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 24px rgba(13, 31, 60, 0.15));
}

/* Motto line beneath logo */
.hero__logo-motto {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--color-muted);
    text-align: center;
    padding: 0.4rem var(--sp-4);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}


/* -------------------------------------------------------
   8. Services Strip
   ------------------------------------------------------- */
.services-strip {
    background: var(--color-navy);
    padding: 0.75rem 0;
    overflow: hidden;
}

.services-strip__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem var(--sp-6);
}

.services-strip__item {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.25rem 0;
    position: relative;
}

.services-strip__item+.services-strip__item::before {
    content: '·';
    position: absolute;
    left: calc(var(--sp-6) / -2 - 0.35rem);
    color: rgba(255, 255, 255, 0.25);
}


/* -------------------------------------------------------
   9. About Section
   ------------------------------------------------------- */
.about {
    padding: var(--sp-24) 0;
    background: var(--color-off-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--sp-6);
}

.about__card {
    background: var(--color-white);
    padding: var(--sp-12) var(--sp-10);
    border: 1px solid var(--color-border);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--dur) var(--ease);
}

.about__card:hover {
    box-shadow: 0 6px 28px rgba(13, 31, 60, 0.07);
}

/* Accent: left red border on first card */
.about__card--accent {
    border-left: 4px solid var(--color-red);
}

.about__card-num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 800;
    color: rgba(13, 31, 60, 0.035);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.about__card-heading {
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--sp-4);
}

.about__card-body {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.78;
    margin-bottom: var(--sp-4);
}

.about__card-body:last-child {
    margin-bottom: 0;
}


/* -------------------------------------------------------
   10. Process Section
   ------------------------------------------------------- */
.process {
    background: var(--color-navy);
    padding: var(--sp-24) 0;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric accent */
.process::after {
    content: '';
    position: absolute;
    right: -10%;
    top: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.process__steps {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: var(--sp-12);
}

.process__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--sp-6);
    padding: var(--sp-8) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.process__step:first-child {
    padding-top: 0;
}

.process__step:last-child {
    border-bottom: none;
}

.process__step-num {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(178, 34, 52, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-red);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.process__step-heading {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.4rem;
}

.process__step-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
}

.process__cta {
    text-align: center;
}


/* -------------------------------------------------------
   11. Trust Bar
   ------------------------------------------------------- */
.trust-bar {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--sp-12) 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-8);
    text-align: center;
}

.trust-bar__item {
    position: relative;
}

.trust-bar__item+.trust-bar__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.trust-bar__label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 0.35rem;
}

.trust-bar__value {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.25;
}


/* -------------------------------------------------------
   12. Contact Section
   ------------------------------------------------------- */
.contact {
    padding: var(--sp-24) 0;
    background: var(--color-off-white);
    scroll-margin-top: calc(var(--header-height) + 48px);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-20);
    align-items: start;
}

.contact__tagline {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.72;
    margin-bottom: var(--sp-8);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    margin-bottom: var(--sp-8);
}

.contact__detail {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: var(--sp-4);
    align-items: start;
}

.contact__detail-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--color-red);
    padding-top: 0.2rem;
}

.contact__detail-value {
    font-size: 1rem;
    color: var(--color-ink);
    line-height: 1.65;
}

a.contact__detail-value:hover {
    color: var(--color-red);
}

/* Form panel */
.contact__form-wrap {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-navy);
    padding: var(--sp-8) var(--sp-8);
    border-radius: 1px;
}

.contact__form-lead {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.68;
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--color-smoke);
}

.contact-form__group {
    margin-bottom: var(--sp-6);
}

.contact-form__label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-navy);
    margin-bottom: 0.3rem;
}

.contact-form__req {
    color: var(--color-red);
    margin-left: 0.1rem;
}

.contact-form__input {
    width: 100%;
    padding: 0.65rem 0.875rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-ink);
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: 1px;
    appearance: none;
    -webkit-appearance: none;
    transition:
        border-color var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease),
        background var(--dur) var(--ease);
}

.contact-form__input:focus {
    outline: none;
    border-color: var(--color-navy);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(13, 31, 60, 0.07);
}

.contact-form__input.is-error {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.08);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form__error {
    display: block;
    font-size: 1rem;
    color: var(--color-red);
    margin-top: 0.25rem;
    min-height: 1.15em;
}

.contact-form__submit {
    margin-bottom: var(--sp-4);
}

.contact-form__recaptcha {
    font-size: 1rem;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.6;
}

.contact-form__recaptcha a {
    color: var(--color-navy);
    text-decoration: underline;
}

.contact-form__success {
    padding: var(--sp-6);
    background: rgba(13, 31, 60, 0.04);
    border: 1px solid rgba(13, 31, 60, 0.12);
    text-align: center;
    font-weight: 600;
    color: var(--color-navy);
    border-radius: 1px;
}


/* -------------------------------------------------------
   13. Footer
   ------------------------------------------------------- */
.site-footer {
    background: var(--color-navy-dark);
    padding: var(--sp-8) 0 var(--sp-6);
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-8);
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: var(--sp-6);
}

.site-footer__logo-link {
    display: inline-block;
    margin-bottom: 0.6rem;
}

.site-footer__logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    /* Removed solid inversion to allow natural brand colors on navy background */
    opacity: 0.95;
    transition: opacity 0.3s var(--ease);
}

.site-footer__logo-img:hover {
    opacity: 1;
}

.site-footer__logo-text-fallback {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
}

.site-footer__tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.06em;
}

.site-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    opacity: 1;
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(178, 34, 52, 0.3);
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem var(--sp-6);
}

.site-footer__nav a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--dur) var(--ease);
}

.site-footer__nav a:hover {
    color: var(--color-white);
}

.site-footer__copy {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
}


/* -------------------------------------------------------
   14. Cookie Banner
   ------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-navy);
    border-top: 2px solid var(--color-red);
    z-index: 300;
    padding: var(--sp-6) 0;
    transform: translateY(100%);
    transition: transform 0.45s var(--ease-out);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
}

.cookie-banner__text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.2rem;
}

.cookie-banner__text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}


/* -------------------------------------------------------
   15. Scroll Reveal Animations
   ------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s var(--ease-out),
        transform 0.5s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--d1 {
    transition-delay: 0.1s;
}

.reveal--d2 {
    transition-delay: 0.2s;
}

.reveal--d3 {
    transition-delay: 0.3s;
}


.about,
.process,
.trust-bar,
.contact,
.rates-section,
.promise {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

/* -------------------------------------------------------
   16. Responsive
   ------------------------------------------------------- */

@media (max-width: 1024px) {
    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-bar__item:nth-child(3)::before {
        display: none;
    }
}

@media (max-width: 860px) {
    .hero__inner {
        grid-template-columns: 1fr;
        padding-top: var(--sp-12);
        padding-bottom: var(--sp-12);
    }

    .hero__visual {
        order: -1;
    }

    .hero__logo-panel {
        width: min(100%, 320px);
    }

    .hero__logo-panel-img {
        --hero-logo-scale: 1.16;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .site-nav,
    .site-header__phone,
    .site-header__actions .btn {
        display: none;
    }

    .site-header__toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .trust-bar__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero__logo-panel {
        width: min(100%, 260px);
    }

    .hero__logo-panel-img {
        --hero-logo-scale: 1.08;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .process__step {
        grid-template-columns: 48px 1fr;
    }

    .contact__detail {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .site-footer__inner {
        flex-direction: column;
        gap: var(--sp-6);
    }
}

@media (max-width: 400px) {
    .hero__logo-panel {
        width: min(100%, 280px);
        padding-inline: 10px;
    }

    .hero__logo-panel-img {
        width: 280px;
        height: 280px;
        max-width: 100%;
        padding: 10px;
        --hero-logo-scale: 1.02;
    }
}

/* -------------------------------------------------------
   17. Form Status + Turnstile
   ------------------------------------------------------- */
:root {
    --header-height: var(--header-h);
}

.contact-form__turnstile {
    min-height: 66px;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-form__status,
.contact-form__privacy {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form__status {
    margin-bottom: var(--sp-4);
    padding: 0.75rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 1px;
}

.contact-form__status.is-error {
    color: var(--color-red);
    background: rgba(178, 34, 52, 0.06);
    border-color: rgba(178, 34, 52, 0.18);
}

.contact-form__status.is-success {
    color: var(--color-navy);
    background: rgba(13, 31, 60, 0.05);
    border-color: rgba(13, 31, 60, 0.14);
}

.contact-form__privacy {
    color: var(--color-muted);
    text-align: center;
}

.contact-form__privacy a {
    color: var(--color-navy);
    text-decoration: underline;
}

/* -------------------------------------------------------
   18. Services & Rates Page
   ------------------------------------------------------- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + var(--sp-16)) 0 var(--sp-16);
    background:
        linear-gradient(180deg, rgba(13, 31, 60, 0.03), rgba(13, 31, 60, 0)),
        radial-gradient(circle at top right, rgba(178, 34, 52, 0.08), transparent 32%);
}

.page-hero--compact {
    padding-bottom: var(--sp-12);
    padding-top: var(--sp-12);
}

.page-hero__inner {
    max-width: 760px;
}

.page-hero__heading {
    font-size: clamp(2.25rem, 5vw, 4rem);
    color: var(--color-navy);
    margin-bottom: var(--sp-4);
}

.page-hero__subtext,
.rates-section__header .section-header__sub,
.promise__text,
.rates-card__description,
.rates-card__note,
.rates-section__closing p {
    font-size: 1.1rem;
    color: var(--color-muted);
}

.rates-section {
    padding: 0 0 var(--sp-20);
}

.rates-section__header {
    margin-bottom: var(--sp-10);
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6);
}

.rates-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-top: 3px solid var(--color-red);
    padding: var(--sp-8);
    box-shadow: 0 14px 36px rgba(13, 31, 60, 0.06);
}

.rates-card--featured {
    border-top-color: var(--color-navy);
}

.rates-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.rates-card__title {
    font-size: 1.5rem;
    color: var(--color-navy);
}

.rates-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-red);
    white-space: nowrap;
}

.rates-card__note {
    margin-top: var(--sp-4);
    font-weight: 600;
}

.rates-section__closing {
    margin-top: var(--sp-10);
    padding: var(--sp-8);
    background: var(--color-off-white);
    border: 1px solid var(--color-border-light);
}

.rates-section__actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-top: var(--sp-6);
}

.promise {
    padding: 0 0 var(--sp-20);
}

.promise__card {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
    color: var(--color-white);
    padding: var(--sp-10);
    position: relative;
    overflow: hidden;
}

.promise__card::after {
    content: '';
    position: absolute;
    inset: auto -10% -30% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.promise__header {
    margin-bottom: var(--sp-6);
}

.promise__card .section-header__eyebrow,
.promise__card .section-header__heading,
.promise__text {
    color: var(--color-white);
}

.promise__card .section-header__eyebrow::before {
    background: rgba(255, 255, 255, 0.7);
}

.promise__text {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.reveal--delay-1 {
    transition-delay: 0.1s;
}

.reveal--delay-2 {
    transition-delay: 0.2s;
}

@media (max-width: 860px) {
    .rates-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .rates-card,
    .promise__card,
    .rates-section__closing,
    .contact__form-wrap {
        padding: var(--sp-6);
    }

    .rates-card__topline {
        flex-direction: column;
    }

    .rates-section__actions .btn {
        width: 100%;
    }
}