/* =========================================================
    SVR Technologies - Main Stylesheet
   Plain CSS: no framework or build process required.
   ========================================================= */

:root {
    --navy: #12304a;
    --blue: #1769aa;
    --light-blue: #eaf3f9;
    --text: #263746;
    --muted: #617282;
    --border: #dfe7ed;
    --white: #ffffff;
    --light-bg: #f6f9fb;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: block;
}

.logo img {
    display: block;
    width: 250px;
    height: 64px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(64, 143, 194, 0.25), transparent 32%),
        linear-gradient(135deg, #102c44 0%, #1b5279 100%);
    color: var(--white);
    padding: 105px 0 110px;
}

.hero-content {
    max-width: 800px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #b9d9ec;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.hero p {
    max-width: 720px;
    margin: 0 0 32px;
    color: #e5f0f6;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
}

.button-primary {
    background: var(--white);
    color: var(--navy);
}

.button-primary:hover {
    background: #e8f1f6;
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* General sections */
.section {
    padding: 78px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 36px;
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

/* About story */
.innovation-story {
    overflow: hidden;
    padding: 104px 0 118px;
    background: #eef5f8;
}

.innovation-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 90px;
    align-items: start;
}

.innovation-intro {
    position: sticky;
    top: 122px;
}

.innovation-intro .eyebrow {
    margin-bottom: 15px;
    color: var(--blue);
}

.innovation-intro h2 {
    max-width: 360px;
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.04;
}

.innovation-intro p {
    max-width: 350px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.innovation-rail {
    position: relative;
    display: grid;
    gap: 28px;
    padding: 8px 0 8px 58px;
}

.innovation-line {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 20px;
    width: 2px;
    background: #c8dce8;
    transform-origin: top;
    transform: scaleY(0.12);
    transition: transform 1.2s ease;
}

.innovation-rail.is-visible .innovation-line {
    transform: scaleY(1);
}

.innovation-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}

.innovation-marker {
    position: absolute;
    top: 19px;
    left: -58px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 5px solid #eef5f8;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.innovation-card {
    padding: 28px 32px 30px;
    border: 1px solid #d6e4eb;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 32px rgba(18, 48, 74, 0.06);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.innovation-rail.is-visible .innovation-step:nth-of-type(2) .innovation-card {
    transition-delay: 180ms;
}

.innovation-rail.is-visible .innovation-step:nth-of-type(3) .innovation-card {
    transition-delay: 360ms;
}

.innovation-rail.is-visible .innovation-step .innovation-card {
    opacity: 1;
    transform: translateY(0);
}

.innovation-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.innovation-card h3 {
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.2;
}

.innovation-card p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
}

/* Service cards */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

.card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 23px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

/* Why SVR */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 18px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* CTA */
.cta {
    padding: 72px 0;
    background: var(--navy);
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.cta p {
    max-width: 680px;
    margin: 0;
    color: #cbdce7;
}

/* Footer */
.site-footer {
    padding: 42px 0 22px;
    background: #0d2639;
    color: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo img {
    display: block;
    width: 250px;
    height: 64px;
}

.footer-contact {
    font-weight: 600;
}

.footer-contact a:hover {
    color: #b9d9ec;
}

.copyright {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #aebfcb;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
    }

    .nav.open {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding-bottom: 15px;
    }

    .nav-list a {
        display: block;
        padding: 9px 0;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .innovation-layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .innovation-intro {
        position: static;
    }

    .innovation-intro h2,
    .innovation-intro p {
        max-width: 680px;
    }
}

@media (max-width: 650px) {
    .container {
        width: min(var(--max-width), calc(100% - 30px));
    }

    .logo img,
    .footer-logo img {
        width: 210px;
        height: auto;
    }

    .hero {
        padding: 75px 0 80px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section {
        padding: 60px 0;
    }

    .cards,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 60px 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .innovation-story {
        padding: 74px 0 82px;
    }

    .innovation-rail {
        padding-left: 43px;
    }

    .innovation-line {
        left: 16px;
    }

    .innovation-marker {
        left: -43px;
        width: 36px;
        height: 36px;
        font-size: 11px;
    }

    .innovation-card {
        padding: 23px 22px 25px;
    }

    .innovation-card h3 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .innovation-card {
        opacity: 1;
        transform: none;
    }

    .innovation-line {
        transform: scaleY(1);
    }
}

/* Home page */
.home-page {
    overflow: hidden;
}

.home-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: #0b2038;
}

.home-hero::before {
    position: absolute;
    top: -20%;
    right: -8%;
    width: 58vw;
    height: 115%;
    border: 1px solid rgba(77, 163, 255, 0.22);
    border-radius: 50%;
    content: "";
    transform: rotate(-18deg);
}

.home-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    min-height: 550px;
    gap: 60px;
    align-items: center;
}

.home-hero-copy {
    max-width: 660px;
}

.home-hero-copy h1 {
    max-width: 650px;
    margin: 0 0 24px;
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.02;
}

.home-hero-copy p {
    max-width: 600px;
    margin: 0 0 32px;
    color: #d4e5f1;
    font-size: 19px;
}

.home-hero-visual {
    position: relative;
    width: min(100%, 510px);
    aspect-ratio: 1;
    justify-self: end;
}

.orbit {
    position: absolute;
    inset: 11%;
    border: 1px solid rgba(77, 163, 255, 0.42);
    border-radius: 50%;
    transform: rotate(-28deg) scaleX(0.62);
}

.orbit-one {
    animation: home-orbit 12s linear infinite;
}

.orbit-two {
    inset: 22%;
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(34deg) scaleX(0.62);
    animation: home-orbit-reverse 16s linear infinite;
}

.hero-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 164px;
    height: 164px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: #12385a;
    box-shadow: 0 0 0 18px rgba(54, 165, 255, 0.08), 0 20px 70px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
}

.hero-core span {
    margin-top: 13px;
    color: var(--white);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -3px;
}

.hero-core small {
    margin-top: -28px;
    color: #8bc9f5;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.4;
    text-align: center;
}

.hero-node {
    position: absolute;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(18, 56, 90, 0.92);
    color: #7fc5ff;
    font-size: 13px;
    font-weight: 700;
}

.hero-node span {
    color: #d4e5f1;
    font-size: 11px;
    font-weight: 400;
}

.node-one { top: 7%; left: 12%; }
.node-two { top: 14%; right: 4%; }
.node-three { right: 10%; bottom: 9%; }

.home-hero-panel {
    width: min(100%, 490px);
    justify-self: end;
    padding: 31px 32px 18px;
    border: 1px solid rgba(127, 197, 255, 0.35);
    border-radius: 8px;
    background: rgba(18, 56, 90, 0.72);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.hero-panel-heading,
.hero-panel-row {
    display: flex;
    align-items: center;
}

.hero-panel-heading {
    justify-content: space-between;
    padding-bottom: 23px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: #8bc9f5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hero-panel-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b9e4c6;
    font-size: 10px;
    letter-spacing: 0.8px;
}

.hero-panel-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #71d08c;
    box-shadow: 0 0 0 4px rgba(113, 208, 140, 0.12);
    content: "";
}

.hero-panel-title {
    padding: 28px 0 20px;
    color: var(--white);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-panel-track {
    height: 4px;
    margin-bottom: 13px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-panel-track span {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: #36a5ff;
}

.hero-panel-row {
    gap: 16px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-panel-number {
    color: #7fc5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-panel-row div {
    display: grid;
    gap: 2px;
    flex: 1;
}

.hero-panel-row strong {
    color: var(--white);
    font-size: 15px;
}

.hero-panel-row small {
    color: #b7cede;
    font-size: 12px;
}

.hero-panel-check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(113, 208, 140, 0.16);
    color: #8be0a2;
    font-size: 12px;
}

.home-services {
    background: var(--white);
}

.home-section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.home-section-heading h2 {
    max-width: 600px;
    margin: 0 0 15px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.06;
}

.home-section-heading p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.home-service-card {
    position: relative;
    min-height: 330px;
    padding: 34px;
    border: 1px solid #1769aa;
    border-radius: 8px;
    background: #1769aa;
    color: var(--white);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-service-card:hover {
    box-shadow: 0 18px 38px rgba(18, 48, 74, 0.18);
    transform: translateY(-5px);
}

.home-card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 66px;
    color: #b9ddf8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.home-service-card h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 28px;
}

.home-service-card p {
    max-width: 480px;
    margin: 0 0 25px;
    color: #d5e8f5;
}

.home-service-card a {
    position: absolute;
    bottom: 30px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.home-service-card a span {
    display: inline-block;
    margin-left: 8px;
    transition: transform 220ms ease;
}

.home-service-card a:hover span {
    transform: translateX(5px);
}

.home-why {
    background: #102c44;
    color: var(--white);
}

.home-section-heading-light h2 {
    color: var(--white);
}

.home-section-heading-light p {
    color: #bcd3e2;
}

.home-section-heading-light .section-kicker {
    color: #7fc5ff;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.home-feature {
    min-height: 210px;
    padding: 24px 24px 22px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.home-feature:not(:first-child) {
    padding-left: 24px;
}

.home-feature:last-child {
    border-right: 0;
}

.home-feature > span {
    display: block;
    margin-bottom: 48px;
    color: #7fc5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-feature h3 {
    margin: 0 0 9px;
    color: var(--white);
    font-size: 18px;
}

.home-feature p {
    margin: 0;
    color: #bcd3e2;
    font-size: 14px;
    line-height: 1.55;
}

@keyframes home-orbit {
    from { transform: rotate(-28deg) scaleX(0.62); }
    to { transform: rotate(332deg) scaleX(0.62); }
}

@keyframes home-orbit-reverse {
    from { transform: rotate(34deg) scaleX(0.62); }
    to { transform: rotate(-326deg) scaleX(0.62); }
}

@media (max-width: 850px) {
    .home-hero-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 36px;
        padding-top: 68px;
    }

    .home-hero-panel {
        width: min(100%, 430px);
        justify-self: center;
    }

    .home-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-feature:nth-child(2) {
        border-right: 0;
    }

    .home-feature:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.24);
    }
}

@media (max-width: 650px) {
    .home-hero-layout {
        padding-top: 54px;
    }

    .home-hero-copy h1 {
        font-size: 36px;
    }

    .home-hero-copy p {
        font-size: 17px;
    }

    .home-hero-panel {
        width: 100%;
        padding: 25px 22px 14px;
    }

    .hero-panel-title {
        font-size: 25px;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        min-height: 300px;
        padding: 27px 24px;
    }

    .home-card-top {
        margin-bottom: 48px;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature,
    .home-feature:not(:first-child) {
        min-height: 0;
        padding: 21px 0;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.24);
    }

    .home-feature:first-child {
        border-top: 0;
    }

    .home-feature > span {
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbit-one,
    .orbit-two {
        animation: none;
    }

    .home-service-card,
    .home-service-card a span {
        transition: none;
    }
}