/* 
  Estilos para HC & Abogados Asociados Consultores S.A.C.
  Paleta:
  - Azul marino: #061A33
  - Dorado: #B8923A
  - Blanco: #FFFFFF
  - Gris claro: #F5F5F5
  - Negro texto: #111111
*/

:root {
    --primary: #061A33;
    --primary-light: #0a264a;
    --secondary: #B8923A;
    --secondary-hover: #9c7a2d;
    --secondary-light: rgba(184, 146, 58, 0.1);
    --text-dark: #111111;
    --text-muted: #555555;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(6, 26, 51, 0.08);
    --shadow-hover: 0 15px 40px rgba(6, 26, 51, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

.bg-dark {
    background-color: var(--primary);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 146, 58, 0.4);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 50px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo-img {
    max-height: 80px; /* Fixed massive logo issue causing broken spacing */
    width: auto;
    transition: var(--transition);
}

header.scrolled .header-logo-img {
    max-height: 60px;
}

.logo-hc {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    position: relative;
}

.logo-hc::after {
    content: 'C';
    position: absolute;
    left: 14px;
    top: 6px;
    color: var(--secondary);
    z-index: -1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 2px;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    /* PORTADA DEL HERO: Reemplaza tu archivo en la carpeta assets/images con el nombre 'hero-bg.png' */
    background-image: url('assets/images/hero-bg.png');
    background-color: var(--primary); /* Fallback color */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 26, 51, 0.9) 0%, rgba(6, 26, 51, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 56px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 650px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.check-list i {
    color: var(--secondary);
    font-size: 20px;
    margin-top: 3px;
}

.split-image {
    flex: 1;
    position: relative;
}

.image-frame img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 4px solid var(--secondary);
    border-left: 4px solid var(--secondary);
    z-index: -1;
}

.image-frame::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 4px solid var(--secondary);
    border-right: 4px solid var(--secondary);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.experience-badge .years {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Mision Vision */
.mv-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--secondary);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    background-color: var(--secondary);
    color: var(--white);
}

.mv-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--text-muted);
}

/* Services */
.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(184, 146, 58, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary);
    color: var(--white);
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    min-height: 48px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.btn-link {
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn-link i {
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* Benefits */
.pattern-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
}

.benefits-grid {
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.benefit-item h5 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 15px;
    font-family: var(--font-sans);
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    /* FONDO DEL CTA FINAL: Reemplaza tu archivo en assets/images con el nombre 'cta-bg.jpg' */
    background-image: url('assets/images/cta-bg.jpg');
    background-color: var(--primary); /* Fallback color */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 26, 51, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
}

/* Contact */
.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-serif);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
    word-break: break-all;
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

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

.grid-2-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(184, 146, 58, 0.1);
}

/* Footer */
footer {
    background-color: #030C19;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-img {
    max-height: 140px;
    width: auto;
    transition: var(--transition);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    word-break: break-all;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #02070e;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.float-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Scroll Reveal Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout, .split-layout.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        padding: 15px;
        bottom: -20px;
        left: -20px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-section {
        background-size: contain;
        background-position: top center;
        background-color: var(--primary);
    }
    
    .header-logo-img {
        max-height: 110px;
    }
    header.scrolled .header-logo-img {
        max-height: 70px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .grid-2-form {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .reveal-left, .reveal-right, .split-text {
        text-align: center;
    }
    
    .contact-item p, .footer-contact p {
        font-size: 13.5px;
    }
    
    /* Mobile Menu */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 18px;
    }
}

/* Logos Grid */
.logos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}
.logo-item {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    min-width: 150px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Regulariza Tu Deuda */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.b-icon {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.regulariza-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary);
}

/* Banner Dark */
.banner-dark {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.align-center {
    align-items: center;
}

/* Footer Bottom Flex */
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
@media (max-width: 768px) {
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================================================
   ESTILOS DE LA NUEVA LANDING PAGE DE CONVERSIÓN
   ================================================== */

.hero-landing {
    position: relative;
    padding: 140px 0 0 0; /* Reset to normal padding since header logo is now fixed */
    display: block; /* Normal block flow */
    background-color: var(--white);
    overflow: hidden;
}

.hero-shape-bg {
    position: absolute;
    top: 0;
    right: -10%;
    width: 45%;
    height: 120%;
    background-color: var(--primary);
    border-radius: 50% 0 0 50%;
    z-index: 0;
    overflow: hidden;
}

.hero-landing-container {
    width: 100%;
    align-items: flex-end; /* This aligns the text and the girl to the absolute bottom of this row */
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1.1;
    padding-right: 40px;
    padding-bottom: 20px;
}

.hero-right {
    flex: 0.9;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-image-wrapper {
    position: absolute;
    bottom: -5px; /* Pulls her down just a tiny bit to guarantee no gap */
    right: 5%;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

.hero-title {
    font-size: 46px; /* Increased font size */
    font-family: var(--font-sans);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -1.5px;
}

.logo-sip {
    max-width: 120px; /* Reduced from 220px to match the mockup perfectly */
    margin-bottom: 5px;
    display: inline-block;
}

.hero-subtitle-small {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.hero-red-title {
    color: #c8102e;
    font-size: 28px;
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-benefits-row {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hb-icon {
    font-size: 32px;
    color: var(--text-dark);
}

.hb-text {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-dark);
}

.hb-text strong {
    font-size: 20px;
    font-weight: 900;
}

/* ------------------
   DARK BOX SECTION
   ------------------ */
.hero-bottom-container {
    position: relative;
    z-index: 3;
    padding-bottom: 30px;
    margin-top: -10px; /* Pull it up slightly so it tightly touches the top section */
}

.hero-dark-box {
    background-color: var(--primary);
    border-radius: 12px;
    padding: 30px 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(6, 26, 51, 0.2);
    margin-top: 40px;
}

.hdb-icon {
    background-color: var(--white);
    color: var(--secondary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.hdb-text p {
    font-size: 16px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
}

.hdb-text p:last-child {
    margin-bottom: 0;
}

.hdb-text h3 {
    color: var(--secondary);
    font-size: 22px;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}

.asesora-img {
    max-height: 80vh; /* Slightly smaller to ensure it doesn't break small laptop screens */
    max-width: 45vw; /* Restricted width so she doesn't force flex wrap on laptops */
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    display: block;
}

/* Formulario Landing */
.form-landing-section {
    padding: 60px 0 100px 0;
    background-color: #f8f9fa;
}

.form-landing-container {
    background-color: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.form-landing-header h2 {
    font-size: 36px;
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.form-landing-header p {
    font-size: 18px;
    color: var(--text-dark);
}

.divider-diamond {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px 0;
}

.divider-diamond::before, .divider-diamond::after {
    content: '';
    height: 2px;
    width: 60px;
    background-color: var(--secondary);
}

.divider-diamond::after {
    margin-left: 15px;
}
.divider-diamond::before {
    margin-right: 15px;
}

.divider-diamond::after {
    display: none; /* we'll just use a center block */
}
.divider-diamond::before {
    display: none;
}
.divider-diamond {
    position: relative;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    transform: rotate(45deg);
}
.divider-diamond::before {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: -80px;
    width: 70px;
    height: 2px;
    background-color: var(--secondary);
    transform: rotate(-45deg);
}
.divider-diamond::after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 20px;
    width: 70px;
    height: 2px;
    background-color: var(--secondary);
    transform: rotate(-45deg);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 18px;
}

.input-icon-wrapper input {
    padding-left: 50px !important;
    height: 60px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #fcfcfc;
}

.input-icon-wrapper input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 146, 58, 0.1);
    background-color: var(--white);
}

/* -------------------------------------------
   RESPONSIVE LAYOUT TOGGLES (PC VS MOBILE)
   ------------------------------------------- */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    
    /* MOBILE HERO STYLES - FLYER IMAGE */
    #hero-mobile {
        padding: 90px 0 0 0; /* Just clear the header */
        background-color: var(--white);
        text-align: center;
        position: relative;
    }
    
    .hero-flyer-mobile-wrapper {
        width: 100%;
        display: block;
        padding-bottom: 20px;
    }
    
    .hero-flyer-img-mobile {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .mobile-dark-box {
        width: 100%;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 35px 20px;
        border-radius: 0; /* Full width edge-to-edge on mobile looks better, or keep rounded if preferred */
        margin-top: -15px; /* Pull it up so her waist touches the dark box seamlessly */
        position: relative;
        z-index: 1;
    }
    
    .mobile-dark-box .hdb-icon {
        margin: 0 auto 15px auto;
    }
    
    .form-landing-container {
        margin-top: 20px;
        padding: 30px 20px;
    }
}
