:root {
    --header-offset: 96px;
    --footer-offset: 84px;
    --bg-0: #06111b;
    --bg-1: #0a1c2b;
    --bg-2: #0f2740;
    --panel: rgba(12, 27, 43, 0.78);
    --panel-strong: rgba(10, 24, 38, 0.92);
    --line: rgba(141, 192, 236, 0.18);
    --line-strong: rgba(141, 192, 236, 0.28);
    --text: #eff7ff;
    --muted: #b5c8da;
    --brand: #18d39e;
    --brand-2: #44b9ff;
    --brand-deep: #0da27a;
    --danger: #ff6b6b;
    --warning: #f8cf63;
    --success: #23cf8a;
    --shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-offset) + 14px);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-offset) + 10px);
    padding-bottom: calc(var(--footer-offset) + 12px);
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 8%, rgba(24, 211, 158, 0.18), transparent 42%),
        radial-gradient(circle at 92% 14%, rgba(68, 185, 255, 0.2), transparent 38%),
        radial-gradient(circle at 50% 100%, rgba(76, 131, 194, 0.16), transparent 55%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, #081524 100%);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.35;
    z-index: -1;
}

a {
    color: inherit;
}

main {
    flex: 1;
}

section[id] {
    scroll-margin-top: calc(var(--header-offset) + 14px);
}

.container {
    max-width: 1180px;
    padding-left: 16px;
    padding-right: 16px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 12px;
    z-index: 1300;
    padding: 8px 12px;
    border-radius: 10px;
    background: #ffffff;
    color: #091a2a;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    text-decoration: none;
}

.site-header .container {
    max-width: 1320px;
}

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    padding: 12px 0;
    background: rgba(4, 11, 18, 0.52);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
}

.header-shell {
    padding: 10px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(14, 26, 40, 0.9), rgba(8, 18, 29, 0.85));
    border: 1px solid rgba(164, 211, 255, 0.12);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
    gap: 12px;
}

.logo img {
    width: auto;
    max-width: 164px;
    max-height: 44px;
}

.navbar-nav .nav-link {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 9px 12px !important;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link.is-active {
    color: #ffffff;
    background: rgba(24, 211, 158, 0.1);
    box-shadow: inset 0 0 0 1px rgba(24, 211, 158, 0.18);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-contact-link {
    white-space: nowrap;
    background: linear-gradient(135deg, var(--brand), #74e7c8);
    color: #052017 !important;
    box-shadow: 0 8px 22px rgba(24, 211, 158, 0.22);
}

.nav-contact-link:hover,
.nav-contact-link:focus {
    background: linear-gradient(135deg, #26e7af, #8cf0d6);
    color: #02130d !important;
}

.custom-toggler {
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #fff;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
}

.custom-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(24, 211, 158, 0.2);
}

.hero-section {
    padding: 24px 0 18px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid rgba(164, 211, 255, 0.14);
    background:
        radial-gradient(circle at 15% 20%, rgba(24, 211, 158, 0.18), transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(68, 185, 255, 0.22), transparent 36%),
        linear-gradient(160deg, rgba(10, 23, 36, 0.96), rgba(8, 19, 31, 0.92));
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: center;
}

.hero-copy {
    position: relative;
}

.hero-inline-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-inline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8f4ff;
    font-weight: 700;
    font-size: 0.88rem;
}

.hero-inline-pill i {
    color: #7ceccf;
}

.hero-scene {
    position: relative;
    min-height: 330px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(circle at 24% 20%, rgba(24, 211, 158, 0.11), transparent 42%),
        radial-gradient(circle at 82% 20%, rgba(68, 185, 255, 0.14), transparent 38%),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 18px;
}

.scene-ring {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    opacity: 0.85;
}

.ring-a {
    width: 220px;
    height: 220px;
    top: 46px;
    right: 34px;
    border-color: rgba(68, 185, 255, 0.18);
}

.ring-b {
    width: 154px;
    height: 154px;
    bottom: 36px;
    left: 34px;
    border-color: rgba(24, 211, 158, 0.16);
}

.floating-card {
    position: absolute;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(18, 34, 52, 0.92), rgba(9, 19, 30, 0.94));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.fc-main {
    top: 20px;
    left: 12px;
    right: 74px;
    min-height: 122px;
    padding: 14px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    animation: floatY 6s ease-in-out infinite;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #90f1dc);
    color: #042118;
    box-shadow: 0 10px 20px rgba(24, 211, 158, 0.25);
}

.floating-card-body {
    display: grid;
    align-content: start;
    gap: 4px;
}

.floating-card-label {
    color: #bcd3e6;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floating-card-body strong {
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.2;
}

.floating-card-body small {
    color: var(--muted);
    line-height: 1.35;
    font-size: 0.84rem;
}

.fc-side {
    top: 138px;
    right: 14px;
    width: min(220px, calc(100% - 28px));
    padding: 12px 13px;
    animation: floatYSlow 7.5s ease-in-out infinite;
}

.fc-bottom {
    left: 32px;
    bottom: 26px;
    width: min(252px, calc(100% - 44px));
    padding: 12px 13px;
    animation: floatY 7.2s ease-in-out infinite reverse;
}

.floating-mini-kpi {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.floating-mini-kpi span {
    color: #b9cee0;
    font-size: 0.82rem;
}

.floating-mini-kpi strong {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
}

.floating-mini-line {
    margin-top: 7px;
    color: #e8f4ff;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-mini-line i {
    color: var(--brand);
}

.floating-progress {
    margin-top: 8px;
}

.floating-progress > span {
    display: block;
    margin-bottom: 6px;
    color: #c7daea;
    font-size: 0.82rem;
}

.floating-progress-track {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.floating-progress-fill {
    width: 74%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), #67d9ff);
    box-shadow: 0 0 16px rgba(24, 211, 158, 0.25);
}

.floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(9, 19, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #eef7ff;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.floating-chip i {
    color: #7ceccf;
}

.chip-a {
    top: 10px;
    right: 18px;
    animation: floatX 6.5s ease-in-out infinite;
}

.chip-b {
    bottom: 102px;
    left: 10px;
    animation: floatX 7.6s ease-in-out infinite reverse;
}

.chip-c {
    right: 32px;
    bottom: 12px;
    animation: floatX 7s ease-in-out infinite;
}

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

.hero-glow-a {
    width: 220px;
    height: 220px;
    right: -40px;
    top: -50px;
    background: rgba(24, 211, 158, 0.5);
}

.hero-glow-b {
    width: 190px;
    height: 190px;
    left: -40px;
    bottom: -70px;
    background: rgba(68, 185, 255, 0.45);
}

.hero-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4f9ee;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-panel h1 {
    margin: 16px 0 12px;
    font-size: clamp(1.8rem, 3.8vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
    max-width: 680px;
    color: #fff;
}

.hero-lead {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
}

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

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-hero:hover,
.btn-hero:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-hero-primary {
    color: #042216;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--brand), #7ceccf);
    box-shadow: 0 12px 26px rgba(24, 211, 158, 0.26);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    color: #03170f;
}

.btn-hero-outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    color: #fff;
    border-color: rgba(24, 211, 158, 0.34);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.hero-stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.stat-card {
    height: 100%;
    min-height: 88px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 24px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-label {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.section-block {
    position: relative;
    padding: 56px 0;
}

.section-head {
    max-width: 920px;
    margin: 0 auto 28px;
}

.section-head h2 {
    margin: 14px 0 12px;
    font-size: clamp(1.45rem, 2.6vw, 2.35rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d6fef2;
    border: 1px solid rgba(24, 211, 158, 0.24);
    background: rgba(24, 211, 158, 0.06);
}

.surface-card {
    border-radius: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 30, 47, 0.82), rgba(9, 19, 31, 0.9));
    box-shadow: var(--shadow-md);
}

.surface-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.surface-card p {
    color: var(--muted);
    margin-bottom: 10px;
}

.tag-cloud {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5f3ff;
    font-weight: 600;
    font-size: 0.9rem;
}

.tag-pill i {
    color: var(--brand);
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: #e8f2fb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list i {
    color: var(--brand);
    margin-top: 4px;
    flex-shrink: 0;
}

.inline-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(24, 211, 158, 0.18);
    background: rgba(24, 211, 158, 0.05);
    color: #d9fff3;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
}

.inline-note i {
    color: var(--brand);
}

.section-cyber {
    background:
        radial-gradient(circle at 18% 10%, rgba(24, 211, 158, 0.08), transparent 35%),
        radial-gradient(circle at 82% 12%, rgba(68, 185, 255, 0.1), transparent 34%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cyber-card {
    height: 100%;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(134, 192, 242, 0.14);
    background: linear-gradient(180deg, rgba(15, 30, 47, 0.88), rgba(8, 18, 29, 0.94));
    box-shadow: var(--shadow-md);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.cyber-card:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 211, 158, 0.26);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.cyber-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: #042217;
    background: linear-gradient(135deg, var(--brand), #8cefd7);
    box-shadow: 0 8px 18px rgba(24, 211, 158, 0.24);
}

.cyber-card h3 {
    margin: 14px 0 8px;
    font-size: 1.06rem;
    color: #fff;
    font-weight: 800;
}

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

.cyber-card ul {
    margin: 0;
    padding-left: 18px;
    color: #d8e9f7;
}

.cyber-card li {
    margin-bottom: 5px;
}

.service-item.solution-card {
    height: 100%;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(134, 192, 242, 0.14);
    background: linear-gradient(180deg, rgba(13, 28, 44, 0.82), rgba(8, 18, 29, 0.9));
    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-item.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(68, 185, 255, 0.26);
}

.solution-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    background: rgba(68, 185, 255, 0.14);
    border: 1px solid rgba(68, 185, 255, 0.18);
    color: #7ad4ff;
    font-size: 1.1rem;
}

.service-item.solution-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

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

#contato {
    background:
        radial-gradient(circle at 14% 8%, rgba(24, 211, 158, 0.07), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(68, 185, 255, 0.08), transparent 30%);
}

.contact-side,
.contact-form-card {
    border-radius: 20px;
}

.contact-side p {
    color: var(--muted);
}

.contact-quick-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 16px;
}

.contact-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #eef7ff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-quick-link span {
    overflow-wrap: anywhere;
}

.contact-quick-link:hover,
.contact-quick-link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(24, 211, 158, 0.28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-quick-link .fa-whatsapp {
    color: var(--brand);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e5f1fd;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-wrap: anywhere;
}

.contact-list i {
    color: #7ad4ff;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-form-card {
    background: linear-gradient(180deg, rgba(15, 30, 47, 0.88), rgba(8, 18, 29, 0.95));
}

.alert {
    border-radius: 14px;
    border: 1px solid transparent;
    margin-bottom: 18px;
    padding: 12px 14px;
    background-clip: padding-box;
}

.alert-success {
    color: #dcfff2;
    background: rgba(35, 207, 138, 0.12);
    border-color: rgba(35, 207, 138, 0.25);
}

.alert-danger {
    color: #ffe5e5;
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.23);
}

.alert-warning {
    color: #fff2ce;
    background: rgba(248, 207, 99, 0.12);
    border-color: rgba(248, 207, 99, 0.22);
}

form label {
    color: #eff7ff;
    font-weight: 700;
    margin-bottom: 6px;
}

form .form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    min-height: 46px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

form .form-control::placeholder {
    color: rgba(227, 240, 252, 0.55);
}

form .form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(24, 211, 158, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(24, 211, 158, 0.12);
}

form .btn-primary.btn-block {
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--brand), #55dfff);
    color: #04211a;
    box-shadow: 0 12px 26px rgba(24, 211, 158, 0.22);
}

form .btn-primary.btn-block:hover,
form .btn-primary.btn-block:focus {
    background: linear-gradient(135deg, #2be8b4, #78e7ff);
    color: #03140f;
    transform: translateY(-1px);
}

.site-footer {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1090;
    padding: 10px 0;
    background: rgba(4, 11, 18, 0.6);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatYSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(14, 26, 40, 0.92), rgba(8, 18, 29, 0.88));
    border: 1px solid rgba(164, 211, 255, 0.12);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
    max-width: 100%;
}

.footer-shell-inline a,
.footer-copy-inline,
.footer-inline-brand {
    color: #eaf4ff;
    font-size: 0.88rem;
    line-height: 1;
}

.footer-inline-brand {
    color: #ffffff;
    font-weight: 800;
}

.footer-shell-inline a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 0;
    border: 0;
    background: transparent;
    transition: color 0.2s ease;
}

.footer-email-link {
    max-width: 100%;
}

.footer-shell-inline a:hover,
.footer-shell-inline a:focus {
    color: #7ceccf;
    text-decoration: none;
}

.footer-inline-sep {
    color: rgba(234, 244, 255, 0.35);
    font-size: 0.84rem;
    user-select: none;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand strong {
    color: #fff;
    font-size: 0.98rem;
}

.footer-brand span {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    text-decoration: none;
    color: #eaf4ff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    text-decoration: none;
    color: #fff;
    border-color: rgba(24, 211, 158, 0.28);
    background: rgba(24, 211, 158, 0.05);
    transform: translateY(-1px);
}

.footer-copy {
    color: var(--muted);
    font-size: 0.86rem;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(7, 15, 24, 0.94);
        max-height: calc(100vh - var(--header-offset) - var(--footer-offset) - 18px);
        overflow: auto;
    }

    .navbar-nav .nav-link {
        margin: 2px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-scene {
        min-height: 280px;
    }

    .fc-main {
        right: 20px;
    }

    .fc-side {
        width: min(208px, calc(100% - 28px));
    }

    .fc-bottom {
        width: min(230px, calc(100% - 40px));
        left: 22px;
    }
}

@media (max-width: 991.98px) {
    .header-shell {
        padding: 8px 10px;
    }

    .logo img {
        max-width: 146px;
        max-height: 40px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn-hero {
        width: 100%;
    }

    .footer-shell {
        text-align: center;
        white-space: normal;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .footer-shell-inline a,
    .footer-copy-inline,
    .footer-inline-brand {
        line-height: 1.25;
    }

    .footer-shell-inline .footer-email-link {
        justify-content: center;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        max-width: 100%;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .section-block {
        padding: 46px 0;
    }

    .hero-panel {
        border-radius: 22px;
        padding: 22px 18px;
    }

    .hero-kicker {
        font-size: 0.82rem;
    }

    .hero-scene {
        min-height: 240px;
        padding: 12px;
    }

    .fc-main {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        min-height: auto;
        animation: none;
        margin-bottom: 10px;
    }

    .fc-side,
    .fc-bottom {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        animation: none;
        margin-bottom: 10px;
    }

    .scene-ring,
    .floating-chip {
        display: none;
    }

    .surface-card,
    .cyber-card,
    .service-item.solution-card {
        border-radius: 18px;
        padding: 18px;
    }

    .contact-quick-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-panel h1 {
        font-size: 1.65rem;
    }

    .section-head h2 {
        font-size: 1.4rem;
    }

    .footer-brand span {
        font-size: 0.8rem;
    }

    .footer-links a {
        width: 100%;
        justify-content: center;
    }

    .footer-inline-sep {
        display: none;
    }

    .footer-shell-inline {
        gap: 6px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}
