:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-1a5de78 *//* --- Variables de Identidad Visual Corporativa --- */
:root {
    --primary-blue: #3A39FF; 
    --primary-blue-light: #eef2ff;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --background-main: #F9FAFB;
    --surface-card: #FFFFFF;
    --border-color: #D1D5DB;
    --font-headline: 'Poppins', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --header-height: 70px; 
}

/* --- Reseteo y Estilos Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    padding-top: var(--header-height);
}

/* --- Header Fijo --- */
.site-header {
    background-color: var(--surface-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: var(--header-height);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
}

.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* --- Contenedor Principal y Layout --- */
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 0;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* --- Cabecera de la Página y Tipografía --- */
.page-header {
    margin-bottom: 40px;
}

.headline {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.1rem;
    max-width: 600px; 
    margin: 0 auto;
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Sección del Formulario --- */
.form-section {
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    /* El contenedor del esqueleto necesitará alinear los items al inicio */
    align-items: flex-start;
}

/* --- Iframe de Airtable --- */
iframe.airtable-embed {
    display: none;
    border-radius: 8px;
    border: none !important;
}

/* ===== NUEVOS ESTILOS PARA EL SKELETON SCREEN ===== */
.skeleton-loader {
    width: 100%;
}

.skeleton-line, .skeleton-box {
    background-color: #e2e8f0; /* Un gris claro */
    border-radius: 4px;
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton-line {
    height: 12px;
    margin-bottom: 8px;
}

.skeleton-box {
    height: 38px;
}

/* Animación de pulso para el efecto de carga */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}
/* =============================================== */

/* --- Mensaje de Error --- */
.error-text {
    color: #B91C1C;
    font-weight: 500;
}


/* --- Spinner de Carga --- */
.spinner {
    border: 4px solid var(--primary-blue-light);
    border-left-color: var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Pie de Página --- */
.footer {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* --- Media Queries (Adaptabilidad) --- */
@media (max-width: 920px) {
    .headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    :root {
      --header-height: 60px;
    }
    
    .site-logo {
      height: 35px;
    }
    
    .container {
        padding-top: 30px;
    }

    .headline {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }
    
    .form-section {
        padding: 20px;
    }
    iframe.airtable-embed {
      height: 850px !important;
    }
}/* End custom CSS */