:root {
    --csmx-ink: #071a33;
    --csmx-muted: #5d6d7e;
    --csmx-line: #dbe6f1;
    --csmx-blue: #006ee6;
    --csmx-cyan: #00c8f4;
    --csmx-navy: #061b36;
    --csmx-amber: #ff9f1c;
    --csmx-surface: #f4f8fc;
    --csmx-white: #ffffff;
    --csmx-shadow: 0 22px 60px rgba(5, 35, 73, .11);
}

.csmx-corporate-site .container-fluid.container-header,
.csmx-corporate-site .navbar {
    border-bottom-color: rgba(16, 71, 127, .08);
}

.csmx-corporate-site .navbar-logo img {
    width: 84px;
    height: 50px;
    max-height: 50px;
    object-fit: contain;
}

.csmx-corporate-site .navbar-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    width: auto;
    color: var(--csmx-ink);
    text-decoration: none;
}

.csmx-corporate-site .navbar-logo::after {
    content: "GLOBAL FIBER\A CONNECT";
    display: block;
    white-space: pre-line;
    color: var(--csmx-ink);
    font-size: 15px;
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.02em;
}

.dark-theme.csmx-corporate-site .navbar-logo::after,
.csmx-corporate-site.dark-theme .navbar-logo::after {
    color: #f4f9ff;
}

.csmx-main {
    overflow: hidden;
    color: var(--csmx-ink);
    background: var(--csmx-white);
}

.csmx-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.csmx-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 28%, rgba(0, 200, 244, .17), transparent 28%),
        radial-gradient(circle at 5% 90%, rgba(0, 110, 230, .1), transparent 30%),
        linear-gradient(145deg, #f8fbff 0%, #eef7ff 52%, #ffffff 100%);
}

.csmx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 75, 150, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 75, 150, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    pointer-events: none;
}

.csmx-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 64px;
    padding: 86px 0 96px;
}

.csmx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--csmx-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.csmx-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--csmx-blue), var(--csmx-cyan));
}

.csmx-hero h1,
.csmx-section h2,
.csmx-page-hero h1,
.csmx-cta h2 {
    margin: 0;
    color: var(--csmx-ink);
    font-weight: 800;
    letter-spacing: -.04em;
}

.csmx-hero h1 {
    max-width: 720px;
    font-size: clamp(46px, 5.3vw, 76px);
    line-height: 1.02;
}

.csmx-hero-copy > p {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--csmx-muted);
    font-size: 18px;
    line-height: 1.8;
}

.csmx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.csmx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.csmx-button:hover {
    transform: translateY(-2px);
}

.csmx-button-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--csmx-blue), #0356bb);
    box-shadow: 0 12px 30px rgba(0, 92, 200, .25);
}

.csmx-button-ghost {
    color: var(--csmx-ink) !important;
    border-color: #b8cbe0;
    background: rgba(255, 255, 255, .68);
}

.csmx-contact-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    color: #6b7f94;
    font-size: 13px;
}

.csmx-contact-line a { color: inherit; }

.csmx-hero-mark {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.csmx-hero-mark img {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    height: auto;
    filter: drop-shadow(0 24px 26px rgba(0, 55, 120, .22));
}

.csmx-mark-halo {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 110, 230, .22);
    border-radius: 50%;
    box-shadow: inset 0 0 80px rgba(0, 200, 244, .08);
}

.csmx-mark-halo::before,
.csmx-mark-halo::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(0, 110, 230, .12);
    border-radius: 50%;
}

.csmx-mark-halo::before { inset: 40px; }
.csmx-mark-halo::after { inset: 95px; }

.csmx-signal-card {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 32px;
    width: 235px;
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--csmx-shadow);
    backdrop-filter: blur(14px);
}

.csmx-signal-card span,
.csmx-signal-card strong { display: block; }
.csmx-signal-card span { color: var(--csmx-blue); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.csmx-signal-card strong { margin-top: 5px; font-size: 14px; }

.csmx-orbit { position: absolute; border: 1px solid rgba(0, 110, 230, .1); border-radius: 50%; }
.csmx-orbit-one { width: 620px; height: 620px; right: -310px; top: -180px; }
.csmx-orbit-two { width: 360px; height: 360px; left: -220px; bottom: -150px; }

.csmx-section { padding: 104px 0; }
.csmx-products { background: #fff; }

.csmx-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 44px;
    margin-bottom: 46px;
}

.csmx-section h2,
.csmx-cta h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }

.csmx-section-heading > p {
    width: min(420px, 100%);
    margin: 0;
    color: var(--csmx-muted);
    line-height: 1.75;
}

.csmx-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.csmx-product-card {
    position: relative;
    min-height: 290px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--csmx-line);
    border-radius: 13px;
    color: var(--csmx-ink) !important;
    background: linear-gradient(155deg, #fff, #f6faff);
    text-decoration: none !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.csmx-product-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -55px;
    bottom: -60px;
    border: 20px solid rgba(0, 110, 230, .06);
    border-radius: 50%;
}

.csmx-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 110, 230, .38);
    box-shadow: 0 20px 45px rgba(5, 35, 73, .1);
}

.csmx-product-code {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, var(--csmx-blue), var(--csmx-cyan));
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.csmx-product-card h3 { margin: 28px 0 11px; font-size: 22px; }
.csmx-product-card p { margin: 0; color: var(--csmx-muted); line-height: 1.7; }
.csmx-card-link { position: absolute; left: 30px; bottom: 25px; color: var(--csmx-blue); font-size: 13px; font-weight: 800; }

.csmx-process {
    color: #fff;
    background: var(--csmx-navy);
}

.csmx-process-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 86px;
    align-items: center;
}

.csmx-process h2 { color: #fff; }
.csmx-process-copy > p { margin: 24px 0; color: #a9bdd2; font-size: 16px; line-height: 1.8; }
.csmx-text-link { color: #63ddff !important; font-weight: 800; }

.csmx-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .13); }
.csmx-steps li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.csmx-steps li > span { color: var(--csmx-cyan); font-family: monospace; font-size: 13px; }
.csmx-steps strong { color: #fff; font-size: 17px; }
.csmx-steps p { margin: 4px 0 0; color: #91a8bf; }

.csmx-applications { background: var(--csmx-surface); }
.csmx-application-row { display: flex; flex-wrap: wrap; gap: 12px; }
.csmx-application-row span { padding: 14px 18px; border: 1px solid #cbdbea; border-radius: 6px; color: #274866; background: #fff; font-weight: 700; }

.csmx-cta { padding: 72px 0; color: #fff; background: linear-gradient(120deg, #006ee6, #00469b 70%, #052d58); }
.csmx-cta .csmx-eyebrow { color: #8ceaff; }
.csmx-cta .csmx-eyebrow::before { background: #8ceaff; }
.csmx-cta h2 { color: #fff; }
.csmx-cta p { max-width: 720px; margin: 16px 0 0; color: #d7eaff; }
.csmx-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.csmx-button-light { flex: 0 0 auto; color: var(--csmx-blue) !important; background: #fff; }

.csmx-page-hero { padding: 94px 0 82px; background: linear-gradient(140deg, #eff7ff, #fff); border-bottom: 1px solid var(--csmx-line); }
.csmx-page-hero h1 { max-width: 900px; font-size: clamp(42px, 5vw, 68px); }
.csmx-page-hero p { max-width: 720px; margin: 20px 0 0; color: var(--csmx-muted); font-size: 18px; line-height: 1.75; }
.csmx-page-content { padding-top: 76px; padding-bottom: 92px; font-size: 16px; line-height: 1.8; }
.csmx-page-content h2 { margin: 54px 0 18px; color: var(--csmx-ink); font-size: 34px; letter-spacing: -.025em; }
.csmx-page-content h3 { margin: 35px 0 12px; color: var(--csmx-ink); font-size: 23px; }
.csmx-page-content p { color: #4e6276; }
.csmx-page-content ul { display: grid; gap: 12px; padding-left: 20px; color: #4e6276; }
.csmx-page-content .csmx-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
.csmx-page-content .csmx-info-card { padding: 26px; border: 1px solid var(--csmx-line); border-radius: 12px; background: #f8fbff; }
.csmx-page-content .csmx-info-card h3 { margin-top: 0; }
.csmx-page-content .csmx-spec-table { width: 100%; margin: 28px 0; border-collapse: collapse; }
.csmx-page-content .csmx-spec-table th,
.csmx-page-content .csmx-spec-table td { padding: 15px 16px; border-bottom: 1px solid var(--csmx-line); text-align: left; }
.csmx-page-content .csmx-spec-table th { color: var(--csmx-ink); background: #f2f7fc; }
.csmx-page-cta { margin-top: 0; }

.csmx-whatsapp {
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 7px 17px 7px 8px;
    border-radius: 999px;
    color: #fff !important;
    background: #129c63;
    box-shadow: 0 14px 36px rgba(10, 90, 58, .28);
    text-decoration: none !important;
}
.csmx-whatsapp span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #097a4b; background: #fff; font-size: 10px; font-weight: 900; }

@media (max-width: 980px) {
    .csmx-hero-grid,
    .csmx-process-grid { grid-template-columns: 1fr; }
    .csmx-hero-grid { gap: 20px; }
    .csmx-hero-mark { min-height: 330px; }
    .csmx-product-grid { grid-template-columns: repeat(2, 1fr); }
    .csmx-process-grid { gap: 48px; }
    .csmx-page-content .csmx-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .csmx-wrap { width: min(100% - 28px, 1180px); }
    .csmx-hero { min-height: 0; }
    .csmx-hero-grid { padding: 62px 0 72px; }
    .csmx-hero h1 { font-size: 43px; }
    .csmx-hero-copy > p { font-size: 16px; }
    .csmx-hero-mark { min-height: 260px; }
    .csmx-mark-halo { width: 260px; height: 260px; }
    .csmx-signal-card { right: 0; bottom: 0; width: 205px; }
    .csmx-section { padding: 76px 0; }
    .csmx-section-heading,
    .csmx-cta-inner { align-items: flex-start; flex-direction: column; }
    .csmx-product-grid { grid-template-columns: 1fr; }
    .csmx-product-card { min-height: 265px; }
    .csmx-page-hero { padding: 64px 0 58px; }
    .csmx-page-content { padding-top: 52px; padding-bottom: 66px; }
    .csmx-page-content .csmx-spec-table { display: block; overflow-x: auto; white-space: nowrap; }
    .csmx-whatsapp strong { display: none; }
    .csmx-whatsapp { padding-right: 8px; }
    .csmx-corporate-site .navbar-logo { gap: 6px; }
    .csmx-corporate-site .navbar-logo img { width: 62px; height: 42px; }
    .csmx-corporate-site .navbar-logo::after { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .csmx-button,
    .csmx-product-card { transition: none; }
}
