* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 100px;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #1b4b5a 0%, #0a1b2e 80%);
    min-height: 100vh;
    color: #fff;
}

/* NAVBAR - IGUAL QUE INDEX */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0a1b2e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .5);
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    height: 60px;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-texto span {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-texto small {
    color: #fff;
    font-size: 12px;
    margin-top: 3px;
}

.menu {
    flex: 1;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
}

.menu a {
    text-decoration: none;
    color: #bdbdbd;
    font-weight: bold;
    font-size: 15px;
    position: relative;
    padding: 12px 0;
}

.menu a:hover,
.menu a.active-link {
    color: #fff;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #00d5ff;
    border-radius: 20px;
    transition: .3s;
}

.menu a:hover::after,
.menu a.active-link::after {
    width: 50px;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #00d5ff;
    color: #00d5ff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.login-link:hover {
    background: #00d5ff;
    color: #000;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1.5px solid #00d5ff;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px;
    height: 60px;
    background: #04436a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* CITA */
.cita-wrap {
    max-width: 1150px;
    margin: 30px auto;
    padding: 0 20px;
}

.bloqueo {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.bloqueo-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    padding: 40px 30px;
    text-align: center;
    max-width: 520px;
    width: 100%;
}

.bloqueo-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.bloqueo-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.bloqueo-card p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-azul {
    display: block;
    background: #00d5ff;
    color: #0a1b2e;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 10px;
}

.btn-outline {
    display: block;
    border: 1.5px solid #fff;
    color: #fff;
    padding: 13px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.bloqueo-note {
    margin-top: 15px !important;
    font-size: 12px !important;
}

.cita-header {
    text-align: center;
    margin-bottom: 25px;
}

.badge {
    display: inline-block;
    background: rgba(0, 213, 255, .12);
    border: 1px solid #00d5ff;
    color: #00d5ff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cita-header h1 {
    font-size: 32px;
    margin: 12px 0 8px;
}

.cita-header h1 span {
    color: #00d5ff;
}

.cita-header p {
    color: #d1d5db;
    font-size: 14px;
}

.cita-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 22px;
    align-items: start;
}

.form-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    padding: 26px;
}

.form-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.tag-auto {
    background: #00d5ff;
    color: #000;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
}

.form-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 12px 0 6px;
    color: #e5e7eb;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    color: #111;
}

.form-card input[readonly] {
    background: #e5e7eb;
    color: #4b5563;
    cursor: not-allowed;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #00d5ff;
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hint {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.error-fecha {
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .4);
    color: #fecaca;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

.resumen-mini {
    background: rgba(0, 0, 0, .25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resumen-mini div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.btn-pagar {
    width: 100%;
    background: #FFD400;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 18px;
}

.btn-pagar:hover {
    background: #a6a2f4;
}

.seguro {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 10px;
}

.side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    padding: 20px;
}

.side-card h3 {
    margin-bottom: 12px;
}

.side-card p {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 8px;
    line-height: 1.5;
}

.side-card hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin: 12px 0;
}

.total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.total b {
    color: #FFD400;
    font-size: 20px;
}

.side-note {
    font-size: 12px !important;
    color: #025af3 !important;
}

.pasos p {
    color: #fff !important;
}

.emerg a {
    display: block;
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 10px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.modal-box {
    background: #fff;
    color: #111;
    border-radius: 18px;
    padding: 26px;
    width: 100%;
    max-width: 480px;
    position: relative;
    max-height: 90vh;
    overflow: auto;
}

.modal-x {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #eee;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-box h2 {
    margin-bottom: 6px;
}

.modal-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
}

.modal-box label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 10px 0 5px;
}

.modal-box input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.modal-box input:focus {
    border-color: #00d5ff;
}

.tabs-pago {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tab-pago {
    flex: 1;
    padding: 10px;
    border: 1.5px solid #ddd;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.tab-pago.active {
    background: #0a1b2e;
    color: #fff;
    border-color: #0a1b2e;
}

/* FOOTER - IGUAL QUE INDEX */
footer {
    background: #111827;
    color: white;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 0 40px 40px;
    flex-wrap: wrap;
}

.footer-box {
    max-width: 250px;
}

.footer-box h2,
.footer-box h3 {
    margin-bottom: 15px;
}

.footer-box p {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-box a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-box a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

ul {
    list-style: none;
}

.example-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.example-2 .icon-content {
    margin: 0 10px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"]~.tooltip,
.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"]~.tooltip,
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip,
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip,
.example-2 .icon-content a[data-social="telefono"] .filled,
.example-2 .icon-content a[data-social="telefono"]~.tooltip,
.example-2 .icon-content a[data-social="gmail"] .filled,
.example-2 .icon-content a[data-social="gmail"]~.tooltip {
    background-color: #193347;
}

/* ===== ALERTA PROFESIONAL KADASA ===== */
.campo {
    position: relative;
}

.campo.error input,
.campo.error select,
.campo.error textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .18) !important;
}

.msg-error {
    display: none;
    color: #fca5a5;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 6px;
}

.campo.error .msg-error {
    display: block;
}

.swal2-popup.swal-kadasa {
    background: #0a1b2e !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px !important;
}

.swal2-title.swal-kadasa-title {
    color: #fff !important;
}

.swal2-html-container.swal-kadasa-text {
    color: #d1d5db !important;
}

.swal2-confirm.swal-btn-kadasa {
    background: #FFD400 !important;
    color: #000 !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
}

/* ===== VALIDADOR TARJETA - VISA / MASTERCARD ===== */
.input-tarjeta {
    position: relative;
}

.input-tarjeta input {
    padding-right: 95px !important;
}

.marca-tarjeta {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    padding: 5px 10px;
    border-radius: 20px;
    display: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.marca-tarjeta.show {
    display: inline-block;
}

.marca-tarjeta.visa {
    background: #1a1f71;
    color: #fff;
    font-style: italic;
}

.marca-tarjeta.mastercard {
    background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%);
    color: #fff;
}

.marca-tarjeta.amex {
    background: #2e77bc;
    color: #fff;
}

.marca-tarjeta.invalida {
    background: #fee2e2;
    color: #dc2626;
}

.msg-error-tarjeta {
    display: none;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.msg-error-tarjeta.show {
    display: block;
}

.modal-box input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

.modal-box input.ok {
    border-color: #22c55e !important;
}

/* ===== MENÚ MÓVIL CORREGIDO - SIN X - VA AL FINAL ===== */
@media (max-width:900px) {
    .navbar {
        height: 70px !important;
        padding: 0 12px !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        z-index: 1001 !important
    }

    body {
        padding-top: 70px !important
    }

    .logo {
        flex: 1 !important;
        min-width: 0 !important
    }

    .logo-icon {
        height: 38px !important
    }

    .logo-texto span {
        font-size: 19px !important
    }

    .logo-texto small {
        display: none !important
    }

    .login-link {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        gap: 0 !important
    }

    .login-link span,
    .login-link #loginText {
        display: none !important
    }

    .login-link i {
        font-size: 16px !important;
        margin: 0 !important
    }

    .menu-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 18px !important;
        position: relative !important;
        z-index: 1 !important
    }

    .menu {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 86% !important;
        max-width: 340px !important;
        height: 100dvh !important;
        background: #0a1b2e !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 22px 16px 20px !important;
        margin: 0 !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, .6) !important;
        border-top: none !important;
        z-index: 10002 !important;
        transform: translateX(105%) !important;
        transition: transform .35s ease !important;
        overflow-y: auto !important
    }

    .menu.show,
    .menu.active,
    .menu.open {
        transform: translateX(0) !important
    }

    .menu li {
        width: 100% !important;
        text-align: left !important;
        list-style: none !important
    }

    .menu a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, .06) !important;
        border: 1px solid rgba(255, 255, 255, .08) !important;
        color: #fff !important;
        padding: 14px 14px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        letter-spacing: .5px !important;
        margin-bottom: 8px !important;
        text-decoration: none !important;
        pointer-events: auto !important
    }

    .menu a:active {
        background: rgba(0, 213, 255, .2) !important;
        transform: scale(.98)
    }

    .menu a.active-link {
        background: #00d5ff !important;
        color: #0a1b2e !important
    }

    .menu a::after {
        display: none !important
    }

    .menu li:nth-child(1) a::before {
        content: "🏠";
        font-size: 19px
    }

    .menu li:nth-child(2) a::before {
        content: "👷";
        font-size: 19px
    }

    .menu li:nth-child(3) a::before {
        content: "⚡";
        font-size: 19px
    }

    .menu li:nth-child(4) a::before {
        content: "📸";
        font-size: 19px
    }

    .menu li:nth-child(5) a::before {
        content: "📍";
        font-size: 19px
    }

    .menu li:nth-child(6) a::before {
        content: "📅";
        font-size: 19px
    }

    .menu li:nth-child(7) a::before {
        content: "📋";
        font-size: 19px
    }

    .menu li a::after {
        display: block !important;
        content: "›" !important;
        margin-left: auto !important;
        color: #00d5ff !important;
        font-size: 22px !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        position: static !important;
        transform: none !important
    }

    .menu li a.active-link::after {
        color: #0a1b2e !important
    }

    .menu li:nth-child(6) a {
        background: #FFD400 !important;
        color: #111 !important;
        border-color: #FFD400 !important;
        box-shadow: 0 8px 20px rgba(255, 212, 0, .25) !important
    }

    .menu li:nth-child(6) a::after {
        content: "GRATIS" !important;
        font-size: 10px !important;
        background: #111 !important;
        color: #FFD400 !important;
        padding: 4px 8px !important;
        border-radius: 20px !important
    }

    .cita-grid {
        grid-template-columns: 1fr
    }

    .row2 {
        grid-template-columns: 1fr
    }

    .cita-wrap {
        padding: 0 15px
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px 35px;
        align-items: center;
        text-align: center
    }

    .footer-box {
        max-width: 100%;
        width: 100%;
        text-align: center
    }

    .footer-box h2 {
        font-size: 26px
    }

    .footer-box h3 {
        font-size: 20px
    }

    .footer-box p {
        text-align: center
    }

    .footer-box a {
        text-align: center;
        padding-left: 0 !important
    }

    .footer-box a:hover {
        padding-left: 0 !important
    }

    .example-2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        justify-items: center;
        justify-content: center;
        margin: 0 auto;
        max-width: 260px
    }

    .example-2 .icon-content {
        margin: 0
    }

    .footer-bottom {
        text-align: center
    }

    .footer-bottom p {
        text-align: center
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px
    }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.menu-overlay.mostrar {
    opacity: 1;
    pointer-events: auto
}