body {
    --home-accent: #df8f7c;
    --home-accent-dark: #ba6f5e;
    --home-surface: #fffaf7;
    --home-shadow: 0 22px 55px rgba(88, 53, 45, 0.12);
}

div.imagotipo {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem 1rem;
    background: white;
}

.imagotipo a {
    display: inline-flex;
}

.imagotipo img {
    width: min(30rem, 100%);
    height: auto;
}

.language-selector .arrow,
header .fatherDropdown .arrow {
    filter: brightness(0);
}

header {
    width: 100%;
    min-height: auto;
    padding-bottom: 28px;
    background: white;
    flex-direction: column;
}

header .logo,
header .logo img {
    display: none;
}

header a {
    color: black;
}

header nav {
    padding-top: 2rem;
}

.home-page {
    display: flex;
    flex-direction: column;
    gap: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
}

.home-page section {
    padding-inline: clamp(1.25rem, 6vw, 9rem);
}

section.presentacion {
    position: relative;
    min-height: min(46rem, calc(100vh - 12rem));
    padding: 0;
    overflow: hidden;
}

section.presentacion::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/static/assets/temp/banner.webp");
    background-position: center;
    background-size: cover;
    animation: homeHeroZoom 5s ease-out forwards;
    transform-origin: center;
    will-change: transform;
}

@keyframes homeHeroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.eyebrow {
    margin: 0 0 1rem;
    color: #f8ddd5;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-actions-section {
    margin-top: calc(clamp(3.5rem, 7vw, 6rem) * -0.65);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-block: clamp(0.25rem, 1.5vw, 0.75rem);
}

section.destacado .contacto,
.hero-actions .contacto,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

section.destacado .contacto,
.hero-actions .contacto {
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(135deg, #d88a79 0%, #c87362 100%);
    color: white;
    box-shadow: 0 12px 30px rgba(34, 24, 21, 0.24);
}

section.destacado .contacto:hover,
.hero-actions .contacto:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(34, 24, 21, 0.3);
    filter: brightness(1.03) saturate(1.04);
}

.secondary-link {
    color: #3a2a26;
    border: 1px solid rgba(58, 42, 38, 0.28);
    background: rgba(255, 255, 255, 0.62);
}

.secondary-link:hover {
    transform: translateY(-2px);
    background: white;
    border-color: rgba(58, 42, 38, 0.42);
}

section.destacado {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.95fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.destacado-copy h2 {
    margin: 0;
    color: #251916;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.08;
    max-width: 16ch;
}


.destacado-points {
    display: grid;
    gap: 1rem;
}

.destacado-points article {
    display: grid;
    gap: 0.35rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(170, 116, 101, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 236, 231, 0.95) 100%);
    box-shadow: var(--home-shadow);
}

.destacado-points strong {
    color: #1f1715;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1;
}

.destacado-points span {
    color: #5f4e49;
    line-height: 1.6;
}

section.enlaces {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
}

.home-card {
    min-height: 22rem;
    text-decoration: none;
    box-shadow: var(--home-shadow);
    overflow: hidden;

    box-shadow: 12px 12px 10px rgba(0, 0, 0, .65);
}

.home-card:hover {
    transform: translateY(-6px);
}

.home-card .img {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.65rem;
    background-image:
        linear-gradient(180deg, rgba(25, 18, 16, 0.08) 0%, rgba(25, 18, 16, 0.74) 100%),
        url("/static/assets/temp/tch.png");
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.home-card:hover .img {
    transform: scale(1.03);
}

.gallery-card .img {
    background-image:
        linear-gradient(180deg, rgba(25, 18, 16, 0.08) 0%, rgba(25, 18, 16, 0.74) 100%),
        url("/static/assets/images/galeriaPreview.jpg");
}

.quality-card .img {
    background-image:
        linear-gradient(180deg, rgba(25, 18, 16, 0.08) 0%, rgba(25, 18, 16, 0.74) 100%),
        url("/static/assets/temp/quality.png");
}

.services-card .img {
    background-image:
        linear-gradient(180deg, rgba(25, 18, 16, 0.08) 0%, rgba(25, 18, 16, 0.74) 100%),
        url("/static/assets/images/servicios1.png");
}

.company-card .img {
    background-image:
        linear-gradient(180deg, rgba(25, 18, 16, 0.08) 0%, rgba(25, 18, 16, 0.74) 100%),
        url("/static/assets/temp/jesEmpresa.webp");
}

section.enlaces span {
    color: white;
    font-size: clamp(1.65rem, 2vw, 2.1rem);
    font-weight: 700;
}

section.enlaces p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
}

@media (max-width: 980px) {
    section.destacado {
        grid-template-columns: 1fr;
    }

    .destacado-copy h2 {
        max-width: none;
    }

    .destacado-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    header {
        position: fixed;
        right: -80vh;
        bottom: 0;
        width: min(24rem, 82vw);
        height: 100vh;
        padding: 1.875rem 0.75rem;
        background: linear-gradient(to bottom, white, var(--body-bg-color));
        justify-content: flex-start;
        align-items: flex-start;
    }

    header .logo,
    header .logo img {
        display: flex;
    }

    header .logo {
        width: 100%;
        justify-content: center;
    }

    header .logo img.imagotipo {
        display: block;
        width: min(220px, 75%);
        height: auto;
    }

    div.imagotipo {
        padding-top: 1.25rem;
    }

    .home-page {
        gap: 3rem;
        padding-bottom: 3.5rem;
    }

    .home-page section {
        padding-inline: 0.9rem;
    }

    section.presentacion {
        min-height: 36rem;
    }

    section.presentacion::before {
        background-image: url("/static/assets/temp/bannerMobile.webp");
        background-position: 24% center;
    }

    .hero-actions-section {
        margin-top: -1.6rem;
    }

    .destacado-points {
        grid-template-columns: 1fr;
    }

    .home-card {
        min-height: 18rem;
    }
}

@media (max-width: 480px) {
    section.presentacion {
        min-height: 32rem;
    }

    .hero-actions {
        flex-direction: column;
        padding-inline: 1rem;
    }

    .hero-actions a {
        width: 100%;
    }

    section.enlaces a {
        min-height: 320px;
    }
}

@media (max-width: 500px) {
    section.destacado .contacto {
        width: min(100%, 18rem);
        text-align: center;
    }

    section.enlaces a {
        min-height: 280px;
    }
}