/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* VARIABLES DE COLOR */
:root {
    --primary: #85bedf;        /* Azul suave: CTA, botones principales, enlaces clave */
    --secondary: #eca2b8;      /* Rosa pastel: hovers, bordes activos, microdetalles */
    
    --dark: #052049;           /* Oscuro elegante derivado del azul: texto fuerte y títulos */
    --light: #f7f7f7;          /* Fondo neutro que deja respirar el layout */
    --white: #ffffff;

    --accent-purple: #5d15ec;  /* Morado intenso: highlights, iconos clave, badges */
    --accent-red: #fc7f7f;     /* Coral suave: alertas amigables, pequeños toques visuales */
    
    /* Extras por si los necesitamos */
    --green-soft: #52d296;
    --green-strong: #34cc84;
    --yellow-soft: #f8df81;
}


/* UTILIDADES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.section-bg {
    background-color: var(--light);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BOTONES */
.btn-primary, .btn-secondary, .btn-nav {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* HEADER */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 20px;
    font-weight: 500;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* HERO SECTION */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 15px;
    min-height: 80vh;
}

.placeholder-img {
    background-color: #ddd;
    width: 100%;
    height: 400px; /* Altura simulada */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-weight: bold;
    border-radius: 10px;
    border: 2px dashed #aaa;
}

.hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.propuesta-valor {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

/* GRIDS GENERALES (3 Columnas) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* BENEFICIOS */
.card-text {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.card-text h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* CTA BAR */
.cta-bar {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 50px 0;
}

.cta-bar.dark {
    background: var(--dark);
}

.cta-bar h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* PRECIOS / PROMOCIONES */
.card-price {
    background: var(--white);
    border: 1px solid #eee;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.card-price:hover {
    transform: translateY(-10px);
}

.card-price.highlight {
    border: 2px solid var(--primary);
    background: #f0f7ff;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--dark);
}

.card-price.highlight .icon-circle {
    background: var(--primary);
    color: var(--white);
}

.card-price ul {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.card-price ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* PROCESO */
.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* PREGUNTAS FRECUENTES PLACEHOLDER */
.faq-placeholder {
    background: #eee;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-cta {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-cta h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 5px 0;
    opacity: 0.8;
}

/* RESPONSIVE (Móvil) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav a {
        margin: 0;
    }

    .hero {
        grid-template-columns: 1fr; /* Colapsar a 1 columna */
        text-align: center;
    }

    .hero-image {
        order: -1; /* Imagen arriba en móvil */
    }

    .placeholder-img {
        height: 250px;
    }
}
/* --- OCULTAR HEADER EN MÓVIL Y TABLET --- */
/* Esta regla se aplica a pantallas de 992px o menos (Tablets y Móviles) */
@media (max-width: 992px) {
    header {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .hero-image {
        order: -1; /* Esto pone la imagen ARRIBA del texto */
    }
}
/* --- BARRA DE NAVEGACIÓN INFERIOR (ESTILO APP) --- */

/* 1. Oculto por defecto en escritorio */
#bottom-nav {
    display: none;
}

/* 2. Mostrar y estilizar solo en dispositivos pequeños */
@media (max-width: 992px) {
    /* Ajuste para evitar que el contenido final sea cubierto por la barra fija */
    body {
        padding-bottom: 60px; /* Altura de la barra inferior */
    }

    #bottom-nav {
        display: flex; /* Mostrar en móvil/tablet */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px; /* Altura estándar de barra de app */
        background-color: var(--white);
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        z-index: 10000; /* Asegura que esté siempre encima */
        justify-content: space-around;
        align-items: center;
        padding: 0 5px;
    }

    #bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #777; /* Color de icono/texto inactivo */
        font-size: 0.7rem;
        font-weight: 500;
        flex-grow: 1; 
        padding: 5px 0;
        transition: color 0.2s ease;
        text-align: center;
    }

    #bottom-nav .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    /* Destacar el botón de contacto (CTA) */
    #bottom-nav .contact-cta {
        color: var(--primary); /* El botón de WhatsApp se destaca con el color principal */
    }

    #bottom-nav .nav-item:hover {
        color: var(--primary);
    }
}
.formulario {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

.formulario input, .formulario select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
