:root {
    --color-primary:       #c9a961;
    --color-primary-light: #d4b87a;
    --color-dark:          #0a0a0a;
    --color-dark-2:        #1a1a1a;
    --color-surface:       #ffffff;
    --color-texto:         #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
    border-bottom: 2px solid var(--color-primary);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo h2 {
    color: var(--color-primary);
    font-size: 1.9rem;
    font-family: 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: #ffffff;
    background-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--color-primary);
    color: var(--color-dark-2);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(26, 26, 26, 0.85) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070') center/cover no-repeat fixed;
    padding: 10rem 0 8rem;
    text-align: center;
    color: white;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23c9a961" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,133.3C672,117,768,107,864,122.7C960,139,1056,181,1152,181.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 4px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero .tagline {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.15rem;
    color: #e8e8e8;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #a88948 100%);
    color: var(--color-dark-2);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--color-primary) 40%, transparent);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta:hover {
    background: linear-gradient(135deg, #a88948 0%, var(--color-primary) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-cta-secondary {
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.hero-cta-secondary:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, #a88948 100%);
    color: var(--color-dark-2);
    border-color: var(--color-primary);
    box-shadow: 0 12px 35px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.hero-featured {
    margin-top: 2.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.section:nth-child(even) {
    background-color: #f9f7f4;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 1rem auto 0;
}

/* Valores Section */
.valores-section {
    background: #f9f7f4;
    position: relative;
    overflow: hidden;
}

.valores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--color-primary) 5%, transparent) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--color-primary) 5%, transparent) 0%, transparent 60%);
    pointer-events: none;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.valor-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e8e8e8;
    border-top: 4px solid var(--color-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-primary) 15%, transparent), transparent);
    transition: left 0.6s ease;
}

.valor-card:hover::before {
    left: 100%;
}

.valor-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 0 0 3px color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-top-color: var(--color-primary);
}

.valor-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 4px 8px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.valor-card:hover .valor-icon {
    transform: rotateY(360deg) scale(1.3);
    color: var(--color-primary-light);
}

.valor-card h3 {
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: 1.2rem;
    font-family: 'Georgia', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.valor-card p {
    color: #555;
    line-height: 1.9;
    font-size: 1rem;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    background: #111111;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
    stroke-linecap: round;
    stroke: url(#goldGradient);
}

.stat-number {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.card {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card:hover {
    box-shadow: 0 20px 50px color-mix(in srgb, var(--color-primary) 30%, transparent);
    transform: translateY(-12px) scale(1.03);
    border-color: var(--color-primary);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover img {
    transform: scale(1.15);
}

.card-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    height: 260px;
    overflow: hidden;
}

.card-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-gallery img:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.card-img-placeholder {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 0.95rem;
}

.card-content {
    padding: 2rem;
}

.no-content {
    text-align: center;
    color: #777;
    font-size: 1.1rem;
    padding: 3rem;
    background: white;
    border-radius: 12px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--color-dark-2);
    margin-bottom: 0.8rem;
    font-family: 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0.8rem 0;
    text-shadow: 0 2px 4px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.card-details {
    display: flex;
    gap: 1rem;
    margin: 1.2rem 0;
    flex-wrap: wrap;
}

.card-details span {
    background-color: #f8f9fa;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-details span:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.address {
    color: #6c757d;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

/* Proyecto Destacado */
.featured-project-section {
    background: #111111;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.featured-project-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="color-mix(in srgb, var(--color-primary) 5%, transparent)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.featured-project-section .section-title {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.featured-project-card {
    background: var(--color-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px color-mix(in srgb, var(--color-primary) 30%, transparent);
    display: grid;
    grid-template-columns: 400px 1fr;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.featured-project-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: var(--color-dark);
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    transition: transform 0.5s ease;
}

.featured-project-image video {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(15%);
    transition: transform 0.5s ease;
}

.featured-project-card:hover .featured-project-image img {
    transform: scale(1.05);
}

.featured-project-card:hover .featured-project-image video {
    transform: translateY(15%) scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.featured-badge i {
    animation: pulse 2s infinite;
}

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

/* Badges de urgencia en proyecto destacado */
.urgency-badges-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.urgency-badges-featured .urgency-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.featured-project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-family: 'Georgia', serif;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.featured-rebaja-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseBadgeFeatured 1.8s ease-in-out infinite;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 60%, transparent);
    white-space: nowrap;
}

.featured-rebaja-badge i {
    font-size: 1rem;
    animation: shake 1s ease-in-out infinite;
}

@keyframes pulseBadgeFeatured {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 60%, transparent);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 25px color-mix(in srgb, var(--color-primary) 90%, transparent);
    }
}

.featured-description {
    color: var(--color-primary) !important;
    font-size: 1.1rem;
    font-weight: 700 !important;
    margin-bottom: 0;
    line-height: 1.1;
}

.featured-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0;
}

.featured-benefits {
    margin-bottom: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.2rem;
    padding: 0.2rem 0;
}

.benefit-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
    min-width: 20px;
}

.benefit-item span {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.0;
    font-weight: 700;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0;
}

.featured-rating i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.rating-text {
    margin-left: 0.5rem;
    color: #ffffff;
    font-weight: 700;
}

.btn-featured {
    display: inline-block;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #111;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-featured:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Proyectos Inmobiliarios */
.proyectos-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.proyecto-card-preview {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 320px;
    border: 1px solid #eee;
    border-left: 4px solid var(--color-primary);
}

.proyecto-card-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px color-mix(in srgb, var(--color-primary) 25%, transparent);
    border-color: var(--color-primary);
}

.proyecto-preview-img {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--color-dark);
    cursor: pointer;
    border: none;
    outline: none;
}

.proyecto-preview-img .card-img-placeholder {
    height: 100%;
}

.proyecto-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    transition: transform 0.5s ease;
}

.proyecto-preview-img video {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(15%);
    transition: transform 0.5s ease;
}

.proyecto-preview-img:hover img {
    transform: scale(1.1);
}

.proyecto-preview-img:hover video {
    transform: translateY(15%) scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.img-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

/* Urgency Badges (FOMO) */
.urgency-badges-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 200px;
}

.urgency-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: pulse-urgency 2s infinite;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.3);
}

.urgency-badge i {
    font-size: 1rem;
    color: #ff0000;
    filter: drop-shadow(0 0 3px rgba(255,0,0,0.8));
}

.urgency-ultimas_unidades {
    background: linear-gradient(135deg, #ff3838 0%, #c41e3a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 56, 56, 0.6);
}

.urgency-vendido_50 {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #000;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.urgency-vendido_50 i {
    color: #8b7355;
}

.urgency-vendido_70 {
    background: linear-gradient(135deg, var(--color-primary) 0%, #a88948 100%);
    color: #000;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.urgency-vendido_90 {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b7355 100%);
    color: #000;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 80%, transparent);
}

.urgency-preventa,
.urgency-oportunidad {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b7355 100%);
    color: #000;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.urgency-preventa i,
.urgency-oportunidad i {
    color: #ff0000;
}

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


.proyecto-preview-img:hover .img-overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.proyecto-preview-img:hover .img-overlay i {
    transform: scale(1);
}

.proyecto-preview-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border-top: 3px solid var(--color-primary);
}

.proyecto-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.proyecto-preview-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.proyecto-estado-badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-dark-2);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proyecto-preview-content h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.3;
}

.proyecto-ubicacion {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proyecto-ubicacion i {
    color: var(--color-primary);
}

.proyecto-descripcion-corta {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.amenities-row,
.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.amenities-row {
    margin: 0.3rem 0 0.7rem;
}

.amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f5f5f5;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    color: #444;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.amenity-chip i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.proyecto-preview-detalles {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.7rem;
    align-items: center;
}

.preview-detalle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    border-left: 3px solid var(--color-primary);
}

.preview-detalle i {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.preview-detalle .label {
    display: block;
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-detalle .value {
    display: block;
    font-size: 0.95rem;
    color: #222;
    font-weight: 700;
}

/* Estilos para precios rebajados */
.precio-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
}

.precio-rebaja-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3838 100%);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulseBadge 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    white-space: nowrap;
}

.precio-rebaja-badge i {
    animation: shake 1s ease-in-out infinite;
}

.precio-original {
    font-size: 0.65rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.7;
}

.precio-rebajado {
    font-size: 1.1rem;
    color: #ff6b6b;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    animation: glowPrice 2s ease-in-out infinite;
}

/* Precios rebajados para páginas de detalle */
.precio-detalle-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    position: relative;
}

.precio-rebaja-badge-detalle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3838 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseBadge 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
}

.precio-rebaja-badge-detalle i {
    font-size: 1.2rem;
    animation: shake 1s ease-in-out infinite;
}

.precio-original-detalle {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.7;
}

.precio-rebajado-detalle {
    font-size: 2rem;
    color: #ff6b6b;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    animation: glowPrice 2s ease-in-out infinite;
}

/* Animaciones */
@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.7);
    }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes glowPrice {
    0%, 100% {
        text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 107, 107, 0.8);
    }
}

/* Versión móvil - animaciones más intensas */
@media (max-width: 768px) {
    .precio-rebajado {
        font-size: 1.2rem;
        animation: glowPriceMobile 1.5s ease-in-out infinite;
    }
    
    .precio-rebajado-detalle {
        font-size: 2.5rem;
        animation: glowPriceMobile 1.5s ease-in-out infinite;
    }
    
    .precio-rebaja-badge,
    .precio-rebaja-badge-detalle {
        animation: pulseBadgeMobile 1.5s ease-in-out infinite;
    }
    
    @keyframes pulseBadgeMobile {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.6);
        }
        50% {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.9);
        }
    }
    
    @keyframes glowPriceMobile {
        0%, 100% {
            text-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
            transform: scale(1);
        }
        50% {
            text-shadow: 0 0 30px rgba(255, 107, 107, 1);
            transform: scale(1.05);
        }
    }
}

.btn-ver-mas {
    padding: 0.7rem 1.3rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #111;
    border: none;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.btn-ver-mas i {
    font-size: 0.9rem;
}

/* Modal de Proyecto */
.proyecto-modal {
    display: none !important;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.proyecto-modal[style*="display: flex"] {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

.modal-content-proyecto {
    background: #ffffff;
    width: 95%;
    max-width: 1400px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-dark-2);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.modal-close:hover {
    background: var(--color-primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body-proyecto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow: hidden;
}

/* Lado izquierdo: Media */
.modal-media-section {
    background: var(--color-dark);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-video-container {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 1rem;
    background: var(--color-dark);
    display: flex;
    justify-content: center;
}

.modal-video-container video {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
    cursor: pointer;
}

.modal-video-container video:hover {
    opacity: 0.95;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.modal-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.modal-gallery-item:hover img {
    transform: scale(1.05);
}

/* Lado derecho: Info */
.modal-info-section {
    background: #ffffff;
    padding: 3rem;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-header {
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.modal-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 2.5rem;
    color: var(--color-dark-2);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 2px;
}

.modal-ubicacion {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-estado {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #2d2d2d 0%, var(--color-dark-2) 100%);
    color: var(--color-primary);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-descripcion {
    margin-bottom: 2rem;
}

.modal-descripcion h3 {
    font-size: 1.3rem;
    color: var(--color-dark-2);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.modal-descripcion p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.modal-detalles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-amenities {
    margin-bottom: 2rem;
}

.modal-amenities h3 {
    font-size: 1.3rem;
    color: var(--color-dark-2);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.modal-detalle-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.modal-detalle-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.modal-detalle-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-detalle-item .value {
    display: block;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
}

.modal-map {
    margin-bottom: 2rem;
}

.modal-map h3 {
    font-size: 1.3rem;
    color: var(--color-dark-2);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.map-container {
    width: 100%;
    height: 250px;
    background: #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.modal-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-modal-whatsapp,
.btn-modal-cita {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-modal-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #111;
}

.btn-modal-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-modal-cita {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #111;
}

.btn-modal-cita:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

.proyecto-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.proyecto-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.proyecto-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.proyecto-logo {
    height: 180px;
    max-width: 300px;
    width: auto;
    object-fit: contain;
}

.proyecto-info h3 {
    font-size: 2.2rem;
    color: var(--color-dark-2);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 2px;
}

.proyecto-ubicacion {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proyecto-estado {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #2d2d2d 0%, var(--color-dark-2) 100%);
    color: var(--color-primary);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proyecto-video {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.proyecto-video video {
    width: 100%;
    max-height: 500px;
    display: block;
}

.proyecto-descripcion {
    margin-bottom: 2rem;
}

.proyecto-descripcion p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.9;
}

.proyecto-detalles {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detalle-item {
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.8rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
    flex: 1;
    min-width: 150px;
}

.detalle-label {
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.detalle-value {
    font-size: 1.4rem;
    color: var(--color-dark-2);
    font-weight: 600;
}

.proyecto-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.galeria-item:hover {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--color-primary) 30%, transparent);
    transform: translateY(-2px);
}

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

.galeria-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.7);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    display: none !important; /* Ocultar caption completamente */
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute;
    left: -9999px;
}

/* Contacto Section */
.contacto-section {
    background: #f9f7f4;
}

.contacto-section .section-title {
    color: var(--color-dark);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contacto-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contacto-info h3 {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-family: 'Georgia', serif;
}

.contacto-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contacto-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contacto-item div {
    flex: 1;
}

.contacto-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.3rem;
}

.contacto-item p {
    color: #666;
    margin: 0;
}

.contacto-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.contacto-item a:hover {
    text-decoration: underline;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    color: var(--color-primary);
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Form */
.form-container {
    background: #ffffff;
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--color-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.form-container:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent);
    transform: translateY(-2px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #a88948 100%);
    color: var(--color-dark-2);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--color-primary) 30%, transparent);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #a88948 0%, var(--color-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #111;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8);
    animation: none;
}

/* Alerts */
.alert-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    max-width: 400px;
}

.alert-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.5s ease;
    border-left: 4px solid;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.alert-modern.alert-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-left-color: #28a745;
    color: #2e7d32;
}

.alert-icon {
    font-size: 2rem;
    color: #28a745;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    font-size: 1rem;
    line-height: 1.5;
}

.alert-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    border: 1px solid;
}

.alert-success {
    background-color: #e8f5e9;
    border-color: #a5d6a7;
    color: #2e7d32;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--color-primary);
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--color-primary);
}

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

.footer-section h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.footer-section p,
.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.footer-bottom p {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .proyecto-galeria {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .featured-project-card {
        grid-template-columns: 1fr;
        max-width: 650px;
    }
    
    .featured-project-image {
        height: 350px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero .tagline {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
        flex-direction: column;
        padding: 1.5rem 0;
        border-top: 2px solid var(--color-primary);
        box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1.2rem 2rem;
        border-radius: 0;
    }
    
    .hero {
        padding: 8rem 0 6rem;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }
    
    .hero .tagline {
        font-size: 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-cta {
        width: 100%;
        max-width: 400px;
        text-align: center;
        padding: 1.1rem 2.5rem;
    }

    .hero-featured {
        margin-top: 2.5rem;
    }
    
    .featured-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        top: 15px;
        left: 15px;
    }
    
    .urgency-badges-featured {
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .urgency-badges-featured .urgency-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .proyecto-header {
        flex-direction: column;
        text-align: center;
    }
    
    .proyecto-logo {
        height: 140px;
        max-width: 250px;
    }
    
    .proyecto-info h3 {
        font-size: 2rem;
    }
    
    .proyecto-detalles {
        flex-direction: column;
        gap: 1rem;
    }
    
    .proyecto-galeria {
        grid-template-columns: 1fr;
    }
    
    /* Modal responsive */
    .modal-body-proyecto {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }
    
    .modal-media-section,
    .modal-info-section {
        max-height: none;
    }
    
    .modal-info-section {
        padding: 2rem;
    }
    
    .modal-cta {
        flex-direction: column;
    }
    
    .btn-modal-whatsapp,
    .btn-modal-cita {
        min-width: 100%;
    }
    
    .proyectos-grid {
        grid-template-columns: 1fr;
    }
    
    .proyecto-card-preview {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .proyecto-preview-img {
        height: 280px;
    }
    
    .proyecto-preview-content {
        padding: 2rem;
    }
    
    .proyecto-preview-detalles {
        grid-template-columns: 1fr 1fr;
    }
    
    .btn-ver-mas {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .logo h2 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .proyecto-card {
        padding: 1.5rem;
    }
    
    .featured-project-content {
        padding: 1.5rem;
    }
    
    .featured-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
        top: 10px;
        left: 10px;
    }
    
    .featured-rebaja-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
        animation: pulseBadgeFeaturedMobile 1.3s ease-in-out infinite;
    }
    
    @keyframes pulseBadgeFeaturedMobile {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 3px 12px rgba(255, 107, 107, 0.7);
        }
        50% {
            transform: scale(1.12);
            box-shadow: 0 6px 20px rgba(255, 107, 107, 1);
        }
    }
    
    .urgency-badges-featured {
        top: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .urgency-badges-featured .urgency-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }
    
    .featured-title {
        font-size: 1.4rem;
    }
    
    .btn-featured {
        width: 100%;
        text-align: center;
    }
    
    /* Modal en móviles */
    .modal-content-proyecto {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-info-section {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .proyectos-grid {
        grid-template-columns: 1fr;
    }
    
    .proyecto-card-preview {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .proyecto-preview-img {
        height: 220px;
    }
    
    .proyecto-preview-content {
        padding: 1.5rem;
    }
    
    .proyecto-preview-content h3 {
        font-size: 1.4rem;
    }
    
    .proyecto-preview-detalles {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .btn-ver-mas {
        width: 100%;
    }
    
    /* Páginas de detalle - Responsive */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .info-card {
        padding: 1rem !important;
    }
    
    .info-value {
        font-size: 1.2rem !important;
    }
    
    .gallery {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .gallery-item {
        height: 200px !important;
    }
    
    .gallery-tabs {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .tab-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .amenidades {
        grid-template-columns: 1fr !important;
    }
    
    .cta {
        padding: 2rem 1rem !important;
    }
    
    .cta-title {
        font-size: 1.8rem !important;
    }
    
    .cta-btns {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}
