/* -------------------------------------- */
/* VARIABLES DE COLOR DE SMALLDATA */
/* -------------------------------------- */
:root {
    --primary-color-start: #00A638; /* Verde vibrante */
    --primary-color-end: #0077B6; /* Azul corporativo */
    --accent-color: #FFA500; /* Naranja (usado por Jotform, pero evitado en nuestro CTA) */
    --text-color: #333333;
    --background-light: #f5f5f5;
    --background-white: #ffffff;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------- */
/* ESTILOS GENERALES Y LAYOUT */
/* -------------------------------------- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    padding: 15px 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.small-data-icon {
    color: var(--primary-color-end);
    font-size: 1.2em;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color-start), var(--primary-color-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

/* Contenedor principal de la landing page */
.main-content-container {
    padding: 40px 20px;
    flex-grow: 1; /* Asegura que el contenido ocupe el espacio restante */
}

.landing-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: row; /* Desktop first */
}

/* BARRA LATERAL IZQUIERDA (Sidebar) */
.sidebar-left {
    background: linear-gradient(180deg, var(--primary-color-end), var(--primary-color-start));
    color: white;
    padding: 30px;
    width: 35%; /* Ancho en desktop */
    box-sizing: border-box;
}

.sidebar-title-white {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.reasons-box {
    padding-left: 0;
    list-style: none;
    margin-bottom: 30px;
}

.reasons-box li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.reasons-box li:last-child {
    border-bottom: none;
}

.reasons-box .fa-check-circle {
    color: var(--accent-color); /* Naranja en el degradado */
    margin-right: 10px;
    font-size: 1.1em;
}

.contact-box {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.contact-box h3 {
    color: white !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.contact-info .fas {
    margin-right: 8px;
    color: var(--accent-color);
}


/* CONTENIDO PRINCIPAL DERECHA */
.content-right {
    padding: 30px;
    width: 65%; /* Ancho en desktop */
    box-sizing: border-box;
}

.content-right h1 {
    font-size: 2em;
    color: var(--primary-color-end);
    margin-top: 0;
    border-bottom: 2px solid var(--primary-color-start);
    padding-bottom: 10px;
}

.content-right h2 {
    font-size: 1.5em;
    color: var(--primary-color-start);
    margin-top: 25px;
}

.icon-placeholder {
    text-align: center;
    color: var(--primary-color-start);
    margin: 20px 0;
}

.checklist-main {
    list-style: none;
    padding-left: 0;
}

.checklist-main li {
    padding: 8px 0;
    font-size: 1em;
}

.checklist-main .fa-check-circle {
    color: var(--primary-color-start);
    margin-right: 10px;
    font-size: 1.1em;
}

/* -------------------------------------- */
/* BOTÓN CTA (CALL TO ACTION) - CORE STYLE FIX */
/* -------------------------------------- */

.cta-button {
    /* Usar !important para forzar el override del estilo JotForm dinámico */
    display: block !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.2em !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    
    /* Degradado de SMALLDATA */
    background: linear-gradient(135deg, var(--primary-color-start) 0%, var(--primary-color-end) 100%) !important;
    color: white !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.4) !important;
    
    /* Asegurar que el ancho sea completo dentro del contenedor */
    max-width: 400px; 
    margin: 15px auto;
}

.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 119, 182, 0.6) !important;
}


/* -------------------------------------- */
/* RESPONSIVE DESIGN (MÓVIL) */
/* -------------------------------------- */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
    }

    .sidebar-left, .content-right {
        width: 100%;
        padding: 20px;
    }

    .content-right h1 {
        font-size: 1.6em;
    }
    
    .cta-button {
        font-size: 1em !important;
        padding: 12px 20px !important;
    }
}
