/* ==========================================================================
   A CONNECTIONS — Cyber Cloud Infrastructure Design System
   Paleta: Midnight Space, Electric Sapphire, Cyber Cyan, Emerald Pulse
   ========================================================================== */

:root {
    --bg-base: #04060a;
    --bg-surface: #080c16;
    --bg-surface-elevated: #0e1526;
    --bg-card: rgba(14, 21, 38, 0.65);
    --bg-card-hover: rgba(20, 31, 56, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-highlight: rgba(0, 242, 254, 0.25);
    --border-sapphire: rgba(37, 99, 235, 0.35);

    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #8899ac;
    --text-dim: #4d5b6e;

    --sapphire: #2563eb;
    --sapphire-light: #3b82f6;
    --sapphire-glow: rgba(37, 99, 235, 0.35);

    --cyan: #00f2fe;
    --cyan-deep: #00c4d4;
    --cyan-glow: rgba(0, 242, 254, 0.32);

    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.4);

    --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #2563eb 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.22), rgba(37, 99, 235, 0.15));
    --gradient-dark: linear-gradient(180deg, #04060a 0%, #080c16 100%);

    --whatsapp: #25d366;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   AMBIENT LIGHT & BACKGROUND EFFECTS
   ========================================================================== */
.ambient-glow-1 {
    position: absolute;
    top: -120px;
    right: 5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.13), transparent 68%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-2 {
    position: absolute;
    top: 400px;
    left: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 68%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-section {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.grid-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
    mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(4, 6, 10, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(4, 6, 10, 0.96);
    border-bottom-color: rgba(0, 242, 254, 0.18);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-white);
    white-space: nowrap;
}

.logo-icon-svg {
    width: 40px;
    height: 40px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.35));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon-svg {
    transform: scale(1.05);
}

.logo-text span:first-child {
    color: #ffffff;
}

.logo-text span:last-child {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-pill-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--emerald);
    font-size: 12px;
    font-weight: 700;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    color: var(--text-muted);
    margin-left: 24px;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

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

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

#mobileToggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-size: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-brand {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 10px 30px var(--cyan-glow);
    position: relative;
    overflow: hidden;
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 242, 254, 0.45);
}

.btn-brand::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: 0.65s ease;
}

.btn-brand:hover::after {
    left: 120%;
}

.btn-secondary {
    background: rgba(14, 21, 38, 0.7);
    color: var(--text-light);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--border-highlight);
    color: var(--cyan);
    background: rgba(20, 31, 56, 0.9);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO: COMMAND CENTER / CLOUD HUB
   ========================================================================== */
.hero {
    position: relative;
    padding: 110px 0 100px;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.28);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    line-height: 1.04;
    letter-spacing: -2.5px;
    font-weight: 900;
    color: #ffffff;
}

.hero-title .text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats-row {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 28px;
}

.hero-stat-item strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-stat-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* HUB INTERACTIVO HERO */
.cloud-hub-terminal {
    position: relative;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 242, 254, 0.08);
    backdrop-filter: blur(20px);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.terminal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.t-red { background: #ef4444; }
.t-yellow { background: #f59e0b; }
.t-green { background: #10b981; }

.terminal-title {
    font-family: monospace;
    font-size: 13px;
    color: var(--cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--emerald);
    font-weight: 700;
}

/* TELEMETRY GAUGES */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.gauge-card {
    background: rgba(14, 21, 38, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 16px;
    transition: border-color 0.25s ease;
}

.gauge-card:hover {
    border-color: var(--border-highlight);
}

.gauge-label {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.gauge-val {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
}

.gauge-progress {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin-top: 10px;
    overflow: hidden;
}

.gauge-bar {
    height: 100%;
    border-radius: 999px;
    background: var(--gradient-brand);
}

.gauge-bar.green {
    background: var(--emerald);
}

/* NODES LIVE CONNECT */
.network-nodes-panel {
    background: rgba(4, 6, 10, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 18px;
}

.network-nodes-panel h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.node-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.node-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.node-line {
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--sapphire));
    flex: 0.5;
    position: relative;
}

.node-line::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    top: -2px;
    left: 0;
    box-shadow: 0 0 10px var(--cyan);
    animation: flowPulse 2.5s infinite linear;
}

@keyframes flowPulse {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ==========================================================================
   BENTO GRID: SERVICIOS TECNOLÓGICOS
   ========================================================================== */
.section {
    position: relative;
    padding: 100px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 900;
    color: #ffffff;
}

.section-desc {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* BENTO LAYOUT */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 26px;
    padding: 34px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 242, 254, 0.08);
}

.bento-card-8 {
    grid-column: span 8;
}

.bento-card-4 {
    grid-column: span 4;
}

.bento-card-6 {
    grid-column: span 6;
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--cyan);
    margin-bottom: 22px;
}

.bento-card h3 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.bento-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.feature-check-list {
    list-style: none;
    margin-top: 20px;
}

.feature-check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.feature-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 900;
}

/* ==========================================================================
   RACK MONITOR: INFRAESTRUCTURA DE MISIÓN CRÍTICA
   ========================================================================== */
.rack-dashboard {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.rack-chassis {
    background: linear-gradient(180deg, #0b111e 0%, #05070e 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7);
}

.rack-unit {
    background: rgba(14, 21, 38, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rack-unit:last-child {
    margin-bottom: 0;
}

.rack-unit-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.led-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
}

.rack-unit h4 {
    font-size: 15px;
    color: #ffffff;
    font-weight: 800;
}

.rack-unit small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
}

.rack-spec-badge {
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--cyan);
    font-family: monospace;
    font-weight: 700;
    font-size: 13px;
}

/* ==========================================================================
   EXPLORADOR INTERACTIVO ERP / SOFTWARE A LA MEDIDA
   ========================================================================== */
.erp-explorer {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

.erp-tabs-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
}

.erp-tab-btn {
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.erp-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.erp-tab-btn.active {
    background: var(--gradient-brand);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 24px var(--cyan-glow);
}

.erp-tab-pane {
    display: none;
    animation: fadeInTab 0.4s ease forwards;
}

.erp-tab-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

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

.erp-pane-info h3 {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
}

.erp-pane-info p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.erp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.erp-kpi-item {
    background: rgba(14, 21, 38, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 14px;
}

.erp-kpi-item strong {
    display: block;
    color: var(--cyan);
    font-size: 18px;
    font-weight: 800;
}

.erp-kpi-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.erp-pane-preview {
    background: #04060a;
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.preview-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.preview-table th {
    text-align: left;
    color: var(--text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.preview-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    color: var(--text-light);
}

.preview-table .badge-ok {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
}

/* ==========================================================================
   STACK DE TECNOLOGÍA EMPRESARIAL
   ========================================================================== */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.stack-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.stack-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: var(--gradient-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 8px 24px var(--cyan-glow);
}

.stack-card h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.stack-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ==========================================================================
   CALL TO ACTION (CTA) BANNER
   ========================================================================== */
.cta-box {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.15), transparent 45%),
                linear-gradient(135deg, #0e1526 0%, #060912 100%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 36px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 242, 254, 0.1);
    overflow: hidden;
}

.cta-box h2 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
    color: #ffffff;
}

.cta-box p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 640px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 35px;
    background: #020305;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    font-size: 13px;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    background: var(--whatsapp);
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-floating:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.55);
}

.whatsapp-floating svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* ==========================================================================
   ANIMACIONES FADE IN
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-grid,
    .rack-dashboard,
    .erp-tab-pane.active {
        grid-template-columns: 1fr;
    }

    .bento-card-8,
    .bento-card-4,
    .bento-card-6 {
        grid-column: span 12;
    }

    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    #mobileToggle {
        display: flex !important;
    }

    .status-pill-nav {
        display: none;
    }

    .menu {
        position: fixed;
        top: 84px;
        left: 14px;
        right: 14px;
        z-index: 999;
        background: rgba(4, 6, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 242, 254, 0.2);
        border-radius: 20px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px) scale(0.98);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
    }

    .menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .menu a {
        margin: 0;
        padding: 14px 18px;
        width: 100%;
        border-radius: 12px;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
        font-size: 15px;
    }

    .menu a:hover {
        background: rgba(0, 242, 254, 0.12);
        color: var(--cyan);
    }

    .nav-actions .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

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

    .hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

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

    .telemetry-grid,
    .erp-kpi-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .bento-card,
    .erp-explorer,
    .rack-chassis,
    .cta-box {
        padding: 24px;
        border-radius: 22px;
    }

    .stack-grid {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}
