/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: #047857;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.nav-links {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #475569;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #047857;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #047857;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: #065f46;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 1rem;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 0;
    color: #475569;
}

.hidden {
    display: none !important;
}

/* Hero */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    background-image: url('https://images.pexels.com/photos/3768131/pexels-photo-3768131.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.85) 0%, rgba(6, 95, 70, 0.75) 50%, rgba(5, 46, 22, 0.9) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    color: #f0fdf4;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background: #047857;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #065f46;
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}


/* Intro Section */
.intro {
    padding: 6rem 0;
    background: #f9fafb;
    display: block;
    width: 100%;
    min-height: 400px;
}

.intro .container {
    display: block;
    width: 100%;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Section Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
    text-align: center;
    display: block;
    width: 100%;
    padding: 0 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #334155;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    display: block;
}

.intro-text {
    font-size: 1.25rem;
    color: #1e293b;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    display: block;
    padding: 0 1.5rem;
    font-weight: 400;
}

/* Services */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: none;
    width: 100%;
}

.carousel-btn {
    display: none;
}

@media (min-width: 768px) {
    .carousel-container {
        padding: 0 4rem;
    }

    .carousel-wrapper {
        overflow: hidden;
        padding: 1.5rem 0;
        margin: -1.5rem 0;
    }

    .carousel-track {
        flex-direction: row;
        gap: 1.5rem;
        transition: transform 0.5s ease-in-out;
        will-change: transform;
        width: 100%;
        flex-wrap: nowrap;
    }

    .carousel-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #fff;
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s;
        z-index: 10;
    }

    .carousel-btn:hover {
        background: #047857;
        color: #fff;
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-btn svg {
        stroke: currentColor;
    }

    .carousel-prev {
        left: 0;
    }

    .carousel-next {
        right: 0;
    }
}

.carousel-dots {
    display: none;
}

@media (min-width: 768px) {
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #047857;
    width: 24px;
    border-radius: 5px;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .service-card {
        min-width: calc(33.333% - 1rem);
        width: calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

@media (min-width: 1024px) {
    .service-card {
        min-width: calc(33.333% - 1rem);
        width: calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

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

.border-emerald {
    border-color: #047857;
}

.border-blue {
    border-color: #1d4ed8;
}

.border-rose {
    border-color: #be123c;
}

.border-purple {
    border-color: #7e22ce;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #475569;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.check-icon.emerald {
    color: #047857;
}

.check-icon.blue {
    color: #1d4ed8;
}

.check-icon.rose {
    color: #be123c;
}

.check-icon.purple {
    color: #7e22ce;
}

/* Obras Sociales */
.obras-sociales {
    padding: 5rem 0;
    background: #fff;
}

.obras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.obra-card {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #334155;
}

.obras-note {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.obras-note p {
    color: #334155;
}

/* Instalaciones */
.instalaciones {
    padding: 5rem 0;
    background: #ffffff;
}

.instalaciones-grid {
    display: grid;
    gap: 2rem;
}

.instalacion-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.instalacion-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.instalacion-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    padding: 1rem 1.5rem 0.5rem;
}

.instalacion-card p {
    color: #475569;
    padding: 0 1.5rem 1.5rem;
}

/* Why Us */
.why-us {
    padding: 5rem 0;
    background: #fff;
}

.why-us-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.why-us-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.why-us-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.why-us-text {
    color: #334155;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Zonas */
.zonas {
    padding: 5rem 0;
    background: #f8fafc;
}

.zonas-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.zonas-box p {
    color: #334155;
    font-size: 1.125rem;
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background: #fff;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.faq-question {
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h2 {
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    margin: 0;
}

.faq-icon {
    color: #047857;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 1rem;
    color: #334155;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

/* Contacto */
.contacto {
    padding: 5rem 0;
    background: #f8fafc;
}

.contacto-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #16a34a;
    color: #fff;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-cta:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-cta svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #fff;
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #334155;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand svg {
    color: #10b981;
    flex-shrink: 0;
}

.footer-brand span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.footer-contacts {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item:hover {
    color: #10b981;
}

.footer-contact-item svg {
    color: #10b981;
    flex-shrink: 0;
}

.footer-copyright {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #16a34a;
    color: #fff;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 999;
}

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

/* Responsive */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

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

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

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

    .section-subtitle {
        font-size: 1.125rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .faq-question,
    .faq-question h2 {
        font-size: 1.125rem;
    }

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

    .obras-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .instalaciones-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .obras-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
