/* ==========================================================================
   STYLE.CSS - OPTIMIZADOR SEO
   Replicación Premium, Responsive y Mobile-First
   ========================================================================== */
/* 🪶 FUENTES OPTIMIZADAS DIRECTAMENTE EN EL HTML (preconnect + link) */

/* 🎨 VARIABLES Y SISTEMA DE DISEÑO */
:root {
    /* Colores */
    --bg-dark: #070708;
    --bg-card: #121214;
    --bg-card-hover: #18181c;
    --primary-cyan: #17E6E6;
    --primary-cyan-rgb: 23, 230, 230;
    --primary-orange: #FF6600;
    --primary-orange-rgb: 255, 102, 0;
    --text-light: #F8F9FA;
    --text-muted: #A0A5B0;
    --border-color: rgba(23, 230, 230, 0.1);
    --border-color-hover: rgba(23, 230, 230, 0.25);
    
    /* Tipografía */
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efectos y Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.9);
    --glow-cyan: 0 0 15px rgba(23, 230, 230, 0.35);
    --glow-orange: 0 0 15px rgba(255, 102, 0, 0.35);
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* 🔄 RESET Y ESTILOS GLOBALES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 🧱 ELEMENTOS DE ESTRUCTURA */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* 🏷️ ACCESIBILIDAD */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-orange);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    z-index: 10000;
    transition: top 0.2s ease;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* 🔍 TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

strong {
    color: var(--text-light);
    font-weight: 600;
}

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-light);
}

/* 🏷️ ETIQUETAS Y ADORNOS (BADGES) */
.badge-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-orange);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.badge-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background-color: var(--primary-cyan);
}

/* 🔘 BOTONES Y CTA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: var(--glow-orange);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-secondary:hover {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan);
}

/* 🧭 NAVEGACIÓN Y HEADER */
.main-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(7, 7, 8, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 42px;
}

.nav-menu {
    display: none; /* Oculto en móviles por defecto */
}

/* Menú Móvil Hamburguesa */
.burger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
}

.burger-box {
    display: inline-block;
    width: 28px;
    height: 24px;
    position: relative;
}

.burger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 28px;
    height: 3px;
    background-color: var(--primary-cyan);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.burger-inner::before,
.burger-inner::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-cyan);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}

.burger-inner::before {
    top: -8px;
}

.burger-inner::after {
    bottom: -8px;
}

/* Estado Activo del Botón Hamburguesa */
.burger-menu.is-active .burger-inner {
    transform: rotate(45deg);
    background-color: var(--primary-orange);
}

.burger-menu.is-active .burger-inner::before {
    top: 0;
    transform: rotate(0);
    background-color: var(--primary-orange);
}

.burger-menu.is-active .burger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    background-color: var(--primary-orange);
}

/* Panel Deslizante (Slideout Panel) */
.slideout-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: rgba(18, 18, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border-color);
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.slideout-nav.is-open {
    right: 0;
}

.slideout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.slideout-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.slideout-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slideout-menu-item a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.slideout-menu-item a:hover,
.slideout-menu-item.current a {
    color: var(--primary-cyan);
    border-bottom-color: var(--primary-cyan);
    padding-left: 0.5rem;
}

.slideout-menu-item .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slideout-submenu {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.slideout-submenu.is-active {
    display: flex;
}

.slideout-submenu a {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* 🦸 SECCIÓN HERO */
.hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title strong {
    color: var(--primary-cyan);
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 2.5rem;
}

.hero-media-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* Garantiza reserva de espacio para prevenir Cumulative Layout Shift (CLS) */
}

.hero-media-wrapper::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(23, 230, 230, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* 📋 SECCIÓN AUDITORÍA / SERVICIOS (TARJETAS) */
.section-intro {
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.list-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.list-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
}

.list-features .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(23, 230, 230, 0.1);
    color: var(--primary-cyan);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-cyan);
    background-color: var(--bg-card-hover);
}

.neon-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 5px currentColor);
    transition: var(--transition-smooth);
    display: block;
}

.card:hover .neon-icon {
    filter: drop-shadow(0 0 12px currentColor);
    transform: scale(1.08) translateY(-2px);
}

.icon-cyan {
    color: var(--primary-cyan);
}

.icon-orange {
    color: var(--primary-orange);
}

.icon-purple {
    color: #BD00FF; /* Morado neón vibrante */
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* 🎠 SECCIÓN CARRUSEL INFINITO */
.carousel-section {
    padding: 4rem 0;
    background-color: #08080a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.carousel-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.carousel-title-row h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.carousel-shape-icon {
    height: 32px;
    width: auto;
}

.carousel-wrapper {
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll-infinite 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    background-color: rgba(18, 18, 20, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 260px;
    height: 100px;
    transition: var(--transition-smooth);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.75;
    filter: grayscale(100%) brightness(1.5);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.carousel-item:hover {
    border-color: rgba(23, 230, 230, 0.3);
    transform: scale(1.04);
    box-shadow: 0 0 15px rgba(23, 230, 230, 0.15);
    background-color: rgba(24, 24, 28, 0.85);
}

.carousel-item:hover img {
    opacity: 1;
    filter: none;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 🤖 SECCIÓN IA / DEJAR DE APARECER */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.split-media-wrapper {
    position: relative;
}

.split-media-wrapper::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.split-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.check-item svg {
    color: var(--primary-cyan);
    flex-shrink: 0;
}

/* 👥 SECCIÓN CASOS DE ESTUDIO (TESTIMONIOS) */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(23, 230, 230, 0.1);
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    line-height: 1;
}

.testimonial-metric {
    background-color: rgba(255, 102, 0, 0.05);
    border: 1px dashed rgba(255, 102, 0, 0.3);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.metric-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.metric-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-list li {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-list li::before {
    content: '>';
    color: var(--primary-cyan);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-cyan);
    box-shadow: var(--shadow-sm);
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 📬 SECCIÓN CONTACTO */
.contact-section {
    background-color: #0b0b0e;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary-cyan);
    border-radius: 10px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Formulario */
.form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-input,
.form-textarea {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

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

/* Honeypot Spam Protection */
.honeypot-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -100 !important;
}

.form-feedback {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: none;
    text-align: center;
}

.form-feedback.success {
    display: block;
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid #27ae60;
    color: #2ec86e;
}

.form-feedback.error {
    display: block;
    background-color: rgba(192, 57, 43, 0.15);
    border: 1px solid #c0392b;
    color: #e74c3c;
}

/* 📌 BOTÓN FLOTANTE ANIMADO */
.btn-float-form,
.contact-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    animation: bounce-glow 2s infinite ease-in-out;
    outline: none;
}

.btn-float-form:hover,
.contact-floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
}

.btn-float-form svg,
.contact-floating-btn svg {
    width: 32px;
    height: 32px;
    transition: var(--transition-smooth);
}

.btn-float-form:hover svg,
.contact-floating-btn:hover svg {
    transform: rotate(15deg);
}

@keyframes bounce-glow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: var(--shadow-lg), 0 0 0 0 rgba(255, 102, 0, 0.5);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg), 0 0 20px 8px rgba(255, 102, 0, 0.3);
    }
}

/* 🔝 BOTÓN DE VOLVER ARRIBA */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: rgba(18, 18, 20, 0.8);
    border: 1px solid var(--border-color);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan);
}

/* 🍪 COMPONENTE COOKIES (GDPR) */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background-color: rgba(18, 18, 20, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition-smooth);
    animation: slide-up-cookies 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--text-light);
}

.cookie-content p a {
    color: var(--primary-cyan);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-btn-accept {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
}

.cookie-btn-accept:hover {
    background-color: transparent;
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.cookie-btn-reject {
    background-color: transparent;
    border-color: rgba(255,255,255,0.1);
    color: var(--text-muted);
}

.cookie-btn-reject:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.cookie-btn-settings {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--primary-cyan);
}

.cookie-btn-settings:hover {
    background-color: rgba(23, 230, 230, 0.05);
    box-shadow: var(--glow-cyan);
}

@keyframes slide-up-cookies {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Ajustes Cookies */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: zoom-in-cookies 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoom-in-cookies {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-modal-close:hover {
    color: var(--primary-orange);
}

.cookie-modal-body {
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cookie-option-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-option-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Switch slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border-color);
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-light);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-cyan);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-cyan);
}

input:checked + .slider::before {
    transform: translateX(24px);
    background-color: var(--bg-dark);
}

.slider.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-option-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* 📜 PIE DE PÁGINA (FOOTER) */
.main-footer {
    background-color: #060608;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-info {
    text-align: left;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.footer-brand strong {
    color: var(--primary-cyan);
}

.footer-brand-desc {
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-cyan);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--primary-cyan);
    padding-left: 0.25rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-3px);
}

.social-btn-whatsapp:hover {
    color: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-copy a {
    color: var(--text-light);
    font-weight: 500;
}

/* ==========================================================================
   ⚡ MEDIA QUERIES (RESPONSIVE DE ALTO RENDIMIENTO - MOBILE FIRST)
   ========================================================================== */

/* 📱 Dispositivos medianos (Tablets / 768px o superior) */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    section {
        padding: 7rem 0;
    }

    /* Hero Grid en dos columnas */
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }

    /* Grid de servicios en dos columnas */
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    /* Split section en dos columnas */
    .split-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }

    /* Carrusel horizontal en tablets */
    .carousel-title-row {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    /* Testimoniales en 2 columnas */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Formulario e información de contacto en 2 columnas */
    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 5rem;
    }

    /* Footer Grid en 4 columnas */
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 4rem;
    }

    .cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        padding: 1.5rem 2.5rem;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }
}

/* 💻 Pantallas de Escritorio (Desktop / 1024px o superior) */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-desc {
        font-size: 1.2rem;
    }

    /* Mostrar menú normal de navegación en escritorio */
    .burger-menu {
        display: none;
    }

    .slideout-nav {
        display: none !important;
    }

    .nav-menu {
        display: block;
    }

    .nav-list {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-item {
        position: relative;
    }

    .nav-item a {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-light);
        padding: 0.5rem 0;
        position: relative;
    }

    .nav-item a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-cyan);
        transition: var(--transition-smooth);
    }

    .nav-item a:hover::after,
    .nav-item.current a::after {
        width: 100%;
    }

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

    /* Dropdowns de menú */
    .nav-item-has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background-color: rgba(18, 18, 20, 0.95);
        backdrop-filter: blur(12px);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 1rem;
        list-style: none;
        min-width: 220px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .submenu a {
        font-size: 0.9rem;
        font-weight: 400;
        color: var(--text-muted);
        display: block;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
    }

    .submenu a:hover {
        color: var(--primary-cyan);
        background-color: rgba(23, 230, 230, 0.05);
    }
}
