/* Root Technologies — clean professional UI, logo red brand */
:root {
    --primary-hex: #e11d24;
    --primary-dark-hex: #b91c1c;
    --secondary-hex: #9b1b1f;
    --ink: #111827;
    --primary-rgb: 225, 29, 36;
    --secondary-rgb: 155, 27, 31;
    /* Hero overlay strength (0–1). Tuned mid for image + text balance */
    --hero-overlay-strength: 0.52;
    --hero-layer-opacity: 0.55;

    /* Shared public form scale (aligned with admin control rhythm) */
    --site-font-ui: 'Plus Jakarta Sans', system-ui, sans-serif;
    --site-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --site-font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
    --site-fs-label: 0.8125rem;
    --site-fs-input: 0.875rem;
    --site-input-height: 2.75rem;
    --site-input-radius: 0.75rem;
    --site-input-bg: #f9fafb;
    --site-input-border: #e5e7eb;
}

* { box-sizing: border-box; }

html {
    width: 100%;
    /* Overflow on the root element is propagated to the viewport itself
       (CSS spec), so this blocks horizontal bleed without creating an
       inner clipping/scroll box. Do NOT repeat overflow-x on <body> —
       that would make body its own scroll container and break
       position: sticky for every descendant on the site. */
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-y: visible;
}

#site-main,
header,
footer {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/*
 * Site-wide content width — navbar + every page section use the same box.
 * Use class "site-container" inside each <section> (full-bleed bg stays on section).
 */
header .site-container,
#site-main .site-container,
#site-main section > .site-container,
.site-container,
footer .site-container {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

/* Tailwind .container on frontend pages — match navbar width */
#site-main .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    header .site-container,
    #site-main .site-container,
    #site-main section > .site-container,
    .site-container,
    footer .site-container,
    #site-main .container {
        padding-inline: max(2rem, env(safe-area-inset-left, 0px)) max(2rem, env(safe-area-inset-right, 0px));
    }
}

@media (min-width: 1280px) {
    header .site-container,
    #site-main .site-container,
    #site-main section > .site-container,
    .site-container,
    footer .site-container,
    #site-main .container {
        padding-inline: max(2.5rem, env(safe-area-inset-left, 0px)) max(2.5rem, env(safe-area-inset-right, 0px));
    }
}

/* Rounded CTA blocks — align with nav, not extra side margin */
.section-panel {
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .section-panel {
        border-radius: 3rem;
    }
}

body {
    font-family: var(--site-font-body);
    line-height: 1.6;
    background: #ffffff;
    color: #374151;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--site-font-ui);
    color: var(--ink);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-hex), var(--secondary-hex));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-hex), var(--secondary-hex));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-hex);
    background: var(--admin-tint-2, #fef2f2);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
}

/* Never show an empty red pill */
.eyebrow:empty {
    display: none !important;
}

.section-heading {
    margin: 0;
    font-family: var(--site-font-display);
    font-size: clamp(1.85rem, 3.8vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #111827;
    text-wrap: balance;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    border-radius: 9999px;
    background: var(--primary-hex);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark-hex);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ink);
    border-radius: 9999px;
    border: 2px solid #e5e7eb;
    background: #fff;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary-hex);
    color: var(--primary-hex);
}

.btn-light {
    background: #fff;
    color: var(--ink);
    box-shadow: none;
}

.btn-light:hover {
    background: #f3f4f6;
}

.btn-on-dark {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.btn-on-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.nav-cta-btn {
    padding: 0.625rem 1.25rem;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background: var(--ink);
    transition: background 0.2s;
    text-decoration: none;
}

.nav-cta-btn:hover {
    background: var(--primary-hex);
}

/* Home + inner pages share hero background theme */
.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background-color: #f9fafb;
    padding-top: 5.5rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Homepage hero — Option A: full-bleed wash, left copy, social rail */
.hero-section.hero-section--home {
    --hero-home-pad-top: 7rem;
    --hero-overlay-strength: 0;
    position: relative;
    min-height: clamp(30rem, 82vh, 46rem) !important;
    height: auto;
    display: flex;
    align-items: center;
    padding: var(--hero-home-pad-top) 0 4.5rem;
    background-color: #f4f5f7;
    background-image: none !important;
    overflow: hidden;
}

.hero-section.hero-section--home::before,
.hero-section.hero-section--home::after {
    display: none !important;
    animation: none !important;
    content: none !important;
}

.hero-home-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-home-bg__photo {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: grayscale(0.15) contrast(1.05);
    transform: scale(1.04);
    opacity: 0;
}

.hero-section--home.has-bg-img .hero-home-bg__photo {
    opacity: 1;
}

.hero-home-bg__wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.55) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.75) 100%);
}

.hero-section--home:not(.has-bg-img) .hero-home-bg__wash {
    background:
        radial-gradient(ellipse 55% 50% at 85% 20%, rgba(var(--primary-rgb), 0.1) 0%, transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fa 55%, #ffffff 100%);
}

.hero-home-bg__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(28%, 8rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.hero-section.hero-section--home > .site-container.hero-home-shell {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: var(--site-container-max, 72rem);
    margin-inline: auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 5rem;
    text-align: left;
}

.hero-home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    width: 100%;
    max-width: 46rem;
    text-align: left;
}

.hero-home-title {
    margin: 0;
    width: 100%;
    font-family: var(--site-font-display);
    font-size: clamp(2.65rem, 6.2vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: #111827;
    text-wrap: pretty;
    text-align: left;
}

.hero-home-title .gradient-text {
    background: linear-gradient(90deg, var(--primary-hex, #e11d24) 0%, #f59e0b 72%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-home-lead {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.4rem;
    width: 100%;
    max-width: 42rem;
    font-family: var(--site-font-body);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 500;
    line-height: 1.5;
    color: #374151;
    text-align: left;
}

.hero-home-lead__prefix {
    flex: 0 1 auto;
}

.hero-home-type {
    display: inline-flex;
    align-items: baseline;
    min-width: 8ch;
    color: #111827;
    font-weight: 700;
}

.hero-home-type [data-hero-type-text] {
    display: inline;
    min-height: 1.2em;
    white-space: pre-wrap;
}

.hero-home-type__caret {
    display: inline-block;
    margin-left: 1px;
    color: var(--primary-hex, #e11d24);
    font-weight: 500;
    animation: hero-home-caret 0.85s steps(1) infinite;
}

@keyframes hero-home-caret {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    padding-top: 0.55rem;
}

.hero-home-cta {
    min-height: 3.1rem;
    padding-inline: 1.6rem;
    border-radius: 0.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-home-social {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-42%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.hero-home-social__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: #6b7280;
}

.hero-home-social__line {
    width: 1px;
    height: 3.25rem;
    background: linear-gradient(180deg, transparent, #9ca3af 30%, #9ca3af 70%, transparent);
}

.hero-home-social__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.hero-home-social__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #111827;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.hero-home-social__list a:hover {
    color: var(--primary-hex, #e11d24);
    transform: translateY(-1px);
}

@media (min-width: 992px) {
    .hero-section.hero-section--home {
        --hero-home-pad-top: 7.5rem;
        padding-bottom: 5.25rem;
        min-height: clamp(34rem, 88vh, 52rem) !important;
    }

    .hero-section.hero-section--home > .site-container.hero-home-shell {
        padding-right: 6rem;
    }

    .hero-home-content {
        gap: 1.35rem;
        max-width: 50rem;
    }

    .hero-home-title {
        font-size: clamp(3.1rem, 5.4vw, 5rem);
        line-height: 1.06;
    }

    .hero-home-lead {
        font-size: clamp(1.2rem, 1.7vw, 1.45rem);
        max-width: 46rem;
    }

    .hero-home-social {
        right: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section.hero-section--home > .site-container.hero-home-shell {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .hero-home-social {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.85rem;
        margin: 1.5rem 0 0;
        padding: 0 1.25rem;
        width: 100%;
    }

    .hero-home-social__label {
        writing-mode: horizontal-tb;
        transform: none;
        letter-spacing: 0.12em;
    }

    .hero-home-social__line {
        width: 2rem;
        height: 1px;
    }

    .hero-home-social__list {
        flex-direction: row;
    }

    .hero-section.hero-section--home {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section.hero-section--home .hero-content-in {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-home-type__caret {
        animation: none;
        opacity: 1;
    }
}

/* Keep home hero light even when .has-bg-img utilities are present */
.hero-section.hero-section--home.has-bg-img .hero-home-title,
.hero-section.hero-section--home.has-bg-img .hero-home-lead,
.hero-section.hero-section--home.has-bg-img .hero-home-type {
    color: inherit;
    text-shadow: none;
}

.hero-section.hero-section--home.has-bg-img .hero-home-title {
    color: #111827;
}

.hero-section.hero-section--home.has-bg-img .hero-home-lead {
    color: #374151;
}

/* Homepage services slider — sits under hero */
.home-services-slider-section {
    position: relative;
    z-index: 3;
    margin-top: -2.75rem;
    padding: 0 0 3rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 248, 0.55) 0%, #fff 42%, #fff 100%);
}

.home-services-slider-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
}

.home-services-slider-head.text-center {
    text-align: center;
}

.home-services-slider-head .section-kicker {
    display: inline-block;
    margin-bottom: 0;
}

.home-services-slider-head .section-heading {
    margin: 0;
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.home-services-slider-head .text-body {
    max-width: 36rem;
}

.home-services-slider-head__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-hex, #e11d24);
    text-decoration: none;
    transition: gap 0.15s ease, color 0.15s ease;
}

.home-services-slider-head__link:hover {
    gap: 0.6rem;
    color: var(--primary-dark-hex, #b91c1c);
}

.home-services-slider {
    --services-slide-gap: 0;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
}

.home-services-slider.is-nav-hidden .home-services-slider__nav {
    visibility: hidden;
    pointer-events: none;
}

.home-services-slider__panel {
    min-width: 0;
    padding: 1.5rem 0.75rem 1.15rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow:
        0 28px 55px -30px rgba(17, 24, 39, 0.32),
        0 10px 22px -16px rgba(17, 24, 39, 0.14);
}

.home-services-slider__viewport {
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.home-services-slider__track {
    display: flex;
    gap: var(--services-slide-gap);
    will-change: transform;
}

.home-services-slide {
    flex: 0 0 auto;
    min-width: 0;
    text-align: center;
    position: relative;
}

.home-services-slide + .home-services-slide::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.1) 20%, rgba(17, 24, 39, 0.1) 80%, transparent);
}

.home-services-slide__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    height: 100%;
    padding: 0.65rem 1.35rem 0.85rem;
    text-decoration: none;
    color: inherit;
    border-radius: 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-services-slide__link:hover {
    background: rgba(var(--primary-rgb), 0.035);
    transform: translateY(-2px);
}

.home-services-slide__media {
    width: 100%;
    max-width: 15.5rem;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.home-services-slide__link:hover .home-services-slide__media {
    transform: translateY(-3px) scale(1.02);
}

.home-services-slide__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-services-slide__title {
    margin: 0;
    font-family: var(--site-font-display);
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary-hex, #e11d24);
    text-wrap: balance;
}

.home-services-slide__desc {
    margin: 0;
    max-width: 21rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.55;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-services-slide__more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #9ca3af;
    transition: color 0.15s ease, gap 0.15s ease;
}

.home-services-slide__link:hover .home-services-slide__more {
    color: var(--primary-hex, #e11d24);
    gap: 0.45rem;
}

.home-services-slide__link:hover .home-services-slide__title {
    color: var(--primary-dark-hex, #b91c1c);
}

.home-services-slider__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    min-height: 0.75rem;
}

.home-services-slider__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.home-services-slider__dot.is-active {
    width: 1.35rem;
    background: var(--primary-hex, #e11d24);
}

.home-services-slider__dot:focus-visible {
    outline: 2px solid rgba(var(--primary-rgb), 0.4);
    outline-offset: 2px;
}

.home-services-slider__nav {
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(17, 24, 39, 0.55);
    transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.home-services-slider__nav:hover:not(:disabled) {
    background: var(--primary-hex, #e11d24);
    transform: scale(1.05);
}

.home-services-slider__nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.home-services-slider__nav:focus-visible {
    outline: 2px solid rgba(var(--primary-rgb), 0.45);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .home-services-slider-section {
        margin-top: -3.25rem;
        padding-bottom: 3.5rem;
    }

    .home-services-slider__panel {
        padding: 2rem 0.5rem 1.35rem;
    }

    .home-services-slider {
        gap: 1rem;
    }
}

@media (min-width: 1100px) {
    .home-services-slider__panel {
        padding: 2.35rem 0.75rem 1.5rem;
    }

    .home-services-slide__link {
        padding-inline: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .home-services-slider-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .home-services-slider {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-services-slider__panel {
        padding: 1.15rem 0.35rem 1rem;
    }

    .home-services-slider__nav--prev,
    .home-services-slider__nav--next {
        position: absolute;
        top: 38%;
        z-index: 2;
        width: 2.4rem;
        height: 2.4rem;
    }

    .home-services-slider__nav--prev { left: -0.15rem; }
    .home-services-slider__nav--next { right: -0.15rem; }

    .home-services-slide + .home-services-slide::before {
        display: none;
    }

    .home-services-slide__link {
        padding-inline: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-services-slide__link,
    .home-services-slide__media,
    .home-services-slide__more,
    .home-services-slider__dot {
        transition: none;
    }
}

/* Homepage Lead Generation — light mosaic layout */
.home-lead-section {
    position: relative;
    padding: 3.75rem 0 4.5rem;
    overflow: hidden;
    background: #f7f8fa;
}

.home-lead-section__bg {
    display: none;
}

.home-lead-section > .site-container {
    position: relative;
    z-index: 1;
}

.home-lead-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.75rem;
    align-items: center;
}

.home-lead-mosaic {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: minmax(11.5rem, 1fr) minmax(11.5rem, 1fr);
    gap: 1.15rem;
    min-height: 24rem;
}

.home-lead-mosaic__photo {
    margin: 0;
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 1.35rem;
    background: #f3f4f6;
    box-shadow:
        0 22px 40px -24px rgba(17, 24, 39, 0.4),
        0 0 0 1px rgba(17, 24, 39, 0.04);
}

.home-lead-mosaic__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-lead-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 1.35rem;
    padding: 1.35rem 1.1rem 1.25rem;
    box-shadow:
        0 16px 32px -22px rgba(17, 24, 39, 0.3),
        0 0 0 1px rgba(17, 24, 39, 0.03);
    text-align: center;
}

.home-lead-stat--1 { grid-column: 2; grid-row: 1; }
.home-lead-stat--2 { grid-column: 1; grid-row: 2; }
.home-lead-stat--3 { grid-column: 2; grid-row: 2; }

.home-lead-stat__icon {
    width: 2.65rem;
    height: 2.65rem;
    margin: 0 auto 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-hex, #e11d24);
}

.home-lead-stat__label {
    margin: 0 0 0.4rem;
    font-family: var(--site-font-display);
    font-size: 1.02rem;
    font-weight: 800;
    color: #152238;
    line-height: 1.25;
}

.home-lead-stat__value {
    margin: 0 0 0.45rem;
    font-family: var(--site-font-display);
    font-size: clamp(2.15rem, 3.4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    color: #1e3a5f;
}

.home-lead-stat__desc {
    margin: 0;
    max-width: 16rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.45;
    color: #6b7280;
}

.home-lead-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
}

.home-lead-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-hex, #e11d24);
    line-height: 1.3;
}

.home-lead-eyebrow .icon-16 {
    width: 1rem;
    height: 1rem;
    color: var(--primary-hex, #e11d24);
}

.home-lead-title {
    margin: 0;
    max-width: 16ch;
    font-family: var(--site-font-display);
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #111827;
    text-wrap: balance;
}

.home-lead-text {
    margin: 0;
    max-width: 36rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #4b5563;
}

.home-lead-checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 2rem;
    width: 100%;
    margin-top: 0.15rem;
}

.home-lead-checks__col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
}

.home-lead-checks__col li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.home-lead-checks__mark {
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary-hex, #e11d24);
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(var(--primary-rgb), 0.8);
}

.home-lead-checks__mark .icon-16 {
    width: 0.85rem;
    height: 0.85rem;
    stroke-width: 3;
}

.home-lead-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.45rem;
    min-height: 3.15rem;
    padding-inline: 1.6rem;
    border-radius: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 12px 24px -14px rgba(var(--primary-rgb), 0.85);
}

.home-lead-cta:hover {
    gap: 0.65rem;
}

@media (min-width: 576px) {
    .home-lead-checks {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .home-lead-section {
        padding: 5rem 0 5.5rem;
    }

    .home-lead-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: 3.5rem;
        align-items: center;
    }

    .home-lead-mosaic {
        gap: 1.25rem;
        min-height: 28rem;
        grid-template-rows: minmax(13rem, 1fr) minmax(13rem, 1fr);
    }

    .home-lead-copy {
        gap: 1.2rem;
        padding-top: 0.25rem;
    }

    .home-lead-title {
        max-width: 14ch;
    }
}

@media (max-width: 767.98px) {
    .home-lead-mosaic {
        min-height: 0;
        grid-template-rows: auto;
    }

    .home-lead-mosaic__photo {
        aspect-ratio: 16 / 11;
        min-height: 12rem;
    }
}

@media (max-width: 575.98px) {
    .home-lead-mosaic {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .home-lead-mosaic__photo,
    .home-lead-stat--1,
    .home-lead-stat--2,
    .home-lead-stat--3 {
        grid-column: 1;
        grid-row: auto;
    }

    .home-lead-stat {
        padding: 1.2rem 1rem;
    }

    .home-lead-title {
        max-width: none;
    }
}

/* Homepage testimonials */
.home-testimonials {
    padding: 3.75rem 0 4.25rem;
    background: #fff;
}

.home-testimonials__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
}

.home-testimonials__head .section-heading {
    margin: 0;
    max-width: 22ch;
}

.home-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.home-testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 1.5rem 1.4rem 1.35rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 28px -22px rgba(17, 24, 39, 0.28);
}

.home-testimonial-card__stars {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.home-testimonial-card__stars .icon-16 {
    width: 1.05rem;
    height: 1.05rem;
    stroke-width: 1.75;
}

.home-testimonial-card__stars .icon-16.is-on {
    color: var(--primary-hex, #e11d24);
    fill: currentColor;
}

.home-testimonial-card__quote {
    flex: 1 1 auto;
    margin: 0 0 1.25rem;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.65;
    color: #374151;
}

.home-testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.home-testimonial-card__avatar {
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    object-fit: cover;
}

.home-testimonial-card__avatar--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-hex, #e11d24);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}

.home-testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.home-testimonial-card__meta strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}

.home-testimonial-card__meta span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .home-testimonials {
        padding: 4.5rem 0 5rem;
    }

    .home-testimonials__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
        align-items: stretch;
    }

    .home-testimonial-card {
        padding: 1.7rem 1.55rem 1.45rem;
    }
}

/* Homepage city SEO strip */
.home-cities {
    padding: 1.75rem 0;
    background: #f7f8fa;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.home-cities__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.home-cities__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    line-height: 1.2;
}

.home-cities__label .icon-16 {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--primary-hex, #e11d24);
}

.home-cities__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.home-cities__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    box-shadow: 0 6px 14px -12px rgba(17, 24, 39, 0.35);
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-cities__chip:hover {
    color: var(--primary-hex, #e11d24);
    border-color: rgba(var(--primary-rgb), 0.35);
    background: #fff;
    box-shadow: 0 10px 18px -14px rgba(var(--primary-rgb), 0.55);
    transform: translateY(-1px);
    text-decoration: none;
}

@media (min-width: 768px) {
    .home-cities {
        padding: 2rem 0;
    }

    .home-cities__inner {
        flex-direction: row;
        justify-content: center;
        gap: 1.15rem;
    }

    .home-cities__label {
        flex-shrink: 0;
        padding-right: 0.25rem;
        border-right: 1px solid rgba(17, 24, 39, 0.1);
        padding-right: 1rem;
        margin-right: 0.15rem;
    }

    .home-cities__list {
        width: auto;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .home-cities__chip {
        font-size: 0.75rem;
        min-height: 2.25rem;
        padding-inline: 1.05rem;
    }
}

/* Other landing page hero — clean full-bleed wash (homepage style) */
.lp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(34rem, 88vh, 52rem);
    padding: 8rem 0 5.5rem;
    overflow: hidden;
    background: #f4f5f7;
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lp-hero__photo {
    position: absolute;
    inset: 0;
    background-image: var(--lp-hero-bg, none);
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    filter: grayscale(0.12) contrast(1.04);
    transform: scale(1.03);
    opacity: 0;
}

.lp-hero.has-bg-img .lp-hero__photo {
    opacity: 1;
}

.lp-hero__wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 40%, rgba(255, 255, 255, 0.58) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 48%, rgba(255, 255, 255, 0.78) 100%);
}

.lp-hero:not(.has-bg-img) .lp-hero__wash {
    background:
        radial-gradient(ellipse 50% 48% at 88% 18%, rgba(var(--primary-rgb), 0.1) 0%, transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fa 55%, #ffffff 100%);
}

.lp-hero__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(26%, 7rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.lp-hero__shell {
    position: relative;
    z-index: 2;
    width: 100%;
}

.lp-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    max-width: 42rem;
    text-align: left;
}

.lp-hero__eyebrow {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    max-width: 40rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-hex, #e11d24);
    line-height: 1.45;
}

.lp-hero__eyebrow .icon-16 {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
}

.lp-hero__title {
    margin: 0;
    font-family: var(--site-font-display);
    font-size: clamp(2.35rem, 5.2vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #111827;
    text-wrap: pretty;
}

.lp-hero__title .gradient-text {
    background: linear-gradient(90deg, var(--primary-hex, #e11d24) 0%, #f59e0b 72%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    font-weight: 500;
    line-height: 1.65;
    color: #4b5563;
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

.lp-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 3.1rem;
    padding-inline: 1.45rem;
}

.lp-hero__cta-secondary {
    min-height: 3.1rem;
    padding-inline: 1.35rem;
}

.lp-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.35rem 0 0;
    padding: 0;
}

.lp-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 16px -14px rgba(17, 24, 39, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
}

.lp-hero__trust .icon-16 {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--primary-hex, #e11d24);
}

@media (max-width: 767.98px) {
    .lp-hero {
        min-height: clamp(28rem, 78vh, 40rem);
        padding: 6.75rem 0 4rem;
    }

    .lp-hero__content {
        max-width: none;
    }

    .lp-hero__actions {
        width: 100%;
    }

    .lp-hero__cta,
    .lp-hero__cta-secondary {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Light hero — inner pages & landing pages (no blobs/particles) */
.page-hero--light,
.hero-section--light {
    padding-top: 4.5rem;
}

.page-hero--light .hero-shine,
.page-hero--light .hero-grid-anim,
.page-hero--light .hero-particles,
.page-hero--light .hero-blob,
.page-hero--light .hero-orbit-ring,
.page-hero--light .hero-aurora,
.hero-section--light .hero-shine,
.hero-section--light .hero-grid-anim,
.hero-section--light .hero-particles,
.hero-section--light .hero-blob,
.hero-section--light .hero-orbit-ring,
.hero-section--light .hero-aurora {
    display: none !important;
}

.page-hero--light .hero-gradient-mesh,
.hero-section--light .hero-gradient-mesh {
    animation: none;
    opacity: 0.55;
    inset: -10%;
}

.page-hero--light .page-hero-inner,
.hero-section--light .hero-centered {
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .page-hero--light,
    .hero-section--light {
        padding-top: 5rem;
    }
}

.hero-section.has-bg-img,
.page-hero.has-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section.has-bg-img::before,
.page-hero.has-bg-img::before {
    /* Balanced brand veil — strength via --hero-overlay-strength */
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, calc(var(--hero-overlay-strength) * 0.95)) 0%,
        rgba(var(--primary-rgb), var(--hero-overlay-strength)) 40%,
        rgba(var(--secondary-rgb), calc(var(--hero-overlay-strength) * 0.92)) 70%,
        rgba(17, 24, 39, calc(var(--hero-overlay-strength) * 0.9)) 100%
    );
    background-size: 400% 400%;
    animation: heroBgShift 12s ease infinite;
}

.hero-section.has-bg-img::after,
.page-hero.has-bg-img::after {
    display: block;
    opacity: calc(var(--hero-overlay-strength) * 0.4);
}

.hero-section.has-bg-img .hero-animated-bg,
.page-hero.has-bg-img .hero-animated-bg {
    opacity: var(--hero-layer-opacity);
}

.hero-section.has-bg-img .hero-bottom-fade,
.page-hero.has-bg-img .hero-bottom-fade {
    display: block !important;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.04) 22%,
        rgba(255, 255, 255, 0.16) 44%,
        rgba(255, 255, 255, 0.42) 68%,
        rgba(249, 250, 251, 0.88) 88%,
        #f9fafb 100%
    ) !important;
    opacity: 1 !important;
    height: 500px !important;
    max-height: 60vh !important;
    z-index: 10 !important;
    bottom: -1px !important;
}

.hero-section.has-bg-img .text-ink,
.hero-section.has-bg-img .text-gray-600,
.page-hero.has-bg-img .section-heading,
.page-hero.has-bg-img .text-slate-600 {
    color: #ffffff !important;
}

.hero-section.has-bg-img .eyebrow,
.page-hero.has-bg-img .eyebrow {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hero-section.has-bg-img .hero-centered .text-body,
.hero-section.has-bg-img .hero-centered .text-body-muted {
    color: rgba(241, 245, 249, 0.92) !important;
    text-shadow: 0 1px 12px rgba(2, 6, 23, 0.35);
}

.hero-section.has-bg-img .hero-centered > ul,
.hero-section.has-bg-img .hero-stack__badges {
    gap: 0.5rem 0.65rem !important;
}

.hero-section.has-bg-img .hero-centered > ul > li,
.hero-section.has-bg-img .hero-stack__badges > li {
    color: rgba(248, 250, 252, 0.95) !important;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.38rem 0.72rem;
    backdrop-filter: blur(4px);
}

.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.hero-section > .site-container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.hero-centered {
    text-align: center;
}

.hero-centered .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

/* Hero content rhythm — flex gap (not transforms) keeps title/lead apart */
.hero-section .hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 52rem;
    gap: 0.9rem;
}

.hero-section .hero-stack > .eyebrow {
    max-width: min(42rem, 100%);
    margin: 0;
    padding: 0.55rem 1.15rem;
    line-height: 1.55;
    letter-spacing: 0.04em;
    white-space: normal;
    text-wrap: balance;
}

.hero-section .hero-stack > .section-heading {
    margin: 0;
    max-width: 46rem;
    line-height: 1.22;
    text-wrap: balance;
    position: relative;
    z-index: 1;
}

.hero-section .hero-stack > .hero-stack__lead {
    margin: 0;
    max-width: 40rem;
    line-height: 1.6;
    position: relative;
    z-index: 0;
}

.hero-section .hero-stack > .hero-stack__cta {
    margin: 0;
    padding-top: 0.15rem;
}

.hero-section .hero-stack > .hero-stack__cta .btn-primary,
.hero-section .hero-stack > .hero-stack__cta .btn-outline {
    min-height: 3rem;
    line-height: 1.25;
}

.hero-section .hero-stack > .hero-stack__badges {
    margin: 0;
    padding-top: 0.15rem;
    max-width: 46rem;
}

/* Never let reveal transforms pull hero title over the lead */
.hero-section .hero-stack > [data-animate],
.page-hero .page-hero-content > [data-animate] {
    transform: none;
}

@media (min-width: 768px) {
    .hero-section .hero-stack {
        gap: 1.05rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 6.5rem;
    }
    .hero-section > .site-container {
        padding-bottom: 2.5rem;
    }
}

.hero-section::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(125deg, #fff 0%, var(--hero-tint-1, #ffefef) 38%, #fff 70%, var(--hero-tint-2, #fff0f0) 100%);
    background-size: 400% 400%;
    animation: heroBgShift 12s ease infinite;
}

.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    width: min(50%, 520px);
    height: 50%;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: heroOrb1 12s ease-in-out infinite;
}

@keyframes heroBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes heroOrb1 {
    0%, 100% { transform: translateX(-50%) translate(0, 0) scale(1); }
    50% { transform: translateX(-50%) translate(-40px, 30px) scale(1.15); }
}

/* Animated hero background — full section, no side gap */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Smooth fade into next section — no visible hard end line */
.hero-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(55%, 420px);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 38%,
        rgba(255, 255, 255, 0.82) 72%,
        #ffffff 100%
    );
}

.hero-gradient-mesh {
    position: absolute;
    inset: -20%;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(var(--primary-rgb), 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 80% 60%, rgba(var(--secondary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(var(--primary-rgb), 0.12) 0%, transparent 45%);
    animation: hero-mesh-pulse 8s ease-in-out infinite alternate;
}

/* Aurora ribbon waves */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-aurora-band {
    position: absolute;
    width: 140%;
    height: 45%;
    left: -20%;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.4;
    will-change: transform;
}

.hero-aurora-band-1 {
    top: 5%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--primary-rgb), 0.36) 35%,
        rgba(var(--secondary-rgb), 0.28) 65%,
        transparent 100%
    );
    animation: hero-aurora-drift-1 14s ease-in-out infinite;
}

.hero-aurora-band-2 {
    top: 28%;
    height: 38%;
    background: linear-gradient(
        100deg,
        transparent 10%,
        rgba(var(--secondary-rgb), 0.24) 45%,
        rgba(var(--primary-rgb), 0.2) 70%,
        transparent 95%
    );
    animation: hero-aurora-drift-2 18s ease-in-out infinite;
    opacity: 0.32;
}

.hero-aurora-band-3 {
    bottom: 8%;
    height: 42%;
    background: linear-gradient(
        85deg,
        transparent 0%,
        rgba(var(--primary-rgb), 0.16) 40%,
        rgba(255, 255, 255, 0.3) 60%,
        transparent 100%
    );
    animation: hero-aurora-drift-3 16s ease-in-out infinite reverse;
    opacity: 0.36;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    will-change: transform;
}

.hero-blob-1 {
    z-index: 1;
    width: min(480px, 70vw);
    height: min(480px, 70vw);
    top: -20%;
    right: 0;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.38) 0%, transparent 68%);
    opacity: 0.65;
    animation: hero-blob-drift-1 10s ease-in-out infinite;
}

.hero-blob-2 {
    z-index: 1;
    width: min(380px, 65vw);
    height: min(380px, 65vw);
    bottom: -15%;
    left: -12%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.32) 0%, transparent 68%);
    opacity: 0.58;
    animation: hero-blob-drift-2 12s ease-in-out infinite;
}

.hero-blob-3 {
    z-index: 1;
    width: min(260px, 45vw);
    height: min(260px, 45vw);
    top: 35%;
    left: 30%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.28) 0%, transparent 70%);
    opacity: 0.5;
    animation: hero-blob-drift-3 9s ease-in-out infinite;
}

.hero-blob-4 {
    z-index: 1;
    width: min(200px, 35vw);
    height: min(200px, 35vw);
    top: 12%;
    left: 55%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.26) 0%, transparent 72%);
    opacity: 0.48;
    animation: hero-blob-drift-4 11s ease-in-out infinite;
}

/* Subtle rotating orbit rings */
.hero-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    pointer-events: none;
    z-index: 1;
}

.hero-orbit-ring-1 {
    width: min(520px, 85vw);
    height: min(520px, 85vw);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hero-orbit-spin 28s linear infinite;
}

.hero-orbit-ring-2 {
    width: min(340px, 60vw);
    height: min(340px, 60vw);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: dashed;
    border-color: rgba(var(--secondary-rgb), 0.15);
    animation: hero-orbit-spin-rev 22s linear infinite;
}

.hero-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 60%
    );
    animation: hero-shine-sweep 6s ease-in-out infinite;
}

.hero-grid-anim {
    position: absolute;
    inset: -50%;
    z-index: 1;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 0.55) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 0.55) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    animation: hero-grid-slide 25s linear infinite;
    transform: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-hex);
    box-shadow: 0 0 14px rgba(var(--primary-rgb), 0.5);
    animation: hero-particle-float 12s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 8%; top: 20%; animation-delay: 0s; animation-duration: 11s; }
.hero-particles span:nth-child(2) { left: 22%; top: 65%; animation-delay: -2s; width: 4px; height: 4px; }
.hero-particles span:nth-child(3) { left: 45%; top: 15%; animation-delay: -4s; animation-duration: 14s; }
.hero-particles span:nth-child(4) { left: 62%; top: 75%; animation-delay: -1s; width: 5px; height: 5px; }
.hero-particles span:nth-child(5) { left: 78%; top: 30%; animation-delay: -3s; animation-duration: 10s; }
.hero-particles span:nth-child(6) { left: 88%; top: 55%; animation-delay: -5s; width: 4px; height: 4px; }
.hero-particles span:nth-child(7) { left: 35%; top: 85%; animation-delay: -2.5s; }
.hero-particles span:nth-child(8) { left: 55%; top: 45%; animation-delay: -6s; animation-duration: 13s; width: 5px; height: 5px; }
.hero-particles span:nth-child(9) { left: 15%; top: 42%; animation-delay: -3.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(10) { left: 68%; top: 18%; animation-delay: -7s; animation-duration: 15s; }
.hero-particles span:nth-child(11) { left: 92%; top: 72%; animation-delay: -1.5s; width: 6px; height: 6px; }
.hero-particles span:nth-child(12) { left: 48%; top: 68%; animation-delay: -4.5s; animation-duration: 9s; width: 3px; height: 3px; }

/* Hero content entrance */
.hero-content-in {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-content-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-mesh-pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.9; }
    100% { transform: scale(1.08) translate(2%, -2%); opacity: 1; }
}

@keyframes hero-blob-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-50px, 40px) scale(1.12) rotate(8deg); }
    66% { transform: translate(35px, -25px) scale(0.92) rotate(-5deg); }
}

@keyframes hero-blob-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(55px, -45px) scale(1.15); }
}

@keyframes hero-blob-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    50% { transform: translate(-40px, 35px) scale(1.1); opacity: 1; }
}

@keyframes hero-blob-drift-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(-30px, 50px) scale(1.08); }
    70% { transform: translate(25px, -20px) scale(0.95); }
}

@keyframes hero-aurora-drift-1 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(-2deg) scale(1); }
    50% { transform: translateX(6%) translateY(-4%) rotate(3deg) scale(1.06); }
}

@keyframes hero-aurora-drift-2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(1deg); }
    50% { transform: translateX(-5%) translateY(5%) rotate(-2deg); }
}

@keyframes hero-aurora-drift-3 {
    0%, 100% { transform: translateX(0) scaleX(1); }
    50% { transform: translateX(4%) scaleX(1.08); }
}

@keyframes hero-orbit-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes hero-orbit-spin-rev {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes hero-grid-slide {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes hero-shine-sweep {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    50% { left: 120%; opacity: 1; }
    60% { opacity: 0; }
}

@keyframes hero-particle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-35px) scale(1.2); opacity: 0.9; }
}

@keyframes hero-content-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section.has-bg-img .hero-aurora-band {
    opacity: 0.24;
}

.hero-section.has-bg-img .hero-orbit-ring {
    border-color: rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .hero-gradient-mesh,
    .hero-aurora-band,
    .hero-blob,
    .hero-orbit-ring,
    .hero-shine,
    .hero-grid-anim,
    .hero-particles span,
    .hero-content-in,
    .hero-section::before,
    .hero-section::after {
        animation: none;
    }
    .hero-content-in {
        opacity: 1;
        transform: none;
    }
}

.card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
    border-color: rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 8px 24px -8px rgba(var(--primary-rgb), 0.12);
}

.card-sm {
    padding: 1.25rem;
}

/* Cards inside service page HTML content (from admin editor) */
.service-about-content .grid-cards-3,
.service-page-content .grid-cards-3 {
    margin: 2rem 0;
}

.service-about-content .card,
.service-page-content .card {
    margin-top: 0;
}

.service-about-content .card-title,
.service-page-content.prose .card-title {
    margin-top: 0;
    color: #1a0a0a;
}

.service-about-content .card-desc,
.service-page-content.prose .card-desc {
    margin-bottom: 0;
    color: #4b5563;
}

.service-about-content h2,
.service-about-content h3,
.service-page-content.prose h2,
.service-page-content.prose h3 {
    color: #1a0a0a;
}

/* Service page — About Content (TinyMCE / rich HTML) */
.service-about-section {
    position: relative;
    overflow: visible;
}

.service-about-wrap {
    max-width: 52rem;
    margin: 0 auto;
    overflow: visible;
}

.service-about-wrap--with-media {
    max-width: 72rem;
}

.service-about-layout {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

.service-about-layout--split {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .service-about-layout--split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2rem;
        align-items: center;
    }
}

.service-about-panel {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.5rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
    overflow: visible;
    height: 100%;
}

@media (min-width: 768px) {
    .service-about-panel {
        padding: 2.5rem 3rem;
        border-radius: 1.75rem;
    }
}

.service-about-media {
    margin: 0;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #e8ecf1;
    background: #f8fafc;
    box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.35);
    aspect-ratio: 4 / 3;
}

.service-about-media__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-about-content {
    text-align: center;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.8;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.service-about-content--left {
    text-align: left;
}

.service-about-content--left ul,
.service-about-content--left ol {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

.service-about-content ul,
.service-about-content ol {
    text-align: left;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.service-about-content > :first-child {
    margin-top: 0 !important;
}

.service-about-content > :last-child {
    margin-bottom: 0 !important;
}

.service-about-content p {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

.service-about-content p:empty {
    display: none;
}

.service-about-content h1,
.service-about-content h2 {
    margin: 2rem 0 1rem;
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.service-about-content h3 {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
}

.service-about-content h4,
.service-about-content h5,
.service-about-content h6 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
}

.service-about-content ul,
.service-about-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

.service-about-content ul {
    list-style: disc;
}

.service-about-content ol {
    list-style: decimal;
}

.service-about-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
    color: #4b5563;
}

.service-about-content li::marker {
    color: var(--primary-hex);
}

.service-about-content a {
    color: var(--primary-hex);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.service-about-content a:hover {
    color: var(--primary-dark-hex);
}

.service-about-content strong,
.service-about-content b {
    font-weight: 700;
    color: var(--ink);
}

.service-about-content em,
.service-about-content i {
    font-style: italic;
}

.service-about-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary-hex);
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 0 0.75rem 0.75rem 0;
    color: #374151;
    font-style: italic;
}

.service-about-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 1rem;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.2);
}

.service-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;
    overflow-y: clip;
    -webkit-overflow-scrolling: touch;
}

.service-about-content table,
.service-pricing-content table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
    display: table;
    overflow: visible;
}

.service-about-content div:not(.service-table-wrap),
.service-about-content section,
.service-about-content article,
.service-pricing-content div:not(.service-table-wrap),
.service-pricing-content section,
.service-pricing-content article {
    overflow: visible !important;
    max-height: none !important;
}

.service-about-content th,
.service-about-content td {
    border: 1px solid #e5e7eb;
    padding: 0.625rem 0.875rem;
    text-align: left;
}

.service-about-content th {
    background: #f9fafb;
    font-weight: 700;
    color: var(--ink);
}

.service-about-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.service-about-content .card {
    height: auto;
    overflow: visible;
    margin-bottom: 1rem;
}

.service-about-content iframe,
.service-about-content video {
    max-width: 100%;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.service-page-content .card {
    margin-top: 0;
}

.prose-invert ul {
    list-style: none !important;
    padding-left: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.5rem !important;
}

@media (min-width: 768px) {
    .prose-invert ul {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.prose-invert li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem !important;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column;
}

.prose-invert li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-hex);
    transform: translateY(-5px);
}

.prose-invert li strong {
    color: #ffffff;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

/* Bullet points inside the card */
.prose-invert li span {
    display: block;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.prose-invert li span::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-hex);
    font-weight: bold;
}

/* Base prose typography (blog, landing, service content) */
.prose,
.prose-sm {
    color: #4b5563;
    line-height: 1.75;
    max-width: 65ch;
}

.prose :where(p, ul, ol, blockquote, pre, table) {
    margin-top: 1em;
    margin-bottom: 1em;
}

.prose :where(h1, h2, h3, h4) {
    color: #111827;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose :where(ul, ol) {
    padding-left: 1.25rem;
}

.prose :where(a) {
    color: var(--primary-hex);
    text-decoration: underline;
}

.prose-sm {
    font-size: 0.9375rem;
}

/* Blog detail content should use full available width */
.blog-detail-content.prose,
.blog-detail-content.prose-sm {
    max-width: 100% !important;
}

/* Shared section heading — about / landing / services / inner pages */
.section-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin: 0 auto 2.35rem;
    max-width: 46rem;
    text-align: center;
}

.section-intro--left {
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    max-width: 40rem;
    text-align: left;
}

.section-intro .section-kicker {
    margin: 0;
}

.section-intro .section-heading {
    margin: 0;
    max-width: 22ch;
}

.section-intro--left .section-heading {
    max-width: none;
}

.section-intro__desc {
    margin: 0;
    max-width: 38rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #4b5563;
}

.section-intro--left .section-intro__desc {
    max-width: 36rem;
}

@media (min-width: 768px) {
    .section-intro {
        gap: 0.8rem;
        margin-bottom: 2.85rem;
    }
}

.section-intro--on-dark .section-kicker {
    color: rgba(255, 255, 255, 0.78);
}

.section-intro--on-dark .section-intro__desc {
    color: rgba(255, 255, 255, 0.72);
}

.section-intro-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.35rem;
}

.section-intro-row__copy {
    width: 100%;
}

.section-intro-row .section-intro {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .section-intro-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.5rem;
        margin-bottom: 2.85rem;
    }

    .section-intro-row .section-intro--left {
        max-width: 40rem;
    }
}

@media (max-width: 767.98px) {
    .section-intro-row .section-intro--left {
        align-items: center;
        text-align: center;
        margin-inline: auto;
    }
}

.text-body {
    color: #4b5563;
    line-height: 1.625;
}

.text-body-sm {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.grid-2 {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.grid-2 > * {
    min-width: 0;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.grid-cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .grid-cards-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .grid-cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-list-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .blog-list-stack {
        gap: 1.5rem;
    }
}

/* Blog list cards: beat generic .card padding / flex utilities */
.card.blog-card--list {
    padding: 0;
    height: auto;
}

.blog-help-card {
    border-color: rgba(var(--primary-rgb, 225, 29, 36), 0.14);
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--admin-tint-2, #fef2f2);
    color: var(--primary-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.card-meta {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: block;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0.75rem;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-hex);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.hero-img-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.hero-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.info-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.info-row + .info-row {
    margin-top: 1rem;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
    display: block;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.stat-inline-num {
    display: block;
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--primary-hex);
    line-height: 1;
}

.stat-inline-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.card--dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.card--dark .card-title {
    color: #fff;
}

.card--dark .card-desc,
.card--dark p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Slightly larger white cards (Vision / Mission — matches home, not dark panel) */
.card-lg {
    padding: 1.75rem;
}

@media (min-width: 768px) {
    .card-lg {
        padding: 2rem;
    }
}

.card-title-lg {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .card-title-lg {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

.form-label {
    display: block;
    font-family: var(--site-font-ui);
    font-size: var(--site-fs-label);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    min-height: var(--site-input-height);
    padding: 0.625rem 0.875rem;
    font-family: var(--site-font-ui);
    font-size: var(--site-fs-input);
    font-weight: 400;
    color: var(--ink);
    background: var(--site-input-bg);
    border: 1px solid var(--site-input-border);
    border-radius: var(--site-input-radius);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input::placeholder {
    font-weight: 400;
    color: #9ca3af;
}

.form-input:focus {
    border-color: var(--primary-hex);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Compact solution boxes (Growth Strategies) */
.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
    border-color: rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 4px 16px -4px rgba(var(--primary-rgb), 0.12);
}

.solution-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--primary-hex);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.solution-card-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.solution-card-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    flex-grow: 1;
}

.solution-card-list li {
    position: relative;
    padding-left: 0.875rem;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #6b7280;
}

.solution-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-hex);
}

.solution-card-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--primary-hex);
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s;
}

.solution-card-btn:hover {
    background: var(--primary-dark-hex);
}

/* ========== Service detail page ========== */
.service-page {
    overflow: visible;
}

.service-page-section {
    position: relative;
    padding: 3.5rem 0;
    overflow: visible;
}

@media (min-width: 768px) {
    .service-page-section {
        padding: 5rem 0;
    }
}

.service-page-section--muted {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.service-page-section--gradient {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        rgba(var(--primary-rgb), 0.05) 26%,
        #fff7f8 54%,
        rgba(var(--secondary-rgb), 0.05) 100%
    );
}

.service-page-section--gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 0% 0%, rgba(var(--primary-rgb), 0.11) 0%, transparent 58%),
        radial-gradient(ellipse 68% 56% at 100% 100%, rgba(var(--secondary-rgb), 0.09) 0%, transparent 60%);
}

.service-page-section--gradient > .site-container {
    position: relative;
    z-index: 1;
}

.service-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.5rem;
    overflow: visible;
}

.service-section-head--left {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: 40rem;
}

.service-section-head .section-heading {
    margin: 0;
    max-width: 22ch;
}

.service-section-head--left .section-heading {
    max-width: none;
}

.service-section-head__desc {
    margin: 0;
    max-width: 38rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #4b5563;
}

/* Key Features */
.service-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .service-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.service-feature-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    overflow: visible;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-feature-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 16px 40px -12px rgba(var(--primary-rgb), 0.18);
    transform: translateY(-4px);
}

.service-feature-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.06) 100%);
    color: var(--primary-hex);
    transition: transform 0.25s ease, background 0.25s ease;
}

.service-feature-card:hover .service-feature-card__icon {
    transform: scale(1.06);
    background: rgba(var(--primary-rgb), 0.14);
}

.service-feature-card__body {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.service-feature-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.service-feature-card__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #64748b;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* Why Choose Us */
.service-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .service-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .service-why-grid[data-count="3"],
    .service-why-grid[data-count="6"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-why-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-why-card:hover {
    border-color: rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 16px 40px -12px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-4px);
}

.service-why-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    color: var(--primary-hex);
    transition: transform 0.25s ease;
}

.service-why-card:hover .service-why-card__icon {
    transform: scale(1.05);
}

.service-why-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
}

.service-why-card__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #64748b;
    flex: 1;
}

/* Our Process */
.service-process-section {
    overflow-x: clip;
    overflow-y: visible;
}

.service-process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 10% 0%, rgba(var(--primary-rgb), 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 95% 100%, rgba(var(--secondary-rgb), 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.service-process-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .service-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .service-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

.service-process-step {
    position: relative;
    min-width: 0;
}

.service-process-step__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-process-step:hover .service-process-step__inner,
.service-process-step:focus-within .service-process-step__inner {
    border-color: rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 16px 40px -12px rgba(var(--primary-rgb), 0.18);
    transform: translateY(-4px);
}

.service-process-step__badge {
    display: flex;
    align-items: center;
}

.service-process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-hex) 0%, var(--primary-dark, var(--primary-hex)) 100%);
    box-shadow: 0 8px 22px -6px rgba(var(--primary-rgb), 0.55);
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-process-step:hover .service-process-step__number {
    transform: scale(1.06);
}

.service-process-step__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
}

.service-process-step__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #64748b;
}

.service-process-connector {
    display: none;
}

@media (min-width: 1024px) {
    .service-process-step:not(:nth-child(3n)) .service-process-connector {
        display: block;
        position: absolute;
        top: 2.6rem;
        right: -0.95rem;
        width: 1.75rem;
        height: 2px;
        background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.5), rgba(var(--primary-rgb), 0.1));
        z-index: 2;
        pointer-events: none;
    }

    .service-process-step:not(:nth-child(3n)) .service-process-connector::after {
        content: '';
        position: absolute;
        right: -2px;
        top: 50%;
        width: 7px;
        height: 7px;
        margin-top: -3.5px;
        border-radius: 50%;
        background: var(--primary-hex);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    }
}

@media (max-width: 767px) {
    .service-process-step:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 1.6rem;
        top: 4.75rem;
        bottom: -1.25rem;
        width: 2px;
        background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.35), rgba(var(--primary-rgb), 0.06));
        z-index: 0;
        pointer-events: none;
    }

    .service-process-step__inner {
        position: relative;
        z-index: 1;
    }
}

/* Pricing */
.service-pricing-section {
    background:
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    overflow: hidden;
}

.service-pricing-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 50% at 15% 20%, rgba(var(--primary-rgb), 0.32) 0%, transparent 62%),
        radial-gradient(ellipse 58% 48% at 85% 82%, rgba(var(--secondary-rgb), 0.28) 0%, transparent 64%),
        linear-gradient(120deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.14), rgba(var(--primary-rgb), 0.1));
    background-size: 140% 140%, 140% 140%, 220% 220%;
    animation: service-pricing-aurora 9s ease-in-out infinite;
    opacity: 1;
}

.service-pricing-section .service-section-head .eyebrow {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.22);
    color: var(--primary-hex);
}

.service-pricing-section .section-heading {
    color: var(--ink);
}

.service-pricing-section .service-section-head__desc {
    color: #64748b;
}

.service-pricing-glow {
    position: absolute;
    top: -14%;
    right: -10%;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.14);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.service-pricing-panel {
    max-width: 54rem;
    margin: 0 auto;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 1.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow:
        0 18px 44px -24px rgba(15, 23, 42, 0.24);
}

.service-pricing-panel::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 56%;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(var(--secondary-rgb), 0.03), rgba(var(--secondary-rgb), 0));
}

@media (min-width: 768px) {
    .service-pricing-panel {
        padding: 1.75rem 2rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1.5rem;
        align-items: end;
    }
}

.service-pricing-cta {
    margin-top: 1.15rem;
    text-align: center;
}

.service-pricing-content {
    color: #475569;
    position: relative;
    z-index: 1;
}

.service-pricing-content :where(p, li, td, th, strong, span) {
    color: inherit;
}

.service-pricing-content p {
    margin-bottom: 0.7rem;
}

.service-pricing-content strong {
    color: #0f172a;
    font-weight: 700;
}

.service-pricing-richtext :where(ul, ol) {
    margin: 0.95rem 0;
    padding-left: 1.2rem;
}

.service-pricing-richtext :where(li) {
    margin-bottom: 0.45rem;
    color: #475569;
}

@media (min-width: 768px) {
    .service-pricing-cta {
        margin-top: 0;
        text-align: right;
        align-self: end;
    }
}

@keyframes service-pricing-aurora {
    0% {
        background-position: 0% 0%, 100% 100%, 0% 50%;
        filter: saturate(100%);
    }
    50% {
        background-position: 35% 20%, 70% 80%, 100% 50%;
        filter: saturate(115%);
    }
    100% {
        background-position: 0% 0%, 100% 100%, 0% 50%;
        filter: saturate(100%);
    }
}

/* Blog on service page */
.service-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .service-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

.service-blog-footer {
    margin-top: 2.5rem;
    text-align: center;
}

/* FAQ */
.service-faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-faq-item {
    padding: 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.25rem;
    box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 8px 24px -8px rgba(var(--primary-rgb), 0.12);
}

.service-faq-item__q {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.service-faq-item__num {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-hex);
    letter-spacing: 0.08em;
    padding-top: 0.2rem;
}

.service-faq-item__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--ink);
}

.service-faq-item__a {
    margin: 0 0 0 2.25rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #64748b;
}

@media (max-width: 640px) {
    .service-faq-item__a {
        margin-left: 0;
        padding-top: 0.25rem;
    }
}

.cta-banner {
    /* Soft dark → brand-red shade (readable, not muddy) */
    background:
        radial-gradient(ellipse 80% 60% at 100% 100%, rgba(var(--primary-rgb), 0.35) 0%, transparent 55%),
        linear-gradient(145deg, #0b0d14 0%, #1a0f12 42%, #6b1218 78%, #8f161c 100%);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 48px -20px rgba(15, 17, 26, 0.55);
}

@media (min-width: 768px) {
    .cta-banner {
        padding: 2.5rem 2rem;
        border-radius: 1rem;
    }
}

.cta-banner .section-heading {
    color: #fff;
}

.cta-banner .section-kicker {
    color: #ff5a5f;
    letter-spacing: 0.16em;
}

.cta-banner .gradient-text {
    background: linear-gradient(90deg, #ff4d52 0%, #e11d24 55%, #c9181e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-banner .text-white-50,
.cta-banner .text-body-sm {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Dark CTA: labels must stay light — default form-label is dark gray */
.cta-banner .form-label {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.cta-banner .form-input,
.cta-banner .form-select {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--ink);
    font-weight: 400;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.cta-banner .form-input:focus,
.cta-banner .form-select:focus {
    border-color: rgba(var(--primary-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.22);
}

.cta-banner .btn-primary {
    background: linear-gradient(135deg, #ef2a31 0%, #c9181e 55%, #9b1b1f 100%);
    border: none;
    box-shadow: 0 10px 24px -8px rgba(185, 28, 28, 0.55);
}

.cta-banner .btn-primary:hover {
    background: linear-gradient(135deg, #ff3b42 0%, #e11d24 50%, #b91c1c 100%);
    filter: none;
}

.page-hero-inner {
    position: relative;
    z-index: 10;
    padding: 2.5rem 0 3.5rem;
}

/* Inner pages: light gradient hero keeps dark readable headings */
.page-hero:not(.has-bg-img) .section-heading {
    color: var(--ink);
}

.page-hero:not(.has-bg-img) .eyebrow {
    color: var(--primary-hex);
    background: var(--admin-tint-2, #fef2f2);
    border-color: rgba(var(--primary-rgb), 0.22);
}

.page-hero:not(.has-bg-img) .text-slate-600 {
    color: #475569;
}

@media (min-width: 768px) {
    .page-hero {
        padding-top: 6.5rem;
    }
    .page-hero-inner {
        padding: 3.5rem 0 4.5rem;
    }
}

.page-hero-content {
    max-width: 48rem;
}

.page-hero-content--left {
    max-width: 56rem;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.page-hero-meta {
    max-width: 56rem;
}

.page-hero-breadcrumb {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.page-hero-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
    color: var(--primary-hex);
}

.page-hero-breadcrumb .is-current {
    color: var(--ink);
}

/* Consistent section rhythm (matches home) */
.section-block {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-block {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
}

.section-block--white,
.section-block.bg-white {
    background-color: #fff;
}

.section-block--muted,
.section-block.bg-section-muted,
.section-block.section-block--muted {
    background-color: #f7f8fa;
}

.lp-contact-form {
    padding: 1.5rem;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 28px -22px rgba(17, 24, 39, 0.28);
}

@media (min-width: 768px) {
    .lp-contact-form {
        padding: 2rem;
    }
}

/* About page facts with icons */
.about-fact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.about-fact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    margin-bottom: 0.2rem;
    border-radius: 0.55rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-hex, #e11d24);
}

/* About page team */
.about-team-section {
    padding: 3.75rem 0 4.25rem;
    background: #fff;
}

.about-team__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
}

.about-team__head .section-heading {
    margin: 0;
    max-width: 18ch;
}

.about-team__intro {
    margin: 0;
    max-width: 34rem;
}

.about-team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.about-team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 28px -22px rgba(17, 24, 39, 0.28);
}

.about-team-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
}

.about-team-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-team-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--site-font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-hex, #e11d24);
    background: rgba(var(--primary-rgb), 0.08);
}

.about-team-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.2rem 1.2rem 1.3rem;
    flex: 1 1 auto;
}

.about-team-card__name {
    margin: 0;
    font-family: var(--site-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
    line-height: 1.25;
}

.about-team-card__role {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-hex, #e11d24);
    line-height: 1.3;
}

.about-team-card__bio {
    margin: 0.15rem 0 0;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.55;
    color: #4b5563;
}

.about-team-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.35rem 0 0;
    padding: 0;
}

.about-team-card__tags li {
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.2;
}

.about-team-card__links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.85rem;
}

.about-team-card__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #374151;
    background: #fff;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-team-card__links a:hover {
    color: var(--primary-hex, #e11d24);
    border-color: rgba(var(--primary-rgb), 0.35);
    background: rgba(var(--primary-rgb), 0.06);
}

@media (min-width: 576px) {
    .about-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .about-team-section {
        padding: 4.5rem 0 5rem;
    }

    .about-team__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* About page company timeline */
.about-timeline-section {
    padding: 3.75rem 0 4.25rem;
    background: #f7f8fa;
    border-top: 1px solid rgba(17, 24, 39, 0.04);
    border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}

.about-timeline__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.about-timeline__head .section-heading {
    margin: 0;
    max-width: 22ch;
}

.about-timeline__intro {
    margin: 0;
    max-width: 36rem;
}

.about-timeline {
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-width: 52rem;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 1.05rem;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(var(--primary-rgb), 0.35) 0%,
        rgba(17, 24, 39, 0.1) 50%,
        rgba(var(--primary-rgb), 0.25) 100%
    );
}

.about-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 1rem;
    margin: 0 0 1.15rem;
}

.about-timeline__item:last-child {
    margin-bottom: 0;
}

.about-timeline__marker {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-top: 1.35rem;
}

.about-timeline__dot {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: var(--primary-hex, #e11d24);
    box-shadow:
        0 0 0 4px rgba(var(--primary-rgb), 0.15),
        0 0 0 8px #f7f8fa;
}

.about-timeline__card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 1.15rem;
    padding: 1.25rem 1.3rem 1.2rem;
    box-shadow: 0 14px 28px -22px rgba(17, 24, 39, 0.28);
}

.about-timeline__year {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-hex, #e11d24);
    line-height: 1.2;
}

.about-timeline__title {
    margin: 0 0 0.45rem;
    font-family: var(--site-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
    line-height: 1.3;
}

.about-timeline__desc {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.65;
    color: #4b5563;
}

@media (min-width: 768px) {
    .about-timeline-section {
        padding: 4.5rem 0 5rem;
    }

    .about-timeline {
        max-width: 58rem;
    }

    .about-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-timeline__item {
        grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1fr);
        gap: 1.25rem;
        align-items: start;
        margin-bottom: 1.5rem;
    }

    .about-timeline__marker {
        grid-column: 2;
        grid-row: 1;
        padding-top: 1.5rem;
    }

    .about-timeline__card {
        grid-column: 3;
        grid-row: 1;
        padding: 1.4rem 1.5rem 1.35rem;
    }

    .about-timeline__item--alt .about-timeline__card {
        grid-column: 1;
        text-align: right;
    }

    .about-timeline__title {
        font-size: 1.25rem;
    }
}

.about-purpose-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        rgba(var(--primary-rgb), 0.06) 30%,
        #fff6f7 58%,
        rgba(var(--secondary-rgb), 0.05) 100%
    );
}

.about-purpose-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 0% 0%, rgba(var(--primary-rgb), 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 100% 100%, rgba(var(--secondary-rgb), 0.1) 0%, transparent 62%);
}

.about-purpose-section > .site-container {
    position: relative;
    z-index: 1;
}

.services-cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        130deg,
        #f8fbff 0%,
        rgba(var(--secondary-rgb), 0.08) 35%,
        rgba(var(--primary-rgb), 0.07) 100%
    );
}

.services-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 55% at 12% 0%, rgba(var(--secondary-rgb), 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 88% 100%, rgba(var(--primary-rgb), 0.1) 0%, transparent 62%);
}

.services-cta-section > .site-container {
    position: relative;
    z-index: 1;
}

.section-kicker {
    display: inline-block;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
    color: var(--primary-hex, #e11d24);
}

.section-intro + .grid-2 .section-kicker,
.stack-6 > .section-kicker,
.stack-4 > .section-kicker {
    display: inline-block;
}

/* Navbar — solid white + soft right-side brand gradient */
#main-header {
    background:
        linear-gradient(
            270deg,
            rgba(var(--primary-rgb), 0.1) 0%,
            rgba(var(--primary-rgb), 0.04) 28%,
            rgba(255, 255, 255, 0) 58%
        ),
        #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    overflow: visible;
    z-index: 200;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#nav-container,
#nav-container .site-container,
#nav-container .site-container > .grid,
#nav-container .nav-menu {
    overflow: visible;
}

.header-scrolled {
    background:
        linear-gradient(
            270deg,
            rgba(var(--primary-rgb), 0.12) 0%,
            rgba(var(--primary-rgb), 0.05) 30%,
            rgba(255, 255, 255, 0) 62%
        ),
        #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 24px -12px rgba(17, 24, 39, 0.12);
}

.header-scrolled-deep {
    background:
        linear-gradient(
            270deg,
            rgba(var(--primary-rgb), 0.14) 0%,
            rgba(var(--primary-rgb), 0.05) 32%,
            rgba(255, 255, 255, 0) 65%
        ),
        #ffffff;
    box-shadow: 0 8px 28px -14px rgba(17, 24, 39, 0.14);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #main-header,
    .header-scrolled,
    .header-scrolled-deep {
        background:
            linear-gradient(
                270deg,
                rgba(var(--primary-rgb), 0.1) 0%,
                rgba(255, 255, 255, 0) 55%
            ),
            #ffffff;
    }
}

.site-logo {
    height: 2.75rem;
    width: auto;
    max-width: 11rem;
    object-fit: contain;
}

@media (min-width: 1280px) {
    .site-logo { height: 3rem; max-width: 12rem; }
}

#nav-container .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    white-space: nowrap;
}

#nav-container .nav-link:hover { color: var(--primary-hex); }

#nav-container .nav-link.is-active,
#nav-container .nav-link.is-active:hover {
    color: var(--primary-hex);
}

#nav-container .nav-link--plain.is-active::after {
    width: 100%;
}

#nav-container .nav-item-dropdown.is-active > .nav-link {
    color: var(--primary-hex);
}

.nav-dropdown a.is-active,
.nav-dropdown a.is-active:hover {
    color: var(--primary-hex);
    background: rgba(var(--primary-rgb), 0.08);
}

/* Mobile menu drawer — background follows admin theme / logo brand color */
.site-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-hex);
    background-image:
        radial-gradient(ellipse 95% 65% at 50% -8%, rgba(var(--primary-rgb), 0.42) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(var(--primary-rgb), 0.18) 0%, transparent 52%),
        linear-gradient(168deg, var(--primary-dark-hex) 0%, var(--secondary-hex) 38%, #070608 100%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #ffffff;
    font-family: var(--site-font-ui, 'Plus Jakarta Sans', system-ui, sans-serif);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow: hidden;
}

.site-mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.site-mobile-menu__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 1.75rem;
    -webkit-overflow-scrolling: touch;
}

.site-mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.site-mobile-menu__logo {
    height: 1.85rem;
    width: auto;
    max-width: 9rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-mobile-menu__brand {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.site-mobile-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    border-radius: 0.75rem;
    background: rgba(var(--primary-rgb), 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.site-mobile-menu__close:hover {
    background: rgba(var(--primary-rgb), 0.22);
    border-color: rgba(var(--primary-rgb), 0.5);
}

.site-mobile-menu__close svg {
    width: 1.35rem;
    height: 1.35rem;
}

.site-mobile-menu__nav {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-mobile-menu__item {
    margin: 0;
    padding: 0;
}

.site-mobile-menu__link {
    display: block;
    padding: 0.35rem 0;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-mobile-menu__link:hover,
.site-mobile-menu__link:focus-visible {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.45);
}

.site-mobile-menu__link.is-active {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 18px rgba(var(--primary-rgb), 0.35);
}

.site-mobile-menu__item.is-active > .site-mobile-menu__link::before {
    content: '';
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-right: 0.5rem;
    border-radius: 9999px;
    background: rgba(var(--primary-rgb), 0.95);
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.65);
}

.site-mobile-menu__subnav {
    list-style: none;
    margin: 0.15rem 0 0.65rem;
    padding: 0.35rem 0 0.35rem 0.85rem;
    border-left: 2px solid rgba(var(--primary-rgb), 0.65);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-mobile-menu__sublink {
    display: block;
    padding: 0.25rem 0.5rem 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-mobile-menu__sublink:hover,
.site-mobile-menu__sublink:focus-visible {
    color: #ffffff;
    padding-left: 0.25rem;
}

.site-mobile-menu__sublink.is-active,
.site-mobile-menu__sublink.is-active:hover {
    color: #ffffff;
    font-weight: 600;
    padding-left: 0.25rem;
}

.site-mobile-menu__footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.28);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.site-mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.site-mobile-menu__contact {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-mobile-menu__contact:hover {
    color: #ffffff;
}

.site-mobile-menu__contact-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: var(--primary-hex);
}

.site-mobile-menu__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html.mobile-menu-open,
html.mobile-menu-open body {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .site-mobile-menu {
        display: none !important;
    }
}

@media (min-width: 390px) {
    .site-mobile-menu__inner {
        padding: 1.25rem 1.35rem 1.75rem;
    }

    .site-mobile-menu__link {
        font-size: 1.0625rem;
    }
}

#nav-container .nav-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

#nav-container .nav-link--plain::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-hex);
    transition: width 0.2s;
}

#nav-container .nav-link--plain {
    position: relative;
}

#nav-container .nav-link--plain:hover::after { width: 100%; }

/* Nav dropdown menus */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: max-content;
    min-width: 16rem;
    max-width: min(36rem, calc(100vw - 1.5rem));
    padding: 0.5rem 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 300;
    box-sizing: border-box;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown li {
    position: relative;
    z-index: 1;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown a {
    display: block;
    padding: 0.625rem 1.5rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #4b5563;
    text-decoration: none;
    white-space: nowrap;
    overflow-wrap: normal;
    transition: color 0.15s, background 0.15s;
}

.nav-dropdown a:hover {
    color: var(--primary-hex);
    background: #f9fafb;
}

/* ─── Rich motion (scroll-safe) ─── */
[data-animate] {
    opacity: 0;
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
}

[data-animate='rise'],
[data-animate]:not([data-animate='pop']):not([data-animate='fade']):not([data-animate='slide']) {
    transform: translate3d(0, 36px, 0);
}

[data-animate='fade'] {
    transform: translate3d(0, 12px, 0);
}

[data-animate='pop'] {
    transform: translate3d(0, 28px, 0) scale(0.94);
}

[data-animate='slide'] {
    transform: translate3d(-28px, 0, 0);
}

[data-animate].animated,
.no-js [data-animate] {
    opacity: 1;
    transform: none;
}

/* About — premium fade + multi-depth parallax (scroll-safe, no clip-path) */
.home-about-section {
    position: relative;
    overflow: visible;
}

.home-about-section .about-reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-about-section .home-about-media.about-reveal {
    transition-delay: 0.02s;
}

.home-about-section .home-about-copy.about-reveal {
    transition-delay: 0.1s;
}

.home-about-section.about-in .about-reveal {
    opacity: 1;
}

.home-about-section .about-child {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--about-delay, 0s),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--about-delay, 0s);
}

.home-about-section.about-in .about-child {
    opacity: 1;
    transform: none;
}

.home-about-section.about-in .list-check.about-child li {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    animation: about-bullet-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--about-delay, 0.2s) + (var(--i, 0) * 0.07s));
}

.home-about-media__stage {
    position: relative;
    isolation: isolate;
    padding: 0.75rem;
}

.home-about-media__accent {
    position: absolute;
    inset: 0.15rem 1.1rem 1.1rem 0.15rem;
    border: 1.5px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 1.4rem;
    z-index: 0;
    pointer-events: none;
    transform: translate3d(10px, 10px, 0);
    animation: about-accent-pulse 5.5s ease-in-out infinite;
}

.home-about-media__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(32px);
    opacity: 0.5;
    will-change: transform;
}

.home-about-media__orb--a {
    width: 48%;
    height: 48%;
    top: -10%;
    left: -8%;
    background: rgba(var(--primary-rgb), 0.32);
    animation: about-orb-float-a 10s ease-in-out infinite;
}

.home-about-media__orb--b {
    width: 40%;
    height: 40%;
    right: -6%;
    bottom: -8%;
    background: rgba(var(--secondary-rgb), 0.26);
    animation: about-orb-float-b 12s ease-in-out infinite;
}

.home-about-media__frame {
    position: relative;
    z-index: 1;
    box-shadow:
        0 22px 50px -20px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f3f4f6;
}

.home-about-media__parallax {
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0) scale(1.14);
    will-change: transform;
    backface-visibility: hidden;
}

.home-about-media__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-about-media__shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.28) 48%,
        transparent 62%
    );
    transform: translateX(-120%);
    opacity: 0;
}

.home-about-section.about-in .home-about-media__shine {
    animation: about-shine-sweep 4.8s ease-in-out 0.6s infinite;
}

.home-about-media__veil {
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.18) 100%);
}

.home-about-section.about-in .home-about-copy-depth {
    transform: translate3d(0, var(--about-copy-y, 0px), 0);
    will-change: transform;
}

@keyframes about-orb-float-a {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(14px, 20px, 0) scale(1.1); }
}

@keyframes about-orb-float-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-16px, -12px, 0) scale(1.12); }
}

@keyframes about-accent-pulse {
    0%, 100% { opacity: 0.7; transform: translate3d(10px, 10px, 0); }
    50% { opacity: 1; transform: translate3d(14px, 14px, 0); }
}

@keyframes about-shine-sweep {
    0%, 70% { transform: translateX(-120%); opacity: 0; }
    78% { opacity: 0.9; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes about-bullet-in {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .home-about-media__orb,
    .home-about-media__accent,
    .home-about-media__shine {
        display: none;
    }

    .home-about-media__stage {
        padding: 0;
    }

    .home-about-media__parallax {
        transform: none !important;
        will-change: auto;
    }

    .home-about-section.about-in .home-about-copy-depth {
        transform: none !important;
    }

    .home-about-section .about-child {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-about-media__orb,
    .home-about-media__accent,
    .home-about-media__shine,
    .home-about-section.about-in .list-check.about-child li {
        animation: none !important;
    }

    .home-about-media__parallax {
        transform: none !important;
        will-change: auto !important;
    }

    .home-about-section .about-child,
    .home-about-section.about-in .list-check.about-child li {
        opacity: 1 !important;
        transform: none !important;
    }

    .home-about-section.about-in .home-about-copy-depth {
        transform: none !important;
    }
}

html.native-scroll {
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

html.native-scroll body {
    overflow-y: visible;
}

.hero-section,
.page-hero {
    overflow: hidden;
    isolation: isolate;
}

.hero-depth-safe .hero-animated-bg,
.hero-depth-safe .hero-gradient-mesh,
.hero-depth-safe .hero-aurora {
    will-change: transform;
    backface-visibility: hidden;
    pointer-events: none;
}

.hero-depth-safe .hero-centered,
.hero-depth-safe .page-hero-content {
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.hero-section.has-bg-img,
.page-hero.has-bg-img {
    background-attachment: scroll;
}

.site-motion-section .solution-card,
.site-motion-section .testimonial-card,
.site-motion-section .home-testimonial-card,
.site-motion-section .portfolio-card,
.site-motion-section .card,
.site-motion-section .service-feature-card,
.site-motion-section .service-why-card {
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .site-motion-section .solution-card:hover,
    .site-motion-section .testimonial-card:hover,
    .site-motion-section .home-testimonial-card:hover,
    .site-motion-section .portfolio-card:hover,
    .site-motion-section .service-feature-card:hover,
    .site-motion-section .service-why-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 44px -20px rgba(15, 23, 42, 0.22);
    }
}

html.has-rich-motion .btn-primary,
html.has-rich-motion .btn-outline {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    html.has-rich-motion .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px -10px rgba(var(--primary-rgb), 0.55);
    }
}

@media (max-width: 767.98px) {
    [data-animate='rise'],
    [data-animate='pop'],
    [data-animate]:not([data-animate='fade']):not([data-animate='slide']) {
        transform: translate3d(0, 20px, 0);
    }

    [data-animate='pop'] {
        transform: translate3d(0, 18px, 0) scale(0.97);
    }

    .hero-depth-safe .hero-animated-bg,
    .hero-depth-safe .hero-gradient-mesh,
    .hero-depth-safe .hero-aurora,
    .hero-depth-safe .hero-centered,
    .hero-depth-safe .page-hero-content {
        transform: none !important;
        opacity: 1 !important;
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html,
    html.native-scroll {
        scroll-behavior: auto;
    }

    [data-animate],
    .home-about-section .about-reveal,
    .home-about-section .about-child,
    .home-about-section .about-frame-reveal {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }

    .hero-depth-safe .hero-animated-bg,
    .hero-depth-safe .hero-gradient-mesh,
    .hero-depth-safe .hero-aurora,
    .hero-depth-safe .hero-centered,
    .hero-depth-safe .page-hero-content {
        transform: none !important;
        opacity: 1 !important;
        will-change: auto !important;
    }

    .site-motion-section .solution-card:hover,
    .site-motion-section .testimonial-card:hover,
    .site-motion-section .home-testimonial-card:hover,
    .site-motion-section .portfolio-card:hover,
    html.has-rich-motion .btn-primary:hover {
        transform: none !important;
    }
}

.site-motion-section {
    position: relative;
}

section { scroll-margin-top: 90px; }

.text-ink { color: var(--ink); }
.bg-ink { background: var(--ink); }
.text-primary { color: var(--primary-hex); }
.bg-primary { background: var(--primary-hex); }

.shadow-premium {
    box-shadow: 0 20px 50px -12px rgba(var(--primary-rgb), 0.2);
}

/* Accessibility — visible focus + contrast helpers */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.nav-link:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--primary-hex);
    outline-offset: 3px;
}

.stats-bar__desc,
.capability-item__text,
.text-body-muted {
    color: #4b5563;
}

.hero-section.has-bg-img .text-body-muted,
.hero-section.has-bg-img .hero-centered .text-body-muted {
    color: rgba(255, 255, 255, 0.88) !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-particles,
    .hero-shine,
    .hero-aurora-band,
    .hero-blob,
    .hero-orbit-ring,
    .hero-grid-anim {
        animation: none !important;
    }
}
