/* ============================================================
   SECCIÓN 1: HERO — TRANSPORTE DE CARGA
   Diseño centrado, honesto y orientado a conversión
   ============================================================ */

   .freight-hero-new {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 50%, #1a1a1a 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    padding: 100px 5% 80px;
}

/* ===== MAPA DIGITAL DE RUTAS ===== */
.digital-map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.digital-map {
    width: 100%;
    height: 100%;
    opacity: 0.25;
}

.route-path {
    fill: none;
    stroke: #ffcc00;
    stroke-width: 1.5;
    opacity: 0;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawRoute 15s infinite linear;
}

@keyframes drawRoute {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    20% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

.route-node {
    fill: #ffcc00;
    opacity: 0;
    animation: nodePulse 3s infinite ease-in-out;
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.3;
        r: 4;
    }
    50% {
        opacity: 0.8;
        r: 6;
    }
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 204, 0, 0.06) 0%, transparent 60%);
}

/* ===== LÍNEA DE ESCANEO ===== */
.scan-line {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffcc00 50%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
    animation: scan 10s infinite linear;
    z-index: 5;
}

@keyframes scan {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ===== CONTENIDO PRINCIPAL CENTRADO ===== */
.freight-content-new {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    text-align: center;
}

/* ===== BADGE SUPERIOR ===== */
.badge-container {
    display: flex;
    justify-content: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: pulseDotStatus 2s infinite;
}

@keyframes pulseDotStatus {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ===== TÍTULO PRINCIPAL ===== */
.freight-title-new {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0;
}

.title-highlight {
    display: block;
    color: #ffcc00;
    text-shadow: 0 0 40px rgba(255, 204, 0, 0.5);
    position: relative;
    margin-top: 10px;
}

.title-highlight::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    animation: lineExpand 2s ease-out forwards;
}

@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ===== SUBTÍTULO ===== */
.freight-subtitle-new {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #c0c0c0;
    font-weight: 300;
    max-width: 650px;
    margin: 0;
}

/* ===== SELECTOR DE TIPO DE VIAJE ===== */
.trip-selector {
    width: 100%;
    max-width: 750px;
}

.selector-label {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 500;
}

.trip-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.trip-option {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trip-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 140px;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #aaa;
    transition: all 0.3s ease;
}

.option-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.option-text p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* Estado activo */
.trip-option.active .option-content {
    border-color: #ffcc00;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0.05) 100%);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.2);
}

.trip-option.active .option-icon {
    background: #ffcc00;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

/* Hover */
.trip-option:hover .option-content {
    border-color: rgba(255, 204, 0, 0.5);
    transform: translateY(-4px);
}

.trip-option:hover .option-icon {
    transform: scale(1.05);
}

/* ===== FORMULARIO RÁPIDO DE COTIZACIÓN ===== */
.quick-quote-form {
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
}

.form-input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffcc00;
    font-size: 18px;
    pointer-events: none;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 20px 20px 20px 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: #888;
}

.form-input:focus {
    outline: none;
    border-color: #ffcc00;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

.arrow-divider {
    color: #ffcc00;
    font-size: 20px;
}

/* ===== BOTÓN PRIMARIO CON ANIMACIÓN ORIGINAL ===== */
.btn-freight-primary-new {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 22px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(255, 204, 0, 0.4);
    transition: all 0.3s ease;
    width: 100%;
}

/* .btn-content y .btn-glow viven en base.css */

.btn-freight-primary-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(255, 204, 0, 0.6);
}

.btn-freight-primary-new i {
    transition: transform 0.3s ease;
}

.btn-freight-primary-new:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* ===== MINI TESTIMONIAL ===== */
.testimonial-mini {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px 35px;
    max-width: 650px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 30px;
    color: rgba(255, 204, 0, 0.3);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #e0e0e0;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.95rem;
    color: #aaa;
    font-weight: 500;
    margin: 0;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c0c0c0;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i {
    color: #ffcc00;
    font-size: 18px;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-hint:hover {
    color: #ffcc00;
}

.scroll-hint i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== ANIMACIONES DE ENTRADA ===== */
.animate-slideIn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */

/* Desktop grande */
@media (max-width: 1400px) {
    .freight-title-new {
        font-size: 4rem;
    }
}

/* Laptop */
@media (max-width: 1200px) {
    .freight-hero-new {
        padding: 100px 5% 80px;
    }
    
    .freight-title-new {
        font-size: 3.5rem;
    }
    
    .freight-subtitle-new {
        font-size: 1.15rem;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .freight-title-new {
        font-size: 3rem;
    }
    
    .trip-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .option-content {
        flex-direction: row;
        padding: 20px;
        min-height: auto;
    }
    
    .option-text {
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .freight-hero-new {
        padding: 80px 5% 60px;
    }
    
    .freight-title-new {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .freight-subtitle-new {
        font-size: 1.05rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .arrow-divider {
        transform: rotate(90deg);
    }
    
    .btn-freight-primary-new {
        padding: 20px 40px;
        font-size: 1.1rem;
    }
    
    .trust-bar {
        gap: 15px;
    }
    
    .trust-divider {
        display: none;
    }
}

/* Mobile pequeño */
@media (max-width: 600px) {
    .freight-title-new {
        font-size: 2.2rem;
    }
    
    .freight-subtitle-new {
        font-size: 1rem;
    }
    
    .status-badge {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
    
    .option-content {
        padding: 18px;
    }
    
    .option-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .form-input {
        padding: 18px 18px 18px 50px;
        font-size: 1rem;
    }
    
    .testimonial-mini {
        padding: 20px 25px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .trust-item {
        font-size: 0.85rem;
    }
}

/* Mobile muy pequeño */
@media (max-width: 400px) {
    .freight-title-new {
        font-size: 1.9rem;
    }
    
    .btn-freight-primary-new {
        padding: 18px 30px;
        font-size: 1rem;
    }
    
    .scroll-hint {
        bottom: 20px;
        font-size: 0.75rem;
    }
}


/* ============================================================
   SECCIÓN 2: SERVICIOS STICKY CARDS - PROFESIONAL
   Efecto: Cards se pegan (sticky) y la siguiente cubre a la anterior
   Layout: 50/50 (Foto | Contenido), alterno
   ============================================================ */

   .services-sticky-section-sec3 {
    position: relative;
    width: 100%;
    background: #F5F5F5;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

.services-sticky-container-sec3 {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* ===== STICKY CARDS — EL EFECTO PRINCIPAL ===== */
/*
   CÓMO FUNCIONA:
   1. Cada card tiene position: sticky + top: 0
      → Se "pega" en la parte superior cuando haces scroll
   2. Cada card tiene z-index ascendente (1, 2, 3, 4)
      → La que viene después se ve ENCIMA de la anterior
   3. El JS aplica scale() a la card que está siendo cubierta
      → Da efecto de profundidad 3D
   4. border-radius superior + sombra arriba
      → Simula que la nueva card "desliza" sobre la anterior
*/

.sticky-card-sec3 {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px 5%;
    transform-origin: center top;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

/* Fondos por card — z-index ASCENDENTE es clave para el efecto */
.card-white-sec3 {
    background: #FFFFFF;
    z-index: 1;
}

.card-light-gray-sec3 {
    background: #F8F9FA;
    z-index: 2;
}

.card-yellow-soft-sec3 {
    background: #FFF9E6;
    z-index: 3;
}

.card-gray-medium-sec3 {
    background: #E8EAED;
    z-index: 4;
}

/* ===== CARD CONTENT WRAPPER (50/50 Layout) ===== */
.card-content-wrapper-sec3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    align-items: center;
}

/* Layout invertido para cards alternas */
.card-content-wrapper-sec3.reverse-layout-sec3 {
    direction: rtl;
}

.card-content-wrapper-sec3.reverse-layout-sec3 > * {
    direction: ltr;
}

/* ===== IMAGEN DE LA CARD ===== */
.card-image-sec3 {
    position: relative;
    width: 100%;
    height: clamp(340px, 60vh, 520px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-image-sec3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ===== CONTENIDO DE TEXTO ===== */
.card-text-sec3 {
    position: relative;
    padding: 40px 0;
}

.card-badge-sec3 {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.card-title-sec3 {
    font-size: 3rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
    font-family: 'Montserrat', sans-serif;
}

.card-subtitle-sec3 {
    font-size: 1.3rem;
    color: #FFCC00;
    font-weight: 600;
    margin-bottom: 30px;
}

.card-description-sec3 {
    margin-bottom: 40px;
}

.card-description-sec3 p {
    font-size: 1.05rem;
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-description-sec3 p:last-child {
    margin-bottom: 0;
}

/* ===== ESPECIFICACIONES TÉCNICAS ===== */
.card-specs-sec3 {
    margin-bottom: 35px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-title-sec3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-grid-sec3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item-sec3 {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.spec-item-sec3 i {
    color: #FFCC00;
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.spec-content-sec3 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label-sec3 {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value-sec3 {
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
}

/* ===== FEATURES / IDEAL PARA ===== */
.card-features-sec3 {
    margin-bottom: 35px;
}

.features-title-sec3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list-sec3 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list-sec3 li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.features-list-sec3 i {
    color: #FFCC00;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== BOTÓN CTA EN CARD ===== */
.card-cta-sec3 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    color: #FFFFFF;
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-cta-sec3:hover {
    background: #FFCC00;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
}

.card-cta-sec3 i {
    transition: transform 0.3s ease;
}

.card-cta-sec3:hover i {
    transform: translateX(5px);
}

/* ===== CTA FINAL ===== */
.sticky-cta-final-sec3 {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    z-index: 10; /* MÁS ALTO que todas las cards para cubrirlas */
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cta-final-content-sec3 {
    text-align: center;
    max-width: 700px;
}

.cta-final-title-sec3 {
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-final-text-sec3 {
    font-size: 1.2rem;
    color: #CCCCCC;
    margin-bottom: 40px;
}

.cta-final-button-sec3 {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #FFCC00;
    position: relative;
    overflow: hidden;
    color: #000000;
    padding: 22px 50px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.3);
}

.cta-final-button-sec3:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 204, 0, 0.5);
}

.cta-final-button-sec3 i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-final-button-sec3:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* ===== RESPONSIVE ===== */

/* Laptop grande */
@media (max-width: 1400px) {
    .card-content-wrapper-sec3 {
        gap: 60px;
    }

    .card-title-sec3 {
        font-size: 2.5rem;
    }

    .card-image-sec3 {
        height: 550px;
    }
}

/* Laptop */
@media (max-width: 1200px) {
    .card-content-wrapper-sec3 {
        gap: 50px;
    }

    .card-specs-sec3 {
        padding: 25px;
    }

    .card-image-sec3 {
        height: 500px;
    }
}

/* Tablet/Mobile — DESACTIVAR STICKY */
@media (max-width: 900px) {
    .sticky-card-sec3 {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: auto;
        overflow: visible !important;
        padding: 50px 5%;
        border-radius: 0;
        box-shadow: none;
        transform: none !important;
        opacity: 1 !important;
        z-index: auto !important;
    }

    /* Forzar visibilidad de todos los elementos animados dentro de la sección */
    .services-sticky-section-sec3 .fade-left,
    .services-sticky-section-sec3 .fade-right,
    .services-sticky-section-sec3 .fade-up,
    .services-sticky-section-sec3 .fade-in,
    .services-sticky-section-sec3 .fade-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .card-content-wrapper-sec3 {
        grid-template-columns: 1fr;
        height: auto;
        gap: 25px;
    }

    .card-content-wrapper-sec3.reverse-layout-sec3 {
        direction: ltr;
    }

    .card-image-sec3 {
        height: 260px;
        order: -1;
    }

    .card-badge-sec3 {
        font-size: 6rem;
    }

    .card-title-sec3 {
        font-size: 2.2rem;
    }

    .specs-grid-sec3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sticky-cta-final-sec3 {
        border-radius: 0;
        box-shadow: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sticky-card-sec3 {
        padding: 40px 5%;
    }

    .card-text-sec3 {
        padding: 20px 0;
    }

    .card-title-sec3 {
        font-size: 2rem;
    }

    .card-subtitle-sec3 {
        font-size: 1.1rem;
    }

    .card-description-sec3 p {
        font-size: 1rem;
    }

    .card-specs-sec3 {
        padding: 20px;
    }

    .card-image-sec3 {
        height: 240px;
    }

    .card-cta-sec3 {
        width: 100%;
        justify-content: center;
    }

    .cta-final-title-sec3 {
        font-size: 2.2rem;
    }

    .cta-final-button-sec3 {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .card-title-sec3 {
        font-size: 1.8rem;
    }

    .card-badge-sec3 {
        font-size: 4rem;
    }

    .card-image-sec3 {
        height: 200px;
    }

    .specs-title-sec3,
    .features-title-sec3 {
        font-size: 1rem;
    }

    .cta-final-title-sec3 {
        font-size: 1.9rem;
    }

    .cta-final-text-sec3 {
        font-size: 1.05rem;
    }
}

/* FIN SECCIÓN 2 CSS */

/* ========================================
   SECCIÓN PROCESO PREMIUM - TECH TIMELINE 3D
   CSS AVANZADO CON EFECTOS PREMIUM
   ======================================== */

   .process-section-premium {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    padding: 120px 5% 100px;
    overflow: hidden;
}

/* ===== CANVAS DE PARTÍCULAS ===== */
.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.process-container-premium {
    position: relative;
    z-index: 10;
    max-width: 1600px;
    margin: 0 auto;
}

/* ===== HEADER PREMIUM ===== */
.process-header-premium {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.8);
    animation: badgeDotPulse 2s infinite;
}

@keyframes badgeDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.badge-text {
    color: #ffcc00;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.process-title-premium {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.title-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #ffcc00 0%, #ffd633 50%, #ffee99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.process-subtitle-premium {
    font-size: 1.3rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== PROGRESS BAR GLOBAL ===== */
.global-progress-bar {
    margin-bottom: 80px;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffcc00 0%, #ffd633 50%, #ffee99 100%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="4" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="%23ffcc00"/></svg>') repeat-x;
    animation: flowParticles 3s linear infinite;
    opacity: 0.5;
}

@keyframes flowParticles {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(0); }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

/* ===== TIMELINE 3D CONTAINER ===== */
.timeline-3d-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
    perspective: 2000px;
}

/* ===== CARD 3D ===== */
.step-card-3d {
    position: relative;
    min-height: 500px;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    animation: cardAppear 0.8s ease-out forwards;
}

.step-card-3d[data-step="1"] { animation-delay: 0.1s; }
.step-card-3d[data-step="2"] { animation-delay: 0.2s; }
.step-card-3d[data-step="3"] { animation-delay: 0.3s; }
.step-card-3d[data-step="4"] { animation-delay: 0.4s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card-3d:hover .card-inner {
    transform: rotateY(180deg);
}

/* Frente y reverso de la card */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    min-height: 500px;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0.05) 100%);
    border-color: rgba(255, 204, 0, 0.3);
}

/* Hover effect en card */
.step-card-3d:hover .card-front {
    box-shadow: 
        0 20px 60px rgba(255, 204, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ===== ELEMENTOS DE LA CARD ===== */
.step-number-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 204, 0, 0.1);
    border: 2px solid rgba(255, 204, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffcc00;
    backdrop-filter: blur(10px);
}

/* Icono con efectos */
.step-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 30px 0 25px;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.icon-wrapper {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #000;
    box-shadow: 
        0 10px 30px rgba(255, 204, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.step-card-3d:hover .icon-wrapper {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 
        0 15px 40px rgba(255, 204, 0, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Título del paso */
.step-title-3d {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.step-tagline {
    font-size: 1rem;
    color: #ffcc00;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Métricas */
.step-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 25px;
}

.metric-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon {
    font-size: 1.3rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffcc00;
}

.metric-label {
    font-size: 0.9rem;
    color: #aaa;
}

.metric-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Feature pills */
.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffcc00;
    font-weight: 600;
}

.feature-pill i {
    font-size: 0.9rem;
}

/* ===== CARD BACK (REVERSO) ===== */
.back-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.back-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
}

.detail-list i {
    color: #ffcc00;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.back-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 15px 25px;
    background: rgba(255, 204, 0, 0.2);
    border: 2px solid #ffcc00;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffcc00;
}

/* ===== CONECTORES 3D ===== */
.step-connector-3d {
    position: absolute;
    top: 60px;
    right: -40px;
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.5), rgba(255, 204, 0, 0.2));
    position: relative;
}

.connector-arrow {
    position: absolute;
    right: -5px;
    color: #ffcc00;
    font-size: 1.2rem;
    animation: arrowFlow 1.5s infinite;
}

@keyframes arrowFlow {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.5; }
}

/* Ocultar último conector */
.step-card-3d[data-step="4"] .step-connector-3d {
    display: none;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1400px) {
    .timeline-3d-container {
        gap: 30px;
    }
    
    .process-title-premium {
        font-size: 3.5rem;
    }
}

@media (max-width: 1200px) {
    .timeline-3d-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .step-connector-3d {
        display: none;
    }
}

@media (max-width: 900px) {
    .process-section-premium {
        padding: 80px 5% 80px;
    }
    
    .process-title-premium {
        font-size: 2.8rem;
    }
    
}

@media (max-width: 768px) {
    .timeline-3d-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Sin altura explícita las cards colapsan a 0 porque
       card-front y card-back son position: absolute */
    .step-card-3d {
        height: 400px;
        min-height: unset;
    }

    .card-inner {
        height: 400px;
    }

    .card-front,
    .card-back {
        min-height: 400px;
        padding: 30px 25px;
    }

    .process-title-premium {
        font-size: 2.2rem;
    }

    .btn-premium-3d {
        width: 100%;
        padding: 20px 40px;
    }
}

@media (max-width: 480px) {
    .process-section-premium {
        padding: 60px 5% 60px;
    }

    .process-title-premium {
        font-size: 1.9rem;
    }

    /* Ícono más pequeño → card puede ser más corta */
    .step-card-3d {
        height: 360px;
    }

    .card-inner {
        height: 360px;
    }

    .card-front,
    .card-back {
        min-height: 360px;
        padding: 25px 20px;
    }

    .icon-wrapper {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }

    .step-icon-container {
        width: 90px;
        height: 90px;
        margin: 20px 0 18px;
    }

    .step-title-3d {
        font-size: 1.6rem;
    }

    .btn-premium-3d {
        padding: 18px 30px;
        font-size: 1rem;
    }
}

/* ============================================================
   OVERRIDES: FONDO BLANCO — SECCIÓN CÓMO FUNCIONA
   ============================================================ */

.process-section-premium {
    background: #fff;
}

/* Ocultar canvas de partículas (diseñado para fondo oscuro) */
.particles-background {
    display: none;
}

/* Textos del encabezado */
.process-title-premium { color: #111; }
.process-subtitle-premium { color: #666; }

/* Barra de progreso */
.progress-track { background: rgba(0, 0, 0, 0.08); }

/* Cards: de glass oscuro a blanco con borde */
.card-front,
.card-back {
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.card-back {
    background: #fffdf0;
    border-color: rgba(255, 204, 0, 0.35);
}

.step-card-3d:hover .card-front {
    box-shadow: 0 16px 48px rgba(255, 204, 0, 0.2);
    border-color: #ffcc00;
}

/* Textos dentro de las cards */
.step-title-3d { color: #111; }
.metric-text   { color: #333; }
.metric-label  { color: #777; }

.metric-item {
    background: #f5f5f3;
    border-color: #e8e8e8;
}

/* Reverso */
.back-content h4  { color: #111; }
.detail-list li   { color: #444; }

.back-cta {
    background: rgba(255, 204, 0, 0.12);
    color: #7a5f00;
}

/* ============================================================
   SECCIÓN POR QUÉ EL DIAMANTE
   ============================================================ */

.pw-section {
    width: 100%;
    background: #fff;
    padding: 100px 5%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-top: 1px solid #f0f0ee;
}

.pw-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.pw-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.4);
    color: #7a5f00;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pw-badge-dot {
    width: 7px;
    height: 7px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 204, 0, 0.8);
    flex-shrink: 0;
    animation: pwDotPulse 2s infinite ease-in-out;
}

@keyframes pwDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.3); }
}

.pw-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #111;
    margin: 0;
}

.pw-title-accent { color: #c9a000; }

.pw-subtitle {
    font-size: 1rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

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

.pw-card {
    padding: 32px 28px;
    border: 1px solid #ececea;
    border-radius: 18px;
    background: #fafaf8;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.pw-card:hover {
    border-color: #ffcc00;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.07);
    transform: translateY(-4px);
    background: #fff;
}

.pw-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a000;
    font-size: 18px;
    transition: background 0.22s ease, color 0.22s ease;
}

.pw-card:hover .pw-card-icon {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #000;
}

.pw-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.pw-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

.pw-cta {
    text-align: center;
    margin-top: 56px;
}

.pw-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border: 2px solid #111;
    border-radius: 12px;
    color: #111;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pw-cta-btn:hover {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #000;
    transform: translateY(-2px);
}

.pw-cta-btn i { transition: transform 0.2s ease; }

.pw-cta-btn:hover i { transform: translateX(4px); }

@media (max-width: 900px) {
    .pw-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .pw-section { padding: 70px 5%; }
    .pw-grid { grid-template-columns: 1fr; }
}




