/**
 * Moon House Theme
 * Estilos principales
 */

/* ---------------------------------
   Base
--------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}


/* ---------------------------------
   Contenedor
--------------------------------- */

.container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}


/* ---------------------------------
   Enlaces
--------------------------------- */

a {
    color: inherit;
}


/* ---------------------------------
   ImÃ¡genes
--------------------------------- */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------
   Header
--------------------------------- */

.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-header > .container > a {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}


/* ---------------------------------
   NavegaciÃ³n
--------------------------------- */

.site-navigation ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation a {
    text-decoration: none;
}

/* ---------------------------------
   Contenido principal
--------------------------------- */

.site-main {
    padding: 60px 0;
}

.entry-title {
    margin: 0 0 20px;
    font-size: 40px;
    line-height: 1.2;
}

.entry-content {
    max-width: 800px;
}

.entry-content p {
    margin: 0 0 20px;
}


/* ---------------------------------
   Hero
--------------------------------- */

.hero {
    padding: 100px 0;
}

.hero-eyebrow {
    margin: 0 0 15px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    max-width: 800px;
    margin: 0 0 20px;
    font-size: 56px;
    line-height: 1.1;
}

.hero-description {
    max-width: 650px;
    margin: 0 0 30px;
    font-size: 20px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    background: #111111;
    color: #ffffff;
}

.section {
    padding: 80px 0;
}

.section h2 {
    margin: 0 0 20px;
    font-size: 36px;
    line-height: 1.2;
}

.section p {
    max-width: 700px;
}

/* ---------------------------------
   Servicios
--------------------------------- */

.services {
    padding: 80px 0;
    background: #f7f7f7;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 50px;
}

.section-eyebrow {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title {
    margin: 0 0 20px;
    font-size: 42px;
    line-height: 1.2;
}

.section-description {
    margin: 0;
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.service-card h3 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.3;
}

.service-card p {
    margin: 0;
}

/* ---------------------------------
   Responsive
--------------------------------- */

@media (max-width: 900px) {
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 46px;
    }
    

}

@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, 1200px);
    }

    .hero {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 18px;
    }

    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta {
        padding: 70px 0;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-description {
        font-size: 18px;
    }
    
    .projects {
        padding: 70px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

}

/* ---------------------------------
   Beneficios
--------------------------------- */

.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    padding: 30px;
    border: 1px solid #e5e5e5;
}

.benefit-item h3 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.3;
}

.benefit-item p {
    margin: 0;
}

/* ---------------------------------
   CTA
--------------------------------- */

.cta {
    padding: 100px 0;
    background: #111111;
    color: #ffffff;
}

.cta-content {
    max-width: 800px;
}

.cta .section-eyebrow {
    color: #ffffff;
}

.cta-title {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.15;
}

.cta-description {
    max-width: 650px;
    margin: 0 0 30px;
    font-size: 20px;
}

.cta .button {
    background: #ffffff;
    color: #111111;
}

/* ---------------------------------
   Proyectos
--------------------------------- */

.projects {
    padding: 100px 0;
    background: #f7f7f7;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.project-image {
    aspect-ratio: 16 / 10;
    background: #e5e5e5;
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 700;
}

.project-content {
    padding: 30px;
}

.project-category {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-content h3 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.3;
}

.project-content p:last-child {
    margin: 0;
}

/* ---------------------------------
   Ajustes m¨®viles
--------------------------------- */

@media (max-width: 600px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

}