/* ==========================================================================
   ESTILOS GENERALES Y LAYOUT BASE CLARA
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    padding: 130px 24px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- BARRA SUPERIOR BLANCA Y FLOTANTE --- */
.top-nav-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1280px;
    z-index: 9999;
}

.top-navbar {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 60px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo-img {
    height: 42px;
    width: auto;
    max-height: 46px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 10px rgba(220, 38, 38, 0.25));
}


.logo-icon-wrapper {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.brand-title strong {
    color: #dc2626;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 800;
    color: #b91c1c;
    letter-spacing: 0.5px;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-phone:hover {
    background: #e2e8f0;
    color: #000000;
}

.btn-order-now {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.3s ease;
}

.btn-order-now:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.menu-toggle-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle-btn:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* --- NUEVO MENÚ DESPLEGABLE --- */
.dropdown-menu-card {
    position: absolute;
    top: 70px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}

.dropdown-menu-card.active {
    display: flex;
}

.dropdown-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.dropdown-links a i:first-child {
    width: 24px;
    color: #475569;
}

.dropdown-links a span {
    flex-grow: 1;
    margin-left: 8px;
}

.dropdown-links a .arrow {
    font-size: 0.75rem;
    color: #dc2626;
    transition: transform 0.2s ease;
}

.dropdown-links a:hover, .dropdown-links a.active {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-links a:hover i:first-child, .dropdown-links a.active i:first-child {
    color: #dc2626;
}

.dropdown-links a:hover .arrow {
    transform: translateX(4px);
}

.dropdown-direct-call {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b91c1c;
    font-weight: 700;
    font-size: 0.88rem;
}

/* ==========================================================================
   CONTENEDOR DE SEGURIDAD & FAQ
   ========================================================================== */

.security-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* COLUMNA IZQUIERDA */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid #fca5a5;
    margin-bottom: 16px;
}

.security-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.security-title .highlight {
    color: #dc2626;
}

.security-subtitle {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 600;
}

/* Lista de Tarjetas */
.safety-cards-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.safety-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.safety-card:hover {
    transform: translateY(-2px);
    border-color: #fca5a5;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.1);
}

.safety-card .icon-box {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.card-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.card-text p {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.55;
    font-weight: 600;
}

/* COLUMNA DERECHA (FAQ) */
.faq-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 28px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.faq-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
}

.faq-help-icon {
    background-color: #dc2626;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

/* Acordeón FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: #dc2626;
}

.faq-toggle-icon {
    color: #dc2626;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding-top: 12px;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .security-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .security-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 576px) {
    .btn-phone span {
        display: none;
    }

    .faq-card {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 34px;
        max-width: 170px;
    }
}

@media (max-width: 480px) {
    .brand-logo-img {
        height: 28px;
        max-width: 135px;
    }
}
