:root {
    --elite-beige: #f4e3c8;
    --elite-beige-soft: #f8edd9;
    --elite-brown: #a86935;
    --elite-brown-dark: #6b3b1f;
    --elite-text-main: #3c2c23;
    --elite-white: #ffffff;
    --elite-shadow: rgba(0, 0, 0, 0.13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--elite-beige-soft);
    color: var(--elite-text-main);
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.5rem;
    background: #000;
    color: #fff;
}

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

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    padding: 6px;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--elite-brown);
    color: #fff;
}


/* Botón hamburguesa */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* MAIN */

main {
    padding: 2rem 1.5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--elite-brown-dark);
}

.section-header.center {
    text-align: center;
}


/* HERO */

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.hero-subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.4rem;
    color: var(--elite-brown);
}

.hero-section h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    margin: 0 0 0.6rem;
    color: var(--elite-white);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-description {
    max-width: 28rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.hero-section {
    background: linear-gradient(120deg, #4a2a16 20%, #c18a4e 80%);
    border-radius: 24px;
    padding: 2rem 2.3rem;
    color: var(--elite-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.btn-primary {
    display: inline-block;
    background: var(--elite-white);
    color: #4a2a16;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}


/* Layouts */

.two-column-section {
    background: var(--elite-beige);
    border-radius: 24px;
    padding: 2.1rem 2.3rem;
    box-shadow: 0 10px 24px var(--elite-shadow);
}

.two-column-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.image-card img,
.banner-image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.text-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.text-card {
    background: var(--elite-brown);
    color: #fff;
    padding: 1.4rem 1.5rem;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Filosofía */

.banner-image {
    margin-bottom: 1.8rem;
    border-radius: 24px;
    overflow: hidden;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.box-card {
    background: var(--elite-brown-dark);
    color: #fff;
    padding: 1.8rem 1.7rem;
    border-radius: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.box-card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-weight: 600;
}


/* Valores */

.values-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
}

.values-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card {
    background: var(--elite-brown);
    color: #fff;
    padding: 1.5rem 1.6rem;
    border-radius: 18px;
    box-shadow: 0 10px 20px var(--elite-shadow);
    font-size: 0.95rem;
}

.value-card h3 {
    margin: 0 0 0.5rem;
}


/* Áreas */

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

.area-card {
    background: var(--elite-beige);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px var(--elite-shadow);
    text-align: center;
    padding-bottom: 1.1rem;
}

.area-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.area-card h3 {
    margin: 0.9rem 0 0;
    color: var(--elite-brown-dark);
}


/* Servicios */

.service-block {
    margin-bottom: 2.5rem;
}

.service-block.reverse .service-text-col {
    order: 2;
}

.service-block.reverse .service-images {
    order: 1;
}

.service-text-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card {
    background: var(--elite-beige);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 8px 18px var(--elite-shadow);
    font-size: 0.95rem;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    color: var(--elite-brown-dark);
}

.service-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-images img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}


/* Otros servicios */

.list-card {
    background: var(--elite-brown);
    color: #fff;
    border-radius: 20px;
    padding: 1.6rem 1.7rem;
    font-size: 0.95rem;
}

.list-card ul {
    padding-left: 1.2rem;
}

.list-card li {
    margin-bottom: 0.4rem;
}


/* Cierre */

.closing-section {
    margin-top: 3.5rem;
}

.closing-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--elite-shadow);
}

.closing-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.closing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.8rem 2rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
}


/* FOOTER */

.site-footer {
    background: #000;
    color: #fff;
    padding: 2.4rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto 1.4rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.footer-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.footer-company {
    font-weight: 600;
    margin-top: 0.4rem;
}

.footer-map h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.footer-map iframe {
    border-radius: 16px;
}

.footer-logo img {
    max-width: 120px;
    display: block;
    margin-left: auto;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 0.7rem;
    text-align: center;
    font-size: 0.8rem;
}


/* Animaciones scroll */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */

@media (max-width: 992px) {
    main {
        padding: 1.8rem 1.2rem 2.5rem;
    }
    .hero-section {
        grid-template-columns: 1fr;
    }
    .two-column-grid,
    .values-layout {
        grid-template-columns: 1fr;
    }
    .cards-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: #000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .main-nav.open {
        max-height: 280px;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 0.5rem 1.4rem 1rem;
    }
    .main-nav a {
        width: 100%;
    }
    .two-column-section {
        padding: 1.6rem 1.4rem;
    }
    .cards-3 {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-logo img {
        margin: 0 auto;
    }
}