/**
 * Infrastructure page — cinematic full-bleed hero (scoped to .page-infrastructure).
 */

.page-infrastructure .main-content > .infra-hero:first-child {
    margin-top: 0;
}

.infra-hero {
    position: relative;
    min-height: min(88vh, 860px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: #fff;
    border-bottom: 1px solid rgba(var(--rgb-teal-deep), 0.2);
}

.infra-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.infra-hero__media {
    position: absolute;
    inset: -8%;
    animation: infra-hero-media-drift 22s ease-in-out infinite alternate;
}

@keyframes infra-hero-media-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-0.8%, 0.6%, 0) scale(1.04);
    }
}

.infra-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 38%;
    transform-origin: 52% 40%;
    will-change: transform, filter;
}

@media (prefers-reduced-motion: no-preference) {
    .infra-hero__img {
        animation:
            infra-hero-focus 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards,
            infra-hero-ken 26s ease-in-out 0.4s infinite alternate;
    }

    @keyframes infra-hero-focus {
        from {
            filter: blur(14px) saturate(0.85);
            transform: scale(1.02);
        }
        to {
            filter: blur(0) saturate(1);
            transform: scale(1);
        }
    }

    @keyframes infra-hero-ken {
        from {
            transform: scale(1);
        }
        to {
            transform: scale(1.08);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-hero__media {
        animation: none;
    }

    .infra-hero__img {
        filter: none;
        transform: none;
    }

    .infra-hero__panel-media {
        animation: none;
    }

    .infra-hero__panel-bp-path {
        animation: none;
    }
}

.infra-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(var(--rgb-brand-ink), 0.88) 0%,
        rgba(10, 74, 82, 0.72) 38%,
        rgba(var(--rgb-teal-deep), 0.45) 62%,
        rgba(6, 42, 48, 0.55) 100%
    );
    pointer-events: none;
}

.infra-hero__wash {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        transparent 42%,
        rgba(4, 22, 26, 0.55) 100%
    );
    pointer-events: none;
}

.infra-hero__glow-sheet {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.55;
    mix-blend-mode: soft-light;
    background: linear-gradient(
        118deg,
        rgba(var(--rgb-teal-bright), 0.25) 0%,
        transparent 40%,
        rgba(76, 175, 80, 0.18) 72%,
        transparent 100%
    );
    background-size: 200% 200%;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .infra-hero__glow-sheet {
        animation: infra-glow-shift 16s ease-in-out infinite alternate;
    }

    @keyframes infra-glow-shift {
        0% {
            background-position: 0% 40%;
        }
        100% {
            background-position: 100% 60%;
        }
    }
}

.infra-hero__bp {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
}

.infra-hero__bp-path {
    stroke-dasharray: 12 900;
    animation: infra-bp-dash 24s linear infinite;
}

.infra-hero__bp-path--slow {
    stroke-dasharray: 10 800;
    animation-duration: 32s;
    animation-direction: reverse;
    opacity: 0.85;
}

@keyframes infra-bp-dash {
    to {
        stroke-dashoffset: -420;
    }
}

.infra-hero__bp-node {
    animation: infra-node 3.2s ease-in-out infinite;
}

.infra-hero__bp-node--b {
    animation-delay: 0.6s;
}

.infra-hero__bp-node--c {
    animation-delay: 1.1s;
    animation-duration: 2.8s;
}

@keyframes infra-node {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-hero__bp-path {
        animation: none;
    }

    .infra-hero__bp-node {
        animation: none;
    }
}

.infra-hero__dust {
    position: absolute;
    inset: -10%;
    z-index: 4;
    pointer-events: none;
    opacity: 0.12;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

@media (prefers-reduced-motion: no-preference) {
    .infra-hero__dust {
        animation: infra-dust-drift 20s linear infinite;
    }

    @keyframes infra-dust-drift {
        from {
            transform: translate3d(0, 0, 0);
        }
        to {
            transform: translate3d(-4%, -3%, 0);
        }
    }
}

.infra-hero__fx {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.infra-hero__fx-streaks {
    position: absolute;
    inset: -25% -15%;
    opacity: 0.55;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0,
        transparent 72px,
        rgba(158, 229, 200, 0.055) 72px,
        rgba(158, 229, 200, 0.055) 74px,
        transparent 74px,
        transparent 140px,
        rgba(var(--rgb-teal-bright), 0.04) 140px,
        rgba(var(--rgb-teal-bright), 0.04) 142px
    );
}

.infra-hero__fx-particles {
    position: absolute;
    inset: 0;
    opacity: 0.65;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 55% 42%, rgba(158, 229, 200, 0.55), transparent),
        radial-gradient(1.5px 1.5px at 78% 28%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 32% 72%, rgba(var(--rgb-teal-bright), 0.45), transparent),
        radial-gradient(1.5px 1.5px at 88% 65%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 65% 88%, rgba(158, 229, 200, 0.4), transparent);
    background-size: 100% 100%;
}

@media (prefers-reduced-motion: no-preference) {
    .infra-hero__fx-streaks {
        animation: infra-hero-fx-streak 32s linear infinite;
    }

    @keyframes infra-hero-fx-streak {
        to {
            transform: translate3d(-5%, 4%, 0);
        }
    }

    .infra-hero__fx-particles {
        animation: infra-hero-fx-par 18s ease-in-out infinite alternate;
    }

    @keyframes infra-hero-fx-par {
        from {
            opacity: 0.45;
        }

        to {
            opacity: 0.78;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-hero__fx-streaks,
    .infra-hero__fx-particles {
        animation: none;
    }
}

.infra-hero__inner {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    align-items: center;
    padding: clamp(4.5rem, 12vw, 6.5rem) 0 clamp(3.5rem, 8vw, 5rem);
}

.infra-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, min(38vw, 420px));
    gap: clamp(1.75rem, 4.5vw, 3.25rem);
    align-items: center;
    width: 100%;
}

.infra-hero__copy {
    max-width: 37.5rem;
}

.infra-hero__label.section__eyebrow,
.infra-hero .infra-hero__label {
    color: rgba(240, 250, 252, 0.88) !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: var(--type-label);
    margin: 0 0 0.85rem;
}

.infra-hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.35rem, 5vw + 0.5rem, 3.65rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    color: #fff !important;
    text-shadow:
        0 2px 48px rgba(0, 0, 0, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(var(--rgb-brand-ink), 0.35);
}

.infra-hero__lede {
    margin: 0 0 1.75rem;
    font-size: clamp(1.02rem, 1.15vw + 0.9rem, 1.125rem);
    line-height: 1.78;
    color: rgba(248, 252, 253, 0.94);
    max-width: 36rem;
    text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.infra-hero__actions {
    margin: 0;
}

.infra-hero__btn.btn--primary {
    box-shadow:
        0 4px 22px rgba(var(--rgb-teal-deep), 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {
    .infra-hero__btn.btn--primary:hover {
        box-shadow:
            0 8px 28px rgba(var(--rgb-teal-deep), 0.42),
            0 0 36px rgba(76, 175, 80, 0.12);
    }
}

.infra-hero__aside {
    justify-self: end;
    align-self: center;
    width: 100%;
}

.infra-hero__panel-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: 100%;
}

.infra-hero__panel {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: clamp(14px, 2.2vw, 20px);
    overflow: hidden;
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(240, 250, 252, 0.1);
}

.infra-hero__panel-media {
    position: absolute;
    inset: -6%;
    animation: infra-panel-media-drift 18s ease-in-out infinite alternate;
}

@keyframes infra-panel-media-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(1.2%, -0.8%, 0) scale(1.05);
    }
}

.infra-hero__panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 42%;
    filter: saturate(1.05);
}

.infra-hero__panel-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        165deg,
        rgba(var(--rgb-brand-ink), 0.15) 0%,
        rgba(10, 74, 82, 0.35) 45%,
        rgba(var(--rgb-teal-deep), 0.5) 100%
    );
    pointer-events: none;
}

.infra-hero__panel-bp {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.95;
}

.infra-hero__panel-bp-path {
    stroke-dasharray: 10 420;
    animation: infra-bp-dash 22s linear infinite;
}

.infra-hero__panel-bp-path--b {
    stroke-dasharray: 8 360;
    animation-duration: 28s;
    animation-direction: reverse;
    opacity: 0.85;
}

.infra-hero__cards {
    list-style: none;
    margin: -2.25rem 0 0;
    padding: 0;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: min(100%, 240px);
    align-self: flex-end;
}

.infra-hero__card {
    padding: 0.72rem 1rem 0.72rem 1.1rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(var(--rgb-brand-ink), 0.42);
    border: 1px solid rgba(240, 250, 252, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.infra-hero__card--a {
    transform: translateX(0);
}

.infra-hero__card--b {
    transform: translateX(10px);
}

.infra-hero__card--c {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: no-preference) {
    .infra-hero__card {
        animation: infra-card-float 5s ease-in-out infinite;
    }

    .infra-hero__card--b {
        animation-delay: 0.4s;
    }

    .infra-hero__card--c {
        animation-delay: 0.8s;
    }

    @keyframes infra-card-float {
        0%,
        100% {
            transform: translateX(var(--infra-card-x, 0)) translateY(0);
        }
        50% {
            transform: translateX(var(--infra-card-x, 0)) translateY(-5px);
        }
    }

    .infra-hero__card--a {
        --infra-card-x: 0;
    }

    .infra-hero__card--b {
        --infra-card-x: 10px;
    }

    .infra-hero__card--c {
        --infra-card-x: 3px;
    }
}

.infra-hero:hover .infra-hero__card {
    border-color: rgba(158, 229, 200, 0.22);
}

@media (max-width: 1023px) {
    .infra-hero__layout {
        grid-template-columns: 1fr;
    }

    .infra-hero__aside {
        justify-self: center;
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
    }

    .infra-hero__panel-wrap {
        align-items: center;
    }

    .infra-hero__panel {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .infra-hero__cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin-top: -1.75rem;
        align-self: center;
    }

    .infra-hero__card,
    .infra-hero__card--b,
    .infra-hero__card--c {
        transform: none !important;
        --infra-card-x: 0 !important;
    }

    @media (prefers-reduced-motion: no-preference) {
        .infra-hero__card {
            animation: none;
        }
    }
}

@media (max-width: 767px) {
    .infra-hero {
        min-height: min(78vh, 720px);
    }

    .infra-hero__inner {
        padding-top: clamp(3.5rem, 10vw, 4.5rem);
        text-align: center;
    }

    .infra-hero__copy {
        margin-inline: auto;
        max-width: 100%;
    }

    .infra-hero__label.section__eyebrow,
    .infra-hero .infra-hero__label {
        justify-content: center;
    }

    .infra-hero__lede {
        margin-inline: auto;
    }

    .infra-hero__actions {
        display: flex;
        justify-content: center;
    }

    .infra-hero__aside {
        max-width: 100%;
    }

    .infra-hero__panel {
        aspect-ratio: 5 / 4;
    }

    .infra-hero__panel-img {
        object-position: 62% 38%;
    }

    .infra-hero__img {
        object-position: 55% 35%;
    }

    .infra-hero__media {
        animation-duration: 28s;
    }
}

/* Scroll handoff: next section overlaps hero foot */
.page-infrastructure .infra-after-hero {
    position: relative;
    z-index: 2;
    margin-top: -2.25rem;
    padding-top: calc(var(--story-space-y, clamp(5rem, 11vw, 7.5rem)) + 1.5rem);
    border-radius: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 24px) 0 0;
    box-shadow:
        0 -20px 56px rgba(var(--rgb-teal-deep), 0.12),
        0 28px 48px rgba(var(--rgb-teal-deep), 0.06);
}

/* Lead band: teal wash + pattern (override .story-band--light) */
.page-infrastructure .main-content .section.infra-lead-section.story-band--light {
    position: relative;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(var(--rgb-teal-bright), 0.12), transparent 52%),
        linear-gradient(180deg, #e4f4f7 0%, #eef8fa 38%, #f5fbfc 100%);
    border-top: 1px solid rgba(var(--rgb-teal-deep), 0.08);
}

.page-infrastructure .main-content .section.infra-lead-section.story-band--light::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0v60H0' fill='none' stroke='%231f7c8a' stroke-opacity='0.06' stroke-width='0.75'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    border-radius: inherit;
}

.page-infrastructure .main-content .section.infra-lead-section.story-band--light > .container {
    position: relative;
    z-index: 1;
}

.page-infrastructure .main-content .section.infra-lead-section.story-band--light .section__intro {
    color: rgba(15, 56, 62, 0.78);
    max-width: 52rem;
}

.infra-lead-section__divider {
    height: 1px;
    margin: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3.5vw, 2.25rem);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--rgb-teal-deep), 0.22) 18%,
        rgba(var(--rgb-teal-deep), 0.22) 82%,
        transparent
    );
}

/* Floating stat cards */
.infra-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.35rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 900px) {
    .infra-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.infra-stat-card {
    list-style: none;
    margin: 0;
    background: #fff;
    border-radius: clamp(12px, 1.8vw, 16px);
    padding: clamp(1.15rem, 2.2vw, 1.45rem) clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    box-shadow:
        0 4px 20px rgba(var(--rgb-teal-deep), 0.08),
        0 0 0 1px rgba(var(--rgb-teal-deep), 0.06);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
    opacity: 0;
    transform: translateY(14px);
}

@media (hover: hover) and (pointer: fine) {
    .infra-stat-card:hover {
        transform: translateY(-4px);
        box-shadow:
            0 14px 36px rgba(var(--rgb-teal-deep), 0.14),
            0 0 0 1px rgba(var(--rgb-teal-bright), 0.12);
    }
}

.infra-stat-card__value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 1.95rem);
    font-weight: 700;
    color: var(--color-text, #0d3d44);
    line-height: 1.15;
}

.infra-stat-card__label {
    font-size: 0.8125rem;
    color: rgba(15, 56, 62, 0.62);
    margin-top: 0.4rem;
    line-height: 1.35;
}

/* Stat entrance (scroll) */
.infra-stat-grid--inview .infra-stat-card {
    animation: infra-stat-rise 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.infra-stat-grid--inview .infra-stat-card:nth-child(1) {
    animation-delay: 0.05s;
}

.infra-stat-grid--inview .infra-stat-card:nth-child(2) {
    animation-delay: 0.14s;
}

.infra-stat-grid--inview .infra-stat-card:nth-child(3) {
    animation-delay: 0.23s;
}

.infra-stat-grid--inview .infra-stat-card:nth-child(4) {
    animation-delay: 0.32s;
}

@keyframes infra-stat-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-stat-card {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* Hero copy + panel entrance */
@media (prefers-reduced-motion: no-preference) {
    .infra-hero__copy > * {
        opacity: 0;
        animation: infra-hero-reveal 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .infra-hero__copy .infra-hero__label {
        animation-delay: 0.06s;
    }

    .infra-hero__copy .infra-hero__title {
        animation-delay: 0.14s;
    }

    .infra-hero__copy .infra-hero__lede {
        animation-delay: 0.26s;
    }

    .infra-hero__copy .infra-hero__actions {
        animation-delay: 0.38s;
    }

    .infra-hero__panel-wrap {
        opacity: 0;
        animation: infra-hero-reveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
    }

    @keyframes infra-hero-reveal {
        from {
            opacity: 0;
            transform: translateY(16px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-hero__copy > * {
        opacity: 1;
        animation: none;
    }

    .infra-hero__panel-wrap {
        opacity: 1;
        animation: none;
    }
}

/* —— Infrastructure: Our services (premium cards) —— */
.page-infrastructure .main-content .section.infra-services.story-band--mist:not(.infra-services--pro) {
    position: relative;
    background:
        radial-gradient(ellipse 90% 55% at 12% 8%, rgba(var(--rgb-teal-bright), 0.1), transparent 58%),
        radial-gradient(ellipse 70% 45% at 92% 88%, rgba(76, 175, 80, 0.06), transparent 50%),
        linear-gradient(185deg, #e6f4f7 0%, #f2fafb 38%, #ffffff 72%);
    border-top: 1px solid rgba(var(--rgb-teal-deep), 0.06);
}

.page-infrastructure .main-content .section.infra-services:not(.infra-services--pro)::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='36' cy='36' r='1.2' fill='%231f7c8a' fill-opacity='0.07'/%3E%3C/svg%3E");
    background-size: 72px 72px;
}

.page-infrastructure .infra-services > .container {
    position: relative;
    z-index: 1;
}

.page-infrastructure .infra-services__header {
    max-width: 42rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.page-infrastructure .infra-services__header .section__title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.page-infrastructure .infra-services__header .section__intro {
    color: rgba(15, 56, 62, 0.68);
    line-height: 1.72;
    max-width: 38rem;
}

.infra-services__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4.5vw, 2.5rem);
}

@media (min-width: 768px) {
    .infra-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.infra-service-card {
    position: relative;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: clamp(1.45rem, 3vw, 1.75rem) clamp(1.45rem, 3vw, 1.85rem) clamp(1.35rem, 2.8vw, 1.65rem)
        clamp(1.45rem, 3vw, 1.85rem);
    padding-left: calc(0.85rem + 5px + clamp(1.1rem, 2.5vw, 1.35rem));
    background: #fff;
    border-radius: clamp(16px, 2.2vw, 20px);
    border: 1px solid rgba(var(--rgb-teal-deep), 0.12);
    box-shadow:
        0 6px 28px rgba(var(--rgb-teal-deep), 0.07),
        0 2px 8px rgba(var(--rgb-teal-deep), 0.04);
    transition:
        transform 0.3s var(--ease-story, cubic-bezier(0.22, 1, 0.36, 1)),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    opacity: 0;
    transform: translateY(18px);
}

.infra-service-card__accent {
    position: absolute;
    left: clamp(1rem, 2.5vw, 1.2rem);
    top: clamp(1.35rem, 3vw, 1.65rem);
    bottom: clamp(1.35rem, 3vw, 1.65rem);
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(
        180deg,
        rgba(var(--rgb-teal-bright), 0.95) 0%,
        rgba(var(--rgb-green), 0.88) 100%
    );
    pointer-events: none;
}

.infra-service-card__icon {
    margin-bottom: 0.9rem;
}

.infra-service-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.1vw + 0.95rem, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.28;
    color: #063a42;
}

.infra-service-card__desc {
    margin: 0.55rem 0 0;
    flex: 1 1 auto;
    font-size: 0.9375rem;
    line-height: 1.68;
    color: rgba(15, 56, 62, 0.62);
    max-width: 36ch;
}

.infra-service-card__hint {
    display: flex;
    align-self: flex-end;
    margin-top: 1.15rem;
    color: rgba(var(--rgb-teal-deep), 0.35);
    transition:
        color 0.3s ease,
        transform 0.3s var(--ease-story, cubic-bezier(0.22, 1, 0.36, 1));
}

.infra-service-card__arrow {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .infra-service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(var(--rgb-teal-bright), 0.45);
        box-shadow:
            0 20px 48px rgba(var(--rgb-teal-deep), 0.12),
            0 8px 20px rgba(var(--rgb-teal-deep), 0.06),
            0 0 0 1px rgba(var(--rgb-teal-bright), 0.08);
    }

    .infra-service-card:hover .infra-service-card__hint {
        color: rgba(var(--rgb-teal-bright), 0.75);
        transform: translateX(5px);
    }

    .infra-service-card:hover .ui-icon-3d {
        transform: scale(1.06) rotate(2deg);
        box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.85),
            inset 0 -1px 1px rgba(var(--rgb-teal-deep), 0.05),
            0 12px 28px rgba(var(--rgb-teal-deep), 0.12),
            0 0 24px var(--ui-icon-glow, rgba(var(--rgb-teal-bright), 0.22));
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-service-card:hover {
        transform: none;
    }

    .infra-service-card:hover .infra-service-card__hint {
        transform: none;
    }

    .infra-service-card:hover .ui-icon-3d {
        transform: none;
    }
}

/* Stagger in */
.infra-services__grid--inview .infra-service-card {
    animation: infra-service-rise 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.infra-services__grid--inview .infra-service-card:nth-child(1) {
    animation-delay: 0.06s;
}

.infra-services__grid--inview .infra-service-card:nth-child(2) {
    animation-delay: 0.14s;
}

.infra-services__grid--inview .infra-service-card:nth-child(3) {
    animation-delay: 0.22s;
}

.infra-services__grid--inview .infra-service-card:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes infra-service-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .infra-service-card {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}
