/* Estilos CSS Modernos y Optimizados para Carga Rápida y Móviles (Demand Gen) */
:root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--text-dark);
    font-weight: 400;
}

.header-badge {
    background-color: #f1f5f9;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 50px 0;
    background: radial-gradient(circle at 10% 20%, rgb(242, 246, 253) 0%, rgb(255, 255, 255) 90.1%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.tag {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item .icon {
    background-color: #dcfce7;
    color: #15803d;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

/* Formulario */
.form-box {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: var(--accent-color);
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #334155;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 15px;
}

.checkbox-group input {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 11px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-muted);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

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

.form-footer-text {
    font-size: 11px;
    text-align: center;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Trust Bar */
.trust-bar {
    background-color: #0f172a;
    color: var(--white);
    padding: 25px 0;
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-title {
    font-size: 18px;
    font-weight: 700;
}

.trust-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    font-size: 15px;
    color: #94a3b8;
}

.stat strong {
    color: var(--white);
    font-size: 18px;
    display: block;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #64748b;
    padding: 40px 0;
    font-size: 12px;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.footer-company-info {
    line-height: 1.8;
}

.footer-disclaimer {
    border-top: 1px solid #1e293b;
    padding-top: 15px;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Cookie Banner obligatorio */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1e293b;
    color: #f8fafc;
    padding: 20px 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    font-size: 13px;
    display: none;
}

.cookie-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-container a {
    color: #38bdf8;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    border: none;
}

.btn-cookie.accept {
    background-color: #10b981;
    color: white;
}

.btn-cookie.reject {
    background-color: #475569;
    color: white;
}

.btn-cookie.configure {
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-text h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .header-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .trust-flex {
        flex-direction: column;
        text-align: center;
    }
    .trust-stats {
        justify-content: center;
        gap: 20px;
    }
}
