@media (min-width: 769px) {
        html {
            zoom: 0.9;
        }
    }

    /* Para el header - OVERRIDE específico */
.capas-header,
.capas-header * {
    line-height: normal !important;
}

    /* Hero de instrucciones de pago */
    .payment-hero {
        position: relative;
        background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink), var(--dark-yellow));
        min-height: 500px;
        overflow: hidden;
        color: var(--white);
        padding-bottom: 50px;
    }

    /* Botón de regreso */
    .back-button {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
    }

    .btn-back {
        display: flex;
        align-items: center;
        gap: 5px;
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--white);
        padding: 8px 15px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .btn-back:hover {
        background-color: var(--white);
        color: var(--primary-pink);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    /* Decoración del hero */
    .payment-hero-decoration {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
    }

    /* Formas flotantes */
    .shape {
        position: absolute;
        border-radius: 50%;
        filter: blur(30px);
        animation: shapeFloat 20s infinite alternate ease-in-out;
        opacity: 0.6;
    }

    @keyframes shapeFloat {
        0% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(30px, 20px) scale(1.1); }
        66% { transform: translate(-20px, -10px) scale(0.9); }
        100% { transform: translate(10px, 30px) scale(1.05); }
    }

    .shape-1 {
        top: -80px;
        left: -50px;
        width: 250px;
        height: 250px;
        background: var(--secondary-pink);
        opacity: 0.4;
        animation-delay: 0s;
    }

    .shape-2 {
        bottom: -100px;
        right: 10%;
        width: 300px;
        height: 300px;
        background: var(--primary-yellow);
        opacity: 0.3;
        animation-delay: -5s;
    }

    .shape-3 {
        top: 30%;
        right: -50px;
        width: 180px;
        height: 180px;
        background: var(--light-yellow);
        opacity: 0.35;
        animation-delay: -10s;
    }

    .shape-4 {
        top: 60%;
        left: 20%;
        width: 200px;
        height: 200px;
        background: var(--accent-yellow);
        opacity: 0.3;
        animation-delay: -7s;
    }

    /* Elementos decorativos */
    .floating-coins {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
    }

    .coin {
        position: absolute;
        width: 15px;
        height: 15px;
        background: rgba(255, 215, 0, 0.6);
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        animation: coinFloat 15s infinite linear;
    }

    .coin::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        background: rgba(255, 193, 7, 0.8);
        border-radius: 50%;
    }

    .coin:nth-child(1) {
        top: 20%;
        left: 15%;
        animation-duration: 20s;
        animation-delay: 0s;
    }

    .coin:nth-child(2) {
        top: 50%;
        left: 25%;
        animation-duration: 24s;
        animation-delay: -3s;
    }

    .coin:nth-child(3) {
        top: 30%;
        left: 70%;
        animation-duration: 18s;
        animation-delay: -7s;
    }

    .coin:nth-child(4) {
        top: 65%;
        left: 85%;
        animation-duration: 22s;
        animation-delay: -2s;
    }

    .coin:nth-child(5) {
        top: 15%;
        left: 55%;
        animation-duration: 26s;
        animation-delay: -5s;
    }

    @keyframes coinFloat {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        90% {
            opacity: 1;
        }
        100% {
            transform: translateY(-500px) rotate(360deg);
            opacity: 0;
        }
    }

    /* Patrones decorativos */
    .pattern {
        position: absolute;
        opacity: 0.05;
        z-index: 1;
    }

    .pattern-1 {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
        background-size: 120px 120px;
    }

    /* Contenido del hero */
    .payment-hero-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 100px 20px 50px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .payment-hero-text {
        position: relative;
        z-index: 3;
        padding-right: 20px;
    }

    .payment-badge {
        display: inline-block;
        background-color: var(--primary-yellow);
        padding: 8px 16px;
        border-radius: 30px;
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--dark-pink);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        text-transform: uppercase;
        letter-spacing: 1px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .yellow-text {
        color: var(--primary-yellow) !important; 
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }

    .payment-hero h1 {
        font-size: 3.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .payment-hero h1 span {
        display: block;
        position: relative;
        margin-top: 5px;
    }

    .payment-hero-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
        opacity: 0.9;
        line-height: 1.7;
        max-width: 90%;
    }

    /* Ilustración */
    .payment-illustration {
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .payment-card {
        position: relative;
        width: 80%;
        max-width: 400px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transform-style: preserve-3d;
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
        transition: all 0.5s ease;
        animation: cardFloat 6s ease-in-out infinite;
    }

    @keyframes cardFloat {
        0% {
            transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0);
        }
        50% {
            transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-15px);
        }
        100% {
            transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0);
        }
    }

    .payment-card:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    }

    .card-chip {
        width: 50px;
        height: 40px;
        background: linear-gradient(45deg, var(--primary-yellow), var(--dark-yellow));
        border-radius: 8px;
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .card-chip::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background: rgba(0, 0, 0, 0.1);
    }

    .card-chip::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 1px;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
    }

    .card-number {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
        color: var(--white);
        font-weight: 600;
    }

    .card-name {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
        color: var(--white);
        opacity: 0.9;
    }

    .card-date {
        font-size: 0.9rem;
        color: var(--white);
        opacity: 0.8;
    }

    .card-logo {
        position: absolute;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-logo-circle {
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.8);
    }

    .card-logo-circle:nth-child(1) {
        background: rgba(255, 134, 158, 0.8);
        transform: translateX(-10px);
    }

    .card-logo-circle:nth-child(2) {
        background: rgba(255, 193, 7, 0.8);
        transform: translateX(10px);
        mix-blend-mode: multiply;
    }

    /* Onda inferior */
    .payment-hero-wave {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        line-height: 0;
        z-index: 1;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .payment-hero-content {
            grid-template-columns: 1fr;
            text-align: center;
            padding-top: 80px;
        }

        .payment-hero-text {
            padding-right: 0;
        }

        .payment-hero-description {
            max-width: 100%;
            margin: 0 auto 30px;
        }

        .payment-card {
            margin: 0 auto;
        }
    }

    @media (max-width: 768px) {
        .payment-hero h1 {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 576px) {
        .payment-hero-content {
            padding: 70px 20px 50px;
        }

        .payment-hero h1 {
            font-size: 2rem;
        }

        .payment-card {
            width: 90%;
        }
    }

/* Estilos responsivos para ambos botones */
@media (max-width: 768px) {
    .action-buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .payment-btn, .back-btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .payment-btn, .back-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Estilos para el botón de regresar */
.back-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    color: var(--dark-gray);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
}

.back-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-5px);
}
/* Estilos para la sección de Pasos de Pago */
:root {
    --primary-pink: #e83e8c;
    --secondary-pink: #ff6b9b;
    --light-pink: #ffd1dc;
    --dark-pink: #c71f5e;
    --accent-pink: #ff87a2;
    --primary-yellow: #ffc107;
    --light-yellow: #ffe082;
    --dark-yellow: #ffa000;
    --accent-yellow: #ffecb3;
    --success-green: #28a745;
    --info-blue: #17a2b8;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
}

.payment-steps-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.payment-steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.payment-steps-header {
    text-align: center;
    margin-bottom: 60px;
}

.payment-steps-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.payment-steps-title::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: 5px;
    left: 0;
    background: var(--primary-pink);
    opacity: 0.3;
    z-index: -1;
    transform: skew(-5deg) rotate(-1deg);
    border-radius: 10px;
}

.payment-steps-title span {
    background: linear-gradient(to right, var(--primary-yellow), var(--dark-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.payment-steps-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.payment-method i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.payment-method:nth-child(1) i {
    color: var(--primary-pink);
}

.payment-method:nth-child(2) i {
    color: var(--info-blue);
}

.payment-method:nth-child(3) i {
    color: var(--success-green);
}

.payment-method:nth-child(4) i {
    color: var(--primary-yellow);
}

/* Estilos para la línea del tiempo */
.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    width: 8px;
    background: linear-gradient(to bottom, var(--primary-pink), var(--primary-yellow));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-item {
    padding: 40px 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    left: 50%;
    margin-left: -14px;
    border-radius: 50%;
    background: var(--white);
    border: 5px solid var(--primary-pink);
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(232, 62, 140, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--primary-yellow);
}

.timeline-content {
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.step-number {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    z-index: 2;
    top: -15px;
    left: -15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(even) .step-number {
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    left: auto;
    right: -15px;
}

.step-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.step-info {
    padding: 25px 30px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.step-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-image {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.timeline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 350px;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid #e5e5e5;
}

.left-image {
    margin-right: auto;
    margin-left: 0;
}

.right-content {
    margin-left: 0;
    margin-right: auto;
}

.step-note {
    padding: 15px;
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--primary-yellow);
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.step-note-title {
    font-weight: 700;
    color: var(--dark-yellow);
    margin-bottom: 5px;
}

.step-important {
    background-color: rgba(232, 62, 140, 0.1);
    border-left: 4px solid var(--primary-pink);
}

.step-important .step-note-title {
    color: var(--dark-pink);
}

.payment-success {
    text-align: center;
    padding: 40px;
    margin-top: 60px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-green);
    margin-bottom: 20px;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.success-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.payment-footer {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.payment-footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-gray);
    text-align: center;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.payment-option {
    flex: 1;
    min-width: 220px;
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.payment-option i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-pink);
}

.payment-option:nth-child(2) i {
    color: var(--info-blue);
}

.payment-option:nth-child(3) i {
    color: var(--success-green);
}

.payment-option:nth-child(4) i {
    color: var(--primary-yellow);
}

.payment-option-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.payment-option-text {
    font-size: 0.9rem;
    color: #666;
}

.payment-cta {
    margin-top: 50px;
    text-align: center;
}

.payment-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(232, 62, 140, 0.3);
    transition: all 0.3s ease;
}

.payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(232, 62, 140, 0.4);
}

.payment-btn i {
    margin-left: 8px;
}

/* Zoom de imágenes */
.timeline-image {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.timeline-image img {
    transition: all 0.4s ease;
    transform-origin: center;
    cursor: pointer;
}

/* Zoom al pasar el mouse (como antes), pero ahora queda por ENCIMA de todo
   y espera un instante para no activarse solo con pasar el mouse de largo */
.timeline-image img:hover,
.timeline-image img:focus-visible {
    position: relative;
    z-index: 50;
    transform: scale(1.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    transition-delay: 0.12s;
}

.mobile-image {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.mobile-image img {
    transition: all 0.4s ease;
    transform-origin: center;
    cursor: pointer;
}

.mobile-image img:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.zoom-indicator {
    background-color: rgba(255, 193, 7, 0.15);
    border-left: 4px solid var(--primary-yellow);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px auto 0;
    max-width: 500px;
    animation: pulse 2s 3;
}

.zoom-icon {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-text {
    margin: 0;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

@media (max-width: 992px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
        margin-left: 0;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    .timeline-image {
        display: none;
    }

    .timeline-item:nth-child(even) .step-number {
        left: -15px;
        right: auto;
    }

    .payment-steps-title {
        font-size: 2.2rem;
    }

    .left-image, .right-content {
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    /* Añadir las imágenes debajo en móvil */
    .step-card {
        margin-bottom: 20px;
    }

    .mobile-image {
        display: block;
        width: 100%;
        margin-top: 25px;
        text-align: center;
    }

    .mobile-image img {
        max-width: 100%;
        width: 90%;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        min-height: 200px;
        object-fit: contain;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        transition: all 0.4s ease;
        transform-origin: center;
    }

    .mobile-image img:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
}

@media (min-width: 993px) {
    .mobile-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .payment-option {
        min-width: calc(50% - 20px);
    }

    .payment-steps-title {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .payment-option {
        min-width: 100%;
    }

    .payment-steps-title {
        font-size: 1.8rem;
    }

    .payment-methods {
        flex-direction: column;
        gap: 10px;
    }

    .success-title {
        font-size: 1.7rem;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .step-info {
        padding: 20px;
    }
}

/* Estilos para el botón de volver arriba con ondas sutiles y periódicas (mismo diseño, nuevo nombre) */

/* Ondas más sutiles y periódicas */

/* Brillo periódico para el botón */

/* Ajustes responsivos */

:root {
    --primary-blue: #044c8c;
    --secondary-blue: #04a4dc;
    --dark-blue: #044090;
    --medium-blue: #3a74a6;
    --light-green: #74b42c;
    --medium-green: #7cbc34;
    --dark-green: #307c68;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e1e5eb;
    --dark-gray: #444444;
}

/* Estilos para el botón de volver arriba con ondas sutiles y periódicas */
.back-to-top-pulse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
}

.back-to-top-pulse svg {
    transition: transform 0.3s ease;
}

.back-to-top-pulse:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    box-shadow: 0 6px 20px rgba(4, 76, 140, 0.4);
    transform: translateY(0) scale(1.05);
}

.back-to-top-pulse:hover svg {
    transform: translateY(-3px);
}

.back-to-top-pulse.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ondas más sutiles y periódicas */
.back-to-top-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--secondary-blue);
    opacity: 0;
    z-index: -1;
    animation: subtle-ripple 4s 2s ease-out infinite;
}

@keyframes subtle-ripple {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    15% {
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Brillo periódico para el botón */
.back-to-top-pulse.visible {
    animation: subtle-glow 6s ease infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(4, 164, 220, 0.5);
    }
}

/* Ajustes responsivos */
@media screen and (max-width: 768px) {
    .back-to-top-pulse {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .back-to-top-pulse {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Estilos para el botón flotante de WhatsApp - Watsi */
/* Botón flotante principal */
.watsi__button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.watsi__button.watsi-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.watsi__button.watsi__button--hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.watsi__button__open {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2 0%, #4caf50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.watsi__button:hover .watsi__button__open {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.6);
}

.watsi__button__sendtext {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__button:hover .watsi__button__sendtext {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

.watsi__button__sendtext::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 8px solid #1565c0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.watsi__button__send {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.watsi__button__send i {
    font-size: 26px;
    color: white;
    transition: all 0.3s ease;
    line-height: 1;
}

.watsi_svg__plain {
    opacity: 1;
    transition: all 0.3s ease;
}

.watsi_svg__chat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    line-height: 1;
}

.watsi__button.watsi__button--chatting .watsi_svg__plain {
    opacity: 0;
}

.watsi__button.watsi__button--chatting .watsi_svg__chat {
    opacity: 1;
}

.watsi__tooltip {
    position: absolute;
    bottom: 75px;
    left: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

.watsi__button:hover .watsi__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat box */
.watsi__box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transform-origin: bottom left;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    overflow: hidden;
}

.watsi__box.watsi__box--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.watsi__header {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    padding: 20px;
    position: relative;
    color: white;
}

.watsi__powered {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.watsi__powered svg {
    width: 60px;
    height: 12px;
    fill: white;
}

.watsi__close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.watsi__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.watsi__close::before,
.watsi__close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.watsi__close::before {
    transform: rotate(45deg);
}

.watsi__close::after {
    transform: rotate(-45deg);
}

.watsi__box__scroll {
    max-height: 300px;
    overflow-y: auto;
}

.watsi__box__content {
    padding: 25px;
}

.watsi__message {
    background: linear-gradient(135deg, #e3f2fd 0%, #e0f2f1 100%);
    padding: 18px;
    border-radius: 15px;
    border-left: 4px solid #1e88e5;
    font-size: 16px;
    line-height: 1.5;
    color: #0d47a1;
    position: relative;
    animation: watsiFadeInMessage 0.5s ease-out;
}

@keyframes watsiFadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.watsi__message::before {
    content: '💬';
    position: absolute;
    top: -8px;
    left: 15px;
    background: #1e88e5;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Botón de acción en el chat */
.watsi__action {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    gap: 10px;
}

.watsi__action__button {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5 0%, #26a69a 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    animation: watsiGentlePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.watsi__action__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: watsiShimmer 2.5s infinite;
}

.watsi__action__button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.4);
    animation-play-state: paused;
}

.watsi__action__button--blue {
    background: #2196f3;
    animation-delay: 1.5s;
}

.watsi__action__button--blue::before {
    animation-delay: 1.2s;
}

.watsi__action__button--blue:hover {
    background: #1976d2;
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

@keyframes watsiGentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}

@keyframes watsiShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Animaciones */
@keyframes watsiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

.watsi__button__open {
    animation: watsiPulse 2s infinite;
}

/* Responsive */
@media (max-width: 480px) {
    .watsi__box {
        width: calc(100vw - 20px);
        left: 10px;
        bottom: 15px;
    }

    .watsi__button {
        bottom: 15px;
        left: 15px;
    }

    .watsi__action {
        flex-direction: column;
    }

    .watsi__action__button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Ocultar en dispositivos móviles si deseas */
@media (max-width: 768px) {
    .watsi__button,
    .watsi__box {
        display: none !important;
    }
}

    .facebook-news-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #1877f2;
        color: white;
        padding: 10px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    }

    .facebook-news-btn:hover {
        background: #0a5dc3;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(24, 119, 242, 0.4);
        color: white;
    }

    .facebook-news-btn i {
        font-size: 1.2rem;
    }

    .newsletter-form {
        margin-top: 15px;
    }

    .lightbox-inst {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.lightbox-inst-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-inst-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 850px;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-inst-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background 0.3s ease;
    line-height: 1;
}

.lightbox-inst-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cursor pointer en todas las imágenes de pasos */
.timeline-image img,
.mobile-image img {
    cursor: pointer;
}

/* En móvil no mostrar hover zoom, solo el lightbox al clic */
@media (max-width: 992px) {
    .mobile-image img:hover {
        transform: none;
    }
}


/* ===== Mejoras ===== */
/* Las pastillas de métodos de pago ahora son links a su tarjeta de abajo */
a.payment-method { text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.payment-method:hover { color: var(--dark-gray); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); }
html { scroll-behavior: smooth; }
.payment-option { scroll-margin-top: 120px; }
.payment-option:target { animation: resaltarOpcion 1.6s ease 1; }
@keyframes resaltarOpcion {
    0%, 60% { box-shadow: 0 0 0 4px rgba(232, 62, 140, 0.45); }
    100% { box-shadow: none; }
}

/* Links largos dentro de los pasos ya no se salen de la tarjeta en celular */
.step-description a { overflow-wrap: anywhere; }

/* Botón "Consultar mi referencia" (paso 1) */
.btn-referencia {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 6px;
    padding: 9px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(232, 62, 140, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-referencia:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(232, 62, 140, 0.4); }

/* Imágenes de los pasos: se pueden abrir también con teclado */
.timeline-image img:focus-visible,
.mobile-image img:focus-visible { outline: 3px solid var(--primary-yellow); outline-offset: 3px; }

/* Galería (lightbox) */
.lightbox-inst-close { border: none; padding: 0; }
.lightbox-inst-content { text-align: center; }
.galeria-pie {
    margin: 12px auto 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.galeria-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}
.galeria-flecha:hover { background: rgba(255, 255, 255, 0.2); }
.galeria-flecha.anterior { left: 20px; }
.galeria-flecha.siguiente { right: 20px; }
.lightbox-inst button:focus-visible { outline: 3px solid var(--primary-yellow); outline-offset: 2px; }
@media (max-width: 768px) {
    .lightbox-inst-content { max-width: 96%; width: 96%; }
    .lightbox-inst-image { max-height: 75vh; }
    .galeria-flecha { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
    .galeria-flecha.anterior { left: calc(50% - 60px); }
    .galeria-flecha.siguiente { right: calc(50% - 60px); }
    .lightbox-inst-close { top: 12px; right: 12px; }
}

/* Botón fijo "Pagar ahora" (solo celular) */
.pagar-flotante { display: none; }
@media (max-width: 768px) {
    .pagar-flotante {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        position: fixed;
        left: 15px;
        bottom: 15px;
        z-index: 98;
        padding: 12px 20px;
        border-radius: 30px;
        background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
        color: #fff;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(232, 62, 140, 0.45);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .pagar-flotante.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .pagar-flotante:hover { color: #fff; }
}

/* Ícono de "estás aquí" dentro del submenú */
.capas-dropdown-item .icono-aqui { width: 1em; height: 1em; vertical-align: -0.125em; }

@media (prefers-reduced-motion: reduce) {
    .zoom-indicator { animation: none; }
    html { scroll-behavior: auto; }
}