/* ==========================================================================
   SEI MÉXICO - ESTILOS GLOBALES Y HOJA DE DISEÑO
   ========================================================================== */

/* Importación de tipografía tecnológica y moderna */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Paleta de Colores de Folleto SEI México */
    --primary: #002855;        /* Azul Marino profundo */
    --primary-light: #0d386c;  /* Azul Marino más suave */
    --secondary: #0066cc;      /* Azul brillante corporativo */
    --secondary-hover: #0052a3;/* Azul brillante hover */
    --accent: #00d2f3;         /* Cian / Azul claro eléctrico */
    --accent-rgb: 0, 210, 243;
    --text-dark: #1e293b;      /* Gris muy oscuro para alta legibilidad */
    --text-muted: #64748b;     /* Gris para subtítulos y textos secundarios */
    --bg-light: #f8fafc;       /* Fondo claro principal */
    --bg-white: #ffffff;       /* Blanco puro */
    --success: #22c55e;        /* Verde WhatsApp */
    --border-color: #e2e8f0;   /* Color de bordes sutiles */

    /* Fuentes y Tamaños */
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Sombras Elevadas (Premium Aesthetics) */
    --shadow-sm: 0 2px 8px rgba(0, 40, 85, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 40, 85, 0.08), 0 8px 16px -6px rgba(0, 40, 85, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(0, 40, 85, 0.12), 0 12px 20px -8px rgba(0, 40, 85, 0.06);
    --shadow-glow: 0 0 20px rgba(0, 210, 243, 0.35);

    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* 1. RESET & ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Personalización del Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 2. COMPONENTES REUTILIZABLES */

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-bounce);
    white-space: nowrap;
}

.btn span {
    display: inline-block;
    line-height: 1;
}

.btn svg {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    display: block;
    margin: 0;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: var(--success);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-whatsapp:hover {
    background-color: #1cb050;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

/* Tarjetas de Contenedor */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* 3. ESTRUCTURA LAYOUT GENERAL */

/* Header & Navbar con Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

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

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
    font-weight: 600;
}

/* Overlay sutil para el menú móvil */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Menú móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(0, 40, 85, 0.05);
    border: 1px solid rgba(0, 40, 85, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    z-index: 1010;
    transition: var(--transition-smooth);
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition-bounce);
}

/* 4. SECCIÓN HERO */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px 24px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 10% 80%, rgba(0, 210, 243, 0.06) 0%, rgba(255, 255, 255, 0) 50%),
                var(--bg-light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_tech1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.hero-tag span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 2s infinite;
}

.hero h1 {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
    background-color: var(--bg-white);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-bounce);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* 5. SECCIÓN SERVICIOS (Brochure Cards) */
.section {
    padding: 100px 24px;
}

.section-bg-alt {
    background-color: var(--bg-white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 64px auto;
    text-align: center;
}

.section-tag {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-muted);
    font-size: 17px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

/* Cabecera de la tarjeta idéntica al folleto */
.card-header-blue {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.card-header-blue::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.2);
    border-radius: 50%;
}

.card-icon-container {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.card-icon-container svg {
    width: 26px;
    height: 26px;
    fill: var(--accent);
}

.card-header-blue h3 {
    color: var(--bg-white);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.card-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-light);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .card-img-container img {
    transform: scale(1.08);
}

.card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-checklist {
    margin-bottom: 24px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.check-icon {
    width: 20px;
    height: 20px;
    background-color: rgba(0, 102, 204, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1.5px solid var(--secondary);
}

.check-icon svg {
    width: 10px;
    height: 10px;
    fill: var(--secondary);
}

.card-cta {
    width: 100%;
}

/* 6. SECCIÓN BENEFICIOS */
.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(0, 102, 204, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 2px dashed rgba(0, 102, 204, 0.2);
    transition: var(--transition-smooth);
    color: var(--secondary);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--secondary);
    color: var(--bg-white);
    border-style: solid;
    border-color: var(--secondary);
    transform: rotate(360deg);
}

.benefit-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 7. SECCIÓN PROCESO DE TRABAJO */
.process-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.process-container::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.process-step {
    position: relative;
    margin-bottom: 48px;
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    left: -53px;
    top: 24px;
    width: 32px;
    height: 32px;
    background-color: var(--secondary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
    z-index: 5;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background-color: var(--accent);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.process-step p {
    color: var(--text-muted);
}

/* 8. SECCIÓN CONFIANZA (Prueba Social/Marcas) */
.trust-grid {
    max-width: 1200px;
    margin: 0 auto 56px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-item {
    text-align: center;
    padding: 32px 24px;
}

.trust-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.trust-item h5 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-muted);
}

.brands-container {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
}

.brands-container h4 {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.brands-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.65;
}

.brand-logo {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 22px;
    color: #475569;
    letter-spacing: -0.5px;
}

/* 9. SECCIÓN CONTACTO DIRECTO */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    animation: fadeInLeft 0.8s ease-out;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.contact-list {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 32px;
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-agent-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-agent-name::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background-color: var(--secondary);
    border-radius: 3px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.contact-link:hover {
    color: var(--secondary);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    transition: var(--transition-smooth);
}

.contact-link:hover svg {
    fill: var(--secondary);
}

.contact-link.whatsapp-link:hover {
    color: var(--success);
}

.contact-link.whatsapp-link:hover svg {
    fill: var(--success);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: fadeInRight 0.8s ease-out;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 15px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background-color: var(--bg-light);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

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

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* 10. PIE DE PÁGINA (Footer) */
footer {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 80px 24px 30px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand h4 {
    color: var(--bg-white);
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    height: 45px;
    margin-bottom: 20px;
}

.footer-links h5 {
    color: var(--bg-white);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #94a3b8;
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #1e3a5f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #94a3b8;
}

.footer-slogan {
    font-weight: 500;
}

/* ==========================================================================
   ESTILOS ADICIONALES PARA PÁGINAS DE DETALLE DE SERVICIOS
   ========================================================================== */

/* Sub-Hero de Servicios */
.service-hero {
    padding: 160px 24px 80px 24px;
    background-color: var(--primary);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.service-hero::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.3) 0%, rgba(0,0,0,0) 70%);
}

.service-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-hero-content {
    z-index: 2;
}

.service-hero-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-hero h1 {
    color: var(--bg-white);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-hero-desc {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 32px;
}

.service-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

/* Contenido de Detalle */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
}

.detail-features h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

.feature-block {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.feature-block-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(0, 102, 204, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary);
}

.feature-block-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-block-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-block-content p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Sidebar de Cotización en Detalle */
.sidebar-cta {
    position: sticky;
    top: 120px;
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--secondary);
}

.sidebar-cta h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.sidebar-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.sidebar-features-list {
    margin-bottom: 32px;
}

.sidebar-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.sidebar-feature-item svg {
    width: 16px;
    height: 16px;
    fill: var(--success);
}

/* 11. ANIMACIONES KEYFRAMES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 243, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 210, 243, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 243, 0);
    }
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Media Queries)
   ========================================================================== */

/* Pantallas grandes / Escritorio estándar */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 46px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .detail-container {
        grid-template-columns: 1fr;
    }
    .sidebar-cta {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 14px 20px;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1010;
        padding: 6px;
    }
    
    .nav-toggle span {
        width: 24px;
        height: 2.5px;
        background-color: var(--primary);
        border-radius: 3px;
        transition: var(--transition-bounce);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-white);
        box-shadow: -10px 0 35px rgba(0, 40, 85, 0.15);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 6px;
        padding: 80px 20px 30px 20px;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1005;
        overflow-y: auto;
    }

    /* Título de cabecera sutil dentro del menú móvil */
    .nav-menu::before {
        content: 'MENÚ DE NAVEGACIÓN';
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: var(--text-muted);
        text-transform: uppercase;
        padding-bottom: 12px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-dark);
        padding: 13px 16px;
        border-radius: var(--radius-sm);
        transition: var(--transition-smooth);
        border-left: 3px solid transparent;
    }

    /* Flecha discreta a la derecha para dar mejor forma en móvil */
    .nav-link::after {
        content: '›';
        display: inline-block !important;
        font-size: 20px;
        font-weight: 400;
        color: #94a3b8;
        opacity: 0.6;
        transition: var(--transition-smooth);
        height: auto;
        position: static;
        background-color: transparent;
        width: auto;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--secondary);
        background-color: rgba(0, 102, 204, 0.06);
        border-left-color: var(--secondary);
        font-weight: 600;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        color: var(--secondary);
        opacity: 1;
        transform: translateX(3px);
    }

    .nav-btn-item {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .nav-btn-item .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 15px;
        box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
    }

    /* Animación del botón hamburguesa activa -> 'X' */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background-color: var(--primary);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background-color: var(--primary);
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-image {
        transform: none;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image:hover {
        transform: none;
    }

    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .service-hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .service-hero h1 {
        font-size: 36px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .brands-slider {
        gap: 24px;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
