@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================== */
:root {
    --bg-dark: #0c0d10;
    --bg-card: rgba(22, 23, 28, 0.75);
    --bg-card-hover: rgba(32, 33, 40, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 111, 0, 0.25);
    
    --primary: #ff6f00;
    --primary-glow: rgba(255, 111, 0, 0.4);
    --secondary: #ffa000;
    --secondary-glow: rgba(255, 160, 0, 0.3);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-white: #ffffff;
    --success: #10b981;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    /* Variables estructurales adaptables */
    --bg-header: rgba(7, 11, 21, 0.7);
    --bg-header-scrolled: rgba(7, 11, 21, 0.9);
    --bg-footer: #04070e;
    --bg-input: rgba(255, 255, 255, 0.03);
    --bg-input-focus: rgba(255, 255, 255, 0.05);
    --bg-calc-result: linear-gradient(135deg, rgba(22, 23, 28, 0.85), rgba(7, 11, 21, 0.95));
    --tooltip-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 111, 0, 0.4);
}

/* Variables para Modo Claro */
body.light-mode {
    --bg-dark: #ebedf0; /* Gris claro metálico premium */
    --bg-card: rgba(255, 255, 255, 0.85); /* Tarjetas blancas translúcidas */
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08); /* Borde gris suave */
    --border-glow: rgba(255, 111, 0, 0.35);
    
    --primary: #ff6f00; /* Naranja principal */
    --primary-glow: rgba(255, 111, 0, 0.4);
    --secondary: #ffa000; /* Naranja secundario */
    --secondary-glow: rgba(255, 160, 0, 0.3);
    --text-main: #2d3748; /* Texto principal oscuro */
    --text-muted: #4a5568; /* Texto secundario gris medio */
    --text-white: #1a202c; /* Títulos oscuros */
    
    --bg-header: #070b15; /* Sólido oscuro para evitar que transparente el fondo grisáceo en modo claro */
    --bg-header-scrolled: #04070e; /* Sólido oscuro al hacer scroll */
    --bg-footer: #eef1f6;
    --bg-input: rgba(0, 0, 0, 0.02);
    --bg-input-focus: rgba(0, 0, 0, 0.04);
    --bg-calc-result: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.95));
    --tooltip-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 111, 0, 0.25);
}

/* Botón de Alternancia de Tema */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
}



.theme-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--border-glow);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.5s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(30deg);
}

/* Mostrar/Ocultar iconos según el tema activo */
body.light-mode .theme-toggle-btn .sun-icon {
    display: none;
}
body:not(.light-mode) .theme-toggle-btn .moon-icon {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Personalización de la barra de desplazamiento */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 160, 0, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================
   DISEÑO DE FONDO INTERACTIVO (CANVAS)
   ========================================== */
#network-canvas {
    position: fixed;
    top: -150px;
    left: 0;
    width: 100vw;
    height: calc(100vh + 150px);
    z-index: -3;
    pointer-events: none;
    opacity: 0.6;
    transform: translateY(0);
    will-change: transform;
}

/* ==========================================
   NAVEGACIÓN (GLASSMORPHISM)
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    background: var(--bg-header-scrolled);
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 6px rgba(255, 111, 0, 0.25));
}

.logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 12px rgba(255, 111, 0, 0.45));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin-left: auto;
    margin-right: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--secondary-glow);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
    filter: brightness(1.1);
}

/* Acciones del Header (Idioma y Hamburguesa) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 102; /* Mantener por encima del menú móvil */
}

/* Selector de Idioma (Glassmorphic Toggle) */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 2px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn:hover {
    color: var(--text-white);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(255, 111, 0, 0.2);
}

/* Menú Móvil Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* ==========================================
   ESTILOS DE SECCIÓN COMUNES
   ========================================== */
section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
    border: 1px solid rgba(255, 111, 0, 0.15);
    padding: 4px 12px;
    border-radius: 30px;
    background: rgba(255, 111, 0, 0.03);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* ==========================================
   SECCIÓN HERO
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 16px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px var(--secondary-glow);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-glow);
    filter: brightness(1.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    padding: 16px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

#btn-hero-more:hover {
    background: rgba(255, 111, 0, 0.05) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px var(--primary-glow) !important;
    color: var(--primary) !important;
    transform: translateY(-3px) !important;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Elemento visual 3D abstracto o SVG interactivo */
.tech-sphere {
    width: 320px;
    height: 320px;
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.08) 0%, rgba(255, 160, 0, 0.01) 70%);
    border: 1px solid rgba(255, 111, 0, 0.12);
    box-shadow: 0 0 50px rgba(255, 111, 0, 0.03);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Posición inicial en el Hero (Desktop) */
    right: calc(50% - 480px);
    top: 42vh;
    transform: translate(0, -50%);
    opacity: 0.8;
}

.tech-sphere.floating-bg {
    right: calc(50% - 480px);
    top: 42vh;
    transform: translate(0, -50%) scale(0.95);
    opacity: 0.45;
    z-index: -1;
    border-color: rgba(255, 111, 0, 0.08);
    box-shadow: 0 0 40px rgba(255, 111, 0, 0.02);
}

body.light-mode .tech-sphere {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.005) 70%);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 0 20px rgba(0, 168, 255, 0.05);
}

body.light-mode .tech-sphere.floating-bg {
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.01);
}

body.light-mode .tech-sphere::before, body.light-mode .tech-sphere::after {
    border-color: rgba(15, 23, 42, 0.08);
}

.tech-sphere::before, .tech-sphere::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(255, 160, 0, 0.2);
    animation: rotate 20s linear infinite;
}

.tech-sphere::before {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

.tech-sphere::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-color: rgba(255, 111, 0, 0.25);
    animation-duration: 12s;
    animation-direction: reverse;
}

#sphere-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    display: block;
    pointer-events: none;
    z-index: 2;
}

.tech-grid-overlay {
    position: absolute;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.8;
}

/* ==========================================
   SECCIÓN DE SERVICIOS
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px; /* Bordes ligeramente más redondeados como en el ejemplo */
    padding: 0; /* Sin padding para que la imagen toque los bordes */
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.05s ease, box-shadow 0.05s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary); /* El borde exterior completo brilla en color cobre */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary), 0 0 30px var(--secondary-glow), inset 0 0 15px rgba(255, 111, 0, 0.1);
}

.service-card-content {
    padding: 40px 30px 24px;
    z-index: 3;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem; /* Tamaño optimizado */
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.3;
    text-align: center;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.service-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin-top: auto;
    position: relative;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.05s ease; /* Transición ultra-rápida del borde divisor */
}

.service-card:hover .service-card-image {
    border-top-color: var(--primary); /* El borde divisor superior de la imagen también se ilumina */
}

.service-card-image picture,
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   SECCIÓN GALERÍA INTERACTIVA (CARRUSEL DE PROYECTOS)
   ========================================== */
.gallery-container {
    max-width: 960px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 111, 0, 0.12);
    user-select: none;
    transition: var(--transition-smooth);
}

.carousel-container:hover {
    border-color: var(--border-glow);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 111, 0, 0.2);
}

.carousel-track-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px 20px 70px;
}

.carousel-slide-bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.22);
    transform: scale(1.15);
    z-index: 1;
    opacity: 0.85;
}

.carousel-slide-img {
    position: relative;
    z-index: 2;
    max-width: 92%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    z-index: 3;
    background: rgba(12, 13, 16, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 111, 0, 0.35);
    border-radius: 30px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 88%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.carousel-slide.active .carousel-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.carousel-caption-text {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

/* Botones de navegación (Prev/Next) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(12, 13, 16, 0.75);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.carousel-btn.prev-btn {
    left: 20px;
}

.carousel-btn.next-btn {
    right: 20px;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #000000;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-50%) scale(1.1);
}

/* Barra inferior de control (Dots y Contador) */
.carousel-footer {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(12, 13, 16, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
}

.carousel-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.carousel-counter span {
    color: var(--text-white);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
    width: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Responsive para Carrusel */
@media (max-width: 900px) {
    .carousel-track-wrapper {
        height: 440px;
    }
    .carousel-slide {
        padding: 20px 15px 65px;
    }
}

@media (max-width: 600px) {
    .carousel-track-wrapper {
        height: 360px;
    }
    .carousel-slide {
        padding: 15px 10px 55px;
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
    }
    .carousel-btn.prev-btn {
        left: 10px;
    }
    .carousel-btn.next-btn {
        right: 10px;
    }
    .carousel-caption {
        padding: 6px 14px;
        bottom: 14px;
        max-width: 92%;
    }
    .carousel-caption-text {
        font-size: 0.75rem;
    }
    .carousel-footer {
        top: 12px;
        right: 12px;
        padding: 4px 10px;
    }
}

/* ==========================================
   SECCIÓN COTIZADOR INTERACTIVO
   ========================================== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch; /* Columnas al mismo alto */
}

.calc-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(8px);
    height: 100%;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-white);
}

.calc-label span:last-child {
    color: var(--primary);
    font-weight: 600;
}

/* Inputs de rango personalizados */
.range-slider {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.22); /* Incrementado de 0.08 a 0.22 para resaltar en modo oscuro */
    height: 8px;
    border-radius: 4px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    cursor: pointer;
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Selectores personalizados */
.calc-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

.calc-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.calc-select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* Opciones de checkboxes interactivos */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkbox-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.checkbox-card.selected {
    background: rgba(255, 111, 0, 0.04);
    border-color: var(--primary);
}

.checkbox-card input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-card input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-card input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.8rem;
}

.checkbox-info {
    display: flex;
    flex-direction: column;
}

.checkbox-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
}

.checkbox-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Panel de Resultados del Cotizador */
.calc-result {
    background: var(--bg-calc-result);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 35px rgba(255, 111, 0, 0.05);
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.result-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.result-price span {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-white);
}

.result-summary {
    list-style: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item span:first-child {
    color: var(--text-muted);
}

.result-item span:last-child {
    color: var(--text-white);
    font-weight: 500;
}

.cable-comparison {
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
}

.cable-comparison h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
}

.comp-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding: 2px 0;
    transition: var(--transition-fast);
}

.comp-row:last-child {
    margin-bottom: 0;
}

.comp-row span:first-child {
    color: var(--text-muted);
}

.comp-row span:last-child {
    color: var(--secondary);
    font-weight: 600;
}

.comp-row.active {
    background: rgba(255, 111, 0, 0.04);
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 4px;
}

.comp-row.active span:first-child {
    color: var(--primary);
    font-weight: 500;
}

.comp-row.active span:last-child {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.result-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================
   SECCIÓN DE CONTACTO
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 160, 0, 0.08);
    border: 1px solid rgba(255, 160, 0, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.info-text h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.info-text p, .info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-text a:hover {
    color: var(--primary);
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(8px);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.form-input, .form-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    background: var(--bg-input-focus);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
}

/* Animación de alerta de éxito */
.form-message {
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

/* Filas de 2 columnas para el formulario de contacto */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Estilo para selector select */
.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6f00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-select option {
    background: #0e1322;
    color: #ffffff;
    padding: 10px;
}

/* Caja de Éxito y Conexión Inmediata (WhatsApp & Llamada) */
.contact-success-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 19, 34, 0.98) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 24px;
    margin-top: 16px;
    animation: fadeIn 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.contact-success-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-success-icon {
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-success-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.contact-success-subtitle {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

.contact-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 580px) {
    .contact-actions-grid {
        grid-template-columns: 1fr;
    }
}

.btn-contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.btn-action-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-action-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.btn-action-call {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    color: #f8fafc !important;
}

.btn-action-call:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 111, 0, 0.25);
}

/* ==========================================
   DISEÑO DEL PIE DE PÁGINA (FOOTER)
   ========================================== */
footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 30px;
    position: relative;
    z-index: 10; /* Se posiciona por encima de la esfera 3D fixed para ocultarla al hacer scroll */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 320px;
    text-align: center;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   ANIMACIONES CLAVE
   ========================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   DISEÑO RESPONSIVO (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-sphere {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 40px auto 0;
        width: 280px;
        height: 280px;
        opacity: 0.8;
    }
    
    .tech-sphere.floating-bg {
        position: fixed;
        right: 15px;
        top: 15px;
        transform: scale(0.45);
        transform-origin: top right;
        opacity: 0.08;
        z-index: 101; /* Flota sobre la cabecera en móvil */
    }
}

@media (max-width: 768px) {
    header {
        height: 56px !important;
        padding: 0 !important;
    }
    
    header.scrolled {
        padding: 0 !important;
    }
    
    .nav-container {
        padding: 0 16px !important;
        height: 100% !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
        gap: 6px !important;
    }
    
    .logo svg {
        width: 26px !important;
        height: 26px !important;
    }

    .logo img {
        height: 24px !important;
        width: auto !important;
    }
    
    .header-actions {
        gap: 8px !important;
    }
    
    .lang-switcher {
        padding: 1px !important;
    }
    
    .lang-btn {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
    }
    
    .theme-toggle-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    .theme-toggle-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background: rgba(7, 11, 21, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 25px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mismo ancho para crear simetría total (ancho y alto iguales) */
    gap: 40px;
    margin-top: 40px;
    align-items: stretch;
}

.about-map-container {
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.about-map-container:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-glow);
}

#map {
    width: 100%;
    height: 100%;
    background: #0b0c0f; /* Color base antes de cargar mapa */
}

body.light-mode #map {
    background: #e5e5e5;
}

/* Panel de Descripción Corporativa (Quiénes Somos) */
.about-brand-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.about-brand-panel:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.about-brand-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-brand-text {
    color: var(--text-white);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-brand-text-foot {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Marcadores de Pulso Leaflet */
.map-pulse-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.map-pulse-marker:hover .pulse-dot {
    background: var(--secondary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--secondary);
}

.pulse-ring {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: marker-pulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes marker-pulse {
    0% {
        transform: scale(0.3);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Personalización del Popup de Leaflet */
.leaflet-popup-content-wrapper {
    background: var(--bg-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: var(--text-white) !important;
    font-family: var(--font-heading) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    padding: 2px !important;
}

.leaflet-popup-tip {
    background: var(--bg-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.leaflet-popup-content {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin: 12px 16px !important;
    text-align: center !important;
    color: var(--text-white) !important;
}

.leaflet-container a.leaflet-popup-close-button {
    color: var(--text-muted) !important;
    padding: 8px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--primary) !important;
}

/* Leaflet Controles oscuros */
.leaflet-bar {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.leaflet-bar a {
    background-color: var(--bg-dark) !important;
    color: var(--text-white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
}

.leaflet-bar a:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--primary) !important;
}

/* Ajustes responsivos para Conócenos */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-map-container {
        height: 380px;
    }
}

/* Personalización del Tooltip de Leaflet (Bilingüe y flotante) */
.custom-map-tooltip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-white) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-shadow: var(--tooltip-shadow);
    white-space: nowrap;
    padding: 0 !important;
    margin-top: 8px !important;
    pointer-events: none; /* Evita bloquear clics sobre el marcador */
}

.custom-map-tooltip::before {
    display: none !important; /* Elimina la flecha blanca por defecto */
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 5px 15px var(--primary-glow);
    z-index: 999; /* Por encima de todo, incluido Leaflet y Header */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: constant-bounce 1s ease-in-out infinite;
}

.whatsapp-float:hover {
    animation-play-state: paused; /* Pausa la animación para suavizar el hover */
    transform: scale(1.1) translateY(-5px) !important;
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes constant-bounce {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 5px 15px var(--primary-glow);
    }
    40% {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px var(--primary-glow);
    }
    60% {
        transform: translateY(1px);
    }
}

/* Ajustes adicionales de color para Modo Claro (Naranja) */
body.light-mode .section-tag {
    border-color: rgba(255, 111, 0, 0.25);
    background: rgba(255, 111, 0, 0.05);
}

body.light-mode .form-message.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #065f46;
}

/* Forzar cabecera oscura y sus elementos en modo claro */
body.light-mode header .logo {
    color: #ffffff;
}

body.light-mode header .nav-link {
    color: rgba(255, 255, 255, 0.6);
}

body.light-mode header .nav-link:hover,
body.light-mode header .nav-link.active {
    color: var(--primary);
}

body.light-mode header .lang-switcher {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-mode header .lang-btn {
    color: rgba(255, 255, 255, 0.6);
}

body.light-mode header .lang-btn:hover {
    color: #ffffff;
}

body.light-mode header .lang-btn.active {
    color: var(--bg-dark);
}

body.light-mode header .theme-toggle-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-mode header .theme-toggle-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

body.light-mode header .hamburger span {
    background-color: #ffffff;
}

/* Modificación 1: Sombra profunda al cotizador en modo claro (ambos paneles) */
body.light-mode .calc-panel,
body.light-mode .calc-result {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Modificación 2: Riel del slider en modo claro */
body.light-mode .range-slider {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.04);
}

/* Modificación 3: Bordes y sombras de la sección Conócenos en modo claro */
body.light-mode .about-brand-panel {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

body.light-mode .about-brand-panel:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 0 15px var(--primary-glow);
}

body.light-mode .about-map-container {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

body.light-mode .about-map-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 15px var(--primary-glow);
}

/* Modificación 4: Ajustes del Carrusel de Proyectos en Modo Claro */
body.light-mode .carousel-container {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

body.light-mode .carousel-slide-bg {
    filter: blur(28px) brightness(0.85);
    opacity: 0.3;
}

body.light-mode .carousel-footer {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.light-mode .carousel-counter {
    color: #000000 !important;
}

body.light-mode .carousel-counter span {
    color: #000000 !important;
    font-weight: 700;
}

body.light-mode .carousel-dots .carousel-dot {
    background: rgba(0, 0, 0, 0.22);
}

body.light-mode .carousel-dots .carousel-dot.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--primary-glow);
}

body.light-mode .carousel-btn {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.light-mode .carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

body.light-mode .carousel-caption {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 111, 0, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .carousel-caption-text {
    color: #1a202c;
}

/* ==========================================
   SECCIÓN DE RESEÑAS Y TESTIMONIOS CORPORATIVOS
   ========================================== */
.reviews-section {
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Barra Superior de KPIs y Resumen de Confianza */
.reviews-kpi-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 32px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 111, 0, 0.08);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.kpi-rating-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi-stars-row {
    display: flex;
    gap: 4px;
    color: var(--secondary);
    font-size: 1.25rem;
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

.kpi-score-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.kpi-score-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.kpi-stat-badge {
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi-stat-val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.kpi-stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.kpi-action-box {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.kpi-action-box .btn-primary {
    padding: 12px 22px;
    font-size: 0.9rem;
    gap: 8px;
    align-items: center;
}

.btn-all-reviews {
    padding: 12px 20px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-weight: 600;
}

.btn-all-reviews:hover {
    border-color: var(--primary);
    background: rgba(255, 111, 0, 0.12);
    color: var(--primary);
    box-shadow: 0 0 18px var(--primary-glow);
    transform: translateY(-2px);
}

/* ==========================================
   CARRUSEL DE RESEÑAS ROTATIVAS DEL DÍA
   ========================================== */
.reviews-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

.reviews-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 14px 6px 20px 6px;
}

.reviews-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform;
}

/* Cada tarjeta del carrusel */
.reviews-carousel-track .review-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    margin: 0;
}

@media (max-width: 1060px) {
    .reviews-carousel-track .review-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 700px) {
    .reviews-carousel-track .review-card {
        flex: 0 0 100%;
    }
}

.rev-carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.rev-carousel-btn.prev {
    left: -20px;
}

.rev-carousel-btn.next {
    right: -20px;
}

.rev-carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 22px var(--primary-glow);
    transform: translateY(-50%) scale(1.08);
}

.rev-carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* Barra inferior del carrusel: dots + indicador rotativo */
.reviews-carousel-footer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 6px;
}

.reviews-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reviews-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    padding: 0;
}

.reviews-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 20px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.reviews-day-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: constant-bounce 2s infinite ease-in-out;
}

/* Enlace a página secundaria (Hub) */
.reviews-hub-link-wrapper {
    text-align: center;
    margin-top: 36px;
}

.btn-all-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    background: rgba(255, 111, 0, 0.07);
    border: 1px solid rgba(255, 111, 0, 0.35);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.btn-all-reviews-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

/* Grilla general de Reseñas (Para fallback o página secundaria) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

/* Tarjeta Individual de Reseña */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px var(--secondary-glow);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--primary-glow);
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
    min-width: 0;
}

.review-author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-white);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-author-company {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.review-stars {
    display: flex;
    gap: 3px;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 4px var(--primary-glow));
}

.review-comment {
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
    position: relative;
}

.review-footer-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: auto;
}

/* ==========================================
   FORMULARIO PERMANENTE VISIBLE EN LA PÁGINA
   ========================================== */
.review-inline-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 36px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

body.light-mode .review-inline-form-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.inline-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

body.light-mode .inline-form-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.inline-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 111, 0, 0.12);
    border: 1px solid rgba(255, 111, 0, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inline-form-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

body.light-mode .inline-form-title {
    color: #0f172a;
}

.inline-form-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.inline-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 680px) {
    .inline-form-row {
        grid-template-columns: 1fr;
    }
    .review-inline-form-card {
        padding: 24px 20px;
    }
}

.inline-form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.inline-form-footer .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
}

/* Selector Interactivo de Estrellas */
.review-stars-selector-group {
    text-align: center;
    margin-bottom: 20px;
}

.stars-picker-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.star-pick-btn {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}

.star-pick-btn:hover,
.star-pick-btn.active {
    color: var(--secondary);
    text-shadow: 0 0 12px var(--primary-glow);
    transform: scale(1.15);
}

/* ==========================================
   ADAPTACIONES DE RESEÑAS PARA MODO CLARO
   ========================================== */
body.light-mode .reviews-kpi-bar {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

body.light-mode .kpi-score-val {
    color: #1a202c;
}

body.light-mode .kpi-stat-badge {
    border-left-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .review-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

body.light-mode .review-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 20px var(--primary-glow);
}

body.light-mode .review-author-name {
    color: #1a202c;
}

body.light-mode .review-comment {
    color: #2d3748;
}

body.light-mode .review-footer-date {
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .review-modal-box {
    background: #ffffff;
    border-color: rgba(255, 111, 0, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

body.light-mode .modal-header-content h3 {
    color: #1a202c;
}

body.light-mode .modal-close-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #4a5568;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .modal-close-btn:hover {
    color: #ffffff;
    background: var(--primary);
}

body.light-mode .star-pick-btn {
    color: rgba(0, 0, 0, 0.18);
}

body.light-mode .star-pick-btn.active,
body.light-mode .star-pick-btn:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Light Mode Overrides para el Carrusel de Reseñas */
body.light-mode .rev-carousel-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1e293b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

body.light-mode .rev-carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

body.light-mode .btn-all-reviews {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.14);
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.light-mode .btn-all-reviews:hover {
    background: rgba(255, 111, 0, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

body.light-mode .reviews-dot {
    background: rgba(0, 0, 0, 0.18);
}

body.light-mode .reviews-dot.active {
    background: var(--primary);
}

body.light-mode .reviews-day-tag {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

body.light-mode .btn-all-reviews-link {
    background: rgba(255, 111, 0, 0.06);
    border-color: rgba(255, 111, 0, 0.35);
    color: var(--primary);
}

body.light-mode .btn-all-reviews-link:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================
   ESTILOS DE PÁGINA SECUNDARIA: HUB DE RESEÑAS (resenas.html)
   ========================================== */
.reviews-hub-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hub-hero-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.hub-back-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.btn-back-home:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-3px);
}

body.light-mode .btn-back-home {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #334155;
}

body.light-mode .btn-back-home:hover {
    color: var(--primary);
}

.hub-toolbar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.light-mode .hub-toolbar {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.hub-search-box {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.hub-search-input {
    width: 100%;
    padding: 12px 18px 12px 42px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s ease;
}

.hub-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    background: rgba(255, 255, 255, 0.08);
}

body.light-mode .hub-search-input {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.12);
    color: #1e293b;
}

.hub-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.hub-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hub-pill-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hub-pill-btn:hover {
    color: var(--text-white);
    border-color: var(--primary);
}

.hub-pill-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 14px var(--primary-glow);
}

body.light-mode .hub-pill-btn {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

body.light-mode .hub-pill-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.hub-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0 4px;
}

.hub-reviews-count {
    font-weight: 600;
    color: var(--primary);
}

/* Responsividad para móviles y tablets */
@media (max-width: 768px) {
    .reviews-kpi-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 18px;
    }

    .kpi-stat-badge {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 14px;
    }

    body.light-mode .kpi-stat-badge {
        border-top-color: rgba(0, 0, 0, 0.08);
    }

    .kpi-action-box {
        margin-left: 0;
        flex-direction: column;
        width: 100%;
    }

    .kpi-action-box .btn-primary,
    .kpi-action-box .btn-all-reviews {
        width: 100%;
        justify-content: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .rev-carousel-btn.prev {
        left: -10px;
    }

    .rev-carousel-btn.next {
        right: -10px;
    }

    .hub-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}


