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

:root {
    --primary-color: #f97316;
    --secondary-color: #ec4899;
    --tertiary-color: #a855f7;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

.logo {
    height: 4.0rem;
    width: auto;
}

.brand-name {
    font-size: 2.0rem;
    font-weight: bold;
    color: var(--text-dark);
}

.navbar-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ea580c;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #fef3c7;
}

.btn-whatsapp {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #ea580c;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f3f4f6;
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 50%, #f3e8ff 100%);
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Servicios */
.servicios {
    background-color: var(--white);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.servicio-card.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-color: #93c5fd;
}

.servicio-card.orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 100%);
    border-color: #fdba74;
}

.servicio-card.purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #f3e8ff 100%);
    border-color: #d8b4fe;
}

.servicio-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.servicio-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.servicio-card ul {
    list-style: none;
    padding: 0;
}

.servicio-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* Ventajas */
.ventajas {
    background-color: #f9fafb;
}

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

.ventaja-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.ventaja-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ventaja-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ventaja-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.ventaja-card p {
    color: var(--text-light);
}

/* Galería */
.galeria {
    background-color: var(--white);
}

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

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 250px;
}

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

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

.galeria-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Capacidades */
.capacidades {
    background-color: #f9fafb;
}

.capacidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.capacidad-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.capacidad-card.blue-border {
    border-left-color: #3b82f6;
}

.capacidad-card.orange-border {
    border-left-color: var(--primary-color);
}

.capacidad-card.purple-border {
    border-left-color: var(--tertiary-color);
}

.capacidad-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.capacidad-subtitle {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.capacidad-card ul {
    list-style: none;
    padding: 0;
}

.capacidad-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Tiempos */
.tiempos {
    background-color: var(--white);
}

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

.tiempo-card {
    padding: 2rem;
    border-radius: 0.5rem;
    color: var(--white);
}

.tiempo-card.green {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
}

.tiempo-card.blue {
    background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 100%);
}

.tiempo-card.purple {
    background: linear-gradient(135deg, #d8b4fe 0%, #a855f7 100%);
}

.tiempo-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tiempo-valor {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* Testimonios */
.testimonios {
    background-color: #f9fafb;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonio-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonio-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.autor {
    font-weight: 600;
    color: var(--text-dark);
    font-style: normal;
}

/* FAQ */
.faq {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: linear-gradient(135deg, #fde047 0%, #fdba74 100%);
}

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

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1.5rem;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contacto */
.contacto {
    background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 100%);
}

.contacto-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contacto-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #16a34a;
    margin: 0 auto 1rem;
}

.contacto-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contacto-success p {
    color: var(--text-light);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-buttons .btn {
    flex: 1;
    justify-content: center;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

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

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    section h2 {
        font-size: 1.875rem;
    }

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

    .form-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* --- Arreglo para Preguntas Frecuentes --- */
    .faq-container {
        grid-template-columns: 1fr;
    }

    /* --- Arreglo para el Menú / Navbar --- */
    .logo {
        height: 2.5rem; /* Reduce el logo */
    }

    .brand-name {
        font-size: 1.125rem; /* Reduce el texto del logo */
    }

    .navbar-content {
        height: 4rem; /* Reduce la altura de la barra */
    }

    /* --- Arreglo para TODAS las secciones de contenido --- */
    .servicios-grid,
    .ventajas-grid,
    .galeria-grid,
    .capacidades-grid,
    .tiempos-grid,
    .testimonios-grid {
        grid-template-columns: 1fr; /* 1 columna */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .navbar-content {
        height: auto;
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .navbar-brand {
        width: 100%;
    }

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

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

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .servicios-grid,
    .ventajas-grid,
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-item {
        height: 200px;
    }
}
