/* ===================================
   Variables y Reset
   =================================== */
:root {
    --remax-blue: #000d35;
    --remax-blue-bright: #003DA5;
    --remax-red: #c71f2a;
    --remax-dark-blue: #000a28;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ===================================
   Header / Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--remax-blue);
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--remax-red);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--remax-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
}

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

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

.btn-nav-cta {
    background: var(--remax-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background: var(--remax-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-nav-cta-mobile {
    display: none;
    background: var(--remax-red);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-nav-cta-mobile:hover {
    background: var(--remax-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Hero Section con Formulario (NUEVO - PRIMERO)
   =================================== */
.hero-form {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(199, 31, 42, 0.05) 100%);
    z-index: 0;
}

.hero-form-content {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important;
    gap: 3rem !important;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

/* Forzar layout de dos columnas en pantallas grandes */
@media (min-width: 969px) {
    .hero-form-content {
        display: grid !important;
        grid-template-columns: 1fr 1.2fr !important;
        gap: 3rem !important;
    }
    
    .hero-form-image-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-form-container {
        width: 100%;
        max-width: 100%;
    }
}

.hero-form-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-form-image {
    position: relative;
    text-align: center;
    display: inline-block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.hero-form-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    position: relative;
    margin: 0;
}

.hero-form-image .hero-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--remax-red);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8125rem;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
}

.hero-form-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.hero-form-whatsapp {
    text-align: center;
    margin-top: 2rem;
    width: 100%;
}

.hero-form-whatsapp .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-form-whatsapp .btn-secondary i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hero-form-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-form-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--remax-blue-bright);
    line-height: 1;
}

.hero-form-stats .stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.5rem;
    max-width: 100px;
}

.hero-form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-form-header {
    text-align: left;
    margin-bottom: 0.5rem;
}

.hero-form-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.hero-form-title .highlight {
    color: var(--remax-red);
}

.hero-form-subtitle {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 0;
}

.hero-form-subtitle strong {
    color: var(--remax-blue-bright);
    font-weight: 700;
}

.hero-form-wrapper {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

/* Animación de resaltado del formulario */
.hero-form-wrapper.form-highlight {
    animation: formPulse 2s ease-in-out;
    box-shadow: 0 0 0 0 rgba(199, 31, 42, 0.7), var(--shadow-lg);
}

@keyframes formPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(199, 31, 42, 0.7), var(--shadow-lg);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(199, 31, 42, 0), var(--shadow-lg);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(199, 31, 42, 0), var(--shadow-lg);
    }
}

.hero-form-wrapper .valuation-form {
    gap: 1rem;
}

.hero-form-wrapper .form-group {
    gap: 0.375rem;
}

.hero-form-wrapper .form-group label {
    font-size: 0.8125rem;
    margin-bottom: 0;
}

.hero-form-wrapper .valuation-form input,
.hero-form-wrapper .valuation-form select,
.hero-form-wrapper .valuation-form textarea {
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
}

.hero-form-wrapper .form-privacy {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.hero-form-wrapper .btn-submit {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}


/* ===================================
   Hero Section (ANTIGUO - MANTENER PARA REFERENCIA)
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(225, 27, 34, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--remax-red);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--remax-blue-bright);
    font-weight: 700;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--remax-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--remax-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--remax-blue-bright);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--remax-blue-bright);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--remax-blue-bright);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--remax-blue-bright);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--remax-red);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--remax-blue);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 6rem 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--remax-blue-bright);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--remax-blue-bright);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   Process Section
   =================================== */
.process {
    padding: 6rem 0;
    background: var(--light-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--remax-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray);
    line-height: 1.8;
}

.process-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.process-image img {
    width: 100%;
    height: auto;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--remax-blue-bright);
    margin-bottom: 0.5rem;
}

.about-role {
    font-size: 1.125rem;
    color: var(--remax-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.achievement-item i {
    color: var(--remax-red);
    font-size: 1.5rem;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 6rem 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.875rem;
}

.testimonial-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.testimonial-image img {
    width: 100%;
    height: auto;
}

/* ===================================
   Propiedades Vendidas / Carousel Section
   =================================== */
.sold-properties {
    padding: 6rem 0;
    background: var(--white);
    overflow: hidden;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 0 auto 3rem;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

.carousel-item {
    flex: 0 0 400px;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sold-properties-cta {
    text-align: center;
    margin-top: 4rem;
}

.sold-properties-cta p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 300px;
        height: 400px;
    }
    
    .carousel-track {
        gap: 1rem;
        animation: scroll 20s linear infinite;
    }
    
    .sold-properties-cta p {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 250px;
        height: 350px;
    }
    
    .carousel-track {
        gap: 0.75rem;
        animation: scroll 15s linear infinite;
    }
    
    .sold-properties-cta p {
        font-size: 1.125rem;
        padding: 0 1rem;
    }
}

/* ===================================
   Valuation Section
   =================================== */
.valuation {
    padding: 6rem 0;
    background: var(--remax-blue);
    color: var(--white);
}

.valuation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.valuation-info .section-title {
    color: var(--white);
    text-align: left;
}

.valuation-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.valuation-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.benefit-item i {
    color: var(--remax-red);
    font-size: 1.5rem;
}

.valuation-image-mobile {
    display: none;
    margin-top: 2rem;
}

.valuation-image-mobile img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Sección de Beneficios de Valorización
   =================================== */
.valuation-benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.valuation-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--light-gray);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--remax-blue-bright);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--remax-blue-bright);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.valuation-benefits-cta {
    text-align: center;
    margin-top: 2rem;
}

.valuation-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.valuation-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.valuation-form input,
.valuation-form select,
.valuation-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.valuation-form input:focus,
.valuation-form select:focus,
.valuation-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--remax-blue-bright);
}

.btn-submit {
    background: var(--remax-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--remax-blue-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-privacy {
    font-size: 0.875rem;
    color: var(--gray);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--remax-blue-bright);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--remax-blue-bright);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-card a:hover {
    color: var(--remax-red);
}

.contact-card p {
    color: var(--gray);
    font-size: 0.875rem;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--remax-red);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--remax-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--remax-red);
    transform: translateY(-3px);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-section ul li a:hover {
    color: var(--remax-red);
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--remax-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ===================================
   Floating Elements
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--remax-blue-bright);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--remax-red);
    transform: translateY(-5px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .valuation-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .about-badge {
        bottom: 10px;
        right: 10px;
        width: 150px;
        height: 150px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    /* Hero Form - Mantener 2 columnas hasta 968px */
    .hero-form-content {
        display: grid !important;
        grid-template-columns: 1fr 1.2fr !important;
    }

    .hero-form-stats {
        gap: 1rem;
    }

    .hero-form-stats .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 968px) {
    /* Hero Form - Cambiar a una columna en tablets y móviles */
    .hero-form-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .hero-form-image-wrapper {
        order: -1;
    }

    .hero-form-title {
        text-align: center;
    }

    .hero-form-subtitle {
        text-align: center;
    }

    .hero-form-header {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .btn-nav-cta-mobile {
        display: inline-flex;
        align-items: center;
        margin-right: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .btn-nav-cta {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Hero Form Mobile */
    .hero-form {
        padding: 110px 0 40px;
        min-height: auto;
    }

    .hero-form-content {
        gap: 1.5rem;
    }

    .hero-form-title {
        font-size: 1.5rem;
    }

    .hero-form-subtitle {
        font-size: 0.8125rem;
    }

    .hero-form-wrapper {
        padding: 1.25rem;
    }

    .hero-form-wrapper .valuation-form {
        gap: 0.875rem;
    }

    .hero-form-wrapper .form-group label {
        font-size: 0.75rem;
    }

    .hero-form-wrapper .valuation-form input,
    .hero-form-wrapper .valuation-form select,
    .hero-form-wrapper .valuation-form textarea {
        padding: 0.5625rem 0.75rem;
        font-size: 0.875rem;
    }

    .hero-form-image .hero-badge {
        padding: 0.5625rem 0.875rem;
        font-size: 0.6875rem;
        bottom: 10px;
        right: 10px;
    }

    .hero-form-stats {
        gap: 0.75rem;
    }

    .hero-form-stats .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .hero-form-stats .stat-number {
        font-size: 1.5rem;
    }

    .hero-form-stats .stat-label {
        font-size: 0.625rem;
        max-width: 70px;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.875rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-card h3 {
        font-size: 1rem;
    }

    .contact-card a,
    .contact-card p {
        font-size: 0.875rem;
    }

    .valuation-image-mobile {
        display: block;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Servicios: mantener 2 columnas pero más compactos */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    /* Hero Form Mobile Pequeño */
    .hero-form {
        padding: 100px 0 30px;
    }

    .hero-form-whatsapp {
        margin-top: 1.5rem;
    }

    .hero-form-whatsapp .btn-secondary {
        max-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .hero-form-whatsapp .btn-secondary i {
        font-size: 1.125rem;
    }

    .hero-form-content {
        gap: 1.25rem;
    }

    .hero-form-title {
        font-size: 1.375rem;
    }

    .hero-form-subtitle {
        font-size: 0.75rem;
    }

    .hero-form-wrapper {
        padding: 1rem;
    }

    .hero-form-wrapper .valuation-form {
        gap: 0.75rem;
    }

    .hero-form-wrapper .form-group label {
        font-size: 0.6875rem;
    }

    .hero-form-wrapper .valuation-form input,
    .hero-form-wrapper .valuation-form select,
    .hero-form-wrapper .valuation-form textarea {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }

    .hero-form-wrapper .btn-submit {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-form-image .hero-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.625rem;
        bottom: 8px;
        right: 8px;
    }

    .hero-form-image img {
        max-width: 100%;
    }

    .hero-form-stats {
        gap: 0.5rem;
    }

    .hero-form-stats .stat-number {
        font-size: 1.25rem;
    }

    .hero-form-stats .stat-label {
        font-size: 0.5625rem;
        max-width: 60px;
    }

    .valuation-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Contacto: mantener 2 columnas pero más compactos */
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }

    .contact-card a {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .contact-card p {
        font-size: 0.7rem;
    }

    .valuation-form-container,
    .contact-form-container {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
