:root {
    --navy: #07192f;
    --navy-2: #0b2b56;
    --blue: #2f8dff;
    --blue-2: #5aa8ff;
    --ink: #0d2145;
    --muted: #566883;
    --line: #dfe7f0;
    --soft: #f7f9fc;
    --max: 1180px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.58;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    display: block;
    max-width: 100%;
}
.container {
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(4, 18, 39, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand img {
    width: 210px;
    height: auto;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}
.site-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 31px 0 26px;
    border-bottom: 4px solid transparent;
    opacity: 0.94;
}
.site-nav a.active,
.site-nav a:hover {
    border-color: var(--blue);
    opacity: 1;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 9px;
    padding: 14px 24px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.22s ease;
}
.button.primary {
    background: linear-gradient(135deg, #1577ff, #54a7ff);
    color: #fff;
    box-shadow: 0 12px 26px rgba(19, 119, 255, 0.28);
}
.button.primary:hover {
    transform: translateY(-1px);
}
.button.secondary {
    border-color: #6b86ad;
    color: #fff;
    background: rgba(6, 24, 48, 0.18);
}
.button.outline {
    border-color: #2b82ee;
    color: #1d72dd;
    background: #fff;
}
.button.small {
    padding: 11px 19px;
}
.menu-toggle,
.mobile-drawer {
    display: none;
}

.hero,
.page-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}
.hero {
    background:
        url("../images/hero-racks.jpg") right center/62% auto no-repeat,
        var(--navy);
}
.page-hero {
    background:
        url("../images/infrastructure-hero.jpg") right center/62% auto no-repeat,
        var(--navy);
    padding: 78px 0 82px;
}
.page-hero.about-hero {
    background-image: url("../images/about-hero.jpg");
}
.page-hero.clients-hero {
    background-image: url("../images/clients-hero.jpg");
}
.page-hero.contact-hero {
    background-image: url("../images/contact-hero.jpg");
}
.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 58%;
    background: linear-gradient(
        90deg,
        rgba(4, 18, 39, 0.98) 0%,
        rgba(6, 24, 48, 0.96) 58%,
        rgba(6, 24, 48, 0.68) 82%,
        rgba(6, 24, 48, 0.28) 100%
    );
}
.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    left: 36px;
    top: 102px;
    width: 170px;
    height: 170px;
    border: 8px solid rgba(71, 113, 195, 0.14);
    clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%);
}
.hero-inner {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-copy,
.page-hero .container {
    position: relative;
    z-index: 1;
}
.hero-copy {
    width: 54%;
    padding: 70px 0;
}
.hero h1,
.page-hero h1 {
    font-size: clamp(46px, 5.3vw, 72px);
    line-height: 1.04;
    margin: 0 0 22px;
    letter-spacing: -2px;
    font-weight: 800;
}
.hero h1 span {
    color: #2f8dff;
}
.hero p,
.page-hero p {
    font-size: 17px;
    color: #d9e6f6;
    max-width: 580px;
    margin: 0;
}
.hero .location,
.page-hero .location {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2f97ff;
    margin: 32px 0 0;
    font-size: 14px;
    font-weight: 500;
}
.location::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/icons/pin.svg") center/contain no-repeat;
    display: inline-block;
    filter: brightness(1.1);
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
}
.page-hero .eyebrow {
    display: block;
    margin-bottom: 14px;
}
.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 0 36px;
}
.feature-strip article {
    text-align: center;
    padding: 0 26px;
    border-right: 1px solid var(--line);
}
.feature-strip article:last-child {
    border-right: 0;
}
.feature-strip h3 {
    margin: 12px 0 10px;
    font-size: 17px;
}
.feature-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.62;
}
.icon-hex {
    width: 74px;
    height: 74px;
    margin: 0 auto;
}
.icon-hex img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.icon-plain {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}
.icon-plain img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.section {
    padding: 78px 0;
}
.section.soft {
    background: #fafbfd;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}
.eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1f79ed;
    font-weight: 800;
}
.why-grid {
    display: grid;
    grid-template-columns: 1.02fr 1.28fr;
    gap: 62px;
    align-items: start;
}
.why-grid h2,
.section h2 {
    font-size: 54px;
    line-height: 1.06;
    margin: 12px 0 18px;
    letter-spacing: -1.4px;
}
.lead {
    font-size: 16px;
    color: var(--muted);
}
.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid transparent;
}
.mini {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding: 18px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.mini:nth-child(2n) {
    border-right: 0;
}
.mini:nth-last-child(-n + 2) {
    border-bottom: 0;
}
.mini h3 {
    font-size: 15px;
    margin: 0 0 4px;
}
.mini p {
    font-size: 14px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.operation-banner {
    display: grid;
    grid-template-columns: 1.05fr 1.45fr;
    align-items: stretch;
    background: linear-gradient(100deg, #06172f, #0a2c5a);
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
}

/*
 * The source JPG contains blank pixels around the photograph. Wrapping the
 * image gives us a clipping boundary so it can be slightly enlarged without
 * spilling into the text panel.
 */
.operation-image {
    position: relative;
    min-height: 196px;
    overflow: hidden;
}

.operation-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: left bottom;
    transform: scale(1.14);
    transform-origin: left bottom;
}
.operation-copy {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 30px 38px;
}
.operation-copy .icon-hex {
    width: 86px;
    height: 86px;
    margin: 0;
}
.operation-copy h2 {
    margin: 4px 0 6px;
    color: #fff;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1px;
}
.operation-copy p {
    margin: 0;
    color: #d2e2f7;
    max-width: 460px;
}
.content-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 42px;
}
.cap-list {
    display: grid;
}
.cap {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 22px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
}
.cap:last-child {
    border-bottom: 0;
}
.cap h3 {
    margin: 0 0 5px;
    font-size: 18px;
}
.cap p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.cap .icon-hex {
    width: 60px;
    height: 60px;
    margin: 0;
}
.photo-stack {
    display: grid;
    gap: 14px;
}
.photo-stack img {
    width: 100%;
    height: 102px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(9, 27, 58, 0.06);
}
.trust-strip {
    background: #f7f9fc;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 26px 0;
    border-top: 1px solid #eef2f6;
}
.trust-strip article {
    text-align: center;
    padding: 0 18px;
    border-right: 1px solid var(--line);
}
.trust-strip article:last-child {
    border-right: 0;
}
.trust-strip .icon-hex {
    width: 52px;
    height: 52px;
    margin: 0 auto 6px;
}
.trust-strip h3 {
    font-size: 14px;
    margin: 8px 0 4px;
}
.trust-strip p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.cta {
    background: linear-gradient(100deg, #06172f, #0b3168);
    color: #fff;
    border-radius: 10px;
    padding: 24px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.cta h2 {
    font-size: 23px;
    margin: 0 0 4px;
    line-height: 1.18;
    letter-spacing: -0.6px;
}
.cta p {
    margin: 0;
    color: #d5e5fa;
    max-width: 620px;
}
.site-footer {
    background: #06152b;
    color: #c8d4e5;
    margin-top: 0;
    padding: 38px 0 16px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, 1fr);
    gap: 36px;
}
.footer-brand img {
    width: 200px;
    margin-bottom: 10px;
}
.site-footer h4 {
    color: #fff;
    margin: 0 0 10px;
}
.site-footer a {
    display: block;
    margin: 6px 0;
    font-size: 13px;
}
.site-footer p {
    font-size: 13px;
    line-height: 1.7;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.grid-3,
.grid-2,
.grid-4 {
    display: grid;
    gap: 24px;
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.card,
.panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(9, 27, 58, 0.04);
}
.card p,
.panel p,
.list-item span {
    color: var(--muted);
}
.list {
    display: grid;
    gap: 12px;
}
.list-item {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.list-item strong {
    display: block;
    margin-bottom: 4px;
}
.logo-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.client-chip {
    text-align: center;
    border: 1px solid var(--line);
    padding: 25px 10px;
    border-radius: 10px;
    font-weight: 800;
    background: #fff;
    box-shadow: 0 10px 24px rgba(9, 27, 58, 0.03);
}
.client-chip span {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
    margin-top: 5px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 32px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
label {
    display: block;
    font-weight: 700;
    margin: 8px 0 5px;
}
input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cfd9e6;
    border-radius: 8px;
    font: inherit;
}
textarea {
    min-height: 140px;
}
.card.dark {
    background: #071a38;
    color: #fff;
}
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.table th,
.table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.table thead th {
    background: #f7f9fc;
}
.media-stack,
.media-gallery {
    display: grid;
    gap: 16px;
}
.media-stack img,
.media-gallery img {
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(9, 27, 58, 0.08);
}
.notice,
.stat-box {
    background: #f4f8fd;
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 10px;
}
.stat-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}
.stat-box strong {
    display: block;
    font-size: 22px;
}
.inline-photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(9, 27, 58, 0.08);
}
.icon-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.icon-card .icon-plain {
    margin-top: 2px;
}
.contact-list {
    display: grid;
    gap: 12px;
}
.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-item .icon-plain {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}
.smallprint {
    font-size: 14px;
    color: var(--muted);
}
.footer-bottom > span:last-child {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.footer-bottom > span:last-child a {
    display: inline-block;
}

/* Prevent fixed header from covering anchored sections */


section[id],
div[id] {
    scroll-margin-top: 130px;
}

@media (max-width: 980px) {
    .site-nav,
    .nav-actions .button {
        display: none;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid #6683a8;
        color: #fff;
        border-radius: 8px;
        padding: 8px 12px;
    }
    .nav-wrap {
        position: relative;
    }
    .nav-open .mobile-drawer {
        display: block;
    }
    .mobile-drawer {
        position: absolute;
        left: 0;
        right: 0;
        top: 86px;
        background: #06152b;
        padding: 15px;
    }
    .mobile-drawer a {
        display: block;
        color: #fff;
        padding: 11px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero,
    .page-hero,
    .page-hero.about-hero,
    .page-hero.clients-hero,
    .page-hero.contact-hero {
        background-size: cover;
        background-position: center;
    }
    .hero::before,
    .page-hero::before {
        width: 100%;
        background: linear-gradient(90deg, rgba(4, 18, 39, 0.88), rgba(4, 18, 39, 0.8));
    }
    .hero-copy {
        width: 100%;
    }
    .feature-strip,
    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }
    .feature-strip article,
    .trust-strip article {
        border-bottom: 1px solid var(--line);
    }
    .why-grid,
    .content-grid,
    .operation-banner,
    .footer-grid,
    .contact-grid,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .logo-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-hero {
        padding: 68px 0 74px;
    }
    .hero-inner {
        min-height: 560px;
    }
    .hero::after,
    .page-hero::after {
        opacity: 0.5;
        left: 22px;
        top: 96px;
    }
    .operation-banner {
        grid-template-columns: 1fr;
    }
    .operation-image {
        height: 240px;
        min-height: 240px;
    }
}
@media (max-width: 640px) {
    .container {
        width: min(var(--max), calc(100% - 24px));
    }
    .hero h1,
    .page-hero h1,
    .why-grid h2,
    .section h2 {
        font-size: 40px;
    }
    .feature-strip,
    .trust-strip,
    .mini-grid,
    .grid-4,
    .form-row,
    .stat-block {
        grid-template-columns: 1fr;
    }
    .feature-strip article,
    .trust-strip article,
    .mini {
        border-right: 0;
    }
    .hero-actions,
    .cta,
    .operation-copy {
        flex-direction: column;
        align-items: flex-start;
    }
    .operation-copy .icon-hex {
        width: 72px;
        height: 72px;
    }
    .logo-row {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .page-hero p,
    .hero p {
        font-size: 16px;
    }
}

/* Cloudize contact form helpers */
.form-status {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}

.form-status.success {
    background: #eaf7ef;
    border: 1px solid #86c99b;
    color: #14532d;
}

.form-status.error {
    background: #fff1f1;
    border: 1px solid #e6a1a7;
    color: #842029;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Cloudize submission modal */
body.modal-open {
    overflow: hidden;
}

.submission-modal[hidden] {
    display: none;
}

.submission-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.submission-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 15, 29, 0.78);
    backdrop-filter: blur(4px);
}

.submission-modal-dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 2.25rem;
    border: 1px solid rgba(101, 178, 255, 0.35);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    text-align: center;
    animation: submission-modal-enter 0.22s ease-out;
}

.submission-modal-dialog h2 {
    margin: 0.8rem 0 0.6rem;
    color: #071426;
}

.submission-modal-dialog p {
    margin: 0 0 1.5rem;
    color: #526174;
    line-height: 1.65;
}

.submission-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: #eaf7ef;
    color: #198754;
    font-size: 2rem;
    font-weight: 800;
}

.submission-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    border: 0;
    background: transparent;
    color: #526174;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.submission-modal-close:hover {
    color: #071426;
}

@keyframes submission-modal-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
