/* --- Variables & Reset --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #00d2ff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --btn-grad: linear-gradient(135deg, #2563eb 0%, #00d2ff 100%);
    --btn-shadow: rgba(37, 99, 235, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

/* --- Navigation --- */
.main-header {
    padding: 1rem 0;
    background: var(--white, #fff);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--slate-200, #e2e8f0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--dark, #1a1a1a);
    letter-spacing: -0.05em;
    z-index: 1100; /* Stays above the mobile overlay */
}

.logo span {
    color: var(--primary, #007bff);
}

/* --- Nav Links --- */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-600, #475569);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary, #007bff);
}

.nav-phone {
    color: var(--dark, #1a1a1a) !important;
}

.cta-btn-nav {
    background-color: var(--primary, #007bff);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: transform 0.2s, background 0.2s !important;
}

.cta-btn-nav:hover {
    background-color: var(--primary-hover, #0056b3);
    transform: translateY(-1px);
}

/* --- Mobile Menu Toggle Styling --- */
.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    position: relative;
}

/* The "Meat" of the hamburger - creating 3 bars with 1 span */
.bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark, #1a1a1a);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    position: relative;
    margin: 0 auto;
}

.bar::before,
.bar::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--dark, #1a1a1a);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    left: 0;
}

.bar::before { top: -8px; } /* Top bar */
.bar::after { bottom: -8px; } /* Bottom bar */

/* --- Mobile Media Query --- */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex; /* Show the button */
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        flex-direction: column;
        background: var(--white, #fff);
        width: 100%; /* Full screen overlay */
        height: 100vh;
        padding: 6rem 2rem;
        transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1050;
    }

    /* Active state for JavaScript toggle */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 1.5rem;
    }

    /* Hamburger to "X" Animation */
    .mobile-nav-toggle.active .bar {
        background: transparent; /* Hide middle bar */
    }

    .mobile-nav-toggle.active .bar::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-nav-toggle.active .bar::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}
/* Button style - removed !important by using higher specificity */
.nav-links .cta-btn-nav {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.nav-links .cta-btn-nav:hover {
    opacity: 0.9;
    color: white; /* Keeps text white on hover */
}










/* Estilos generales de la página */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
}

/* Contenedor principal centrado */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Título de la página */
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Estilos de las cajas del acordeón */
details {
    background-color: #fff;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

/* Estilos de la pregunta (lo que se hace clic) */
summary {
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    padding: 15px 20px;
    background-color: #fafafa;
    color: #34495e;
    list-style: none;
    position: relative;
    transition: background-color 0.2s ease;
}

summary:hover {
    background-color: #f0f0f0;
}

/* Ocultar la flecha predeterminada del navegador */
summary::-webkit-details-marker {
    display: none;
}

/* Símbolo "+" cuando está cerrado */
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.4em;
    color: #3498db;
    line-height: 1;
}

/* Símbolo "-" cuando está abierto */
details[open] summary::after {
    content: '-';
}

/* Estilos de la respuesta (texto desplegable) */
.answer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    color: #555;
    font-size: 0.95em;
}

.answer p {
    margin: 0 0 10px 0;
}

.answer p:last-child {
    margin-bottom: 0;
}

.answer ul {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

.answer li {
    margin-bottom: 5px;
}


/* --- Estilos para Políticas y Términos --- */
.last-updated {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content {
    line-height: 1.8;
    color: #444;
}

.policy-content h3 {
    color: #2c3e50;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.policy-content p, 
.policy-content ul {
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style: disc;
}






/* --- Footer --- */
.footer {
    background-color: #0f172a;
    color: #f1f5f9;
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-tagline {
    color: #94a3b8;
    margin: 1.2rem 0;
    max-width: 250px;
}

.footer-tel {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    margin: 1rem 0 1.5rem 0;
    transition: color 0.3s ease;
}

.footer-tel:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.stripe-badge {
    height: 25px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* --- WhatsApp Button --- */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    background-color: #25d366;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #1ebc56;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.25rem;
    margin-right: 8px;
}