* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00E5CC;
    --cyan-bright: #00FFE0;
    --cyan-dim: #00B8A3;
    --cyan-glow: rgba(0, 229, 204, 0.25);
    --navy: #0a1520;
    --navy-mid: #0f1c2b;
    --white: #ffffff;
    --white-soft: rgba(255,255,255,0.85);
    --white-muted: rgba(255,255,255,0.5);
    --white-dim: rgba(255,255,255,0.3);
    --section-color: #00E5CC;
    --section-glow: rgba(0, 229, 204, 0.25);
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    overflow-x: hidden;
}

.video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-fallback {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1585468274952-66591eb14165?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    z-index: -1;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,21,32,0.92) 0%, rgba(10,21,32,0.78) 40%, rgba(10,21,32,0.88) 100%);
    z-index: 1;
}

#atomCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.main-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar-spacer {
    height: 118px;
    flex-shrink: 0;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    flex-shrink: 0;
    z-index: 1300;
}

.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        backdrop-filter 0.35s ease,
        -webkit-backdrop-filter 0.35s ease,
        box-shadow 0.35s ease;
    pointer-events: none;
    z-index: -2;
}

.navbar.navbar-scrolled::after {
    background: rgba(10, 21, 32, 0.76);
    border-bottom: 1px solid rgba(0, 229, 204, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.navbar-gradient {
    position: absolute;
    inset: 0;
    height: 120px;
    background: linear-gradient(
        180deg,
        rgba(180,190,200,0.35) 0%,
        rgba(160,170,180,0.25) 20%,
        rgba(140,150,160,0.15) 45%,
        rgba(120,130,140,0.06) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.navbar.navbar-scrolled .navbar-gradient {
    opacity: 0.35;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 40px;
    position: relative;
}

.logo-nav {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 104px;
    width: auto;
    object-fit: contain;
    min-width: 160px;
}

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

.nav-links > a,
.dropdown-toggle {
    color: var(--white-soft);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    transition: color 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
}

.nav-links > a:hover,
.dropdown-toggle:hover,
.nav-active {
    color: var(--cyan);
}

.chevron {
    width: 10px;
    height: 6px;
    transition: transform 0.3s;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 21, 32, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 229, 204, 0.12);
    border-radius: 8px;
    min-width: 290px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    z-index: 300;
}

.small-menu {
    min-width: 240px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .chevron {
    transform: rotate(180deg);
}

.nav-dropdown:hover .dropdown-toggle {
    color: var(--cyan);
}

.dropdown-menu a {
    display: block;
    color: var(--white-soft);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.25s ease;
    line-height: 1.4;
}

.dropdown-menu a:hover {
    color: var(--cyan);
    background: rgba(0, 229, 204, 0.06);
    padding-left: 24px;
}

.nav-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.desktop-portal {
    display: flex;
}

.mobile-portal {
    display: none;
    width: 100%;
    margin-top: 18px;
}

.mobile-portal .btn-nav-portal {
    width: 100%;
    justify-content: center;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1.5px solid rgba(0, 229, 204, 0.3);
    cursor: pointer;
    z-index: 110;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    transition: border-color 0.3s;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn:hover {
    border-color: var(--cyan);
}

.close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white-muted);
    font-size: 2.2rem;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 20px;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: var(--cyan);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1290;
    opacity: 0;
    transition: opacity 0.35s;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* =========================
   HERO
========================= */

.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    animation: heroEntry 1s ease-out;
    max-width: 92vw;
}

@keyframes heroEntry {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-pre-title {
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 5px;
    color: var(--white-muted);
    text-transform: uppercase;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: min(92vw, 1120px);
    width: 100%;
    justify-content: center;
}

.hero-logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    min-width: 85px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(0, 229, 204, 0.12));
    transition: filter 0.6s ease;
}

.hero-separator {
    width: 3px;
    min-height: 55px;
    align-self: stretch;
    background: var(--section-color);
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--section-glow);
    transition: background 0.6s ease, box-shadow 0.6s ease;
}

.dynamic-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 2.15vw, 3.2rem);
    font-weight: 800;
    letter-spacing: clamp(2px, 0.35vw, 5px);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    max-width: clamp(280px, 50vw, 720px);
    min-width: 220px;
    color: var(--white);
    text-align: left;
    line-height: 1.28;
    min-height: 4.1rem;
}

.typed-cursor {
    color: var(--section-color) !important;
    font-weight: 300;
    transition: color 0.6s ease;
}

.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--white-muted);
    text-transform: uppercase;
    margin-top: 4px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.partner-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.4s ease;
}

.partner-logo-area.visible {
    max-height: 70px;
    opacity: 1;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 18px 6px 14px;
    border-radius: 30px;
    border: 1px solid var(--p-color, rgba(255,159,67,0.4));
    background: var(--p-bg, rgba(255,159,67,0.08));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    overflow: hidden;
    max-width: calc(100vw - 40px);
}

.partner-badge.badge-anim {
    animation: badgeSlideIn 0.38s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: scale(0.82) translateY(6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.pb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--p-color, #FF9F43);
    flex-shrink: 0;
    box-shadow: 0 0 7px var(--p-color, #FF9F43);
}

.pb-img {
    height: 28px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
    background: rgba(255,255,255,0.06);
    padding: 2px 4px;
    filter: brightness(1.1) drop-shadow(0 0 4px var(--p-color, #FF9F43));
}

.pb-abbr {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--p-color, #FF9F43);
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.pb-sep {
    color: var(--white-dim);
    font-size: 0.7rem;
    font-weight: 300;
    flex-shrink: 0;
}

.pb-sub {
    font-size: 0.65rem;
    color: var(--white-muted);
    letter-spacing: 0.3px;
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-wrapper[data-section="0"] {
    --section-color: #00E5CC;
    --section-glow: rgba(0, 229, 204, 0.25);
}

.hero-wrapper[data-section="1"] {
    --section-color: #38BDF8;
    --section-glow: rgba(56, 189, 248, 0.25);
}

.hero-wrapper[data-section="2"] {
    --section-color: #FF9F43;
    --section-glow: rgba(255, 159, 67, 0.25);
}

.hero-wrapper[data-section="3"] {
    --section-color: #2ED573;
    --section-glow: rgba(46, 213, 115, 0.25);
}

.hero-wrapper.section-exit .hero-pre-title,
.hero-wrapper.section-exit .hero-subtitle {
    opacity: 0;
    transform: translateY(-8px);
}

.hero-wrapper.section-enter .hero-pre-title,
.hero-wrapper.section-enter .hero-subtitle {
    animation: sectionSlideIn 0.5s ease forwards;
}

@keyframes sectionSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-separator.pulse-bar {
    animation: barPulse 0.8s ease;
}

@keyframes barPulse {
    0% {
        transform: scaleY(1);
        box-shadow: 0 0 10px var(--section-glow);
    }
    40% {
        transform: scaleY(1.3);
        box-shadow: 0 0 25px var(--section-glow), 0 0 50px var(--section-glow);
    }
    100% {
        transform: scaleY(1);
        box-shadow: 0 0 10px var(--section-glow);
    }
}

.section-indicators {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.section-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white-dim);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    padding: 0;
    position: relative;
}

.section-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: border-color 0.4s ease;
}

.section-dot.active {
    transform: scale(1.3);
}

.section-dot[data-section="0"].active {
    background: #00E5CC;
    box-shadow: 0 0 10px rgba(0, 229, 204, 0.5);
}

.section-dot[data-section="0"].active::after {
    border-color: rgba(0, 229, 204, 0.3);
}

.section-dot[data-section="1"].active {
    background: #38BDF8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.section-dot[data-section="1"].active::after {
    border-color: rgba(56, 189, 248, 0.3);
}

.section-dot[data-section="2"].active {
    background: #FF9F43;
    box-shadow: 0 0 10px rgba(255, 159, 67, 0.5);
}

.section-dot[data-section="2"].active::after {
    border-color: rgba(255, 159, 67, 0.3);
}

.section-dot[data-section="3"].active {
    background: #2ED573;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.5);
}

.section-dot[data-section="3"].active::after {
    border-color: rgba(46, 213, 115, 0.3);
}

.section-dot:hover {
    background: var(--white-muted);
    transform: scale(1.2);
}

.section-progress {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.section-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--section-color);
    border-radius: 2px;
    transition: width 0.1s linear, background 0.6s ease;
}

/* =========================
   CLIENTS
========================= */

.clients-section {
    flex-shrink: 0;
    padding: 0 40px 16px;
    display: flex;
    justify-content: center;
}

.clients-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    animation: clientsFade 1.2s ease-out 0.5s both;
}

@keyframes clientsFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.counter-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.counter-plus {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    margin-right: 6px;
}

.counter-label {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.btn-portal {
    display: inline-block;
    padding: 14px 48px;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-portal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-portal:hover {
    color: var(--navy);
    border-color: var(--cyan-bright);
    box-shadow: 0 0 30px rgba(0, 229, 204, 0.3), 0 0 60px rgba(0, 229, 204, 0.1);
    transform: translateY(-2px);
}

.btn-portal:hover::before {
    opacity: 1;
}

/* =========================
   FLOATING UI
========================= */

.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

body.menu-open .atomika-chat-widget,
body.menu-open .social-sidebar {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.social-sidebar {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    opacity: 0.72;
    transition: all 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    position: relative;
}

.social-icon svg {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.2);
    border-color: transparent;
}

.social-facebook {
    border-color: rgba(24,119,242,0.35);
    box-shadow: 0 0 10px rgba(24,119,242,0.22), inset 0 0 8px rgba(24,119,242,0.08);
}

.social-facebook:hover,
.social-facebook.auto-active {
    background: #1877F2 !important;
    box-shadow: 0 0 22px rgba(24,119,242,0.65), 0 0 40px rgba(24,119,242,0.25) !important;
    border-color: transparent !important;
}

.social-instagram {
    border-color: rgba(225,48,108,0.35);
    box-shadow: 0 0 10px rgba(225,48,108,0.22), inset 0 0 8px rgba(225,48,108,0.08);
}

.social-instagram:hover,
.social-instagram.auto-active {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    box-shadow: 0 0 22px rgba(225,48,108,0.65), 0 0 40px rgba(225,48,108,0.25) !important;
    border-color: transparent !important;
}

.social-linkedin {
    border-color: rgba(10,102,194,0.35);
    box-shadow: 0 0 10px rgba(10,102,194,0.22), inset 0 0 8px rgba(10,102,194,0.08);
}

.social-linkedin:hover,
.social-linkedin.auto-active {
    background: #0A66C2 !important;
    box-shadow: 0 0 22px rgba(10,102,194,0.65), 0 0 40px rgba(10,102,194,0.25) !important;
    border-color: transparent !important;
}

.social-x {
    border-color: rgba(200,200,200,0.25);
    box-shadow: 0 0 10px rgba(255,255,255,0.10), inset 0 0 8px rgba(255,255,255,0.05);
}

.social-x:hover,
.social-x.auto-active {
    background: #111 !important;
    box-shadow: 0 0 22px rgba(255,255,255,0.32), 0 0 40px rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.2) !important;
}

.social-youtube {
    border-color: rgba(255,0,0,0.35);
    box-shadow: 0 0 10px rgba(255,0,0,0.22), inset 0 0 8px rgba(255,0,0,0.08);
}

.social-youtube:hover,
.social-youtube.auto-active {
    background: #FF0000 !important;
    box-shadow: 0 0 22px rgba(255,0,0,0.65), 0 0 40px rgba(255,0,0,0.25) !important;
    border-color: transparent !important;
}

.social-tiktok {
    border-color: rgba(37,244,238,0.30);
    box-shadow: 0 0 10px rgba(37,244,238,0.18), inset 0 0 8px rgba(37,244,238,0.07);
}

.social-tiktok:hover,
.social-tiktok.auto-active {
    background: #000 !important;
    color: #25F4EE !important;
    box-shadow: 0 0 22px rgba(37,244,238,0.55), 0 0 40px rgba(37,244,238,0.22) !important;
    border-color: rgba(37,244,238,0.3) !important;
}

@keyframes socialHeartbeat {
    0% { transform: scale(1); }
    18% { transform: scale(1.32); }
    36% { transform: scale(1.12); }
    54% { transform: scale(1.26); }
    72% { transform: scale(1.08); }
    100% { transform: scale(1.15); }
}

.social-icon.auto-active {
    opacity: 1 !important;
    animation: socialHeartbeat 0.65s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* =========================
   SUBPAGES
========================= */

html.subpage,
body.subpage {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.subpage .main-content {
    min-height: 100vh;
    height: auto;
}

.page-shell {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 8px 0 80px;
}

.page-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(10,21,32,0.88), rgba(15,28,43,0.72));
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 38px;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: -20% auto auto -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,204,0.18) 0%, rgba(0,229,204,0.04) 46%, transparent 72%);
    pointer-events: none;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white-muted);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--white-soft);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--cyan);
}

.page-title {
    font-size: clamp(1.9rem, 4vw, 3.6rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.02em;
    max-width: 900px;
}

.page-title span {
    color: var(--cyan);
}

.page-lead {
    margin-top: 16px;
    max-width: 760px;
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-badges {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badge {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--white-soft);
    font-size: 0.82rem;
    font-weight: 600;
}

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

.btn-solid,
.btn-outline,
.btn-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-solid {
    background: var(--cyan);
    color: var(--navy);
    box-shadow: 0 0 26px rgba(0,229,204,0.18);
}

.btn-solid:hover {
    transform: translateY(-2px);
    background: var(--cyan-bright);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.10);
}

.btn-muted {
    border: 1px solid rgba(0,229,204,0.24);
    color: var(--cyan);
    background: rgba(0,229,204,0.05);
}

.btn-muted:hover {
    background: rgba(0,229,204,0.12);
}

.page-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
    gap: 24px;
}

.page-section {
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(10,21,32,0.74);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-section.light {
    background: rgba(255,255,255,0.92);
    border-color: rgba(10,21,32,0.06);
    color: #102130;
}

.section-kicker {
    color: var(--cyan);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-section h2 {
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    line-height: 1.2;
    margin-bottom: 10px;
}

.page-section p {
    color: rgba(255,255,255,0.78);
    line-height: 1.72;
}

.page-section.light p,
.page-section.light li,
.page-section.light .stat-label,
.page-section.light .meta-text,
.page-section.light .service-summary,
.page-section.light .timeline-card p {
    color: #475569;
}

.feature-list,
.meta-list,
.related-list,
.timeline-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.feature-list li,
.meta-list li,
.related-list li,
.timeline-card {
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.page-section.light .feature-list li,
.page-section.light .meta-list li,
.page-section.light .related-list li,
.page-section.light .timeline-card {
    background: rgba(248,250,252,0.9);
    border-color: rgba(15,28,43,0.08);
}

.list-title {
    display: block;
    font-size: 0.92rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 4px;
}

.page-section.light .list-title,
.page-section.light h2,
.page-section.light h3,
.page-section.light .meta-title,
.page-section.light .service-title {
    color: #0f172a;
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
    margin-top: 18px;
}

.mini-card {
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
}

.page-section.light .mini-card {
    background: rgba(248,250,252,0.94);
    border-color: rgba(15,28,43,0.08);
}

.stat-number {
    font-size: 1.9rem;
    line-height: 1;
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.78);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin-top: 26px;
}

.service-card {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10,21,32,0.74);
    border-radius: 24px;
    padding: 24px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 16px 50px rgba(0,0,0,0.18);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,229,204,0.35);
    box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

.service-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,229,204,0.08);
    border: 1px solid rgba(0,229,204,0.16);
    color: var(--cyan);
    font-weight: 800;
    margin-bottom: 18px;
}

.service-title {
    font-size: 1.12rem;
    line-height: 1.35;
    color: var(--white);
    margin-bottom: 10px;
}

.service-summary {
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
}

.service-link:hover {
    color: var(--cyan-bright);
}

.page-footer {
    margin-top: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10,21,32,0.74);
    border-radius: 24px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.page-footer p {
    color: rgba(255,255,255,0.72);
}

.page-footer a {
    text-decoration: none;
}

/* =========================
   PORTAL CLIENTES BUTTON
========================= */

.btn-nav-portal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #00e5cc, #00b7ff);
    box-shadow:
        0 0 12px rgba(0,229,204,0.45),
        0 8px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: all .35s ease;
}

.btn-nav-portal-text {
    position: relative;
    z-index: 3;
}

.portal-glow {
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transform: skewX(-25deg);
    animation: portalShine 3.5s infinite;
}

@keyframes portalShine {
    0% { left: -120%; }
    50% { left: 140%; }
    100% { left: 140%; }
}

.btn-nav-portal:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 0 20px rgba(0,229,204,0.7),
        0 12px 28px rgba(0,0,0,0.35);
}

.btn-nav-portal:hover .portal-glow {
    animation-duration: 1.8s;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .navbar-inner {
        padding: 12px 28px;
    }

    .dynamic-heading {
        font-size: clamp(1.2rem, 2vw, 2.6rem);
        max-width: clamp(240px, 50vw, 560px);
    }

    .hero-logo-img {
        height: 72px;
    }

    .hero-separator {
        min-height: 46px;
    }

    .counter-number {
        font-size: 2.8rem;
    }

    .page-grid,
    .service-grid,
    .cards-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hamburger-btn {
        display: flex;
    }

    .desktop-portal {
        display: none;
    }

    .mobile-portal {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #0a1520 0%, #070f18 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6);
        z-index: 1310;
        gap: 0;
        overflow-y: auto;
        pointer-events: none;
    }

    .nav-links.active {
        right: 0;
        pointer-events: auto;
    }

    .nav-links > a,
    .dropdown-toggle {
        font-size: 0.88rem;
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        justify-content: space-between;
    }

    .close-btn {
        display: block;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 229, 204, 0.04);
        border: none;
        box-shadow: none;
        min-width: auto;
        padding: 0 0 8px 16px;
        display: none;
        border-radius: 0;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-dropdown.open .chevron {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        font-size: 0.76rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .social-sidebar {
        display: none;
    }

    body.subpage .main-content {
        padding-bottom: 72px;
    }

    .page-grid,
    .service-grid,
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .page-section,
    .page-footer {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .page-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    html.subpage,
    body.subpage {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .navbar-spacer {
        height: 72px;
    }

    .navbar-inner {
        padding: 10px 18px;
    }

    .navbar-gradient {
        height: 90px;
    }

    .logo-img {
        height: 38px;
        min-width: 90px;
    }

    .hero-row {
        flex-direction: column;
        gap: 14px;
        max-width: 100%;
    }

    .hero-logo-img {
        height: 65px;
        min-width: 65px;
    }

    .hero-separator {
        width: 50px;
        min-height: 3px;
        height: 3px;
        align-self: auto;
    }

    .dynamic-heading {
        font-size: clamp(1.15rem, 5vw, 1.7rem);
        letter-spacing: 2px;
        min-width: auto;
        max-width: calc(100vw - 36px);
        text-align: center;
        min-height: 3.1rem;
        line-height: 1.35;
    }

    .hero-pre-title {
        font-size: 0.72rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 0.58rem;
        letter-spacing: 2px;
    }

    .hero-wrapper {
        gap: 12px;
        padding: 0 16px;
    }

    .pb-abbr {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .pb-sub {
        font-size: 0.58rem;
    }

    .clients-section {
        padding: 0 20px 12px;
    }

    .counter-number {
        font-size: 2.2rem;
    }

    .counter-plus {
        font-size: 1.4rem;
    }

    .counter-label {
        font-size: 0.8rem;
    }

    .btn-portal {
        padding: 12px 36px;
        font-size: 0.78rem;
    }

    .section-indicators {
        gap: 8px;
    }

    .section-dot {
        width: 7px;
        height: 7px;
    }

    .page-shell {
        padding-top: 2px;
    }
}

@media (max-width: 420px) {
    .dynamic-heading {
        font-size: clamp(1rem, 5.5vw, 1.3rem);
        letter-spacing: 1.5px;
        max-width: calc(100vw - 32px);
    }

    .hero-logo-img {
        height: 55px;
    }

    .hero-pre-title {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.48rem;
        letter-spacing: 1.5px;
    }

    .counter-number {
        font-size: 1.8rem;
    }

    .btn-portal {
        padding: 10px 28px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .logo-img {
        height: 32px;
    }

    .pb-sub,
    .pb-sep {
        display: none;
    }

    .nav-links {
        width: 88vw;
        right: -92vw;
    }
}