:root {
    --primary: #1a1a1a;
    --secondary: #f8f8f8;
    --accent: #d4af37;
    --text: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* Header Styles */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--accent);
}

.social-links a {
    margin-left: 1rem;
    opacity: 0.9;
}

.social-links a:hover {
    opacity: 1;
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.phone-btn {
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.phone-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #0a0a0a;            /* cambia según tu footer */
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #e1306c;         /* Instagram highlight */
}
.phone-btn {
    color: #fff;            /* ajusta según header */
    font-size: 1.4rem;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.65)
        ),
        url('https://live.staticflickr.com/4337/37014205381_1206da29bd_b.jpg')
        center / cover no-repeat;
    z-index: 0;
}



.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-service {
    text-align: center;
    animation: fadeIn 1s ease backwards;
}

.hero-service:nth-child(1) { animation-delay: 0.2s; }
.hero-service:nth-child(2) { animation-delay: 0.4s; }
.hero-service:nth-child(3) { animation-delay: 0.6s; }
.hero-service:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hero-service-icon {
    font-size: 2.5rem;
}

.hero-service h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.cta-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    animation: none;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Quote Form */
.quote-section {
    background: var(--secondary);
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Benefits */
.benefits-section {
    position: relative;
    z-index: 2; /* 👈 CLAVE */
    padding: 80px 0;
    background: #f9f9f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit-card {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.benefit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.3)
    );
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.benefit-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}


/* Mission Section */
.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-image {
    width: 100%;
    height: 500px;
  background:
        url('https://images.adsttc.com/media/images/64e4/c9af/fbc6/5823/22be/edf9/newsletter/densificar-santiago-las-opiniones-contrarias-de-expertos-sobre-arquitectura-y-urbanismo_2.jpg?1692715473')
        center / cover no-repeat;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mission-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.mission-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--secondary);
    border-radius: 10px;
}

.contact-info h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Stats */
.stats {
    background: var(--primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat {
    padding: 2rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Fleet */
.fleet-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.fleet-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

/* Testimonials */
.testimonials {
    background: var(--secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: 'Playfair Display', serif;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #d4af37 100%);
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://idealex.press/wp-content/uploads/2017/10/aeropuerto-manga-avion.jpg')
    no-repeat center center / cover;
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}


.cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-banner .cta-btn {
    background: var(--white);
    color: var(--primary);
}

.cta-banner .cta-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem 0.75rem;
    font-size: 0.9rem;
}

.footer-bar {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    align-items: center;
    gap: 1.5rem;
}

.footer-left strong {
    font-size: 1.1rem;
    display: block;
}

.footer-left span {
    opacity: 0.75;
    font-size: 0.85rem;
}

.footer-center {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-center a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.footer-center a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-btn {
    background: var(--accent);
    color: #000;
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Línea inferior */
.footer-bottom {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.65;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s;
    animation: bounce 2s infinite;
    text-decoration: none;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* 🔥 AQUÍ ESTÁ LA CLAVE */
.blog-image {
    width: 100%;
    height: 220px; /* controla el espacio visual */
    background-size: cover; /* usa todo el espacio */
    background-position: center; /* centra bien */
    background-repeat: no-repeat;
}

/* Contenido */
.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}


@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-services {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .quote-form {
        padding: 2rem 1.5rem;
    }
}