/* SantosHogares - High Conversion CSS v6.0 */
:root {
    --primary: #1E3A8A;
    --secondary: #10B981;
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-gray: #64748B;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: var(--white);
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

h1 span {
    color: var(--secondary);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FORMS --- */
.form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto 30px;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input {
    width: 100%;
    padding: 18px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

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

.cta-btn {
    background-color: var(--secondary);
    color: var(--white);
    padding: 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.form-footer a {
    color: var(--text-gray);
}

.whatsapp-cta {
    margin-top: 15px;
    font-size: 0.9rem;
}

.whatsapp-cta a {
    color: var(--text-gray);
    text-decoration: underline;
    transition: color 0.2s;
}

.whatsapp-cta a:hover {
    color: var(--primary);
}

.instant-notice {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* --- BLOCKS --- */
section {
    padding: 80px 0;
}

.connection-block {
    background-color: var(--bg-light);
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.connection-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 20px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.double-value {
    background-color: #EEF2FF;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border-left: 6px solid var(--primary);
    box-shadow: var(--shadow);
    text-align: center;
}

.value-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-dark);
}

.trust {
    background-color: var(--white);
    text-align: center;
}

.trust-title {
    font-size: 1.6rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta {
    background-color: var(--bg-light);
}

.final-form-box {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.final-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    background-color: var(--white);
    border-top: 1px solid #E2E8F0;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 40px 0 60px; }
    h1 { font-size: 1.8rem; }
    .subtitle { font-size: 1.1rem; }
    .form-wrapper { padding: 20px; }
    section { padding: 60px 0; }
    .connection-text { font-size: 1.2rem; }
    .final-form-box { padding: 30px 20px; }
}

/* --- THANK YOU PAGE (PREMIUM BLUE) --- */
.thank-you-page {
    background: radial-gradient(circle at top right, #1e3a8a, #0f172a);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.icon-success {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    color: white;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 30px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.thank-you-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    margin: 30px auto;
    max-width: 600px;
    line-height: 1.6;
}

.thank-you-box strong {
    color: var(--secondary);
}

.thank-you-page h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.thank-you-page .subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.back-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    color: var(--white);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}