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

:root {
    --naranja: #ff882f;
    --gris: rgba(217, 217, 217, 0.21);
    --ancho-contenido: 1500px;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    background-color: var(--gris);
}

.contenedor {
    width: min(100% - 90px, var(--ancho-contenido));
    margin: 0 auto;
}

/* ANIMACIONES */

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.presentacion,
.destacados,
.intro-servicio,
.panel-servicio,
.sobre-intro,
.bloque-equipo,
.ubicacion,
.contacto {
    animation: aparecer 1.2s ease-out forwards;
}

/* CABECERA */

.cabecera {
    width: 100%;
    background-color: var(--naranja);
}

.cabecera-contenido {
    min-height: 115px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo,
.logo-footer {
    display: block;
    text-decoration: none;
}

.logo {
    background-image: url("logo.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    width: 180px;
    height: 82px;
    flex: 0 0 180px;
    transition: 0.3s ease;
}

.logo:hover,
.logo-footer:hover {
    transform: scale(1.04);
    cursor: pointer;
}

.menu-top {
    display: flex;
    align-items: center;
    gap: 55px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.menu-top::-webkit-scrollbar {
    display: none;
}

.menu-top a {
    color: white;
    text-decoration: none;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    transition: 0.3s ease;
    flex: 0 0 auto;
}

.menu-top a:hover,
.menu-top a.activo-menu {
    color: black;
}

/* INDEX */

.fondo-central {
    width: 100%;
    background-image: url("CUATRO.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-bottom: 90px;
}

.presentacion {
    min-height: calc(100vh - 205px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(35px, 4vw, 80px);
    padding: 60px clamp(80px, 7vw, 140px) 45px;
}

.titulo {
    max-width: 650px;
    flex: 0 0 40%;
}

.titulo h1 {
    color: black;
    font-size: clamp(62px, 5vw, 100px);
    font-weight: 900;
    line-height: 1.05;
}

.titulo p {
    color: black;
    font-size: clamp(20px, 1.35vw, 26px);
    line-height: 1.35;
    margin-top: 45px;
}

.logo-grande {
    flex: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-grande img {
    width: min(118%, 1350px);
    min-width: 820px;
    height: auto;
    display: block;
    transition: 0.3s ease;
    transform: translateY(-40px);
}

.logo-grande img:hover {
    transform: translateY(-40px) scale(1.03);
}

/* BLOQUE INDEX */

.destacados {
    width: min(100% - 180px, 1180px);
    margin: 0 auto;
    background-color: var(--naranja);
    border-radius: 45px;
    padding: 80px 38px 90px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.categoria {
    background-color: rgba(255, 255, 255, 0.32);
    width: min(640px, calc(100% + 38px));
    margin-left: -38px;
    margin-bottom: 55px;
    padding: 28px 42px 32px;
}

.categoria h2 {
    color: white;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.1;
}

.main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 75px 50px;
}

article {
    width: 100%;
    overflow: hidden;
}

.superior {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.35s ease;
}

article:hover .superior {
    transform: scale(1.02);
    filter: brightness(1.04);
}

.superior-1 {
    background-image: url("semevent-carpet-2458558.jpg");
}

.superior-2 {
    background-image: url("kaboompics-girl-791231.jpg");
}

.superior-3 {
    background-image: url("wal_172619-ink-6887056.jpg");
}

.superior-4 {
    background-image: url("mv-fotos-wine-3272096.jpg");
}

.inferior {
    padding-top: 32px;
    max-width: 470px;
}

.inferior h3 {
    color: white;
    font-size: clamp(28px, 2.3vw, 38px);
    font-weight: 500;
}

.inferior p {
    color: white;
    font-size: clamp(16px, 1.15vw, 21px);
    line-height: 1.35;
    margin-top: 24px;
}

.saber,
#boton-correo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 45px;
    width: 140px;
    height: 50px;
    margin-top: 28px;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s ease;
    cursor: pointer;
}

.saber:hover,
#boton-correo:hover {
    background-color: #a45820;
    transform: translateY(-2px);
}

/* PÁGINAS INTERIORES */

.pagina-servicio {
    background-color: var(--gris);
    padding: 90px 0 120px;
}

.intro-servicio {
    width: min(100% - 180px, 1180px);
    margin: 0 auto 75px;
}

.intro-servicio h1 {
    color: var(--naranja);
    font-size: clamp(52px, 4vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
}

.intro-servicio p {
    max-width: 420px;
    color: black;
    font-size: 16px;
    line-height: 1.35;
}

.panel-servicio {
    width: min(100% - 180px, 1180px);
    margin: 0 auto;
    background-color: white;
    border-radius: 45px;
    padding: 80px 38px 90px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.panel-servicio .categoria {
    background-color: var(--naranja);
}

.grid-servicio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 75px 50px;
}

.card-servicio {
    width: 100%;
    overflow: hidden;
}

.card-servicio img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    background-color: #d9d9d9;
    transition: 0.35s ease;
}

.card-servicio:hover img {
    transform: scale(1.02);
    filter: brightness(1.04);
}

.card-servicio h3 {
    color: black;
    font-size: clamp(28px, 2.3vw, 38px);
    font-weight: 900;
    margin-top: 32px;
}

.card-servicio p {
    color: black;
    font-size: clamp(16px, 1.15vw, 21px);
    line-height: 1.35;
    margin-top: 24px;
}

/* SOBRE NOSOTROS */

.sobre-intro {
    width: min(100% - 180px, 1180px);
    margin: 0 auto 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.sobre-texto {
    max-width: 420px;
}

.sobre-texto h1,
.ubicacion-texto h1 {
    font-size: clamp(52px, 4vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
}

.sobre-texto p,
.ubicacion-texto p {
    font-size: 16px;
    line-height: 1.4;
}

.sobre-logo img {
    width: 100%;
    max-width: 520px;
    transition: 0.3s ease;
}

.sobre-logo img:hover {
    transform: scale(1.04);
}

/* EQUIPO */

.bloque-equipo {
    width: min(100% - 180px, 1180px);
    margin: 0 auto 90px;
    background-color: var(--naranja);
    border-radius: 45px;
    padding: 80px 38px 90px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.grid-equipo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-top: 40px;
}

.persona {
    text-align: center;
}

.persona img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 28px;
    transition: 0.3s ease;
}

.persona img:hover {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.persona h3 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 12px;
}

.persona p {
    font-size: 20px;
}

/* UBICACIÓN */

.ubicacion {
    width: min(100% - 180px, 1180px);
    margin: 0 auto 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
}

.ubicacion-texto {
    max-width: 450px;
}

.ubicacion-texto h4 {
    font-size: 20px;
    margin: 35px 0 25px;
}

.mapa {
    flex: 0 0 520px;
}

.mapa img,
.mapa iframe {
    width: 100%;
    max-width: 520px;
    height: 380px;
    border: none;
    border-radius: 20px;
    display: block;
    transition: 0.3s ease;
}

.mapa iframe:hover {
    transform: scale(1.01);
}

/* CONTACTO */

.contacto {
    width: min(100% - 180px, 1180px);
    margin: 0 auto;
    background-color: var(--naranja);
    border-radius: 45px;
    padding: 55px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.contacto-texto {
    max-width: 320px;
}

.contacto-texto h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
}

.contacto-texto p {
    color: white;
    line-height: 1.4;
}

.formulario {
    flex: 1;
}

.fila-formulario {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.formulario input,
.formulario textarea {
    width: 100%;
    border: none;
    padding: 18px;
    font-family: inherit;
}

.formulario textarea {
    min-height: 180px;
    resize: none;
}

/* FOOTER */

.footer {
    width: 100%;
    background-color: var(--naranja);
}

.footer-contenido {
    min-height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 20px 40px;
    flex-wrap: wrap;
}

.logo-footer {
    background-image: url("logo.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 200px;
    height: 90px;
    flex-shrink: 0;
    transition: 0.3s ease;
}

.info-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.info a,
.info p {
    color: white;
    text-decoration: none;
    font-size: clamp(16px, 1vw, 20px);
    line-height: 1.25;
    transition: 0.3s ease;
}

.info a:hover,
.info p:hover {
    color: black;
}

.ubi {
    background-image: url("iconos-01.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 26px;
    height: 38px;
    flex: 0 0 26px;
}

.contact {
    background-image: url("iconos-02.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 34px;
    height: 52px;
    flex: 0 0 34px;
}

/* TABLET GRANDE */

@media (max-width: 1100px) {
    .presentacion {
        gap: 30px;
        padding: 70px 45px 55px;
    }

    .titulo {
        flex: 0 0 42%;
    }

    .logo-grande {
        flex: 1;
        overflow: hidden;
    }

    .logo-grande img {
        min-width: 0;
        width: 100%;
        max-width: 560px;
        transform: none;
    }

    .logo-grande img:hover {
        transform: scale(1.03);
    }
}

/* TABLETA */

@media (max-width: 900px) {
    .contenedor {
        width: calc(100% - 40px);
    }

    .cabecera-contenido {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px 0;
    }

    .logo {
        width: 170px;
        height: 82px;
        flex: 0 0 auto;
    }

    .menu-top {
        width: 100%;
        gap: 35px;
    }

    .fondo-central {
        background-position: center top;
    }

    .presentacion {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 45px 60px;
        gap: 45px;
    }

    .titulo {
        width: 100%;
        max-width: 600px;
        flex: none;
    }

    .titulo h1 {
        font-size: 62px;
        line-height: 0.98;
    }

    .titulo p {
        font-size: 21px;
        margin-top: 32px;
    }

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

    .logo-grande img {
        min-width: 0;
        width: min(100%, 620px);
        max-width: 100%;
        transform: none;
    }

    .destacados,
    .intro-servicio,
    .panel-servicio,
    .sobre-intro,
    .ubicacion,
    .bloque-equipo,
    .contacto {
        width: calc(100% - 50px);
    }

    .destacados,
    .panel-servicio,
    .bloque-equipo,
    .contacto {
        padding: 65px 30px 70px;
    }

    .categoria,
    .panel-servicio .categoria {
        width: calc(100% + 30px);
        margin-left: -30px;
        padding: 26px 32px 30px;
    }

    .main,
    .grid-servicio,
    .grid-equipo {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .superior,
    .card-servicio img {
        height: 330px;
    }

    .card-servicio {
        max-width: 650px;
        margin: 0 auto;
    }

    .card-servicio p,
    .inferior p {
        max-width: 520px;
        line-height: 1.4;
    }

    .sobre-intro,
    .ubicacion,
    .contacto {
        flex-direction: column;
        align-items: flex-start;
        gap: 45px;
    }

    .sobre-logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .sobre-logo img {
        width: 100%;
        max-width: 480px;
    }

    .persona img {
        width: 240px;
        height: 240px;
    }

    .mapa,
    .mapa iframe {
        width: 100%;
        max-width: 100%;
    }

    .mapa iframe {
        height: 360px;
    }

    .contacto-texto {
        max-width: none;
    }

    .fila-formulario {
        flex-direction: column;
    }

    .footer-contenido {
        min-height: auto;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding: 25px 0;
    }

    .info-footer {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .info {
        justify-content: center;
        text-align: center;
    }
}

/* MÓVIL */

@media (max-width: 600px) {
    .contenedor {
        width: calc(100% - 28px);
    }

    .cabecera-contenido {
        padding: 18px 0;
        gap: 14px;
    }

    .logo {
        width: 150px;
        height: 70px;
    }

    .menu-top {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 24px;
        padding-bottom: 5px;
    }

    .menu-top a {
        font-size: 15px;
    }

    .presentacion {
        padding: 55px 24px 50px;
        gap: 34px;
    }

    .titulo h1,
    .intro-servicio h1 {
        font-size: clamp(42px, 9vw, 58px);
        line-height: 0.95;
    }

    .titulo p {
        font-size: 17px;
        line-height: 1.4;
        margin-top: 26px;
    }

    .logo-grande img {
        width: 100%;
        max-width: 390px;
    }

    .pagina-servicio {
        padding: 55px 0 75px;
    }

    .intro-servicio {
        margin-bottom: 55px;
    }

    .intro-servicio p {
        font-size: 16px;
    }

    .destacados,
    .intro-servicio,
    .panel-servicio,
    .sobre-intro,
    .ubicacion,
    .bloque-equipo,
    .contacto {
        width: calc(100% - 28px);
    }

    .destacados,
    .panel-servicio,
    .bloque-equipo,
    .contacto {
        border-radius: 32px;
        padding: 45px 22px 58px;
    }

    .categoria,
    .panel-servicio .categoria {
        width: calc(100% + 22px);
        margin-left: -22px;
        padding: 22px 24px 26px;
        margin-bottom: 45px;
    }

    .categoria h2 {
        font-size: 38px;
        line-height: 1;
    }

    .main,
    .grid-servicio {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .superior,
    .card-servicio img {
        height: 240px;
    }

    .inferior {
        max-width: none;
    }

    .inferior h3,
    .card-servicio h3 {
        font-size: 24px;
        line-height: 1.1;
    }

    .inferior p,
    .card-servicio p {
        font-size: 16px;
        line-height: 1.45;
    }

    .sobre-intro {
        gap: 35px;
    }

    .sobre-texto h1,
    .ubicacion-texto h1 {
        font-size: 40px;
        line-height: 1;
    }

    .sobre-texto p,
    .ubicacion-texto p {
        font-size: 16px;
        line-height: 1.4;
    }

    .persona img {
        width: 210px;
        height: 210px;
    }

    .persona h3 {
        font-size: 26px;
    }

    .persona p {
        font-size: 17px;
    }

    .ubicacion {
        gap: 35px;
    }

    .ubicacion-texto h4 {
        font-size: 17px;
        line-height: 1.35;
    }

    .mapa iframe {
        height: 280px;
        border-radius: 18px;
    }

    .contacto-texto h2 {
        font-size: 34px;
        line-height: 1.05;
    }

    .contacto-texto p {
        font-size: 16px;
    }

    .formulario input,
    .formulario textarea {
        padding: 15px;
        font-size: 14px;
    }

    .formulario textarea {
        min-height: 150px;
    }

    .logo-footer {
        width: 150px;
        height: 70px;
    }

    .info a,
    .info p {
        font-size: 15px;
    }
}