/* ============================================================
   ALVORN TECH — CORE
============================================================ */

:root {
    --container: 1240px;
    --page-gutter: 24px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    color-scheme: dark;

    background: #000000;

    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;

    min-width: 320px;

    color: #ffffff;
    background: #000000;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

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

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

button {
    padding: 0;

    border: 0;

    color: inherit;
    background: none;

    cursor: pointer;
}

.container {
    width:
        min(
            var(--container),
            calc(100% - (var(--page-gutter) * 2))
        );

    margin: 0 auto;
}

.site-footer {
    position: relative;
    z-index: 10;

    padding:
        72px
        0
        28px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            180deg,
            #030507,
            #000000
        );
}

.site-footer-inner {
    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        auto
        auto;

    gap:
        48px;

    align-items: start;
}

.site-footer-brand img {
    width: 220px;
    height: auto;

    display: block;
}

.site-footer-brand p {
    max-width: 360px;

    margin:
        20px
        0
        0;

    color: #718097;

    font-size: 12px;
    line-height: 1.7;
}

.site-footer-links,
.site-footer-contact {
    display: grid;
    gap: 13px;

    color: #aab8c9;

    font-size: 11px;
}

.site-footer-links a,
.site-footer-contact a {
    transition:
        color 180ms ease;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
    color: #72b7ff;
}

.site-footer-contact span {
    color: #647287;
}

.site-footer-bottom {
    margin-top: 54px;
    padding-top: 21px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    color: #536177;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1400;

    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(114, 183, 255, 0.32);

    color: #dff1ff;

    background:
        rgba(5, 16, 29, 0.86);

    box-shadow:
        0 16px 40px
        rgba(0, 0, 0, 0.42);
}

.floating-whatsapp svg {
    width: 23px;
    height: 23px;
}

.floating-whatsapp-text {
    display: none;
}

.page-shell {
    min-height: 100vh;
    padding:
        160px
        0
        100px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(45, 131, 255, 0.13),
            transparent 36%
        ),
        #000000;
}

.page-shell h1 {
    margin: 0;

    font-size:
        clamp(
            3rem,
            7vw,
            7rem
        );

    font-weight: 540;
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.page-shell p {
    max-width: 700px;

    margin:
        28px
        0
        0;

    color: #748399;

    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 760px) {
    :root {
        --page-gutter: 16px;
    }

    .site-footer {
        padding-top: 54px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        margin-top: 38px;
    }

    .floating-whatsapp {
        right: 12px;
        bottom: 12px;
    }

    .page-shell {
        padding:
            130px
            0
            80px;
    }
}


/* ============================================================
   SAFE DOCUMENT OVERFLOW
============================================================ */

html,
body {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

.floating-whatsapp-icon {
    width: 24px;
    height: 24px;

    display: block;

    color: #9fd2ff;
    fill: currentColor;
}


/* ============================================================
   SITE FONT FALLBACK CONSISTENCY
============================================================ */

body,
button,
input,
textarea,
select {
    font-family:
        Inter,
        "SF Pro Display",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}


/* ============================================================
   ALVORN FOOTER — V9 COMPLETE REPAIR
============================================================ */

.site-footer {
    position: relative;
    z-index: 20;

    width: 100%;

    padding:
        clamp(58px, 7vw, 94px)
        0
        26px;

    border-top:
        1px solid
        rgba(114, 183, 255, 0.14);

    color: #ffffff;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(45, 131, 255, 0.10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #03070c,
            #000000
        );

    overflow: hidden;
}

.site-footer .site-footer-main {
    display: grid;

    grid-template-columns:
        minmax(280px, 1.35fr)
        minmax(120px, 0.55fr)
        minmax(190px, 0.75fr)
        minmax(220px, 0.9fr);

    gap:
        clamp(34px, 5vw, 76px);

    align-items: start;
}

.site-footer .site-footer-brand img {
    width: 210px;
    max-width: 100%;
    height: auto;

    display: block;
}

.site-footer .site-footer-brand p {
    max-width: 380px;

    margin:
        22px
        0
        0;

    color: #718097;

    font-size: 12px;
    line-height: 1.72;
    letter-spacing: -0.01em;
}

.site-footer .site-footer-nav,
.site-footer .site-footer-contact {
    display: grid;
    align-content: start;
    gap: 12px;

    color: inherit;
}

.site-footer .site-footer-label {
    margin-bottom: 8px;

    color: #72b7ff;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer .site-footer-nav a,
.site-footer .site-footer-contact a,
.site-footer .site-footer-contact p {
    margin: 0;

    color: #a9b7c8;

    font-size: 11px;
    line-height: 1.55;

    transition:
        color 180ms ease;
}

.site-footer .site-footer-nav a:hover,
.site-footer .site-footer-contact a:hover {
    color: #ffffff;
}

.site-footer .site-footer-cta {
    min-height: 150px;
    padding: 22px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;

    border:
        1px solid
        rgba(114, 183, 255, 0.24);

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(45, 131, 255, 0.14),
            rgba(3, 9, 16, 0.78)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.04);

    transition:
        border-color 200ms ease,
        transform 200ms ease,
        background-color 200ms ease;
}

.site-footer .site-footer-cta:hover {
    border-color:
        rgba(114, 183, 255, 0.56);

    transform:
        translate3d(0, -3px, 0);
}

.site-footer .site-footer-cta > span {
    max-width: 150px;

    color: #ffffff;

    font-size:
        clamp(1.35rem, 2vw, 1.95rem);

    font-weight: 560;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.site-footer .site-footer-cta-icon {
    flex:
        0
        0
        28px;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    display: block !important;

    color: #72b7ff;

    overflow: visible;
}

.site-footer .site-footer-bottom {
    margin-top:
        clamp(42px, 5vw, 66px);

    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    color: #536177;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer svg {
    max-width: 100%;
}

.floating-whatsapp {
    overflow: hidden;
}

.floating-whatsapp .floating-whatsapp-icon {
    flex:
        0
        0
        24px;

    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;

    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;

    display: block !important;

    color: #9fd2ff;
    fill: currentColor;
}

@media (max-width: 980px) {
    .site-footer .site-footer-main {
        grid-template-columns:
            minmax(260px, 1.2fr)
            minmax(120px, 0.6fr)
            minmax(190px, 0.8fr);
    }

    .site-footer .site-footer-cta {
        grid-column:
            1 /
            -1;

        min-height: 112px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding:
            54px
            0
            24px;
    }

    .site-footer .site-footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer .site-footer-brand img {
        width: 185px;
    }

    .site-footer .site-footer-cta {
        grid-column: auto;

        min-height: 104px;
    }

    .site-footer .site-footer-cta > span {
        font-size: 1.45rem;
    }

    .site-footer .site-footer-cta-icon {
        flex-basis: 24px;

        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;

        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
    }

    .site-footer .site-footer-bottom {
        margin-top: 38px;

        align-items: flex-start;
        flex-direction: column;

        line-height: 1.6;
    }
}
