:root {
    --primary-color: #0a2342;
    --secondary-color: #f4f7f6;
    --accent-color: #ff6b00;
    --whatsapp-color: #25D366;
    --text-color: #333333;
    --text-color-light: #555555;
    --bg-color: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: 0.3s ease;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.contenedor {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem); 
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.section-padding { padding: 60px 0; }
.section-padding-sm { padding: 30px 0; }
.section-padding-alt { padding: 60px 0; background-color: var(--secondary-color); }


.header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}


.nav-main {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--bg-color);
}
.nav-cta:hover {
    background-color: #e66000;
    transform: scale(1.05);
}

.nav-cta span {
    display: none;
}

.nav-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0.5rem;
}

.hero {
    background-color: var(--primary-color);
    color: var(--bg-color);
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-principal {
    background-color: var(--whatsapp-color);
    color: var(--bg-color);
    width: 100%;
    max-width: 300px;
}
.cta-principal:hover { background-color: #20b856; transform: scale(1.05); }

.cta-secundario {
    background-color: transparent;
    border-color: var(--bg-color);
    color: var(--bg-color);
    width: 100%;
    max-width: 300px;
}
.cta-secundario:hover { background-color: var(--bg-color); color: var(--primary-color); transform: scale(1.05); }



.stats-bar {
    background-color: var(--secondary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.9rem;
}
.stat-item i { font-size: 1.5rem; }


.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); }

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}


.process-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}


.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 2rem 1.2rem 0;
    cursor: pointer;
    position: relative;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '\f078'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-item[open] > .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer { padding: 0 0 1.2rem 0; color: var(--text-color-light); }


.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 3rem 0;
}
.footer p { margin-bottom: 0.5rem; }


.floating-btn {
    position: fixed;
    z-index: 999;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}
.floating-btn:hover { transform: scale(1.1); }

.whatsapp-float {
    background-color: var(--whatsapp-color);
    bottom: 20px;
    right: 20px;
}

.back-to-top-float {
    background-color: var(--primary-color);
    bottom: 90px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.back-to-top-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Estilos para Tablets (a partir de 768px) */
@media (min-width: 768px) {
    .section-padding { padding: 80px 0; }
    .section-padding-alt { padding: 80px 0; }
    
    .nav-toggle { display: none; }
    .nav-main { display: flex; gap: 2rem; }
    .nav-main a { font-weight: 600; color: var(--primary-color); }
    .nav-cta span { display: inline; }

    .cta-group {
        flex-direction: row;
        justify-content: center;
    }
    .cta-principal, .cta-secundario { width: auto; }

    .stats-container { grid-template-columns: repeat(4, 1fr); }
    .stat-item { font-size: 1rem; }

    .grid-container { grid-template-columns: 1fr 1fr; }
}


.logo {
    color: transparent;
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 150%;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .logo {
        height: 50px;
    }
}

@media (min-width: 1200px) {
    .logo {
        height: 60px;
    }
}
/* Estilos para Desktops (a partir de 992px) */
@media (min-width: 992px) {
    .grid-container { grid-template-columns: repeat(3, 1fr); }
    .process-list {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}