:root {
    --color-gold: #D4AF37;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray: #333333;
    --color-light-gray: #F5F5F5;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Altura aproximada del navbar */
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--color-gray);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--color-black);
}

/* Animaciones Generales */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    background-color: var(--color-black);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

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

.logo {
    height: 50px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-gold);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    padding: 4rem 1rem;
    background: url('img/cover.png') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

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

.hero-text {
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-form h2 {
    color: var(--color-black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-form .form-group {
    margin-bottom: 1rem;
}

.hero-form label {
    color: var(--color-gray);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-form input,
.hero-form select,
.form-group select,
.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-gray);
    background-color: var(--color-white);
}

.hero-form select option,
.form-group select option {
    color: var(--color-gray);
    background-color: var(--color-white);
}

.hero-form input:focus,
.hero-form select:focus,
.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

.hero-form .submit-button {
    width: 100%;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.hero-form .submit-button:hover {
    background-color: #B8960C;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 8.5rem !important;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        margin-top: 2rem !important;
    }

    .hero-text {
        padding: 0 1rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(1.6rem, 4vw, 2rem);
        line-height: 1.2;
        padding: 0 0.5rem;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-form {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .about-text p {
        text-align: justify;
    }

    .about-values {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }

    .value-item {
        flex: 1;
        min-width: 0;
        max-width: none;
        text-align: center;
    }

    .value-item i {
        font-size: 2rem;
    }

    .value-item h3 {
        font-size: 1rem;
    }

    .value-strip::after {
        width: 150%;
        height: 150%;
        top: -25%;
        left: -25%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 6rem !important;
    }

    .hero-text h1 {
        font-size: clamp(1.4rem, 3.5vw, 1.6rem);
        padding: 0;
    }

    .hero-text p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .hero-form {
        padding: 1.5rem;
    }

    .hero-content {
        margin-top: 2rem !important;
    }

    .about-values {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .value-item {
        flex: 1;
    }

    .value-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .value-item h3 {
        font-size: 0.9rem;
    }

    .value-strip::after {
        width: 120%;
        height: 120%;
        top: -10%;
        left: -10%;
        animation-duration: 25s;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
        box-shadow: 0 0 20px 8px rgba(212, 175, 55, 0.2);
    }
    
    @keyframes shimmer {
        from {
            transform: rotate(0deg) scale(1);
        }
        25% {
            transform: rotate(90deg) scale(1.05);
        }
        50% {
            transform: rotate(180deg) scale(1);
        }
        75% {
            transform: rotate(270deg) scale(1.05);
        }
        to {
            transform: rotate(360deg) scale(1);
        }
    }
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 1rem;
    background-color: var(--color-black);
    color: var(--color-white);
    overflow: hidden;
}

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

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-white);
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

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

.benefit-icon {
    font-size: 2rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.benefit-content h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-content p {
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .benefits-section {
        padding: 3rem 1rem;
    }

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

    .benefit-item {
        padding: 1rem;
    }

    .benefits-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-values {
        grid-template-columns: 1fr;
    }

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

/* Value Strip */
.value-strip {
    background: linear-gradient(45deg, var(--color-black) 0%, #1a1a1a 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.value-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    z-index: 1;
}

.value-strip::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    animation: shimmer 15s infinite linear;
    z-index: 2;
}

@keyframes shimmer {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Añadir una animación adicional para móviles */
@media (max-width: 480px) {
    .value-strip {
        background: linear-gradient(45deg, #000000 0%, #1a1a1a 100%);
    }
    
    .value-strip::before {
        background: linear-gradient(45deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
    }
    
    .value-strip::after {
        background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.05) 40%, transparent 70%);
        box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.15);
        width: 150%;
        height: 150%;
        top: -25%;
        left: -25%;
        animation-duration: 15s;
    }
    
    @keyframes shimmer {
        from {
            transform: rotate(0deg) scale(1);
        }
        25% {
            transform: rotate(90deg) scale(1.1);
        }
        50% {
            transform: rotate(180deg) scale(1);
        }
        75% {
            transform: rotate(270deg) scale(1.1);
        }
        to {
            transform: rotate(360deg) scale(1);
        }
    }
}

.value-strip-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.value-strip h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.value-strip h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: 1.5rem auto 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .value-strip {
        padding: 3rem 1rem;
    }

    .value-strip h2 {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
    }
    
    .value-strip::after {
        width: 140%;
        height: 140%;
        top: -20%;
        left: -20%;
        animation-duration: 18s;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 80%);
    }
}

@media (max-width: 480px) {
    .value-strip h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .value-strip::after {
        width: 120%;
        height: 120%;
        top: -10%;
        left: -10%;
        animation-duration: 25s;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
        box-shadow: 0 0 20px 8px rgba(212, 175, 55, 0.2);
    }
    
    @keyframes shimmer {
        from {
            transform: rotate(0deg) scale(1);
        }
        25% {
            transform: rotate(90deg) scale(1.05);
        }
        50% {
            transform: rotate(180deg) scale(1);
        }
        75% {
            transform: rotate(270deg) scale(1.05);
        }
        to {
            transform: rotate(360deg) scale(1);
        }
    }
}

/* Buttons */
.cta-button {
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.cta-button:active {
    transform: translateY(1px);
}

.secondary-button {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.secondary-button:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
}

.secondary-button:active {
    transform: translateY(1px);
}

/* Services Section */
.services {
    padding: 4rem 1rem;
    background-color: var(--color-light-gray);
    overflow: hidden;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dynamic-text {
    color: var(--color-gold);
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.dynamic-text::before {
    content: 'Vende';
    animation: textChange 6s infinite;
}

.dynamic-text::after {
    content: 'Alquila';
    position: absolute;
    left: 0;
    top: 0;
    animation: textChangeAfter 6s infinite;
    opacity: 0;
}

@keyframes textChange {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes textChangeAfter {
    0%, 45% {
        opacity: 0;
    }
    50%, 95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.service-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Properties Section */
.featured-properties {
    padding: 4rem 1rem;
    overflow: hidden;
}

.featured-properties h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.property-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
}

.property-info p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.info-button {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-button:hover {
    background-color: var(--color-gold);
    transform: translateY(-2px);
}

.info-button:active {
    transform: translateY(1px);
}

/* About Section */
.about-section {
    padding: 4rem 1rem;
    background-color: rgba(212, 175, 55, 0.05);
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.value-item i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.about-image {
    max-width: 450px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1/1;
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 4rem 1rem;
    background: url('assets/stats-bg.svg') center/cover fixed;
    color: var(--color-white);
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.8);
}

.stats-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gold);
    font-family: 'Poppins', sans-serif;
}

.stat-item h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-image img {
        width: min(100%, 350px);
        height: min(350px, 100vw);
        margin: 0 auto;
    }

    .about-image {
        order: -1;
    }

    .about-values {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }

    .value-item {
        flex: 1;
        min-width: 0;
        max-width: none;
        text-align: center;
    }

    .value-item i {
        font-size: 2rem;
    }

    .value-item h3 {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .about-values {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .value-item {
        flex: 1;
    }

    .value-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .value-item h3 {
        font-size: 0.9rem;
    }

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

/* Contact Section */
.contact {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 1rem;
    text-align: center;
    overflow: hidden;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

/* Modal Form */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: var(--color-white);
    max-width: 500px;
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 2rem;
    border-radius: 10px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.7rem;
        font-size: 16px; /* Previene el zoom en iOS */
    }

    .close-btn {
        position: fixed;
        right: 1rem;
        top: 1rem;
        background: var(--color-black);
        color: var(--color-white);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
    }
}

.close-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

.submit-button {
    width: 100%;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background-color: #B8960C;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(1px);
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3rem 1rem 1rem;
}

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

.footer-section h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.footer-section img {
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.social-links a {
    color: var(--color-white);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
}

.social-links i {
    line-height: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

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

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .modal-content {
        margin: 1rem;
    }
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-black);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-links.active a {
    margin: 0.5rem 0;
    color: var(--color-white);
}

/* View All Button */
.view-all-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-black);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background-color: var(--color-gold);
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.view-all-button i {
    margin-left: 0.5rem;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
}

.gallery-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.gallery-content h2 {
    font-size: 2rem;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.close-gallery {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-gallery:hover {
    color: var(--color-gold);
}

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

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.gallery-overlay p {
    color: var(--color-white);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-align: center;
}

.gallery-cta {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.gallery-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos base para todas las secciones */
.hero,
.benefits-section,
.value-strip,
.services,
.featured-properties,
.about-section,
.stats-section,
.contact {
    padding: 4rem 1rem;
    overflow: hidden;
}

.hero-content,
.benefits-container,
.value-strip-content,
.services-grid,
.properties-grid,
.about-content,
.stats-content,
.contact-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero,
    .benefits-section,
    .value-strip,
    .services,
    .featured-properties,
    .about-section,
    .stats-section,
    .contact {
        padding: 3rem 1rem;
    }

    .hero-content,
    .benefits-container,
    .value-strip-content,
    .services-grid,
    .properties-grid,
    .about-content,
    .stats-content,
    .contact-content {
        width: calc(100% - 2rem);
        margin: 0 auto;
    }

    /* Estandarización de grids en móvil */
    .benefits-grid,
    .services-grid,
    .properties-grid,
    .about-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    /* Ajuste de imágenes y cards para mantener proporción */
    .property-card,
    .service-card,
    .benefit-item {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }

    .about-image {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }

    .about-image img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

    /* Ajuste de textos para mantener coherencia */
    h1, h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        line-height: 1.3;
    }

    h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    p {
        font-size: clamp(1rem, 2vw, 1.1rem);
    }
}

@media (max-width: 480px) {
    .hero,
    .benefits-section,
    .value-strip,
    .services,
    .featured-properties,
    .about-section,
    .stats-section,
    .contact {
        padding: 2.5rem 1rem;
    }

    .about-image img {
        height: 300px;
    }

    /* Ajuste de botones para mantener proporción */
    .cta-button,
    .secondary-button,
    .submit-button,
    .info-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
} 