:root {
    --sr-blue: #0099ff;
    --sr-blue-dark: #007acc;
    --sr-blue-light: #80ccff;
    --sr-dark: #313533;
    --sr-dark-2: #222625;
    --sr-white: #ffffff;
    --sr-light: #f4f9fd;
    --sr-border: #dceaf4;
    --sr-text: #313533;
    --sr-muted: #66717a;
    --sr-shadow: 0 18px 55px rgba(34, 38, 37, .10);
    --sr-radius: 18px;
    --sr-max: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(34, 38, 37, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: auto;
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--sr-blue);
    font-weight: 800;
}

.brand-text {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: rgba(255,255,255,.80);
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav .nav-cta { color: #fff; background: var(--sr-blue); margin-left: 7px; }
.main-nav .nav-cta:hover { background: var(--sr-blue-dark); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.15);
    background: transparent;
    color: #fff;
    border-radius: 10px;
}

.icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 30%, rgba(0,153,255,.20), transparent 28%),
        linear-gradient(135deg, #222625 0%, #313533 55%, #202523 100%);
    min-height: 690px;
    display: flex;
    align-items: center;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}

.hero-glow-one {
    width: 420px;
    height: 420px;
    right: -150px;
    top: -160px;
    border: 1px solid rgba(0,153,255,.22);
}

.hero-glow-two {
    width: 260px;
    height: 260px;
    left: -140px;
    bottom: -120px;
    border: 1px solid rgba(128,204,255,.12);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 65px;
    align-items: center;
    padding: 82px 0 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--sr-blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 22px;
    height: 2px;
    background: currentColor;
    display: inline-block;
}

.eyebrow.dark { color: var(--sr-blue-dark); }

.hero h1 {
    max-width: 720px;
    margin: 18px 0 20px;
    font-size: clamp(43px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 0 13px;
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.45;
}

.hero-text {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 19px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
    color: #fff;
    background: var(--sr-blue);
    box-shadow: 0 12px 30px rgba(0,153,255,.24);
}

.btn-primary:hover { background: var(--sr-blue-dark); }

.btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.04);
}

.btn-ghost:hover { background: rgba(255,255,255,.09); }

.btn-white { color: var(--sr-dark); background: #fff; }

.btn-small {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 13px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 700;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust .icon {
    width: 15px;
    height: 15px;
    color: var(--sr-blue-light);
}

.hero-visual {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
}

.hero-device {
    width: min(100%, 550px);
    border-radius: 18px;
    padding: 9px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.hero-device img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    object-position: top;
    border-radius: 11px;
    background: #fff;
}

.dashboard-placeholder {
    height: 365px;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    background: #f7fbff;
}

.placeholder-top {
    height: 42px;
    background: var(--sr-blue);
}

.placeholder-sidebar {
    position: absolute;
    left: 0;
    top: 42px;
    bottom: 0;
    width: 110px;
    background: #26302e;
}

.placeholder-content {
    margin-left: 135px;
    padding: 30px;
}

.placeholder-content > span {
    display: block;
    width: 72%;
    height: 13px;
    background: #d7e9f6;
    margin-bottom: 14px;
    border-radius: 7px;
}

.placeholder-cards {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.placeholder-cards i {
    width: 30%;
    height: 100px;
    background: #e5f2fb;
    border-radius: 12px;
}

.network-node {
    position: absolute;
    padding: 8px 12px;
    color: #fff;
    background: rgba(0,153,255,.92);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.node-one { left: 0; top: 70px; }
.node-two { right: 0; top: 155px; }
.node-three { right: 22px; bottom: 65px; }

.section {
    padding: 105px 0;
}

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

.section-heading {
    max-width: 720px;
    margin-bottom: 46px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 14px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

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

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

.feature-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    box-shadow: 0 8px 28px rgba(34,38,37,.04);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--sr-blue-dark);
    background: #eaf6ff;
    border-radius: 13px;
}

.feature-card h3,
.module-card h3,
.protocol-card h3,
.application-body h3 {
    margin: 20px 0 8px;
    font-size: 19px;
}

.feature-card p,
.module-card p,
.protocol-card p,
.application-body p {
    margin: 0;
    color: var(--sr-muted);
    font-size: 14px;
}

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

.module-card {
    position: relative;
    min-height: 235px;
    padding: 31px;
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    background: #fff;
    overflow: hidden;
}

.module-number {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #dcecf7;
    font-size: 42px;
    font-weight: 800;
}

.module-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    color: var(--sr-blue);
    border: 1px solid #bfe5fb;
    border-radius: 12px;
}

.network-section {
    color: #fff;
    background: var(--sr-dark);
}

.network-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.network-copy h2,
.smartolt-grid h2 {
    margin: 15px 0;
    font-size: clamp(34px, 4vw, 51px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.network-copy p { color: rgba(255,255,255,.67); }

.network-copy .lead,
.smartolt-grid .lead {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
}

.integration-list {
    margin-top: 32px;
    display: grid;
    gap: 14px;
}

.integration-item {
    display: flex;
    gap: 14px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.04);
    border-radius: 13px;
}

.integration-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--sr-blue-light);
    background: rgba(0,153,255,.10);
    border-radius: 10px;
}

.integration-item strong {
    display: block;
    font-size: 14px;
}

.integration-item span {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    margin-top: 3px;
}

.network-diagram {
    padding: 35px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: radial-gradient(circle at 50% 25%, rgba(0,153,255,.11), transparent 42%), rgba(255,255,255,.025);
}

.diagram-card {
    width: min(100%, 330px);
    margin-inline: auto;
    padding: 23px;
    text-align: center;
    border: 1px solid rgba(0,153,255,.35);
    border-radius: 15px;
    background: rgba(0,153,255,.10);
}

.diagram-badge {
    display: block;
    color: var(--sr-blue-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 6px;
}

.diagram-card strong { font-size: 16px; }

.diagram-line {
    width: 1px;
    background: rgba(128,204,255,.4);
}

.diagram-line.vertical {
    height: 38px;
    margin-inline: auto;
}

.diagram-apis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.diagram-api {
    min-height: 90px;
    display: grid;
    place-items: center;
    gap: 7px;
    padding: 13px;
    text-align: center;
    color: var(--sr-blue-light);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
}

.diagram-api span {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.diagram-targets {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
}

.diagram-targets span {
    padding: 9px 13px;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.06);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.protocol-card {
    padding: 35px;
    border-radius: var(--sr-radius);
    background: #fff;
    border: 1px solid var(--sr-border);
    transition: .2s ease;
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sr-shadow);
}

.protocol-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--sr-blue);
    border-radius: 15px;
    background: #eaf6ff;
}

.protocol-link {
    display: block;
    margin-top: 20px;
    color: var(--sr-blue-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.smartolt-section {
    background: linear-gradient(135deg, #262b29, #313533);
    color: #fff;
}

.smartolt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.smartolt-grid p { color: rgba(255,255,255,.65); }

.api-card {
    padding: 25px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.05);
    box-shadow: 0 25px 60px rgba(0,0,0,.20);
}

.api-card-top {
    color: var(--sr-blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.api-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sr-blue);
    margin-right: 7px;
}

.api-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 34px 0;
}

.api-box {
    flex: 1;
    padding: 22px 10px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.06);
    font-size: 10px;
    line-height: 1.35;
}

.api-box.blue {
    border-color: rgba(0,153,255,.45);
    background: rgba(0,153,255,.12);
}

.api-arrow { color: var(--sr-blue-light); }

.api-footer {
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.52);
    font-size: 11px;
    text-align: center;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.application-card {
    overflow: hidden;
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    background: #fff;
}

.application-featured {
    border-color: #a7dcfa;
    box-shadow: 0 12px 35px rgba(0,153,255,.09);
}

.application-image {
    min-height: 235px;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #edf6fc;
}

.application-image img {
    max-height: 235px;
    object-fit: contain;
    border-radius: 8px;
}

.application-placeholder {
    text-align: center;
    color: var(--sr-blue);
}

.application-placeholder .icon {
    width: 58px;
    height: 58px;
    margin-inline: auto;
}

.application-placeholder span {
    display: block;
    margin-top: 10px;
    color: var(--sr-muted);
    font-size: 11px;
    font-weight: 800;
}

.application-body { padding: 25px; }

.app-type {
    color: var(--sr-blue-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.application-body .btn { margin-top: 18px; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--sr-blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.screenshots-section { background: #fff; }

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.screenshot-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    background: #fff;
}

.screenshot-image {
    min-height: 250px;
    background: #eaf3f9;
    display: grid;
    place-items: center;
}

.screenshot-image img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.screenshot-placeholder {
    color: var(--sr-blue);
    text-align: center;
}

.screenshot-placeholder .icon {
    width: 50px;
    height: 50px;
    display: block;
    margin: auto;
}

.screenshot-placeholder span {
    display: block;
    margin-top: 9px;
    font-size: 10px;
    font-weight: 800;
}

.screenshot-card figcaption { padding: 20px; }

.screenshot-card figcaption span {
    display: block;
    color: var(--sr-blue-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.screenshot-card figcaption strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
}

.screenshot-card figcaption small {
    display: block;
    margin-top: 4px;
    color: var(--sr-muted);
    font-size: 11px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.client-card {
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid var(--sr-border);
    border-radius: 14px;
    background: #fff;
    transition: .2s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(34,38,37,.08);
}

.client-card img {
    max-width: 170px;
    max-height: 60px;
    object-fit: contain;
}

.client-card strong { font-size: 13px; }

.faq-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--sr-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .icon { transition: transform .2s ease; }

.faq-item[open] summary .icon { transform: rotate(180deg); }

.faq-answer {
    padding: 0 20px 20px;
    color: var(--sr-muted);
    font-size: 13px;
}

.cta-section {
    padding: 65px 0;
    color: #fff;
    background: var(--sr-blue);
}

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

.cta-inner h2 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.1;
}

.cta-inner p {
    margin: 0;
    color: rgba(255,255,255,.80);
}

.contact-section { padding: 85px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-grid h2 {
    margin: 13px 0;
    font-size: 39px;
    line-height: 1.1;
}

.contact-grid > div > p {
    max-width: 570px;
    color: var(--sr-muted);
}

.contact-cards {
    display: grid;
    gap: 12px;
}

.contact-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--sr-border);
    border-radius: 13px;
    background: var(--sr-light);
}

.contact-card > .icon {
    color: var(--sr-blue);
    margin-top: 2px;
}

.contact-card span {
    display: block;
    color: var(--sr-muted);
    font-size: 11px;
}

.contact-card a {
    display: block;
    margin-top: 2px;
    color: var(--sr-dark);
    font-size: 13px;
    font-weight: 700;
}

.site-footer {
    color: rgba(255,255,255,.65);
    background: var(--sr-dark-2);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 70px;
    padding: 65px 0;
}

.footer-logo {
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 390px;
    margin-top: 18px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 13px;
}

.footer-links a { font-size: 12px; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--sr-blue);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top .icon { transform: rotate(-90deg); }

@media (max-width: 1050px) {
    .main-nav { gap: 0; }
    .main-nav a {
        padding-inline: 8px;
        font-size: 12px;
    }

    .hero-grid { gap: 35px; }

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

    .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 14px;
        background: #222625;
        box-shadow: 0 20px 50px rgba(0,0,0,.25);
    }

    .main-nav.is-open { display: flex; }

    .main-nav a { padding: 12px; }

    .main-nav .nav-cta {
        margin: 5px 0 0;
        text-align: center;
    }

    .hero-grid,
    .network-grid,
    .smartolt-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero { min-height: auto; }

    .hero-grid { padding: 70px 0; }

    .hero-visual { min-height: 370px; }

    .hero-device { transform: none; }

    .network-grid,
    .smartolt-grid,
    .contact-grid,
    .faq-grid {
        gap: 40px;
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand { grid-column: 1 / -1; }
}

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

    .nav-wrap { min-height: 68px; }

    .brand-logo {
        max-width: 155px;
        max-height: 45px;
    }

    .brand-text { font-size: 11px; }

    .section { padding: 75px 0; }

    .hero-grid { padding: 60px 0 70px; }

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

    .hero-subtitle { font-size: 18px; }

    .hero-visual { min-height: 300px; }

    .network-node { display: none; }

    .feature-grid,
    .module-grid,
    .protocol-grid,
    .application-grid,
    .screenshots-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .diagram-apis { grid-template-columns: 1fr; }

    .api-flow { flex-direction: column; }

    .api-box { width: 100%; }

    .api-arrow { transform: rotate(90deg); }

    .footer-top { grid-template-columns: 1fr; }

    .footer-brand { grid-column: auto; }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }
}

/* =========================================================
   SMART - ROUTERBOARD
   FOOTER
   ========================================================= */

footer {
    background: var(--sr-dark-2);
    color: rgba(255,255,255,.82);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(220px, 1fr);
    gap: 60px;
    align-items: start;
}

.footer-grid > div {
    min-width: 0;
}

.footer-grid > div:first-child {
    padding-right: 30px;
}

.footer-logo {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 65px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 22px;
}

.footer-grid p {
    margin: 0;
    max-width: 470px;
    color: rgba(255,255,255,.68);
    line-height: 1.7;
    font-size: 15px;
}

.footer-grid b {
    display: block;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-grid a {
    display: block;
    width: fit-content;
    margin-bottom: 11px;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color .2s ease, transform .2s ease;
}

.footer-grid a:hover {
    color: var(--sr-blue-light);
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: 55px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.48);
    font-size: 13px;
}

/* Footer tablet */
@media (max-width: 820px) {

    footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
    }

}

/* Footer móvil */
@media (max-width: 580px) {

    footer {
        padding-top: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-logo {
        max-width: 200px;
        max-height: 58px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding: 18px 0;
    }

}

/* FIX FINAL FOOTER */
footer .footer-grid a {
    display: block !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 11px 0;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

footer .footer-grid b {
    display: block !important;
    margin-bottom: 18px;
    color: #ffffff;
}

footer .footer-grid {
    min-width: 0;
}

footer .footer-grid > div {
    min-width: 0;
    overflow: hidden;
}

footer .footer-grid > div:first-child {
    min-width: 0;
}

footer .footer-grid a:hover {
    color: var(--sr-blue-light);
}

@media (max-width: 820px) {
    footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    footer .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* FIX FOOTER - 2026 */
footer .footer-grid a {
    display: block !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 11px 0;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

footer .footer-grid b {
    display: block !important;
    margin-bottom: 18px;
    color: #ffffff;
}

footer .footer-grid {
    min-width: 0;
}

footer .footer-grid > div {
    min-width: 0;
    overflow: hidden;
}

footer .footer-grid a:hover {
    color: var(--sr-blue-light);
}

@media (max-width: 820px) {
    footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    footer .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   FOOTER - ESTRUCTURA FINAL
   ========================================================= */

footer .footer-grid > div:nth-child(2),
footer .footer-grid > div:nth-child(3) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

footer .footer-grid > div:nth-child(2) b,
footer .footer-grid > div:nth-child(3) b {
    display: block !important;
    width: 100%;
    margin-bottom: 18px;
}

footer .footer-grid > div:nth-child(2) a,
footer .footer-grid > div:nth-child(3) a {
    display: block !important;
    width: fit-content !important;
    max-width: 100%;
    margin: 0 0 11px 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.5;
}


/* =========================================================
   FOOTER REAL - .footer-top
   ========================================================= */

footer .footer-top {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(220px, 1fr);
    gap: 60px;
    align-items: start;
}

footer .footer-top > div {
    min-width: 0;
}

footer .footer-top > div:nth-child(2),
footer .footer-top > div:nth-child(3) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-width: 0;
}

footer .footer-top > div:nth-child(2) b,
footer .footer-top > div:nth-child(3) b {
    display: block !important;
    width: 100%;
    margin-bottom: 18px;
}

footer .footer-top > div:nth-child(2) a,
footer .footer-top > div:nth-child(3) a {
    display: block !important;
    width: fit-content !important;
    max-width: 100%;
    margin: 0 0 11px 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.5;
}

footer .footer-top > div:first-child {
    padding-right: 30px;
}

@media (max-width: 820px) {
    footer .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    footer .footer-top > div:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 580px) {
    footer .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    footer .footer-top > div:first-child {
        grid-column: auto;
    }
}

/* =========================================================
   CONTACTO - FORMULARIO
   ========================================================= */

.contact {
    padding: 90px 0;
    background: var(--sr-light);
}

.contact .two-col {
    align-items: stretch;
    gap: 55px;
}

.contact .eyebrow.dark {
    margin-bottom: 18px;
}

.contact h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    color: var(--sr-dark);
}

.contact > .container > div:first-child > p {
    max-width: 560px;
    margin: 0;
    color: var(--sr-muted);
    font-size: 17px;
    line-height: 1.75;
}


/* Información de contacto */

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 35px;
    max-width: 560px;
}

.contact-list > div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 18px;
    background: var(--sr-white);
    border: 1px solid var(--sr-border);
    border-radius: 14px;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.contact-list > div:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 153, 255, .30);
    box-shadow: 0 10px 30px rgba(49, 53, 51, .08);
}

.contact-list > div > svg {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--sr-blue);
    background: rgba(0, 153, 255, .09);
    border-radius: 11px;
}

.contact-list small {
    display: block;
    margin-bottom: 3px;
    color: var(--sr-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-list a {
    color: var(--sr-dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.contact-list a:hover {
    color: var(--sr-blue-dark);
}


/* Tarjeta del formulario */

.contact-form-card {
    padding: 38px;
    background: var(--sr-white);
    border: 1px solid var(--sr-border);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(49, 53, 51, .09);
}

.form-heading {
    margin-bottom: 27px;
}

.form-heading small {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--sr-blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.form-heading h3 {
    margin: 0 0 9px;
    color: var(--sr-dark);
    font-size: 27px;
    line-height: 1.2;
}

.form-heading p {
    margin: 0;
    color: var(--sr-muted);
    font-size: 14px;
    line-height: 1.65;
}


/* Alertas */

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.5;
}

.form-alert svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.form-alert-success {
    color: #17643a;
    background: #eefaf3;
    border: 1px solid #ccebd9;
}

.form-alert-error {
    color: #9b3030;
    background: #fff2f2;
    border: 1px solid #f1cccc;
}


/* Formulario */

.contact-form {
    display: grid;
    gap: 19px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    color: var(--sr-dark);
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    color: var(--sr-dark);
    background: #fbfdff;
    border: 1px solid #cfdde7;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.form-field input,
.form-field select {
    min-height: 47px;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.55;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9aa8b2;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: #aebfcb;
    background: var(--sr-white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--sr-blue);
    background: var(--sr-white);
    box-shadow: 0 0 0 4px rgba(0, 153, 255, .11);
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 3px;
    min-height: 50px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

.form-submit svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   CONTACTO - RESPONSIVE
   ========================================================= */

@media (max-width: 820px) {

    .contact {
        padding: 75px 0;
    }

    .contact .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-list {
        max-width: none;
    }

    .contact-form-card {
        padding: 30px;
    }
}


@media (max-width: 580px) {

    .contact {
        padding: 65px 0;
    }

    .contact h2 {
        font-size: 34px;
    }

    .contact-list {
        margin-top: 28px;
    }

    .contact-list > div {
        padding: 14px;
    }

    .contact-form-card {
        padding: 23px 19px;
        border-radius: 17px;
    }

    .form-heading h3 {
        font-size: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px;
    }

    .form-submit {
        min-height: 52px;
    }
}

/* =========================================================
   reCAPTCHA
   ========================================================= */

.recaptcha-container {
    margin: 8px 0 22px;
    display: flex;
    justify-content: flex-start;
}

.recaptcha-container .g-recaptcha {
    max-width: 100%;
}

@media (max-width: 420px) {
    .recaptcha-container {
        transform: scale(0.9);
        transform-origin: left top;
        margin-bottom: 8px;
    }
}