/* styles.css */

/* ----------------------------------------------------
   1. VARIABLES Y DISEÑO DEL SISTEMA DE MARCA
---------------------------------------------------- */
:root {
    /* Paleta Premium - Alineada con la colorimetría de Valois */
    --primary-dark: #0A1E43;    /* Azul Marino Exacto del Logotipo */
    --primary-medium: #122A56;  /* Azul Corporativo Intermedio */
    --primary-light: #FFFFFF;   /* Blanco Níveo */
    --accent-cyan: #5BC2E7;     /* Celeste Suave de la Media Luna del Logotipo */
    --accent-blue: #0091D5;     /* Azul Eléctrico del Checkmark */
    --gradient-brand: linear-gradient(135deg, #5BC2E7 0%, #0091D5 50%, #0A1E43 100%);
    --gradient-dark: linear-gradient(180deg, #0A1E43 0%, #122A56 100%);
    
    /* Escala de Grises Plata y Neutros */
    --gray-bg: #F8FAFC;
    --gray-card: #FFFFFF;
    --gray-silver: #E2E8F0;     /* Gris Plata para Bordes */
    --gray-text: #475569;       /* Gris de Lectura */
    --gray-text-light: #94A3B8; /* Gris Secundario */
    --gray-dark: #0F172A;
    
    /* Sombras y Efectos */
    --shadow-premium: 0 20px 40px -15px rgba(11, 27, 61, 0.08);
    --shadow-card: 0 10px 30px -10px rgba(11, 27, 61, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Tipografía y Bordes */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ----------------------------------------------------
   2. REGLAS BASE Y RESET
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--gray-bg);
    color: var(--gray-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ----------------------------------------------------
   3. ESTILOS DE ELEMENTOS COMUNES Y BOTONES
---------------------------------------------------- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: var(--primary-dark);
    font-family: var(--font-title);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0, 229, 255, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563EB 0%, #00E5FF 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 229, 255, 0.4);
    color: #FFFFFF;
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid var(--accent-cyan);
    box-shadow: none;
}

.btn-cta.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    box-shadow: 0 10px 20px -5px rgba(0, 229, 255, 0.3);
}

.btn-cta.btn-secondary:hover::before {
    opacity: 0;
}

/* Insignias de Sección */
.section-badge {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title-wrapper {
    margin-bottom: 4rem;
}

.section-title-wrapper.center {
    text-align: center;
}

.section-title-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle-text {
    font-size: 1.15rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
}

/* ----------------------------------------------------
   4. CABECERA / NAVEGACIÓN (HEADER)
---------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96); /* Blanco Glassmorphism Premium */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-silver);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.1rem 0;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 10px 30px -10px rgba(11, 27, 61, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 75px;
}

/* Logotipo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-container:hover .logo-img {
    transform: scale(1.02);
}

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

/* Menú de Navegación */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-dark);
    opacity: 0.85;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link:hover {
    color: var(--accent-blue);
    opacity: 1;
}

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

.btn-header {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--primary-dark) !important;
}

.btn-header:hover {
    color: #FFFFFF !important;
}

/* Menú Móvil */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   5. SECCIÓN HERO (PORTADA PRINCIPAL Y DASHBOARD)
---------------------------------------------------- */
.hero-section {
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, rgba(11, 27, 61, 0) 50%), var(--gradient-dark);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse-glow 2s infinite;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.highlight-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Mensaje de Valor */
.hero-value-message {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--accent-cyan);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 3rem;
}

.quote-symbol {
    font-family: var(--font-title);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-cyan);
    opacity: 0.6;
    margin-top: -0.5rem;
}

.value-text strong {
    color: #FFFFFF;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.value-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Visual: Dashboard Interactivo de Control */
.hero-visual {
    position: relative;
    z-index: 5;
}

.dashboard-card {
    background: rgba(11, 27, 61, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #EF4444;
}

.dashboard-dots span:nth-child(2) { background-color: #F59E0B; }
.dashboard-dots span:nth-child(3) { background-color: #10B981; }

.dashboard-title {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.dashboard-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
    animation: pulse-glow 1.5s infinite;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.kpi-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition-smooth);
}

.kpi-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.kpi-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-value-container {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: #FFFFFF;
}

.kpi-trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.kpi-trend.trend-up {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.kpi-trend.trend-down {
    color: #F43F5E;
    background: rgba(244, 63, 94, 0.1);
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--accent-cyan);
    border-radius: 50px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.progress-bar-fill.progress-blue { background-color: var(--accent-blue); box-shadow: 0 0 8px var(--accent-blue); }
.progress-bar-fill.progress-cyan { background-color: #00E5FF; }

/* Gráfico */
.dashboard-chart-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
}

.chart-label-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    padding: 4px 0;
}

.dashboard-chart {
    position: relative;
    width: 100%;
    height: 120px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.pulse-point {
    animation: chart-pulse 2s infinite;
}

.chart-tooltip {
    position: absolute;
    background: var(--gradient-brand);
    color: var(--primary-dark);
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Actividades Log */
.dashboard-activity {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.activity-header {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.activity-time {
    color: rgba(255, 255, 255, 0.3);
    min-width: 50px;
}

.activity-tag {
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.activity-tag.success {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
}

.activity-tag.info {
    background: rgba(37, 99, 235, 0.15);
    color: #60A5FA;
}

.activity-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ----------------------------------------------------
   6. SECCIÓN SOBRE NOSOTROS
   ---------------------------------------------------- */
.about-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-blue);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feat-text {
    font-size: 1rem;
}

/* Tarjeta de Filosofía */
.about-philosophy-card {
    background: var(--gradient-dark);
    padding: 3px; /* Para borde degradado simulado */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    position: relative;
}

.about-philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    z-index: 0;
}

.philosophy-inner {
    background: var(--primary-dark);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 3rem;
    position: relative;
    z-index: 1;
    color: #FFFFFF;
}

.philosophy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.philosophy-icon {
    font-size: 2rem;
}

.philosophy-header h3 {
    color: #FFFFFF;
    font-size: 1.4rem;
}

.philosophy-quote {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.philosophy-bar {
    height: 3px;
    width: 60px;
    background: var(--gradient-brand);
    margin-bottom: 1.5rem;
    border-radius: 50px;
}

.philosophy-footer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------------------
   7. SECCIÓN ¿POR QUÉ ELEGIR VALOIS?
---------------------------------------------------- */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--gray-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: var(--gray-card);
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(37, 99, 235, 0.2);
}

.why-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--accent-blue);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-box {
    background: var(--gradient-brand);
    color: var(--primary-dark);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.5;
}

/* ----------------------------------------------------
   8. SECCIÓN SERVICIOS ESPECIALIZADOS
---------------------------------------------------- */
.services-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--gray-card);
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(37, 99, 235, 0.1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 50%;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.05);
    background: rgba(0, 229, 255, 0.12);
}

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

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-text);
}

/* Destacado Especial para Responsable Sanitario */
.service-card.font-highlight {
    background: var(--gradient-dark);
    border-color: rgba(0, 229, 255, 0.2);
    color: #FFFFFF;
}

.service-card.font-highlight h3 {
    color: #FFFFFF;
}

.service-card.font-highlight p {
    color: rgba(255, 255, 255, 0.7);
}

.service-card.font-highlight .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.05);
}

.service-card.font-highlight:hover {
    border-color: var(--accent-cyan);
}

/* ----------------------------------------------------
   8b. SECCIÓN PLANES DE CONSULTORÍA
---------------------------------------------------- */
.packages-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--gray-silver);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.package-card {
    background: #FFFFFF;
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition-smooth);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(0, 145, 213, 0.15);
}

.package-card:hover::before {
    opacity: 1;
}

.package-card.featured {
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-premium);
    background: linear-gradient(180deg, rgba(0, 145, 213, 0.02) 0%, rgba(255, 255, 255, 0) 100%), #FFFFFF;
}

.package-card.featured::before {
    opacity: 1;
    background: var(--accent-blue);
    height: 5px;
}

.package-header {
    margin-bottom: 2rem;
    position: relative;
}

.package-badge-card {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    background: rgba(15, 23, 42, 0.05);
    color: var(--gray-text);
}

.package-badge-card.popular {
    background: var(--gradient-brand);
    color: var(--primary-dark);
}

.package-badge-card.premium {
    background: var(--gradient-dark);
    color: #FFFFFF;
}

.package-header h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.package-duration {
    font-size: 0.95rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 0.5rem;
}

.package-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex: 1;
}

.package-features li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-text);
}

.package-features li strong {
    color: var(--primary-dark);
}

.feat-bullet {
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.btn-package {
    width: 100%;
    margin-top: auto;
}

/* Estilos del Modelo ADKAR */
.adkar-container {
    margin-top: 6rem;
    border-top: 1px solid var(--gray-silver);
    padding-top: 5rem;
}

.adkar-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.adkar-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.adkar-header h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.adkar-header p {
    font-size: 1.05rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.adkar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.adkar-step-card {
    background: #FFFFFF;
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adkar-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-premium);
}

.adkar-letter {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.adkar-step-name {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.adkar-step-desc {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.5;
}

/* ----------------------------------------------------
   9. RESULTADOS ESPERADOS EN 90 DÍAS
---------------------------------------------------- */
.results-90-section {
    padding: 100px 0;
    background-color: var(--gray-bg);
}

.results-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--gray-silver);
    padding: 2.5rem;
}

.timeline-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-silver);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.timeline-tab-btn {
    flex: 1;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1.25rem 0.5rem;
    cursor: pointer;
    color: var(--gray-text-light);
    transition: var(--transition-smooth);
    outline: none;
}

.timeline-tab-btn.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

.timeline-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.panel-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.panel-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.panel-milestone {
    display: inline-block;
    background: rgba(0, 229, 255, 0.08);
    color: var(--primary-medium);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-cyan);
}

.panel-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.check-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10B981;
    color: #FFFFFF;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.check-desc strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.check-desc span {
    font-size: 0.85rem;
    color: var(--gray-text-light);
}

/* ----------------------------------------------------
   10. IMPACTO ORGANIZACIONAL
---------------------------------------------------- */


/* ----------------------------------------------------
   12. SECCIÓN TESTIMONIOS (CASOS DE ÉXITO)
---------------------------------------------------- */
.testimonials-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

/* Contenedor de Caso de Estudio B2B */
.case-study-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.case-study-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.08);
    border-color: rgba(0, 145, 213, 0.15);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-bg);
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--gray-silver);
    flex-wrap: wrap;
    gap: 1rem;
}

.case-study-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary-dark);
}

.case-logo-icon {
    font-size: 1.5rem;
}

.case-logo-text {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.case-tag-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.case-study-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 3rem;
    gap: 2.5rem;
}

.case-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-column.border-left-right {
    border-left: 1px solid var(--gray-silver);
    border-right: 1px solid var(--gray-silver);
    padding: 0 2.5rem;
}

.case-block-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.5rem;
}

.case-block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.case-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-text);
}

.case-results-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style-type: none;
    padding-left: 0;
}

.case-results-list li {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--gray-text);
    position: relative;
    padding-left: 1.5rem;
}

.case-results-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

.case-study-footer {
    background: var(--primary-dark);
    color: #FFFFFF;
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-quote {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-author {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.case-author strong {
    color: #FFFFFF;
}

/* Responsive Overrides for Case Study */
@media (max-width: 991px) {
    .case-study-body {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .case-column.border-left-right {
        border-left: none;
        border-right: none;
        padding: 0;
        border-top: 1px solid var(--gray-silver);
        border-bottom: 1px solid var(--gray-silver);
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .case-study-header {
        padding: 1.5rem 2rem;
    }
    
    .case-study-footer {
        padding: 2rem;
    }
}

/* ----------------------------------------------------
   13. SECCIÓN CONTACTO Y DIAGNÓSTICO
---------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--gray-bg) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-intro {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
}

.detail-texts strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-medium);
    margin-bottom: 0.15rem;
}

.detail-texts span, .detail-texts a {
    font-size: 1.05rem;
}

.detail-texts a:hover {
    color: var(--accent-blue);
}

.integrity-lock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-text-light);
    border-top: 1px solid var(--gray-silver);
    padding-top: 1.5rem;
}

/* Formulario Premium */
.contact-form-container {
    background: #FFFFFF;
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

.valois-premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input, .form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-silver);
    background-color: var(--gray-bg);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-blue);
    background-color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.form-group.full-width {
    grid-column: span 2;
}

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: rotate-radial 1s linear infinite;
    margin-left: 10px;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: inline-block;
}

/* Modal Éxito Formulario */
.form-success-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.form-success-modal.active {
    transform: translateY(0);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: pop-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.success-content p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* ----------------------------------------------------
   14. PIE DE PÁGINA (FOOTER)
---------------------------------------------------- */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-logo-container {
    background-color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 170px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer-logo-img {
    height: auto;
    width: 100%;
    max-height: 48px;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-legal-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links-column h4, .footer-services-column h4, .footer-contact-column h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    font-weight: 600;
}

.footer-links-column ul, .footer-services-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-column a, .footer-services-column li, .footer-contact-column p {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links-column a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-contact-column p {
    margin-bottom: 1rem;
}

.footer-contact-column a:hover {
    color: var(--accent-cyan);
}

.privacy-link {
    margin-top: 1.5rem;
    font-size: 0.8rem;
}

.privacy-link a {
    color: rgba(255, 255, 255, 0.4);
}

.privacy-link a:hover {
    color: var(--accent-cyan);
}

/* ----------------------------------------------------
   15. INTEGRACIÓN WHATSAPP Y CHATBOT SIMULADO
---------------------------------------------------- */
/* Botón Flotante */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    transition: var(--transition-smooth);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.wa-icon-svg {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.floating-tooltip {
    position: absolute;
    right: 80px;
    white-space: nowrap;
    background-color: var(--primary-dark);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.05);
}

.whatsapp-floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Widget del Chatbot */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 520px;
    background-color: #F0F2F5; /* Color base chat de WhatsApp */
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(11, 27, 61, 0.25);
    z-index: 95;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.whatsapp-chat-widget.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Encabezado */
.chat-widget-header {
    background-color: #075E54; /* Verde WhatsApp corporativo antiguo pero premium aquí */
    background: var(--gradient-dark);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #FFFFFF;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.wa-user-avatar svg {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.active-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #4ADE80;
    border-radius: 50%;
    border: 2px solid var(--primary-dark);
}

.wa-user-info {
    display: flex;
    flex-direction: column;
}

.wa-user-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.wa-user-status {
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

.chat-widget-close {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
}

.chat-widget-close:hover {
    color: #FFFFFF;
}

/* Cuerpo de Chat */
.chat-widget-body {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); /* Fondo patrón WhatsApp clásico */
    background-blend-mode: overlay;
    background-color: rgba(240, 242, 245, 0.95);
}

.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
    animation: pop-up 0.3s ease;
}

.chat-message::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    top: 0;
}

.chat-message.bot {
    background-color: #FFFFFF;
    color: var(--gray-dark);
    align-self: flex-start;
    border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat-message.bot::after {
    left: -8px;
    border-right-color: #FFFFFF;
    border-top-color: #FFFFFF;
}

.chat-message.user {
    background-color: #D9FDD3; /* Verde claro burbuja WhatsApp */
    color: var(--gray-dark);
    align-self: flex-end;
    border-radius: var(--radius-sm) 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat-message.user::after {
    right: -8px;
    border-left-color: #D9FDD3;
    border-top-color: #D9FDD3;
}

.chat-message.system {
    align-self: center;
    background-color: rgba(254, 243, 199, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #78350F;
    max-width: 90%;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.chat-message.system::after {
    display: none;
}

.wa-chat-timestamp {
    display: block;
    font-size: 0.65rem;
    color: rgba(0,0,0,0.3);
    text-align: right;
    margin-top: 0.25rem;
}

/* Área de Opciones (Botones Interactivos) */
.chat-widget-actions {
    background: #FFFFFF;
    border-top: 1px solid var(--gray-silver);
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 160px;
    overflow-y: auto;
}

.wa-option-btn {
    background-color: var(--gray-bg);
    border: 1px solid var(--gray-silver);
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-medium);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
}

.wa-option-btn:hover {
    background-color: rgba(0, 229, 255, 0.05);
    border-color: var(--accent-cyan);
    color: var(--accent-blue);
    transform: translateX(3px);
}

/* Input inferior */
.chat-widget-input-area {
    background-color: #F0F2F5;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--gray-silver);
}

.chat-widget-input-area input {
    flex: 1;
    background: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    outline: none;
    color: var(--gray-dark);
}

.chat-widget-input-area button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.chat-widget-input-area button:not(:disabled) {
    opacity: 1;
}

.chat-widget-input-area button:hover:not(:disabled) {
    transform: scale(1.1);
}

/* ----------------------------------------------------
   16. ANIMACIONES
---------------------------------------------------- */
@keyframes pulse-glow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes chart-pulse {
    0% { r: 5; fill-opacity: 1; stroke-width: 2; }
    50% { r: 9; fill-opacity: 0.4; stroke-width: 6; }
    100% { r: 5; fill-opacity: 1; stroke-width: 2; }
}

@keyframes pop-up {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes rotate-radial {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ----------------------------------------------------
   17. RESPONSIVIDAD (MEDIA QUERIES)
---------------------------------------------------- */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .hero-content h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .packages-grid { grid-template-columns: 1fr 1fr; }
    .adkar-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-container { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    /* Menú hamburguesa móvil activa */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-dark);
        padding: 3rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .btn-header {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1 { font-size: 2.2rem; }
    .section-title-wrapper h2 { font-size: 2rem; }
    
    .about-grid, .why-grid, .services-grid, .packages-grid, .adkar-grid { grid-template-columns: 1fr; }
    
    .panel-grid { grid-template-columns: 1fr; gap: 2rem; }
    .timeline-tabs { flex-direction: column; border-bottom: none; }
    .timeline-tab-btn { border-bottom: none; border-left: 3px solid transparent; padding: 0.75rem 1.25rem; text-align: left; }
    .timeline-tab-btn.active { border-left-color: var(--accent-blue); }
    .form-row { grid-template-columns: 1fr; gap: 1rem; }
    .form-group.full-width { grid-column: span 1; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .whatsapp-chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 90px;
        height: 480px;
    }
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
    }
}

/* ----------------------------------------------------
   17. SECCIÓN INFOGRAFÍA "¿PERDIENDO DINERO?"
---------------------------------------------------- */
.banner-infographic-section {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 80%, rgba(91, 194, 231, 0.08) 0%, rgba(10, 30, 67, 0) 50%), #FFFFFF;
    border-bottom: 1px solid var(--gray-silver);
}

.red-badge {
    color: #EF4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
}

.infographic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.infographic-card {
    background: var(--gray-bg);
    border: 1px solid var(--gray-silver);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.infographic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition-smooth);
}

.infographic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    background-color: #FFFFFF;
    border-color: rgba(0, 145, 213, 0.15);
}

.infographic-card:hover::before {
    opacity: 1;
}

.info-card-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #FFFFFF;
    border: 1px solid var(--gray-silver);
    color: var(--primary-dark);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.infographic-card:hover .info-card-icon-box {
    background: var(--primary-dark);
    color: var(--accent-cyan);
    transform: scale(1.05);
    border-color: var(--primary-dark);
}

.target-animate-icon svg, .calculator-animate-icon svg, .money-animate-icon svg {
    transition: var(--transition-smooth);
}

.infographic-card:hover .target-animate-icon svg {
    transform: rotate(15deg);
}

.infographic-card:hover .calculator-animate-icon svg {
    transform: scale(1.1);
}

.infographic-card:hover .money-animate-icon svg {
    transform: translateY(-3px);
}

.infographic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.info-card-lead {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
}

.info-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-text);
}

/* Banner de diagnóstico sin costo inferior */



/* ============================================================
   OPTIMIZACIÓN MÓVIL COMPLETA — Valois Consultoría
   Breakpoints: 768px (tablet/móvil) | 480px (móvil pequeño)
   ============================================================ */

/* ── GLOBAL ── */
@media (max-width: 768px) {
    html { font-size: 15px; }

    .container { padding: 0 18px; }

    /* Secciones: reducir padding vertical */
    section { padding: 56px 0 !important; }

    /* Títulos globales */
    .section-title-wrapper h2,
    .nosotros-header h2 { font-size: 1.55rem; line-height: 1.25; }
    .section-subtitle-text { font-size: 0.88rem; }

    /* ── HERO ── */
    .hero-container { grid-template-columns: 1fr !important; gap: 36px; }
    .hero-content h1 { font-size: 1.85rem !important; line-height: 1.2; }
    .hero-subtitle { font-size: 0.88rem; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn-cta,
    .hero-actions .btn-secondary { width: 100%; text-align: center; }
    .hero-dashboard,
    .hero-visual { display: none; }

    /* ── INFOGRAFÍA ── */
    .infographic-grid { grid-template-columns: 1fr !important; gap: 18px; }
    .infographic-card { padding: 2rem 1.5rem; }

    /* ── NOSOTROS ── */
    .nosotros-layout { grid-template-columns: 1fr !important; gap: 28px; }
    .perfil-card { flex-direction: column; align-items: flex-start; }

    /* ── POR QUÉ ELEGIRNOS ── */
    .why-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .why-card { padding: 1.5rem; }

    /* ── SERVICIOS ── */
    .services-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .service-card { padding: 1.75rem 1.5rem; }

    /* ── PAQUETES ── */
    .packages-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .package-card { padding: 2rem 1.5rem; }
    .package-card.featured { transform: none; margin: 0; }

    /* ── RESULTADOS 90 DÍAS ── */
    .results-grid,
    .panel-grid { grid-template-columns: 1fr !important; gap: 16px; }

    /* ── ADKAR ── */
    .adkar-grid { grid-template-columns: 1fr !important; gap: 14px; }

    /* ── CASOS DE ÉXITO ── */
    .case-study-body { grid-template-columns: 1fr !important; }
    .case-column.border-left-right { border-left: none; border-right: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }

    /* ── FOOTER ── */
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .footer-brand { max-width: 100%; }

    /* ── FORMULARIO CONTACTO ── */
    .contact-container { grid-template-columns: 1fr !important; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr !important; }
    .form-group.full-width { grid-column: span 1; }

    /* ── TIMELINE ── */
    .timeline-tabs { flex-direction: column; border-bottom: none; gap: 0; }
    .timeline-tab-btn { border-bottom: none; border-left: 3px solid transparent; text-align: left; padding: 0.75rem 1.25rem; }
    .timeline-tab-btn.active { border-left-color: #4FC3F7; background: rgba(79,195,247,0.06); }

    /* ── STATS / NÚMEROS ── */
    .stats-grid,
    .metrics-row { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }

    /* ── BOTONES GLOBALES ── */
    .btn-cta, .btn-secondary { padding: 0.75rem 1.4rem; font-size: 0.9rem; }

    /* ── CARDS GENÉRICAS ── */
    .card, .result-card, .why-card, .service-card { border-radius: 12px; }

    /* ── WHATSAPP ── */
    .whatsapp-chat-widget { width: calc(100vw - 32px) !important; right: 16px; left: 16px; bottom: 85px; }
    .whatsapp-floating-btn { bottom: 18px; right: 16px; }
}

/* ── MÓVIL PEQUEÑO (<480px) ── */
@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-content h1 { font-size: 1.6rem !important; }
    .section-title-wrapper h2,
    .nosotros-header h2 { font-size: 1.35rem; }
    .badge-premium { font-size: 0.7rem; padding: 6px 12px; }
    .stats-grid,
    .metrics-row { grid-template-columns: 1fr !important; }
    .ntab-btn svg { display: none; }
    .ntab-btn { font-size: 0.82rem; padding: 13px 8px; }
    .perfil-stats { flex-direction: column; gap: 12px; }
    .package-card .package-price { font-size: 2rem; }
    .footer-grid { text-align: center; }
    .footer-social { justify-content: center; }
}

/* ── HAMBURGUESA: asegurar visibilidad ── */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(79,195,247,0.08);
    border: 1px solid rgba(79,195,247,0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: background 0.2s;
}
.mobile-nav-toggle:hover { background: rgba(79,195,247,0.15); }
.mobile-nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 768px) {
    .mobile-nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(11,27,61,0.98);
        backdrop-filter: blur(16px);
        padding: 2.5rem 1.5rem;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s;
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-nav ul {
        flex-direction: column !important;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }
    .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .main-nav ul li:last-child { border-bottom: none; margin-top: 20px; }
    .nav-link {
        display: block;
        font-size: 1.1rem !important;
        padding: 16px 8px;
        color: rgba(255,255,255,0.85);
    }
    .nav-link:hover { color: #4FC3F7; }
    .btn-header { width: 100%; text-align: center; }
    /* Animación X del hamburguesa */
    .mobile-nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-nav-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .mobile-nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   OVERRIDE CRÍTICO — Sección Nosotros fondo azul
   ============================================================ */
section#nosotros,
section.nosotros-section {
    background: radial-gradient(circle at 85% 15%, rgba(37,99,235,0.22) 0%, rgba(11,27,61,0) 55%),
                radial-gradient(circle at 10% 80%, rgba(79,195,247,0.12) 0%, rgba(11,27,61,0) 50%),
                linear-gradient(180deg, #0A1E43 0%, #122A56 100%) !important;
    color: #ffffff !important;
}
section#nosotros *,
section.nosotros-section * {
    color: inherit;
}
/* Forzar textos secundarios */
section#nosotros h1,
section#nosotros h2,
section#nosotros h3,
section#nosotros h4 {
    color: #ffffff !important;
}
section#nosotros p,
section#nosotros span,
section#nosotros li {
    color: rgba(255,255,255,0.68);
}
section#nosotros strong {
    color: #ffffff !important;
}
section#nosotros .highlight-text {
    color: #4FC3F7 !important;
}
section#nosotros .perfil-info span,
section#nosotros .mercado-tags span {
    color: #4FC3F7 !important;
}
section#nosotros .nosotros-intro {
    color: rgba(255,255,255,0.65) !important;
}
section#nosotros .ntab-btn {
    color: rgba(255,255,255,0.42) !important;
}
section#nosotros .ntab-btn.active {
    color: #4FC3F7 !important;
}
section#nosotros .pstat strong {
    color: #4FC3F7 !important;
    font-size: 1.55rem !important;
}
section#nosotros .badge-premium {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.85) !important;
}
section#nosotros .badge-dot {
    background: #4FC3F7 !important;
}

/* ============================================================
   FIX MENÚ HAMBURGUESA — Funcional en móvil
   ============================================================ */
@media (max-width: 768px) {

    /* Header necesita z-index alto para contener el toggle */
    .main-header { z-index: 1000 !important; }

    /* Ocultar nav por defecto en móvil */
    .main-nav {
        display: block !important;
        position: fixed !important;
        top: 85px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 85px) !important;
        background: rgba(10, 30, 67, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 2rem 1.5rem !important;
        transform: translateX(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s !important;
        z-index: 999 !important;
        overflow-y: auto !important;
    }

    /* Estado activo — menú visible */
    .main-nav.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }

    /* Lista vertical */
    .main-nav ul {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    }
    .main-nav ul li:last-child {
        border-bottom: none !important;
        margin-top: 1.5rem !important;
    }

    .main-nav .nav-link {
        display: block !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        padding: 1rem 0.5rem !important;
        color: rgba(255,255,255,0.82) !important;
        text-decoration: none !important;
        transition: color 0.2s !important;
    }
    .main-nav .nav-link:hover { color: #4FC3F7 !important; }

    .main-nav .btn-header {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0.9rem 1.5rem !important;
        background: linear-gradient(135deg, #2563AE, #4FC3F7) !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
    }

    /* Botón hamburguesa visible */
    .mobile-nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(27,43,122,0.08) !important;
        border: 1.5px solid rgba(27,43,122,0.2) !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }
    .mobile-nav-toggle .bar {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background: #1B2B7A !important;
        border-radius: 2px !important;
        transition: transform 0.3s, opacity 0.3s !important;
    }
    /* Animación X */
    .mobile-nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
    .mobile-nav-toggle.active .bar:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
    .mobile-nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }
    /* Barras blancas cuando menú abierto */
    .mobile-nav-toggle.active .bar { background: #4FC3F7 !important; }
}

/* ============================================================
   FIX FRANJA INFERIOR NOSOTROS — Móvil
   ============================================================ */
@media (max-width: 768px) {
    .nosotros-footer-strip {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 20px 18px !important;
    }
    .nfstrip-quote {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .nfstrip-quote p {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        /* Forzar word-wrap correcto */
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        white-space: normal !important;
    }
    .nfstrip-icon { font-size: 1.4rem !important; }
    .nfstrip-btn {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    /* Evitar desbordamiento en toda la sección nosotros */
    .nosotros-section * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .ntabs-content { padding: 20px 16px !important; }
    .nosotros-header h2 { font-size: 1.5rem !important; }
}
