* {
    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, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 3px solid #c9a961;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

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

.logo-img {
    height: 45px;
    width: auto;
}

.logo h2 {
    color: #c9a961;
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

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

.nav-links a {
    color: #c9a961;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #ffffff;
    background-color: rgba(201, 169, 97, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #c9a961;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.8) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070') center/cover no-repeat;
    padding: 8rem 0;
    text-align: center;
    color: white;
    overflow: hidden;
    min-height: 80vh;
    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;
}

.hero h1 {
    font-size: 3.5rem;
    color: #c9a961;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 3px;
}

.hero .tagline {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #c9a961;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hero-cta:hover {
    background-color: #d4b87a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

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

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

.section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    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: #c9a961;
    margin: 1rem auto 0;
}

/* Valores Section */
.valores-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.valor-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.valor-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.3);
    border-color: #c9a961;
}

.valor-icon {
    font-size: 3rem;
    color: #c9a961;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.valor-card:hover .valor-icon {
    transform: rotateY(360deg) scale(1.2);
    color: #1a1a1a;
}

.valor-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.valor-card p {
    color: #666;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    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%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(201, 169, 97, 0.1) 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(201, 169, 97, 0.5));
}

.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: #c9a961;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(201, 169, 97, 0.3);
    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 #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card:hover {
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.25);
    transform: translateY(-10px) scale(1.02);
    border-color: #c9a961;
}

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

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

.card-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    height: 240px;
    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: 240px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.card-content {
    padding: 1.5rem;
}

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

.card-content h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c9a961;
    margin: 0.5rem 0;
}

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

.card-details span {
    background-color: #f0f0f0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.address {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Proyecto Destacado */
.featured-project-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    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="rgba(201,169,97,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.featured-project-section .section-title {
    color: #c9a961;
    margin-bottom: 2rem;
}

.featured-project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3);
    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 rgba(201, 169, 97, 0.4);
}

.featured-project-image {
    position: relative;
    overflow: hidden;
}

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

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

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #c9a961 0%, #d4b87a 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 rgba(201, 169, 97, 0.4);
}

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

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

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

.featured-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    font-family: 'Georgia', serif;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.featured-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.benefit-item i {
    color: #c9a961;
    font-size: 1.2rem;
    min-width: 20px;
}

.benefit-item span {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.featured-rating i {
    color: #c9a961;
    font-size: 1.2rem;
}

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

.btn-featured {
    display: inline-block;
    background: linear-gradient(135deg, #c9a961 0%, #d4b87a 100%);
    color: white;
    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(201, 169, 97, 0.3);
}

.btn-featured:hover {
    background: linear-gradient(135deg, #d4b87a 0%, #c9a961 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

/* Proyectos Inmobiliarios */
.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 #c9a961;
}

.proyecto-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.proyecto-info h3 {
    font-size: 2.2rem;
    color: #1a1a1a;
    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%, #1a1a1a 100%);
    color: #c9a961;
    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 #c9a961;
    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: #1a1a1a;
    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 rgba(201, 169, 97, 0.3);
    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: #c9a961;
    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 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 25px;
    max-width: 80%;
    backdrop-filter: blur(10px);
}

/* Contacto Section */
.contacto-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.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: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.contacto-info h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    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: #c9a961;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contacto-item div {
    flex: 1;
}

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

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

.contacto-item a {
    color: #c9a961;
    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: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #c9a961;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c9a961;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* Form */
.form-container {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c9a961;
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #c9a961;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #c9a961;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    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: #c9a961;
    padding: 3rem 0 1.5rem;
    border-top: 3px solid #c9a961;
}

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

.footer-section h3 {
    color: #c9a961;
    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: #c9a961;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.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: 600px;
    }
    
    .featured-project-image {
        height: 300px;
    }
}

@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, #1a1a1a 0%, #2d2d2d 100%);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid #c9a961;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .proyecto-header {
        flex-direction: column;
        text-align: center;
    }
    
    .proyecto-logo {
        height: 70px;
    }
    
    .proyecto-info h3 {
        font-size: 1.8rem;
    }
    
    .proyecto-detalles {
        flex-direction: column;
        gap: 1rem;
    }
    
    .proyecto-galeria {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        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-title {
        font-size: 1.4rem;
    }
    
    .btn-featured {
        width: 100%;
        text-align: center;
    }
}
