/* ==========================================
   NEXOH Consultores - WordPress Theme CSS
   Diseno sobrio en tonalidades claras
   ========================================== */

/* CSS Variables - Paleta Clara */
:root {
    --white: #FFFFFF;
    --cream: #F8FAFC;
    --gray-50: #F1F5F9;
    --gray-100: #E2E8F0;
    --gray-200: #CBD5E1;
    --gray-300: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --navy: #0A2540;
    --navy-light: #164E7C;
    --teal: #0D9488;
    --teal-light: #14B8A6;
    --teal-pale: #CCFBF1;
    --cyan: #0891B2;
    --magenta: #BE185D;
    --magenta-light: #FCE7F3;
    --max-width: 1200px;
    --section-padding: 100px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
    --shadow-teal: 0 10px 40px -10px rgba(13, 148, 136, 0.25);
    --whatsapp: #25D366;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
}
::selection { background: rgba(13, 148, 136, 0.2); color: var(--navy); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   NETWORK BACKGROUND CANVAS
   ========================================== */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: all;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; transition: opacity 0.3s; }
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-family: var(--font-body); font-size: 14px; font-weight: 500;
    color: var(--gray-500); transition: color 0.3s; position: relative; letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--teal); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--teal); transition: width 0.3s; border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
    display: inline-flex; align-items: center; background: var(--teal); color: var(--white);
    padding: 10px 24px; border-radius: 9999px; font-family: var(--font-body); font-size: 14px;
    font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
    cursor: pointer; border: none;
}
.nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3); }
.nav-toggle { display: none; background: none; border: none; color: var(--gray-600); cursor: pointer; padding: 4px; }
.nav-mobile { display: none; padding: 24px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); border-top: 1px solid var(--gray-100); flex-direction: column; gap: 16px; }
.nav-mobile.active { display: flex; }
.nav-cta-mobile { text-align: center; justify-content: center; margin-top: 8px; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; padding: 140px 24px 100px; z-index: 1;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--teal-pale);
    border: 1px solid rgba(13, 148, 136, 0.15); border-radius: 9999px;
    padding: 8px 20px; margin-bottom: 32px; font-size: 14px; font-weight: 500; color: var(--teal);
}
.hero-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1;
    color: var(--navy); margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-subtitle {
    font-family: var(--font-body); font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--gray-500); max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 64px; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }
.btn-primary {
    display: inline-flex; align-items: center; gap: 12px; background: var(--teal); color: var(--white);
    padding: 16px 32px; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 16px;
    font-weight: 600; border: none; cursor: pointer; transition: all 0.3s; box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 15px 50px rgba(13, 148, 136, 0.35); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--gray-200);
    color: var(--gray-600); padding: 16px 32px; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 16px; font-weight: 500;
    background: transparent; cursor: pointer; transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); background: rgba(13, 148, 136, 0.04); }
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    max-width: 500px; margin: 0 auto; padding-top: 32px; border-top: 1px solid var(--gray-100);
}
.hero-stat-value { font-family: var(--font-mono); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--teal); font-weight: 500; }
.hero-stat-label { font-size: 13px; color: var(--gray-300); margin-top: 4px; font-weight: 500; letter-spacing: 0.02em; }

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
    display: inline-block; font-family: var(--font-mono); font-size: 13px;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal);
    margin-bottom: 16px; font-weight: 500;
}
.section-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 3rem); color: var(--navy);
    margin-bottom: 24px; line-height: 1.2; letter-spacing: -0.01em;
}
.section-desc {
    font-family: var(--font-body); font-size: 18px; color: var(--gray-500);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ==========================================
   PROPOSITO SECTION
   ========================================== */
.section-proposito { position: relative; padding: var(--section-padding) 24px; z-index: 1; background: var(--white); }
.pilares-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
@media (min-width: 640px) { .pilares-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pilares-grid { grid-template-columns: repeat(4, 1fr); } }
.pilar-card {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
    padding: 32px; transition: all 0.4s; box-shadow: var(--shadow-sm);
}
.pilar-card:hover { border-color: rgba(13, 148, 136, 0.25); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pilar-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background 0.3s; }
.pilar-card:hover .pilar-icon { background: rgba(13, 148, 136, 0.2); }
.pilar-icon svg { color: var(--teal); }
.pilar-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.pilar-desc { font-family: var(--font-body); font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ==========================================
   INFOGRAPHIC TABLE SECTION
   ========================================== */
.section-infografia { position: relative; padding: var(--section-padding) 24px; z-index: 1; background: var(--cream); }

/* ==========================================
   INFOGRAFIA BLOCKS - Visual por bloques
   ========================================== */
.infografia-blocks { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .infografia-blocks { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.info-block {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.4s; box-shadow: var(--shadow-sm); position: relative;
}
.info-block:hover { border-color: rgba(13, 148, 136, 0.2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.info-block::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--cyan));
    opacity: 0; transition: opacity 0.3s;
}
.info-block:hover::before { opacity: 1; }

/* Header: numero + icono + titulo */
.info-block-header {
    padding: 28px 28px 20px; display: flex; align-items: center; gap: 16px;
    border-bottom: 1px solid var(--gray-50); position: relative;
}
.info-block-num {
    font-family: var(--font-mono); font-size: 36px; font-weight: 700;
    color: var(--teal); opacity: 0.2; line-height: 1; position: absolute;
    top: 16px; right: 20px;
}
.info-block-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal-pale), rgba(13, 148, 136, 0.1));
}
.info-block:nth-child(2) .info-block-icon { background: linear-gradient(135deg, #DBEAFE, rgba(59, 130, 246, 0.1)); }
.info-block:nth-child(3) .info-block-icon { background: linear-gradient(135deg, #FCE7F3, rgba(236, 72, 153, 0.1)); }
.info-block:nth-child(4) .info-block-icon { background: linear-gradient(135deg, #FEF3C7, rgba(245, 158, 11, 0.1)); }
.info-block-icon svg { color: var(--teal); }
.info-block:nth-child(2) .info-block-icon svg { color: #2563EB; }
.info-block:nth-child(3) .info-block-icon svg { color: #DB2777; }
.info-block:nth-child(4) .info-block-icon svg { color: #D97706; }
.info-block-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); }

/* Sintoma */
.info-sintoma { padding: 22px 28px; background: linear-gradient(135deg, #FFF1F2, #FFF5F5); border-bottom: 1px dashed var(--gray-200); }
.info-sintoma p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin: 0; }
.info-tag-sintoma {
    display: inline-block; font-family: var(--font-mono); font-size: 11px;
    font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: #E11D48; background: #FFE4E6; padding: 4px 12px; border-radius: 9999px; margin-bottom: 10px;
}

/* Arrow connector */
.info-arrow {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; background: var(--white); color: var(--gray-300);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    border-bottom: 1px solid var(--gray-100); position: relative;
}
.info-arrow svg { color: var(--teal); animation: bounce-down 2s infinite; }
@keyframes bounce-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* Solucion */
.info-solucion { padding: 22px 28px 28px; background: linear-gradient(135deg, #F0FDFA, #F5FFFA); }
.info-solucion p { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin: 0; }
.info-solucion strong { color: var(--teal); font-weight: 600; }
.info-tag-solucion {
    display: inline-block; font-family: var(--font-mono); font-size: 11px;
    font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--teal); background: var(--teal-pale); padding: 4px 12px; border-radius: 9999px; margin-bottom: 10px;
}

/* ==========================================
   SERVICIOS SECTION (9 cards)
   ========================================== */
.section-servicios { position: relative; padding: var(--section-padding) 24px; z-index: 1; background: var(--white); }
.servicios-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
@media (min-width: 640px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .servicios-grid { grid-template-columns: repeat(3, 1fr); } }
.servicio-card {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
    padding: 32px; position: relative; transition: all 0.4s; box-shadow: var(--shadow-sm);
}
.servicio-card:hover { border-color: rgba(13, 148, 136, 0.25); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servicio-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.4s; }
.servicio-card:hover .servicio-icon { transform: scale(1.08); }
.servicio-icon-1 { background: linear-gradient(135deg, var(--teal-pale), rgba(13, 148, 136, 0.05)); }
.servicio-icon-2 { background: linear-gradient(135deg, #E0F2FE, rgba(8, 145, 178, 0.05)); }
.servicio-icon-3 { background: linear-gradient(135deg, var(--teal-pale), #E0F2FE); }
.servicio-icon-4 { background: linear-gradient(135deg, #E0F2FE, var(--teal-pale)); }
.servicio-icon-5 { background: linear-gradient(135deg, var(--teal-pale), rgba(13, 148, 136, 0.05)); }
.servicio-icon-6 { background: linear-gradient(135deg, #E0F2FE, rgba(8, 145, 178, 0.05)); }
.servicio-icon-7 { background: linear-gradient(135deg, var(--teal-pale), #E0F2FE); }
.servicio-icon-8 { background: linear-gradient(135deg, #E0F2FE, var(--teal-pale)); }
.servicio-icon-9 { background: linear-gradient(135deg, var(--teal-pale), var(--magenta-light)); }
.servicio-icon svg { color: var(--teal); }
.servicio-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--navy); margin-bottom: 10px; transition: color 0.3s; }
.servicio-card:hover .servicio-title { color: var(--teal); }
.servicio-desc { font-family: var(--font-body); font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.servicios-hub { margin-top: 48px; text-align: center; }
.servicios-hub-inner { display: inline-flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 9999px; padding: 12px 24px; box-shadow: var(--shadow-sm); }
.servicios-hub-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.servicios-hub-text { font-family: var(--font-body); font-size: 14px; color: var(--gray-500); }
.servicios-hub-text span { color: var(--teal); font-weight: 600; }

/* ==========================================
   DIFERENCIADOR SECTION
   ========================================== */
.section-diferenciador { position: relative; padding: var(--section-padding) 24px; z-index: 1; background: var(--cream); }
.diferenciador-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .diferenciador-grid { grid-template-columns: repeat(2, 1fr); } }
.dif-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 36px; transition: all 0.4s; box-shadow: var(--shadow-sm); }
.dif-card:hover { border-color: rgba(13, 148, 136, 0.25); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dif-header { display: flex; align-items: flex-start; gap: 20px; }
.dif-num-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.dif-num { font-family: var(--font-mono); font-size: 36px; font-weight: 700; color: var(--teal); line-height: 1; opacity: 0.4; transition: opacity 0.3s; }
.dif-card:hover .dif-num { opacity: 0.7; }
.dif-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.dif-card:hover .dif-icon { background: rgba(13, 148, 136, 0.2); }
.dif-icon svg { color: var(--teal); }
.dif-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 10px; transition: color 0.3s; }
.dif-card:hover .dif-title { color: var(--teal); }
.dif-desc { font-family: var(--font-body); font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ==========================================
   DIAGNOSTICO MODAL
   ========================================== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
    background: var(--white); border-radius: var(--radius-lg);
    width: 100%; max-width: 720px; max-height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden; transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease; display: flex; flex-direction: column;
}
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--gray-100);
    background: var(--cream); flex-shrink: 0;
}
.modal-header-left { display: flex; align-items: center; gap: 12px; }
.modal-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; }
.modal-avatar svg { color: var(--teal); }
.modal-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy); }
.modal-status { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.modal-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse-dot 2s infinite; }
.modal-status-text { font-size: 12px; color: var(--gray-300); }
.modal-close {
    background: none; border: none; color: var(--gray-300); cursor: pointer;
    padding: 8px; border-radius: 8px; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-600); }
.modal-body { flex: 1; overflow-y: auto; padding: 0; }

/* Chat inside modal */
.chat-messages {
    height: 450px; overflow-y: auto; padding: 24px;
    display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 640px) { .chat-messages { height: 350px; padding: 16px; } }
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

.msg-bot { display: flex; gap: 12px; max-width: 90%; }
.msg-bot-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; }
.msg-bot-avatar svg { color: var(--teal); width: 16px; height: 16px; }
.msg-bot-bubble { background: var(--cream); border: 1px solid var(--gray-100); border-radius: 16px; border-top-left-radius: 4px; padding: 12px 16px; }
.msg-bot-text { font-family: var(--font-body); font-size: 14px; color: var(--gray-700); line-height: 1.6; }
.msg-user { display: flex; gap: 12px; justify-content: flex-end; max-width: 85%; margin-left: auto; }
.msg-user-bubble { background: var(--teal); color: var(--white); border-radius: 16px; border-top-right-radius: 4px; padding: 12px 16px; }
.msg-user-text { font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.6; }
.msg-user-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; }
.msg-user-avatar svg { color: var(--teal); width: 16px; height: 16px; }

/* Sector Cards in chat */
.sector-cards-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 480px) { .sector-cards-grid { grid-template-columns: repeat(2, 1fr); } }
.sector-card-btn {
    display: flex; align-items: center; gap: 12px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: 12px; padding: 14px;
    cursor: pointer; transition: all 0.3s; text-align: left; width: 100%;
}
.sector-card-btn:hover { border-color: var(--teal); background: var(--teal-pale); }
.sector-card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s; }
.sector-card-btn:hover .sector-card-icon { background: rgba(13, 148, 136, 0.2); }
.sector-card-icon svg { color: var(--teal); }
.sector-card-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy); }
.sector-card-desc { font-size: 12px; color: var(--gray-300); margin-top: 2px; }

/* Option Chips */
.options-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.option-chip {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 9999px;
    padding: 8px 16px; font-family: var(--font-body); font-size: 13px;
    color: var(--gray-600); cursor: pointer; transition: all 0.3s;
}
.option-chip:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

/* Result Card */
.result-card { border: 2px solid; border-radius: var(--radius-lg); overflow: hidden; margin-top: 12px; }
.result-header { padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.result-header svg { flex-shrink: 0; }
.result-level-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.result-level-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); }
.result-body { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.result-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.result-recommendations h4 { font-family: var(--font-display); font-size: 14px; color: var(--teal); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.result-recommendations h4 svg { width: 16px; height: 16px; }
.result-recommendations ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.result-recommendations li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--gray-500); }
.result-recommendations li svg { color: var(--teal); width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }

/* WhatsApp CTA */
.whatsapp-cta {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 16px; border-radius: var(--radius-md); border: none;
    font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer;
    transition: all 0.3s; margin-top: 8px; text-decoration: none;
    background: var(--whatsapp); color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}
.whatsapp-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4); }
.whatsapp-cta svg { flex-shrink: 0; }

/* Typing */
.typing-indicator { display: flex; gap: 5px; padding: 4px; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: typing-bounce 1.4s infinite ease-in-out; }
.typing-dot:nth-child(1) { animation-delay: 0ms; }
.typing-dot:nth-child(2) { animation-delay: 150ms; }
.typing-dot:nth-child(3) { animation-delay: 300ms; }
@keyframes typing-bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }

/* Chat Input */
.chat-input-area { padding: 16px 24px; border-top: 1px solid var(--gray-100); background: var(--cream); flex-shrink: 0; }
.chat-input-wrap { display: flex; gap: 10px; }
.chat-input {
    flex: 1; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); padding: 12px 16px; font-family: var(--font-body);
    font-size: 14px; color: var(--gray-700); outline: none; transition: border-color 0.3s;
}
.chat-input::placeholder { color: var(--gray-300); }
.chat-input:focus { border-color: var(--teal); }
.chat-send {
    width: 44px; height: 44px; background: var(--teal); border: none;
    border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}
.chat-send:hover { background: var(--teal-light); }
.chat-send svg { color: var(--white); width: 18px; height: 18px; }

/* ==========================================
   FOOTER
   ========================================== */
.footer { position: relative; background: var(--navy); padding: 72px 24px 0; z-index: 1; }
.footer-container { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); } }
.footer-logo-img { height: 48px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--gray-300); line-height: 1.7; max-width: 300px; margin-bottom: 24px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-300); }
.footer-heading { font-family: var(--font-display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 20px; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { font-size: 14px; color: var(--gray-300); transition: color 0.3s; display: flex; align-items: center; gap: 4px; }
.footer-list a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 12px; color: var(--gray-300); }
.footer-tag { font-family: var(--font-mono); opacity: 0.7; }

/* ==========================================
   UTILITIES & RESPONSIVE
   ========================================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Responsive Nav */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .hero { padding: 100px 16px 60px; min-height: auto; }
    .section-proposito,
    .section-infografia,
    .section-servicios,
    .section-diferenciador { padding: 60px 16px; }
    .hero-stats { gap: 16px; }
    .hero-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 14px; width: 100%; justify-content: center; }
    .dif-header { flex-direction: column; }
    .dif-num-wrap { flex-direction: row; align-items: center; gap: 16px; }
    .modal-container { max-height: 95vh; border-radius: var(--radius-md); }
    .chat-messages { height: 350px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 16px; height: 64px; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; text-align: center; border-top: none; padding-top: 0; }
    .hero-stat { padding: 16px; background: var(--cream); border-radius: var(--radius-md); }
    .footer-grid { grid-template-columns: 1fr; }
    .modal-overlay { padding: 8px; }
    .modal-header { padding: 14px 16px; }
    .chat-messages { padding: 12px; height: 300px; }
    .chat-input-area { padding: 12px 16px; }
}

@media (min-width: 769px) { .nav-mobile { display: none !important; } }
