/* ================================ */
/*   ESTILOS ESPECÍFICOS ASESORÍA   */
/* ================================ */

:root {
    --primary-color: #ff6600;
    --secondary-color: #161829;
    --accent-color: #acf3cc;
    --light-bg: #f9f5f0;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ================================ */
/*   HEADER DE ASESOR (BLANCO)      */
/* ================================ */

.asesor-header {
    background: white;
    color: #333;
    padding: 40px 20px;
    text-align: center;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-text), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-align: center;
}

/* ================================ */
/*   CARRUSEL ULTRA LLAMATIVO 🚀    */
/* ================================ */

.carousel-principal-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.carousel-principal-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.carousel-principal-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -50px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.container-full {
    max-width: 1420px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.carousel-wrapper-main {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: center;
}

.carousel-main-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.15);
}

.carousel-main-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.35);
    border-color: var(--primary-color);
}

.carousel-main-btn:active {
    transform: scale(0.95);
}

.carousel-main-container {
    flex: 1;
    height: 450px;
    position: relative;
    background: radial-gradient(circle at 30% 30%, #010113 0%, #010e25 60%, #020e88 100%);
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.12),
        0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.carousel-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: linear-gradient(
        225deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(0, 0, 0, 0.02) 100%
    );
    pointer-events: none;
    border-radius: 20px;
}

.carousel-main-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(30px);
}

.slide-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    padding: 40px 60px;
}

.slide-main.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeInSlide 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-main-content {
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.slide-main-text {
    text-align: left;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6600;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.slide-main-text p {
    margin: 0 0 28px 0;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.btn-carousel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding: 19px 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a00 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-carousel:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(255, 102, 0, 0.5);
    background: linear-gradient(135deg, #e55a00 0%, #d94900 100%);
}

.btn-carousel:hover::before {
    left: 100%;
}

.btn-carousel:active {
    transform: translateY(-2px);
}

.slide-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: auto;
}

.slide-main-image::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 102, 0, 0.1) 100%
    );
    border-radius: 20px;
    z-index: 0;
}

.slide-main-image img {
    width: 100%;
    max-width: 480px;
    height: 340px;
    object-fit: contain;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.25));
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-main.active .slide-main-image img {
    animation: zoomInImage 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomInImage {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ocultar indicadores por defecto */
.carousel-main-indicators {
    display: none !important;
}

/* ================================ */
/*   RESPONSIVE - LAPTOP (1200px)   */
/* ================================ */

/* ================================ */
/*   RESPONSIVE - TABLET (1024px)   */
/* ================================ */

/* ================================ */
/*   RESPONSIVE - TABLET (900px)    */
/* ================================ */

/* ================================ */
/*   RESPONSIVE - TABLET (768px)    */
/* ================================ */

/* ================================ */
/*   RESPONSIVE - MOBILE (600px)    */
/* ================================ */

/* ================================ */
/*   RESPONSIVE - MOBILE (480px)    */
/* ================================ */

/* ================================ */
/*   SERVICIOS SECTION              */
/* ================================ */

.services-section {
    padding: 80px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin: 15px 0 10px 0;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-features li {
    color: var(--dark-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-color);
}

.service-price {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 20px;
}

.service-price strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ================================ */
/* ================================ */

/* ================================ */
/*   PROCESO ESPECTACULAR REDUCIDO  */
/* ================================ */

.process-section {
    padding: 100px 20px 120px;
    background: radial-gradient(circle at 30% 30%, #010113 0%, #010e25 60%, #020e88 100%);
    position: relative;
    overflow: visible;
}

.process-section .container {
    overflow: visible;
    padding-bottom: 40px;
}

/* Encabezado de la sección */
.process-section .heading-1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    color: #ff6600;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 3;
    letter-spacing: 2px;
}

.process-section .section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    margin: 0 0 60px 0;
    position: relative;
    z-index: 3;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* Efecto de línea decorativa bajo el subtítulo */
.process-section .section-subtitle::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff6600, transparent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Efecto de partículas de fondo */
.process-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 102, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    animation: rotateBackground 30s linear infinite;
    pointer-events: none;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Timeline Container - MÁS COMPACTO */
.process-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

/* Cada Step - REDUCIDO PARA VER LAS 4 EN PANTALLA */
.process-step {
    flex: 1;
    max-width: 280px;
    min-width: 240px;
    text-align: center;
    padding: 40px 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ANIMACIÓN SECUENCIAL DE ILUMINACIÓN */
@keyframes sequentialGlow {
    0%, 20%, 100% {
        background: rgba(255, 255, 255, 0.95);
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        transform: translateY(0) scale(1);
    }
    10% {
        background: rgba(255, 255, 255, 1);
        box-shadow:
            0 20px 60px rgba(255, 102, 0, 0.5),
            0 0 80px rgba(255, 102, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 1);
        transform: translateY(-10px) scale(1.03);
    }
}

.process-step:nth-child(1) {
    animation: sequentialGlow 8s ease-in-out infinite;
    animation-delay: 0s;
}

.process-step:nth-child(3) {
    animation: sequentialGlow 8s ease-in-out infinite;
    animation-delay: 2s;
}

.process-step:nth-child(5) {
    animation: sequentialGlow 8s ease-in-out infinite;
    animation-delay: 4s;
}

.process-step:nth-child(7) {
    animation: sequentialGlow 8s ease-in-out infinite;
    animation-delay: 6s;
}

/* Efecto de brillo en movimiento */
.process-step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(255, 102, 0, 0.4) 25%,
        transparent 50%,
        rgba(102, 126, 234, 0.4) 75%,
        transparent 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.process-step:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Hover effect */
.process-step:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(255, 102, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
}

/* Número del paso - REDUCIDO */
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6600, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    box-shadow:
        0 8px 25px rgba(255, 102, 0, 0.4),
        0 0 0 6px rgba(255, 255, 255, 0.9),
        inset 0 -5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

/* Efecto glow en el número */
.step-number::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.4), transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.process-step:hover .step-number {
    transform: translateX(-50%) scale(1.2) rotate(360deg);
    background: linear-gradient(135deg, #ff8c42, #ff6600);
    box-shadow:
        0 12px 35px rgba(255, 102, 0, 0.6),
        0 0 0 6px rgba(255, 255, 255, 1),
        inset 0 -5px 15px rgba(0, 0, 0, 0.15);
}

/* Título - REDUCIDO */
.process-step h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 5px 0 12px 0;
    transition: all 0.3s ease;
    position: relative;
}

.process-step h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff8c42);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.process-step:hover h3 {
    color: #ff6600;
    transform: translateY(-3px);
}

.process-step:hover h3::after {
    transform: translateX(-50%) scaleX(1);
}

/* Descripción - REDUCIDA */
.process-step p {
    color: brown;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    transition: all 0.3s ease;
}

.process-step:hover p {
    color: #2c3e50;
}

/* Flechas - REDUCIDAS */
.process-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ff6600;
    position: relative;
}

.process-arrow i {
    animation: arrowFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(255, 102, 0, 0.3));
    transition: all 0.3s ease;
}

@keyframes arrowFloat {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(10px);
        opacity: 1;
    }
}

.process-arrow:hover i {
    color: #ff8c42;
    transform: scale(1.3);
    filter: drop-shadow(0 8px 20px rgba(255, 102, 0, 0.5));
}

/* Efecto de partículas en cada step */
.process-step::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-step:hover::after {
    opacity: 1;
}

/* Animación de entrada */
.process-step {
    animation-fill-mode: both;
}

.process-arrow {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.process-arrow:nth-child(2) { animation-delay: 0.15s; }
.process-arrow:nth-child(4) { animation-delay: 0.25s; }
.process-arrow:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================================ */
/*   RESPONSIVE PROCESO COMPACTO    */
/* ================================ */

/* Scrollbar personalizado */
.process-timeline::-webkit-scrollbar {
    height: 6px;
}

.process-timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.process-timeline::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 0, 0.4);
    border-radius: 10px;
}

.process-timeline::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 102, 0, 0.6);
}
/*   TESTIMONIOS SECTION            */
/* ================================ */

.testimonials-section {
    background: var(--light-bg);
    padding: 80px 20px;
}

.testimonials-section .heading-1 {
    font-size: 4rem;
    font-weight: 800;
    margin: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-text), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-stars i {
    color: #f39c12;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--dark-text);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

.author-name {
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-company {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ================================ */
/*   CONSULTA SECTION               */
/* ================================ */

.consultation-section {
    padding: 80px 20px;
    background: radial-gradient(circle at 30% 30%, #010113 0%, #010e25 60%, #020e88 100%);
}

.consultation-container {
    max-width: 700px;
    margin: 0 auto;
}

.consultation-form {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 400;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-submit:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ================================ */
/*      CTA FINAL SECTION           */
/* ================================ */

.cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a00 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 80px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.7rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-cta-final {
    padding: 18px 50px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ================================ */
/*      UTILIDADES FOOTER           */
/* ================================ */

.container-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.title-footer {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons span {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icons span:hover {
    transform: translateY(-3px);
}

/* ================================ */
/*      ANIMACIONES                 */
/* ================================ */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: slideUp 0.8s ease-out forwards;
}

/* ================================ */
/*  RESPONSIVE UTILITIES            */
/* ================================ */

/* ================================ */
/*   NUEVA SECCIÓN SERVICIOS        */
/* ================================ */

.services-section-new {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 50%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

.services-section-new::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

/* ================================ */
/*   HEADER SERVICIOS               */
/* ================================ */

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-top {
    margin-bottom: 40px;
}

.badge-services {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulseServices 2s infinite;
}

@keyframes pulseServices {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.heading-services {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark-text);
    margin: 20px 0;
    background: linear-gradient(135deg, var(--dark-text), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle-services {
    font-size: 2rem;
    color: black;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================ */
/*   SELECTOR DE VISTA              */
/* ================================ */

.view-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.view-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.15);
}

.view-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.3);
}

.view-btn i {
    font-size: 1.1rem;
}

/* ================================ */
/*   VISTAS DE SERVICIOS            */
/* ================================ */

.services-view {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.services-view.active {
    display: block;
    opacity: 1;
    animation: fadeInView 0.6s ease-out;
}

@keyframes fadeInView {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================ */
/*   GRID DE SERVICIOS              */
/* ================================ */

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

/* ================================ */
/*   TARJETAS DE SERVICIO           */
/* ================================ */

.service-card-new {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #e55a00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-new:hover::before {
    opacity: 1;
}

.service-card-new:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(255, 102, 0, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-content {
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

/* ================================ */
/*   ÍCONO WRAPPER                  */
/* ================================ */

.icon-wrapper {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 25px;
}

.icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05));
    border-radius: 20px;
    transform: rotate(45deg);
}

.icon-wrapper i {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ================================ */
/*   BADGE TIER                     */
/* ================================ */

.badge-tier {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #666;
}

.badge-tier.tier-pro {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    color: #007bff;
}

.badge-tier.tier-advanced {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.1), rgba(123, 31, 162, 0.05));
    color: #7b1fa2;
}

.badge-tier.tier-elite {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    color: #f57c00;
}

/* ================================ */
/*   CONTENIDO TARJETA              */
/* ================================ */

.service-card-new h3 {
    font-size: 2rem;
    font-weight: 700;
    color: orangered;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.card-desc {
    font-size: 1.5rem;
    color: color: #002529;;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ================================ */
/*   FEATURES TAGS                  */
/* ================================ */

.service-features-new {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-color);
}

.feature-tag i {
    font-size: 0.8rem;
    color: var(--success);
}

/* ================================ */
/*   FOOTER TARJETA                 */
/* ================================ */

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.duration {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 5px;
}

/* ================================ */
/*   BOTONES DE SERVICIO            */
/* ================================ */

.btn-service {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

.btn-service:active {
    transform: translateY(-1px);
}

.btn-service i {
    transition: transform 0.3s ease;
}

.btn-service:hover i {
    transform: translateX(5px);
}

.btn-service-pro {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-service-advanced {
    background: linear-gradient(135deg, #7b1fa2, #5e35b1);
    box-shadow: 0 5px 15px rgba(123, 31, 162, 0.3);
}

.btn-service-enterprise {
    background: linear-gradient(135deg, #28a745, #218838);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-service-elite {
    background: linear-gradient(135deg, #ffc107, #f57c00);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* ================================ */
/*   VISTA TIMELINE                 */
/* ================================ */

.timeline-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), #e55a00);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-marker {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-marker {
    grid-column: 2;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    z-index: 2;
    position: relative;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.timeline-content h4 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin: 0 0 15px 0;
    font-weight: 700;
}

.timeline-content p {
    font-size: 1.7rem;
    color: var(--light-text);
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.timeline-duration {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ================================ */
/*   VISTA COMPARATIVA              */
/* ================================ */

.comparison-table {
    max-width: 1100px;
    margin: 60px auto 0;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--dark-text), #34495e);
}

.pricing-table thead th {
    padding: 25px 20px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.pricing-table thead th:first-child {
    text-align: left;
    border-top-left-radius: 15px;
}

.pricing-table thead th:last-child {
    border-top-right-radius: 15px;
}

.pricing-table thead th small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
    font-weight: 400;
}

.pricing-table tbody tr {
    transition: all 0.3s ease;
}

.pricing-table tbody tr:hover {
    background: rgba(255, 102, 0, 0.03);
}

.pricing-table tbody td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: var(--dark-text);
    font-size: 1rem;
}

.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark-text);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.check-yes {
    color: var(--success);
    font-size: 1.3rem;
}

.check-no {
    color: #dc3545;
    font-size: 1.3rem;
    opacity: 0.4;
}

/* ================================ */
/*   SECCIÓN CTA SERVICIOS          */
/* ================================ */

.services-cta {
    margin-top: 80px;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #4e0b92 100%);
    padding: 60px 40px;
    border-radius: 25px;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(4, 46, 236, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h3 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: orange;
}

.cta-card p {
    font-size: 2rem;
    margin: 0 0 30px 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.btn-cta-services {
    padding: 18px 50px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.btn-cta-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-services i {
    transition: transform 0.3s ease;
}

.btn-cta-services:hover i {
    transform: scale(1.2);
}

/* ================================ */
/*   RESPONSIVE - TABLET            */
/* ================================ */

/* ================================ */
/*   RESPONSIVE - MOBILE            */
/* ================================ */

/* ================================ */
/*   IMÁGENES EN TARJETAS           */
/* ================================ */

/* Imagen de fondo sutil en tarjetas */
.service-card-new::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-card-new:hover::after {
    opacity: 0.12;
}

/* Imágenes específicas por servicio */
.service-card-new[data-service="diagnostico"]::after {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400&h=400&fit=crop&q=80');
}

.service-card-new[data-service="implementacion"]::after {
    background-image: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=400&h=400&fit=crop&q=80');
}

.service-card-new[data-service="capacitacion"]::after {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=400&h=400&fit=crop&q=80');
}

.service-card-new[data-service="automatizacion"]::after {
    background-image: url('https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?w=400&h=400&fit=crop&q=80');
}

.service-card-new[data-service="consultoria"]::after {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=400&h=400&fit=crop&q=80');
}

.service-card-new[data-service="soporte"]::after {
    background-image: url('https://images.unsplash.com/photo-1556745753-b2904692b3cd?w=400&h=400&fit=crop&q=80');
}

/* Icono con sombra mejorada */
.icon-wrapper {
    position: relative;
    z-index: 3;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(15px);
}

/* Badge con efecto glassmorphism */
.badge-tier {
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-tier.tier-pro {
    background: rgba(255, 255, 255, 0.95);
}

.badge-tier.tier-advanced {
    background: rgba(255, 255, 255, 0.95);
}

.badge-tier.tier-elite {
    background: rgba(255, 255, 255, 0.95);
}

/* Mejor contraste del contenido */
.card-content {
    position: relative;
    z-index: 2;
}

/* ================================ */
/*   MEJORA DE TARJETAS CON IMAGEN  */
/* ================================ */

/* Reescribir tarjeta con área de imagen */
.service-card-new {
    display: flex;
    flex-direction: column;
    min-height: 620px;
}

/* Área de imagen superior */
.service-card-new::before {
    content: '';
    display: block;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
}

/* Gradiente overlay sobre imagen */
.service-card-new .card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

/* Imágenes de fondo específicas - MÁS VISIBLES */
.service-card-new[data-service="diagnostico"]::before {
    background-image: linear-gradient(rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05)),
                      url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=800&h=400&fit=crop&q=80');
}

.service-card-new[data-service="implementacion"]::before {
    background-image: linear-gradient(rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05)),
                      url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=800&h=400&fit=crop&q=80');
}

.service-card-new[data-service="capacitacion"]::before {
    background-image: linear-gradient(rgba(123, 31, 162, 0.1), rgba(123, 31, 162, 0.05)),
                      url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=400&fit=crop&q=80');
}

.service-card-new[data-service="automatizacion"]::before {
    background-image: linear-gradient(rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05)),
                      url('https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?w=800&h=400&fit=crop&q=80');
}

.service-card-new[data-service="consultoria"]::before {
    background-image: linear-gradient(rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05)),
                      url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&h=400&fit=crop&q=80');
}

.service-card-new[data-service="soporte"]::before {
    background-image: linear-gradient(rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05)),
                      url('https://images.unsplash.com/photo-1556745753-b2904692b3cd?w=800&h=400&fit=crop&q=80');
}

/* Ajustar el contenido para no sobreponerse con la imagen */
.service-card-new .card-content {
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

/* Icono flotante sobre la imagen */
.service-card-new .icon-wrapper {
    margin-bottom: 20px;
    transform: translateY(-30px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

/* Badge posicionado mejor */
.service-card-new .badge-tier {
    margin-top: -10px;
}

/* ================================ */
/*   OCULTAR ÍCONOS INTERMEDIOS     */
/* ================================ */

/* Ocultar completamente los íconos wrapper */
.service-card-new .icon-wrapper {
    display: none !important;
}

/* Ajustar espaciado del badge */
.service-card-new .badge-tier {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Ajustar el contenido sin el ícono */
.service-card-new .card-content {
    margin-top: -30px;
    padding-top: 30px;
}

/* ================================ */
/*   FIN DE ESTILOS ASESORIA          */
/* ================================ */
/* ================================ */
/* ================================ */

/* ================================ */
/*   AJUSTES SECCIÓN CONSULTA       */
/* ================================ */

.consultation-section .heading-1 {
    font-size: 4rem;
    font-weight: 800;
    margin: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-text), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-section .section-subtitle {
    color: white;
}

.consultation-section .section-subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 700px;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive para el subtítulo de consulta */

/* ================================ */
/*   AJUSTES FOOTER                 */
/* ================================ */

.footer {
    background: white !important;
    color: #000 !important;
}

.footer .title-footer,
.footer .contact-info p,
.footer .contact-info li,
.footer .information li,
.footer .information a,
.footer .services li,
.footer .services a,
.footer .copyright p {
    color: #000 !important;
}

.footer .contact-info a {
    color: #000 !important;
}/* ================================================ */
/*   AJUSTES RESPONSIVE MEJORADOS - VERSION SEGURA */
/* ================================================ */

/* ================================ */
/*   TARJETAS DE SERVICIOS          */
/* ================================ */

/* TABLETS (pantallas medianas): 2 tarjetas por fila */

/* MÓVILES: Mejoras de legibilidad y imágenes nítidas */

/* MÓVILES PEQUEÑOS */

/* ================================ */
/*   SECCIÓN DE PROCESOS            */
/* ================================ */

/* TABLETS: 2 tarjetas por fila */

/* MÓVILES: 2 tarjetas por fila */

/* MÓVILES PEQUEÑOS: 2 tarjetas por fila */


/* ================================================ */
/*   MEDIA QUERIES CONSOLIDADAS - SIN REDUNDANCIAS */
/* ================================================ */

/* ================================ */
/*   DESKTOP PEQUEÑO / LAPTOP (1200px)      */
/* ================================ */

@media (max-width: 1200px) {
    .carousel-main-container {
        height: 420px;
        padding: 30px 50px;
    }

    .slide-main {
        padding: 30px 50px;
    }

    .slide-main-content {
        gap: 50px;
    }

    .slide-title {
        font-size: 3.5rem;
    }

    .slide-main-text p {
        font-size: 1.7rem;
    }

    .slide-main-image img {
        max-width: 400px;
        height: 300px;
    }

    .process-step {
        max-width: 240px;
        min-width: 200px;
        padding: 35px 18px 28px;
    }

    .process-section .heading-1 {
        font-size: 3.5rem;
    }

    .process-section .section-subtitle {
        font-size: 1.8rem;
    }

    .process-timeline {
        gap: 15px;
        overflow-x: auto;
        overflow-y: visible;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .process-step h3 {
        font-size: 2.5rem;
    }

    .process-step p {
        font-size: 2rem;
    }

    .process-arrow i {
        font-size: 1.8rem;
    }

}

/* ================================ */
/*   TABLET HORIZONTAL (1024px)      */
/* ================================ */

@media (max-width: 1024px) {
    .carousel-principal-section {
        padding: 35px 15px;
    }

    .carousel-wrapper-main {
        gap: 15px;
    }

    .carousel-main-btn {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .carousel-main-container {
        height: 380px;
        padding: 30px 45px;
    }

    .slide-main {
        padding: 30px 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide-main-content {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }

    .slide-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .slide-main-text p {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .btn-carousel {
        padding: 16px 40px !important;
        font-size: 1.3rem !important;
    }

    .slide-main-image img {
        max-width: 350px;
        height: 280px;
    }

    .process-section {
        padding: 80px 15px 100px;
    }

    .process-section .heading-1 {
        font-size: 2.8rem;
    }

    .process-section .section-subtitle {
        font-size: 1.6rem;
    }

    .process-timeline {
        gap: 12px;
    }

    .process-step {
        max-width: 220px;
        min-width: 180px;
        padding: 32px 16px 25px;
    }

    .process-step h3 {
        font-size: 1.7rem;
    }

    .process-step p {
        font-size: 1.2rem;
    }

    .process-arrow i {
        font-size: 1.6rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        top: -18px;
    }

    .heading-services {
        font-size: 2.8rem;
    }

    .subtitle-services {
        font-size: 2rem;
    }

    .services-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .service-card-new h3 {
        font-size: 1.6rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
        text-align: left;
        margin-left: 80px;
    }

    .timeline-item:nth-child(even) .timeline-marker,
    .timeline-item:nth-child(odd) .timeline-marker {
        grid-column: 1;
        grid-row: 1;
        margin-left: 0;
    }

    .pricing-table {
        font-size: 0.9rem;
    }

    .pricing-table thead th {
        padding: 20px 15px;
        font-size: 1rem;
    }

    .pricing-table tbody td {
        padding: 15px 10px;
    }

}

/* ================================ */
/*   TABLET VERTICAL / MÓVIL GRANDE (768px)      */
/* ================================ */

@media (max-width: 768px) {
    .carousel-principal-section {
        padding: 25px 10px;
    }

    .carousel-wrapper-main {
        gap: 10px;
        flex-wrap: wrap;
    }

    .carousel-main-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        display: none !important;
        flex: 0 0 auto;
    }

    .carousel-main-container {
        height: auto;
        padding: 25px 30px;
        min-height: 320px;
        flex: 0 1 100%;
        border-radius: 20px;
    }

    .slide-main {
        padding: 20px 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide-main-content {
        grid-template-columns: 1fr 0.7fr;
        gap: 25px;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .slide-main-text p {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .btn-carousel {
        padding: 12px 28px !important;
        font-size: 1.1rem !important;
        margin-top: 15px;
    }

    .slide-main-image img {
        max-width: 240px;
        height: 190px;
    }

    .asesor-header {
        padding: 30px 15px;
    }

    .main-title {
        font-size: 4.5rem;
    }

    .process-section {
        padding: 70px 10px 90px;
    }

    .process-section .heading-1 {
        font-size: 3.3rem;
        letter-spacing: 1px;
    }

    .process-section .section-subtitle {
        font-size: 1.8rem;
        margin: 0 0 40px 0;
    }

    .process-section .section-subtitle::after {
        width: 80px;
        height: 3px;
        margin: 12px auto 0;
    }

    .process-timeline {
        gap: 25px 15px;
        margin-top: 70px;
        padding: 0 5px;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto auto !important;
        overflow: visible;
    }

    .process-step {
        max-width: 200px;
        min-width: 160px;
        padding: 30px 14px 22px;
        min-height: 220px;
        flex: 1;
        width: 100%;
        padding-top: 40px;
    }

    .process-step h3 {
        font-size: 1.9rem;
        margin: 4px 0 10px 0;
    }

    .process-step p {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        top: -16px;
    }

    .process-arrow i {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .consultation-form {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .services-section-new {
        padding: 60px 15px;
    }

    .heading-services {
        font-size: 2.2rem;
    }

    .subtitle-services {
        font-size: 2rem;
    }

    .view-selector {
        gap: 10px;
    }

    .view-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .view-btn i {
        font-size: 1rem;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .card-content {
        padding: 30px 25px;
    }

    .service-card-new h3 {
        font-size: 2.3rem;
    }

    .card-desc {
        font-size: 1rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-service {
        width: 100%;
        justify-content: center;
    }

    .timeline-content h4 {
        font-size: 1.3rem;
    }

    .comparison-table {
        margin-top: 40px;
    }

    .pricing-table {
        display: block;
        overflow-x: auto;
    }

    .pricing-table thead th {
        padding: 15px 10px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .pricing-table tbody td {
        padding: 12px 8px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .cta-card {
        padding: 40px 25px;
    }

    .cta-card h3 {
        font-size: 1.8rem;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .btn-cta-services {
        padding: 15px 35px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .consultation-section .section-subtitle {
        font-size: 2rem;
    }

    /* Aumentar tamaños de texto */
    .services-section-new .heading-services {
        font-size: 3rem;
    }

    .services-section-new .subtitle-services {
        font-size: 2rem;
    }

    .service-card-new .card-desc {
        font-size: 1.5rem;
        color: #002529;
    }

    .service-card-new .price {
        font-size: 3rem;
    }

    .service-card-new .feature-tag {
        font-size: 1.8rem;
    }

    /* IMÁGENES NÍTIDAS Y REALES - Sin opacidad */
    .service-card-new::before {
        height: 220px;
        background-size: cover;
        background-position: center;
        opacity: 1;
    }

    /* Gradiente suave solo en la parte inferior */
    .service-card-new .card-border {
        background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.7) 85%, rgba(255, 255, 255, 0.95) 100%);
    }

    /* Imágenes HD reales sin filtros */
    .service-card-new[data-service="diagnostico"]::before {
        background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1200&h=600&fit=crop&q=95');
    }

    .service-card-new[data-service="implementacion"]::before {
        background-image: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=1200&h=600&fit=crop&q=95');
    }

    .service-card-new[data-service="capacitacion"]::before {
        background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=600&fit=crop&q=95');
    }

    .service-card-new[data-service="automatizacion"]::before {
        background-image: url('https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?w=1200&h=600&fit=crop&q=95');
    }

    .service-card-new[data-service="consultoria"]::before {
        background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1200&h=600&fit=crop&q=95');
    }

    .service-card-new[data-service="soporte"]::before {
        background-image: url('https://images.unsplash.com/photo-1556745753-b2904692b3cd?w=1200&h=600&fit=crop&q=95');
    }

    .process-arrow {
        display: none !important;
    }

    .process-step:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .process-step:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .process-step:nth-child(5) {
        grid-column: 1;
        grid-row: 2;
    }

    .process-step:nth-child(7) {
        grid-column: 2;
        grid-row: 2;
    }

    .process-step .step-number {
        font-size: 3.6rem;
    }

}

/* ================================ */
/*   MÓVIL (480px)      */
/* ================================ */

@media (max-width: 480px) {
    .carousel-principal-section {
        padding: 20px 10px 30px;
    }

    .carousel-wrapper-main {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .carousel-main-btn {
        display: none !important;
    }

    .carousel-main-container {
        height: auto !important;
        min-height: 350px;
        padding: 15px 0px 40px !important;
        border-radius: 8px;
        flex: 1;
        width: 100%;
        /* más espacio dentro de la tarjeta */
        flex: 0 1 100%;
    }

    .slide-main {
        padding: 20px 0 20px 0 !important;
        text-align: center;
        /* espacio arriba y abajo del contenido */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 20px !important;
    }

    .slide-main-content {
        grid-template-columns: 1fr;
        gap: 40px !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        width: 100%;
    }

    .slide-main-text {
        text-align: center;
        order: 2;
    }

    .slide-title {
        font-size: 2.8rem !important;
        margin-bottom: 12px !important;
        font-weight: 800;
        line-height: 1.3;
        color: white;
        margin-top: 10px !important;
        /* ← mueve el título hacia abajo */
        font-weight: 800;
    }

    .slide-main-text p {
        display: none !important;
    }

    .btn-carousel {
        padding: 13px 35px !important;
        font-size: 1.5rem !important;
        width: 100% !important;
        max-width: 260px;
        margin: 30px auto !important;
    }

    .slide-main-image {
        order: 1;
        margin-bottom: 10px;
        margin-top: 50px !important;
        ← CAMBIO: 15px → 25px;
    }

    .slide-main-image img {
        max-width: 160px !important;
        height: auto !important;
        width: 120px !important;
        object-fit: contain;
    }

    .carousel-main-indicators {
        margin-top: 24px;
        gap: 10px;
        display: none !important;
        justify-content: center;
    }

    .indicator-main {
        width: 10px;
        height: 10px;
        background: rgba(255, 102, 0, 0.4);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .indicator-main.active {
        width: 30px;
        background: var(--primary-color);
        border-radius: 50px;
    }

    .main-title {
        font-size: 4.8rem;
    }

    .process-section .heading-1 {
        font-size: 2.8rem;
    }

    .process-section .section-subtitle {
        font-size: 1.6rem;
    }

    .process-section .section-subtitle::after {
        width: 60px;
    }

    .process-timeline {
        gap: 20px 12px;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto auto !important;
        overflow: visible;
        margin-top: 70px;
    }

    .process-step {
        max-width: 180px;
        min-width: 140px;
        padding: 30px 15px 25px;
        min-height: 200px;
        width: 100%;
    }

    .process-step h3 {
        font-size: 1.7rem;
        margin: 3px 0 8px 0;
    }

    .process-step p {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: -14px;
    }

    .process-arrow i {
        font-size: 1.7rem;
    }

    /* Título de la tarjeta */
    .service-card-new h3 {
        font-size: 3rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* Descripción */
    .service-card-new .card-desc {
        font-size: 2rem !important;
        line-height: 2 !important;
        text-align: center !important;
        color: #002529;
    }

    /* Lista de características */
    .service-features-new .feature-tag {
        font-size: 1.5rem !important;
        padding: 10px 14px !important;
        color: black !important;

    }

    /* Precios */
    .price-section .price {
        font-size: 2rem !important;
    }

    .price-section .duration {
        font-size: 1.3rem !important;
    }

    /* Botón de la tarjeta */
    .btn-service {
        font-size: 1.6rem !important;
        padding: 14px 20px !important;
        width: 100% !important;
        border-radius: 12px !important;
    }

    .view-btn {
        padding: 10px 20px;
        font-size: 1.5rem;
    }


    /* Etiqueta (FUNDAMENTAL, PRO, ADVANCED…) */
    .badge-tier {
        font-size: 1.4rem !important;
        padding: 8px 18px !important;
    }

    /* Icono grande */
    .icon-wrapper i {
        font-size: 3.5rem !important;
    }

    .heading-services {
        font-size: 1.8rem;
    }

    .badge-services {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .service-card-new h3 {
        font-size: 3rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .icon-wrapper i {
        font-size: 2rem;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }

    .timeline-content {
        padding: 20px;
        margin-left: 70px;
    }

    .timeline-content h4 {
        font-size: 3rem;
    }

    .timeline-content p {
        font-size: 2rem;
    }

    .consultation-section .section-subtitle {
        font-size: 2.2rem;
    }

    .services-section-new .heading-services {
        font-size: 5.8rem;
    }

    .services-section-new .subtitle-services {
        font-size: 2rem;
    }

    .service-card-new .card-desc {
        font-size: 2rem !important;
        color: #002529;
    }

    .service-card-new::before {
        height: 200px;
    }

    .process-arrow {
        display: none !important;
    }

    .process-step:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .process-step:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .process-step:nth-child(5) {
        grid-column: 1;
        grid-row: 2;
    }

    .process-step:nth-child(7) {
        grid-column: 2;
        grid-row: 2;
    }

    .process-step .step-number {
        font-size: 3rem;
    }

    .cta-card h3 {
        font-size: 3rem;
    }

    .cta-card p {
        font-size: 1.5rem;
    }

    .btn-cta-services {
        padding: 15px 35px;
        font-size: 1.8rem;
        width: 100%;
        justify-content: center;
    }

    /* Encabezado de la sección */
    .process-section .heading-1 {
        font-size: 3.5rem;
    }

    .process-section .section-subtitle {
        font-size: 2rem;
    }

    .process-step h3 {
    font-size: 2.5rem;
    }

    .process-step p {
        font-size: 2rem;
    }

    .testimonial-text {
        font-size: 2rem;
    }

    .author-name {
        font-size: 1.5rem;
    }

    .author-company {
        font-size: 1.5rem;
    }
    .form-group label {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1.5rem;
    }
    .btn-submit {
        font-size: 1.5rem;
    }
}

/* ================================ */
/*  SECCIÓN AGENDA DE REUNIÓN       */
/* ================================ */

.meeting-schedule-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f0 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.meeting-schedule-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.subsection-title i {
    color: var(--primary-color);
    font-size: 2rem;
}

.meeting-note {
    color: var(--light-text);
    font-size: 1rem;
    margin: 0 0 25px 0;
    font-style: italic;
}

/* Estilos específicos para campos de fecha y hora */
.meeting-schedule-section .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.meeting-schedule-section .form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.meeting-schedule-section input[type="date"] {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meeting-schedule-section input[type="date"]:hover {
    border-color: var(--primary-color);
}

.meeting-schedule-section input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.meeting-schedule-section select {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meeting-schedule-section select:hover {
    border-color: var(--primary-color);
}

.meeting-schedule-section select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* Hints de ayuda */
.field-hint {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 6px;
    font-style: italic;
}

.field-hint::before {
    content: 'ℹ️ ';
    margin-right: 4px;
}

/* Animación de entrada para la sección */
.meeting-schedule-section {
    animation: slideUpFade 0.6s ease-out forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de validación para fecha/hora */
.meeting-schedule-section input.error,
.meeting-schedule-section select.error {
    border-color: var(--danger);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Responsive para sección de reunión */
@media (max-width: 768px) {
    .meeting-schedule-section {
        padding: 20px;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .subsection-title i {
        font-size: 1.7rem;
    }

    .meeting-note {
        font-size: 0.95rem;
    }

    .field-hint {
        font-size: 0.8rem;
    }
}