/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    --color-primary: #0b0b0d;
    --color-primary-light: #17171b;
    --color-accent: #ed1c24;
    --color-accent-hover: #ff3a43;
    --color-accent-subtle: rgba(237, 28, 36, 0.13);
    --color-surface: #ffffff;
    --color-surface-alt: #f3f4f6;
    --color-text: #141417;
    --color-text-muted: #555b66;
    --color-text-light: #d7d9de;
    --color-border: #e4e6eb;

    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.1);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;

    --header-h: 5rem;
}


/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

address {
    font-style: normal;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding: 5rem 0;
}

.section--dark {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.section--alt {
    background-color: var(--color-surface-alt);
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2.5rem;
    }

    .section {
        padding: 7.5rem 0;
    }
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.heading-2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.heading-2--light {
    color: var(--color-surface);
}

.accent {
    color: var(--color-accent);
}

.label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.label--light {
    color: var(--color-accent);
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 28, 36, 0.28);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background: transparent;
    color: var(--color-surface);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    border-color: var(--color-surface);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}


/* ==========================================================================
   SKIP LINK
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--duration-fast);
}

.skip-link:focus {
    top: 1rem;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background-color var(--duration-base), box-shadow var(--duration-base), backdrop-filter var(--duration-base);
}

.header.is-scrolled {
    background-color: rgba(11, 11, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header__logo {
    width: clamp(10rem, 18vw, 14rem);
    flex-shrink: 0;
    position: relative;
    display: block;
    isolation: isolate;
}

.header__logo-stack {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.header__logo-img {
    display: block;
    width: 100%;
    height: auto;
}

.header__logo-img--base {
    z-index: 1;
    position: relative;
    transition: opacity 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}

.header__logo-img--etch {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    filter: saturate(1.35) brightness(1.2) drop-shadow(0 0 8px rgba(237, 28, 36, 0.45));
}

.header__logo-stack::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    transform: translateX(-120%);
    border-radius: var(--radius-full);
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 44%, var(--color-accent) 52%, transparent 100%);
    box-shadow: 0 0 14px rgba(237, 28, 36, 0.55);
    z-index: 4;
}

.header__logo.is-laser-intro {
    animation: logo-etch-glow 2.45s var(--ease-out) both;
}

.header__logo.is-laser-intro .header__logo-img--base {
    opacity: 0;
    filter: brightness(0.92);
}

.header__logo.is-laser-intro .header__logo-img--etch {
    opacity: 1;
    animation: logo-laser-etch 2.35s var(--ease-out) forwards;
}

.header__logo.is-laser-intro .header__logo-stack::after {
    animation: logo-laser-beam 2.35s var(--ease-out) forwards;
}

.header__logo.is-laser-intro.is-laser-settle .header__logo-img--base {
    opacity: 1;
    filter: brightness(1);
}

.header__logo.is-laser-intro.is-laser-settle .header__logo-img--etch {
    opacity: 0;
    transition: opacity 0.55s var(--ease-out);
}

@keyframes logo-laser-etch {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes logo-laser-beam {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes logo-etch-glow {
    0% {
        filter: brightness(0.95);
    }
    45% {
        filter: brightness(1.08);
    }
    70% {
        filter: brightness(1.1);
    }
    100% {
        filter: brightness(1);
    }
}

.header__nav {
    display: none;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header__link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    transition: color var(--duration-fast), background-color var(--duration-fast);
}

.header__link:hover,
.header__link.is-active {
    color: var(--color-surface);
}

.header__link.is-active {
    background-color: rgba(255, 255, 255, 0.06);
}

.header__cta {
    display: none;
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
}

/* Hamburger */
.header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    z-index: 1001;
}

.header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-surface);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
    transform-origin: center;
}

.header__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .header__nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100dvh;
        background: rgba(11, 11, 13, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform var(--duration-slow) var(--ease-out);
        z-index: 1000;
    }

    .header__nav.is-open {
        transform: translateX(0);
    }

    .header__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .header__link {
        font-size: 1.125rem;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (min-width: 1024px) {
    .header__nav {
        display: flex !important;
        transform: none !important;
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
    }

    .header__cta {
        display: inline-flex;
    }

    .header__toggle {
        display: none;
    }
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 65% 40%, rgba(237, 28, 36, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(237, 28, 36, 0.05) 0%, transparent 50%),
        linear-gradient(170deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 8rem 0 5rem;
    width: 100%;
}

.hero__content {
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-subtle);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--color-surface);
    margin-bottom: 1.5rem;
}

.hero__text {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.7;
    color: var(--color-text-light);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}

.hero__scroll span {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.hero__scroll-line {
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}


/* ==========================================================================
   ABOUT
   ========================================================================== */

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.about__content p {
    color: var(--color-text-muted);
    margin-top: 1.25rem;
}

.about__content p:first-of-type {
    font-size: 1.0625rem;
    color: var(--color-text);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card__number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 0.375rem;
}

.stat-card__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 5rem;
        align-items: center;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }
}


/* ==========================================================================
   SERVICES
   ========================================================================== */

.service {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.service + .service {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service__img-wrap {
    position: relative;
    overflow: hidden;
    min-height: 0;
    isolation: isolate;
}

.service__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 13, 0.05) 0%, rgba(11, 11, 13, 0.35) 100%);
    opacity: 1;
    transition: opacity var(--duration-slow) var(--ease-out);
    pointer-events: none;
    z-index: 1;
}

.service__img-wrap--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
}

.service__img-wrap:not(.service__img-wrap--main) {
    aspect-ratio: 4 / 3;
}

.service__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transform-origin: center center;
    opacity: 0.7;
    filter: saturate(0.8) brightness(0.8);
    transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-slow) var(--ease-out), filter var(--duration-slow) var(--ease-out);
    z-index: 0;
}

.service__img-wrap:hover::after,
.service__img-wrap:focus-within::after {
    opacity: 0;
}

.service__img-wrap:hover .service__img,
.service__img-wrap:focus-within .service__img {
    transform: scale(1);
    opacity: 1;
    filter: saturate(1) brightness(1);
}

.service__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(237, 28, 36, 0.2);
    margin-bottom: 0.75rem;
}

.service__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--color-surface);
    margin-bottom: 0.5rem;
}

.service__tagline {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.service__text {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.service__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.service__list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.service__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

@media (min-width: 768px) {
    .service__gallery {
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .service__img-wrap--main {
        grid-column: 1;
        grid-row: 1 / -1;
        aspect-ratio: auto;
        height: 100%;
        align-self: stretch;
    }

    .service__img-wrap:not(.service__img-wrap--main) {
        aspect-ratio: 3 / 2;
    }
}

@media (min-width: 1024px) {
    .service {
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
    }

    .service--reverse .service__body {
        order: -1;
    }

    .service + .service {
        margin-top: 6rem;
        padding-top: 6rem;
    }
}


/* ==========================================================================
   BENEFITS
   ========================================================================== */

.benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base), border-color var(--duration-base);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent-subtle);
}

.benefit-card__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    transition: background var(--duration-base), transform var(--duration-base);
}

.benefit-card:hover .benefit-card__icon {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.05);
}

.benefit-card__icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.benefit-card__icon svg * {
    transform-box: fill-box;
    transform-origin: center;
}

/* ── 1) Shield: checkmark draws into the shield ──────────────────── */

.benefits__grid .benefit-card:nth-child(1) .benefit-card__icon svg path:last-child {
    stroke-dasharray: 15;
}

.benefits__grid .benefit-card:nth-child(1):hover .benefit-card__icon svg path:last-child,
.benefits__grid .benefit-card:nth-child(1):focus-within .benefit-card__icon svg path:last-child {
    animation: benefit-draw-check 3000ms var(--ease-out) both;
}

@keyframes benefit-draw-check {
    0%   { stroke-dashoffset: 15; }
    100% { stroke-dashoffset: 0; }
}

/* ── 2) Chart: line draws upward, then arrow appears ─────────────── */

.benefits__grid .benefit-card:nth-child(2) .benefit-card__icon svg polyline:first-child {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.benefits__grid .benefit-card:nth-child(2) .benefit-card__icon svg polyline:last-child {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
}

.benefits__grid .benefit-card:nth-child(2):hover .benefit-card__icon svg polyline:first-child,
.benefits__grid .benefit-card:nth-child(2):focus-within .benefit-card__icon svg polyline:first-child {
    animation: benefit-draw-chart-line 3000ms var(--ease-out) both;
}

.benefits__grid .benefit-card:nth-child(2):hover .benefit-card__icon svg polyline:last-child,
.benefits__grid .benefit-card:nth-child(2):focus-within .benefit-card__icon svg polyline:last-child {
    animation: benefit-draw-chart-arrow 3000ms var(--ease-out) both;
}

@keyframes benefit-draw-chart-line {
    0%   { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

@keyframes benefit-draw-chart-arrow {
    0%   { stroke-dashoffset: 100; opacity: 0; }
    8%   { opacity: 0.2; }
    30%  { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

/* ── 3) Leaf: sprouts up from stem ───────────────────────────────── */

.benefits__grid .benefit-card:nth-child(3) .benefit-card__icon svg {
    transform-origin: center bottom;
}

.benefits__grid .benefit-card:nth-child(3):hover .benefit-card__icon svg,
.benefits__grid .benefit-card:nth-child(3):focus-within .benefit-card__icon svg {
    animation: benefit-leaf-sprout 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.benefits__grid .benefit-card:nth-child(3):hover .benefit-card__icon svg path:last-child,
.benefits__grid .benefit-card:nth-child(3):focus-within .benefit-card__icon svg path:last-child {
    animation: benefit-leaf-stem-rise 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
    transform-origin: center bottom;
}

.benefits__grid .benefit-card:nth-child(3):hover .benefit-card__icon svg path:first-child,
.benefits__grid .benefit-card:nth-child(3):focus-within .benefit-card__icon svg path:first-child {
    animation: benefit-leaf-body-grow 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
    transform-origin: center bottom;
}

@keyframes benefit-leaf-sprout {
    0%   { transform: scale(0.22); opacity: 0.12; }
    32%  { transform: scale(0.52); opacity: 0.55; }
    68%  { transform: scale(0.82); opacity: 0.9; }
    100% { transform: scale(1); }
}

@keyframes benefit-leaf-stem-rise {
    0%   { transform: scaleY(0.2); opacity: 0.15; }
    35%  { transform: scaleY(0.48); opacity: 0.55; }
    68%  { transform: scaleY(0.78); opacity: 0.88; }
    100% { transform: scaleY(1); opacity: 1; }
}

@keyframes benefit-leaf-body-grow {
    0%   { transform: scale(0.18); opacity: 0.1; }
    34%  { transform: scale(0.5); opacity: 0.58; }
    68%  { transform: scale(0.82); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* ── 4) Target: rings pulse outward from center ──────────────────── */

.benefits__grid .benefit-card:nth-child(4):hover .benefit-card__icon svg circle:nth-child(3),
.benefits__grid .benefit-card:nth-child(4):focus-within .benefit-card__icon svg circle:nth-child(3) {
    animation: benefit-target-ring 1000ms var(--ease-out);
}

.benefits__grid .benefit-card:nth-child(4):hover .benefit-card__icon svg circle:nth-child(2),
.benefits__grid .benefit-card:nth-child(4):focus-within .benefit-card__icon svg circle:nth-child(2) {
    animation: benefit-target-ring 1000ms var(--ease-out) 180ms;
}

.benefits__grid .benefit-card:nth-child(4):hover .benefit-card__icon svg circle:first-child,
.benefits__grid .benefit-card:nth-child(4):focus-within .benefit-card__icon svg circle:first-child {
    animation: benefit-target-ring 1000ms var(--ease-out) 360ms;
}

@keyframes benefit-target-ring {
    0%   { opacity: 0.5; stroke-width: 1.5; }
    50%  { opacity: 1; stroke-width: 2.4; }
    100% { opacity: 1; stroke-width: 1.5; }
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.benefit-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.benefit-card__text a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.benefit-card__text a:hover {
    color: var(--color-accent-hover);
}

@media (min-width: 640px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2.25rem 1.75rem;
    }
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--duration-fast);
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::marker {
    content: '';
}

.faq__question:hover {
    color: var(--color-accent);
}

.faq__chevron {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform var(--duration-base) var(--ease-out), color var(--duration-fast);
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq__answer {
    padding-bottom: 1.5rem;
}

.faq__answer p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

@media (min-width: 768px) {
    .faq__question {
        padding: 1.5rem 0;
        font-size: 1.0625rem;
    }
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial {
    position: relative;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial__quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.25;
    margin-bottom: 0.25rem;
    user-select: none;
}

.testimonial__text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.testimonial__name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    font-style: normal;
    color: var(--color-text);
}

.testimonial__role {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.125rem;
}

@media (min-width: 768px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
    position: relative;
    padding: 5rem 0;
    background: var(--color-primary);
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(237, 28, 36, 0.12) 0%, transparent 60%),
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.cta-banner__inner {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-surface);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-banner__text {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .cta-banner {
        padding: 6rem 0;
    }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: clamp(10rem, 18vw, 14rem);
    height: auto;
}

.footer__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-surface);
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer__address p,
.footer__list li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer__address a,
.footer__list a {
    transition: color var(--duration-fast);
}

.footer__address a:hover,
.footer__list a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--duration-fast);
}

.footer__legal a:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 5rem 0 0;
    }

    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
        padding-bottom: 4rem;
    }
}


/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .service__img-wrap:hover .service__img {
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}


/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-page {
    background: var(--color-surface-alt);
}

.header--solid {
    background-color: rgba(11, 11, 13, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact {
    padding-top: calc(var(--header-h) + 3rem);
}

.contact__card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.contact__intro {
    color: var(--color-text-muted);
    margin: 1rem auto 0;
    max-width: 640px;
}

.contact-form {
    margin-top: 2rem;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font: inherit;
    color: var(--color-text);
    background: var(--color-surface);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.2);
    outline: none;
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form__actions {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .contact__card {
        padding: 2.5rem;
    }

    .contact-form__grid {
        grid-template-columns: 1fr 1fr;
    }
}
