/* ===== PALETA DE COLORES BASADA EN EL LOGO MSI ===== */
:root {
    /* Colores del logo */
    --logo-turquoise: #7EDCF3;    /* Azul turquesa claro */
    --logo-orange: #F6A56E;       /* Melón suave */
    --logo-yellow: #F5C98A;       /* Amarillo melón suave */
    
    /* Colores derivados para la paleta */
    --primary-orange: #F6A56E;    /* Melón suave principal */
    --orange-light: #F7B685;      /* Melón más claro */
    --orange-pale: #FFF1E6;       /* Melón muy claro para fondos */
    
    --primary-turquoise: #7EDCF3; /* Turquesa principal */
    --turquoise-light: #9EE7F8;   /* Turquesa más claro */
    --turquoise-pale: #E8F9FE;    /* Turquesa muy claro para fondos */
    
    --primary-yellow: #F5C98A;    /* Amarillo melón principal */
    --yellow-light: #F8D7A6;      /* Amarillo melón más claro */
    --yellow-pale: #FFF7EA;       /* Amarillo melón muy claro */

    /* Tonos más marcados para títulos */
    --orange-strong: #EA8D5A;     /* Melón más saturado */
    --yellow-strong: #EFB46A;     /* Amarillo melón más saturado */
    /* Acento neón suave para bordes llamativos */
    --orange-neon: #FF9E70;       /* Naranjo melón neón */
    --orange-neon-glow: rgba(255, 158, 112, 0.12);
    
    /* Colores neutros mejorados */
    --dark-bg: #1A2B3C;           /* Azul oscuro elegante */
    --dark-text: #2C3E50;         /* Texto oscuro */
    --medium-gray: #6B7280;       /* Gris medio */
    --light-gray: #F8F9FA;        /* Gris muy claro */
    --white: #FFFFFF;
    
    /* Gradientes basados en la paleta - CORREGIDOS PARA COINCIDIR CON HEADER */
    --gradient-orange: linear-gradient(135deg, #F6A56E 0%, #F5C98A 100%);
    --gradient-header: linear-gradient(90deg, rgba(246,165,110,0.85) 0%, rgba(245,201,138,0.85) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(246,165,110,0.85) 0%, rgba(245,201,138,0.85) 100%);
    --gradient-turquoise: linear-gradient(135deg, #7EDCF3 0%, #9EE7F8 100%);
    --gradient-warm: linear-gradient(135deg, #e27726 0%, #FEF6E6 100%);
    --gradient-dark: linear-gradient(135deg, #1A2B3C 0%, #2C3E50 100%);
    
    /* Sombras coherentes */
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 24px rgba(0, 0, 0, 0.12);
    --shadow-hard: 0 14px 32px rgba(0, 0, 0, 0.16);
    --shadow-turquoise: 0 10px 25px rgba(126, 220, 243, 0.15);
    
    /* Bordes */
    --border-orange: 1px solid rgba(238, 129, 49, 0.2);
    --border-turquoise: 1px solid rgba(126, 220, 243, 0.2);
    --border-light: 1px solid rgba(255, 255, 255, 0.15);
    --border-dark: 1px solid rgba(44, 62, 80, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.asesoria-page {
    font-family: 'Inter', sans-serif;
    background: var(--light-gray);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMACIONES Y TRANSICIONES ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HERO SECTION QUE COMBINA CON HEADER ===== */

.hero-section {
    background-image: url('../images/asesoria5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    padding: 6rem 0 5rem; /* margen prudente arriba y abajo */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Darken and softly colorize the hero image for contrast */
    background: 
        linear-gradient(180deg, rgba(26, 43, 60, 0.62) 0%, rgba(26, 43, 60, 0.48) 55%, rgba(26, 43, 60, 0.35) 100%),
        linear-gradient(180deg, rgba(246, 165, 110, 0.22) 0%, rgba(245, 201, 138, 0.18) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr; /* solo texto, imagen como fondo */
    gap: 2rem;
    align-items: center;
    padding: 2rem; /* padding interno horizontal; separación la maneja el hero */
    max-width: 1300px;
    margin: 0 auto;
}

.hero-text {
    animation: slideInUp 0.8s ease-out;
    max-width: 980px; /* aprovecha mejor el ancho del hero */
}

/* Fuente destacada para el título del hero */
.hero-title {
    font-family: 'Montserrat', 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.title-line {
    display: block;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.8rem); /* más grande y protagonista */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    /* Texto con degradado profesional y sombra sutil para dinamismo */
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Mantiene el desplazamiento por línea sin cambiar colores */
.title-line:nth-child(2) { margin-left: 1.5rem; font-weight: 700; }
.title-line:nth-child(3) { margin-left: 3rem; font-weight: 700; }

.hero-description {
    font-size: clamp(1rem, 1.2vw, 1.25rem); /* más legible y proporcionado */
    margin: 2rem 0 2.5rem;
    color: #F7FAFC; /* texto claro sobre imagen tintada */
    max-width: 640px;
    font-weight: 500;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.highlight-text {
    display: block;
    margin-top: 1.2rem;
    padding-left: 1.2rem;
    border-left: 3px solid var(--primary-orange);
    font-weight: 500;
    color: #F7FAFC; /* light highlight text on dark overlay */
    font-style: italic;
}

/* Imagen en Hero (de asesoria2.css) */
.hero-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image-container {
        max-width: 900px;
        margin: 0 auto;
    }
    .hero-content {
        padding: 5rem 2rem; /* mantiene separación en tablet */
    }
}

@media (max-width: 768px) {
    .hero-image {
        aspect-ratio: 4/3;
    }
}

/* Animaciones sutiles para títulos y descripción */
@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 0 rgba(246,165,110,0); }
    50% { text-shadow: 0 6px 22px rgba(246,165,110,0.45); }
    100% { text-shadow: 0 0 0 rgba(246,165,110,0); }
}

.title-line {
    animation: titleFloat 4s ease-in-out infinite;
}

.hero-description {
    animation: glowPulse 5s ease-in-out infinite;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-button-primary, .cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem; /* botones más presentes */
    border-radius: 50px; /* Bordes más redondeados para coincidir con estilo moderno */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.cta-button-primary {
    background: var(--white);
    color: var(--primary-orange);
    box-shadow: 0 8px 25px rgba(246, 165, 110, 0.35);
    font-weight: 700;
    border: 2px solid var(--white);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(246, 165, 110, 0.45);
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-button-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(246, 165, 110, 0.35);
}

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

.hero-visual {
    position: relative;
    height: 420px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* ===== CTA BUTTONS (from asesoria2.css overrides) ===== */
.cta-button-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
}

.cta-button-primary:hover {
    background: #e89863;
    border-color: #e89863;
}

.cta-button-secondary {
    background: #fff;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.cta-button-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* ===== LAYOUTS REUTILIZABLES ORDEN IMAGEN-TEXTO ===== */
.media-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
}

.media-block.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.media-block .media-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.media-block .media-text {
    max-width: 640px;
}

.floating-element {
    position: absolute;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    animation: float 8s ease-in-out infinite;
    box-shadow: var(--shadow-soft);
    border: var(--border-light);
}

.floating-element:nth-child(1) { 
    top: 15%; 
    left: 20%; 
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.floating-element:nth-child(2) { 
    top: 50%; 
    right: 20%; 
    animation-delay: 2s;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}
.floating-element:nth-child(3) { 
    bottom: 20%; 
    left: 40%; 
    animation-delay: 4s;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--white);
    padding: 4rem 0;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 3;
    border-top: var(--border-dark);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: var(--border-dark);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-orange);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(238, 129, 49, 0.25);
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 10px rgba(238, 129, 49, 0.1);
}

.stat-text {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== SERVICIOS ===== */
.services-section {
    padding: 5rem 0;
    background: var(--light-gray);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1.2rem;
    color: var(--dark-text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-orange);
    border-radius: 2px;
}

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* Layout dividido (definitivo) - From asesoria2.css */
.services-split {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr; /* imagen izquierda, contenido derecha */
    align-items: stretch;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-image-column {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.services-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4; /* vertical para ocupar lado izquierdo */
}

.services-content-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-block {
    background: #fff;
    border: 1px solid rgba(30,41,59,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.service-block h3 {
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    color: var(--dark-text);
    font-weight: 700;
}

.service-block p {
    color: #475569;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    margin: 0 0 1rem 0;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem; /* ligeramente más grande */
    color: var(--dark-text);
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.service-list li i { color: var(--primary-orange); }

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: rgba(238,129,49,0.08);
    color: var(--primary-orange);
    border: 1px solid rgba(238,129,49,0.2);
    text-decoration: none;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }

@media (max-width: 1024px) {
    .services-split { grid-template-columns: 1fr; }
    .services-image { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
    .service-list { grid-template-columns: 1fr; }
}

/* Tarjetas orientadas a imagen para orden profesional e impactante */
.service-card.image-card {
    grid-column: span 6;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: var(--white);
}

.service-card.image-card .service-icon {
    display: none;
}

.service-card.image-card .card-media {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card.image-card .service-title {
    font-size: 1.25rem;
    line-height: 1.4;
}

.service-card.image-card .service-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
}

/* Tarjeta Asesoría Empresarial Integral */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: var(--border-dark);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-orange);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-orange);
}

.featured-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-pale) 100%);
    border-color: var(--primary-orange);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-orange);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(238, 129, 49, 0.25);
}

.card-badge i {
    margin-right: 0.4rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(238, 129, 49, 0.2);
}

.interactive-card .service-icon {
    background: var(--gradient-turquoise);
    box-shadow: 0 8px 20px rgba(126, 220, 243, 0.2);
}

.image-card .service-icon {
    background: var(--gradient-orange);
}

.minimal-card .service-icon {
    background: var(--gradient-orange);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--dark-text);
    line-height: 1.3;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.05rem; /* ligeramente más grande */
    color: var(--dark-text);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.service-features li:hover {
    background: rgba(238, 129, 49, 0.05);
}

.service-features li i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.interactive-card .service-features li i {
    color: var(--primary-turquoise);
}

.service-hover {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    background: rgba(238, 129, 49, 0.08);
    border: 1px solid rgba(238, 129, 49, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease, background 0.3s ease, gap 0.3s ease;
    font-size: 0.95rem;
}

.service-link:hover {
    background: rgba(238, 129, 49, 0.15);
    gap: 1rem;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Responsive adjustments for image-first cards */
@media (max-width: 768px) {
    .service-card.image-card {
        grid-column: span 1;
    }
}

.interactive-card .service-link {
    color: var(--primary-turquoise);
    background: rgba(126, 220, 243, 0.08);
    border: 1px solid rgba(126, 220, 243, 0.2);
}

.interactive-card .service-link:hover {
    background: rgba(126, 220, 243, 0.15);
}

/* ===== TIMELINE ===== */
.process-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.process-section .section-title {
    color: var(--dark-text);
    margin-bottom: 3.5rem;
}

.highlight {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.timeline {
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.timeline::before { display: none; }

.timeline-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-marker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.marker-circle {
    width: 40px;
    height: 40px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(246, 165, 110, 0.35);
    font-family: 'Playfair Display', serif;
    border: 2px solid var(--white);
}

.marker-line { display: none; }

.timeline-item:last-child .marker-line { display: none; }

.timeline-content {
    padding: 1.25rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: var(--border-dark);
}

.timeline-content::before { display: none; }

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-orange);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-tools {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.timeline-tools span {
    background: rgba(246, 165, 110, 0.10);
    color: var(--primary-orange);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem; /* ligeramente más grande */
    font-weight: 600;
    border: 1px solid rgba(246, 165, 110, 0.25);
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Inter', sans-serif;
    letter-spacing: 0.2px;
}

.timeline-tools span:hover {
    background: rgba(246, 165, 110, 0.18);
    transform: translateY(-2px);
}

/* ===== ADVANTAGES SECTION (split definitivo) - From asesoria2.css ===== */
.advantages-section {
    padding: 6rem 0;
    background: var(--light-gray);
    position: relative;
}

.advantages-split {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1.2fr; /* info izquierda, imagen derecha */
    gap: 2rem;
    align-items: center;
}

.advantages-intro { margin-bottom: 1.5rem; }

.advantages-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.advantages-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(44,62,80,0.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.advantages-card i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238,129,49,0.1);
    color: var(--primary-orange);
    flex-shrink: 0;
}

.advantages-card h3 {
    font-size: 1.2rem; /* ligeramente más grande */
    margin-bottom: 0.4rem;
    color: var(--dark-text);
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
}
.advantages-card p { color: #475569; font-size: 1.05rem; letter-spacing: 0.15px; }

.advantages-image-column {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.advantages-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4; /* vertical */
    display: block;
}

@media (max-width: 1024px) {
    .advantages-split { grid-template-columns: 1fr; }
    .advantages-info { grid-template-columns: 1fr; }
    .advantages-image { aspect-ratio: 16/9; }
}

/* ===== UNIFIED SECTION ===== */
.unified-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-pale) 100%);
    position: relative;
    border-top: var(--border-orange);
    border-bottom: var(--border-orange);
}

.unified-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.unified-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.unified-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.unified-features {
    list-style: none;
    margin: 2rem 0;
}

.unified-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.unified-features li i {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.unified-features li strong {
    color: var(--dark-text);
    font-weight: 600;
}

.unified-cta {
    margin-top: 3rem;
}

.unified-visual {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    border: var(--border-orange);
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.unified-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-orange);
}

.unified-visual:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(238, 129, 49, 0.2);
}

.unified-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 30px rgba(238, 129, 49, 0.3);
    position: relative;
    z-index: 1;
}

.unified-visual h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.unified-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.unified-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.unified-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(238, 129, 49, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(238, 129, 49, 0.1);
    transition: all 0.3s ease;
}

.unified-stat:hover {
    background: rgba(238, 129, 49, 0.1);
    border-color: var(--primary-orange);
}

.unified-stat .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.3rem;
}

.unified-stat .stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
    line-height: 1.3;
}

/* ===== CONTACT SECTION (from asesoria2.css with color updates) ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--orange-pale); /* fondo sólido en naranjo suave */
    color: var(--dark-text);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-orange); /* línea superior en tono sólido */
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding-right: 1.5rem;
}

.contact-title {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 2.6rem; /* un poco más grande */
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: var(--orange-strong); /* más llamativo */
    text-shadow: 0 4px 16px rgba(246, 165, 110, 0.25);
}

.contact-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: #475569;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 12px;
    border: var(--border-dark);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(238, 129, 49, 0.06);
    border-color: var(--primary-orange);
    transform: translateX(4px);
}

.feature-item i {
    font-size: 1.4rem;
    color: var(--primary-orange);
    background: rgba(238, 129, 49, 0.12);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(238,129,49,0.25);
}

.feature-item h4 {
    font-size: 1.2rem; /* ligeramente más grande */
    margin-bottom: 0.4rem;
    color: var(--primary-orange);
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.feature-item p {
    opacity: 0.9;
    font-size: 1.05rem; /* ligeramente más grande */
    line-height: 1.5;
    color: var(--medium-gray);
    letter-spacing: 0.15px;
}

/* Contact methods */
.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    border: 1px solid rgba(44,62,80,0.12);
    transition: all 0.3s ease;
}

.method-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-turquoise);
}

.method-item i {
    font-size: 1.3rem;
    color: var(--primary-turquoise);
    background: rgba(14,165,163,0.12);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(14,165,163,0.2);
}

.method-item h4 {
    font-size: 1.1rem; /* ligeramente más grande */
    color: var(--primary-turquoise);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.method-item p {
    font-size: 1.05rem; /* ligeramente más grande */
    opacity: 0.95;
    color: #334155;
}

/* Formulario */
.contact-form-container {
    background: var(--white);
    backdrop-filter: none;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--orange-neon); /* borde naranjo melón neón */
    box-shadow: 0 0 0 3px var(--orange-neon-glow), var(--shadow-soft);
}

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

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.9rem; /* ligeramente más grande */
    margin-bottom: 0.8rem;
    color: var(--orange-strong);
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
}

.form-header p {
    opacity: 0.8;
    font-size: 1rem;
    color: var(--medium-gray);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--light-gray);
    border: var(--border-dark);
    border-radius: 10px;
    color: var(--dark-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.form-group.floating-label label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(238, 129, 49, 0.15);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-orange);
    background: var(--white);
    padding: 0 0.4rem;
    transform: translateY(-50%);
}

.form-group input:focus ~ i,
.form-group select:focus ~ i {
    color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1.2rem;
    line-height: 1.5;
}

/* Form terms */
.form-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.form-terms input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--primary-orange);
}

.form-terms label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.submit-button {
    background: var(--gradient-orange);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(238,129,49,0.25);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    gap: 0.8rem;
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 4rem 2rem;
    }
    
    .hero-visual {
        order: -1;
        height: 280px;
        margin: 0 auto;
        max-width: 550px;
    }
    
    .contact-wrapper,
    .unified-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .feature-item div {
        text-align: left;
    }
    
    .unified-container {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .title-line:nth-child(2),
    .title-line:nth-child(3) {
        margin-left: 0;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-marker {
        width: 50px;
    }
    
    .timeline-content {
        margin-left: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .services-mosaic {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .hero-section {
        min-height: 75vh;
    }
    
    .unified-visual {
        margin-top: 1.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-mosaic {
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 3rem 1rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .floating-element {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .unified-container {
        padding: 0 1.5rem;
    }
}

/* ===== ESTILOS GLOBALES ===== */
html {
    scroll-behavior: smooth;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-yellow);
}

/* Mejora de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}