/* =========================================================
   ESTILOS BASE (GLOBALES Y HEADER)
   ========================================================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

:root {
    --9: 90%;
    --MainColor: #b29472;
    --AllH: 100%;
}

@font-face {
    font-family: 'Sugar';
    src: url(/ASSETS/FONTS/brown-sugar.ttf);
}

@font-face {
    font-family: 'Campton';
    src: url(/ASSETS/FONTS/CamptonMedium.otf);
}

/* ANIMACIONES */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

[data-animate].visible {
    opacity: 1;
    transform: none;
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="slide-up"] {
    transform: translateY(30px);
}

[data-animate="slide-right"] {
    transform: translateX(-30px);
}

[data-animate="zoom-in"] {
    transform: scale(0.8);
}

/* HEADER Y NAV */
header {
    width: 100%;
    height: 49rem;
    background-image: url(/ASSETS/IMG/ubihero.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-flow: column wrap;
    place-content: center;
    color: white;
    font-family: Campton;
}

nav {
    width: var(--9);
    height: 15rem;
    display: flex;
    flex-flow: column wrap;
    place-content: center;
}

.Top__Banner {
    width: 95%;
    height: 45%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.Box {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

#logo {
    max-width: var(--logo-size, 20rem);
    width: 100%;
    height: auto;
    object-fit: contain;
    padding-bottom: 3rem;
}

.contact {
    text-decoration: none;
    color: white;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.contactIcon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    filter: invert(1);
}

.langBox {
    position: relative;
    display: inline-block;
    z-index: 100;
}

.langBtn {
    background: none;
    border: none;
    color: white;
    text-transform: uppercase;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.flag {
    width: 18px;
    height: 18px;
}

.arrowIcon {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
}

.En {
    display: none;
    position: absolute;
    top: 10;
    right: 0;
    background-color: #0c0c0c;
    backdrop-filter: blur(6px);
    min-width: 150px;
    padding: 10px;
    border-radius: 6px;
    z-index: 200;
    box-shadow: 0 4px 10px #00000035;
}

.En>a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
}

.langBox:hover .En {
    display: block;
}

.Bottom__Banner {
    width: 95%;
    height: 45%;
    display: flex;
    flex-flow: column wrap;
    place-content: center;
    border-top: .2rem solid white;
    z-index: 1;
}

ul {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    list-style: none;
}

li>a {
    text-decoration: none;
    color: white;
    transition: ease-in-out .3s;
    padding: 1rem;
}

li>a:hover {
    background-color: #b29472;
}

/* HERO BANNER DE UBICACIONES */
.Hero__Banner {
    width: var(--9);
    height: 28rem;
    display: flex;
    place-content: center;
    flex-flow: column wrap;
    user-select: none;
}

.Hero__Banner__Content {
    width: 90%;
    height: 80%;
    text-align: center;
    place-content: center;
    font-size: 4rem;
}

.Hero__Banner__Content>span {
    display: block;
    padding-bottom: 1rem;
    font-family: Sugar;
    font-size: 8rem;
    color: var(--MainColor);
}

.Hero__Banner__Content>a {
    font-size: 1rem;
    text-decoration: none;
    color: white;
    padding: 1rem 2rem;
    border: .1rem solid white;
    border-radius: 4rem;
    transition: all ease-in-out .3s;
}

.Hero__Banner__Content>a:hover {
    background-color: var(--MainColor);
    border: none;
}

/* =========================================================
   SECCIÓN DE UBICACIONES (ubi__cards)
   ========================================================= */
.ubi__cards {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5rem;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.card-container {
    display: flex;
    width: 80%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.card-image {
    flex: 40%;
    min-height: 400px;
}
.card-image img{
    object-fit: cover;
}

.card-content {
    flex: 60%;
    background-color: #36322E;
    color: #F8F4E8;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: Campton;
}

.location-text {
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: Sugar;
    color: var(--MainColor);
}

.separator {
    border: none;
    border-top: 1px solid var(--MainColor);
    margin: 15px 0;
    width: 60%;
}

.address,
.phone {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: Campton;
    padding-right: 6rem;
}

.phone {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 40px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    font-family: Campton;
}

.btn-cita {
    background-color: var(--MainColor);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 3rem;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.link-mapa {
    color: #F8F4E8;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.arrow-icon {
    font-size: 1.5rem;
    margin-left: 8px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.btn-cita:hover {
    background-color: transparent;
    border: 1px solid var(--MainColor);
    transform: scale(1.03);
}

.link-mapa:hover .arrow-icon {
    transform: translateX(5px);
}

/* =========================================================
   SECCIÓN DE HORARIOS (ubi__schedule)
   ========================================================= */
.ubi__schedule {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.schedule-card-container {
    background-color: #B49A78;
    padding: 1rem 2rem;
    width: 50%;
    margin: 5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #36322E;
    font-family: Campton;
}

.schedule-title {
    font-size: 6rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.15em;
    font-family: Sugar;
}

.schedule-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    font-family: Campton;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* Línea divisora */
}

.schedule-group:last-child {
    border-bottom: none;
    /* Quitar línea en el último elemento */
}

.schedule-day {
    flex: 1;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.schedule-times {
    margin: 0;
    padding: 0;
    text-align: right;
}

.time-slots {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.time-slots li {
    font-size: 1.4rem;
}

.single-slot,
.closed {
    display: block;
    font-size: 1.4rem;
}

.closed {
    font-weight: bold;
}

/* =========================================================
   SECCIÓN DE CONTACTO Y FOOTER
   (Reutilizando estilos de la solicitud anterior y adaptando)
   ========================================================= */
.Contact {
    width: 100%;
    height: auto;
    background-color: white;
    display: flex;
    place-content: center;
    flex-direction: column;
    text-align: center;
}

.form {
    width: 80%;
    height: 55rem;
    align-self: center;
    display: flex;
    place-content: center;
    padding-top: 6rem;
    padding-bottom: 3rem;
    flex-direction: row;
}

.form__data {
    width: 49%;
    height: 100%;
    background-color: #eaeaea;
    display: flex;
    place-content: top;
    flex-direction: column;
    text-align: center;
    gap: 4rem;
}

.form__data h1 {
    font-family: Campton;
    font-size: 3rem;
    padding-top: 3rem;
    color: #4b4b4b;
}

.form__img {
    width: 49%;
    height: 100%;
}

.form__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

form {
    padding-bottom: 2rem;
}

form div {
    padding-bottom: 1rem;
}

input {
    color: #636363;
    width: 85%;
    padding: 1.5rem;
    font-family: Campton;
    font-size: 1.3rem;
    border: 1px black solid
}

form button {
    border: none;
    color: white;
    background-color: var(--MainColor);
    padding: .5rem 12rem;
    border-radius: 10rem;
    font-family: Campton;
    font-size: 1.5rem;
    cursor: pointer;
    transition: .3s all ease-in-out;
}

form button:hover {
    background-color: #3a3a3a;
    color: white;
}

#stack {
    padding-bottom: 3rem;
}

.contact-options {
    gap: 40px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.contact__directions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 60%;
    flex-direction: row;
}

.contact-item {
    padding: 0 25px;
    text-align: center;
    color: #3a3a3a;
    font-family: Campton;
    font-size: 1.6rem;
    letter-spacing: 1px;
    border-right: 1px solid #3a3a3a;
}

.contact-item a {
    text-decoration: none;
    color: #3a3a3a;
    text-transform: uppercase;
}

.contact-item:last-child {
    border-right: none;
}

footer {
    width: 100%;
    height: auto;
    background-color: #3a3a3a;
    display: flex;
    place-content: center;
    flex-direction: column;
    padding: 7rem;
}

.footer__img {
    margin: 0 auto;
    width: 50%;
    height: 10rem;
}

.footer__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__links {
    margin: 0 auto;
    width: 80%;
    height: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.footer__links a {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    font-family: Campton;
    position: relative;
    padding-bottom: .3rem;
}

.footer__links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: currentColor;
    transition: width .3s ease;
}

.footer__links a:hover::after {
    width: 100%;
}


/* =========================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================= */

/* ------------------ */
/* TABLETAS (<= 1024px) */
/* ------------------ */
@media (max-width: 1024px) {

    /* HEADER & NAV */
    header {
        height: auto;
        min-height: 500px;
    }

    nav {
        width: 100%;
        height: auto;
    }

    .Top__Banner,
    .Bottom__Banner {
        width: 90%;
        margin: 0 auto;
    }

    #logo {
        max-width: 15rem;
        padding-bottom: 1rem;
    }

    ul {
        gap: 1.5rem;
        justify-content: center;
    }

    /* HERO BANNER */
    .Hero__Banner {
        height: auto;
        padding: 3rem 0;
    }

    .Hero__Banner__Content {
        width: 100%;
        font-size: 3rem;
    }

    .Hero__Banner__Content>span {
        font-size: 6rem;
    }

    /* UBICACIONES */
    .ubi__cards {
        gap: 3rem;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .card-container {
        width: 95%;
    }

    .card-image {
        min-height: 300px;
        flex: 45%;
    }

    .card-content {
        flex: 55%;
        padding: 25px;
    }

    .location-text {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }

    .actions {
        gap: 20px;
    }

    /* HORARIOS */
    .schedule-card-container {
        width: 70%;
        margin: 3rem auto;
    }

    .schedule-title {
        font-size: 4rem;
        margin-bottom: 2rem;
    }

    .schedule-day,
    .time-slots li,
    .single-slot,
    .closed {
        font-size: 1.2rem;
    }

    .schedule-group {
        padding: 1.5rem 0;
    }

    /* CONTACTO */
    .form {
        width: 90%;
        height: auto;
        flex-direction: column;
        padding-top: 3rem;
    }

    .form__img,
    .form__data {
        width: 100%;
        height: auto;
    }

    .form__data {
        order: 2;
        gap: 2rem;
        padding-bottom: 3rem;
    }

    .form__img {
        order: 1;
    }

    .form__data h1 {
        font-size: 2.5rem;
        padding-top: 1.5rem;
    }

    input {
        width: 90%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    form button {
        padding: 0.5rem 8rem;
        font-size: 1.3rem;
    }

    /* FOOTER */
    footer {
        padding: 5rem 2rem;
    }

    .footer__img {
        width: 70%;
        height: 8rem;
    }

    .footer__links {
        width: 90%;
        height: auto;
        gap: 2rem;
    }
}

/* ------------------ */
/* MÓVILES OPTIMIZADOS (<= 768px) */
/* ------------------ */
@media (max-width: 768px) {

    /* HERO BANNER */
    .Hero__Banner {
        height: auto;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .Hero__Banner__Content {
        width: 100%;
        font-size: 1.8rem;
        padding: 0;
    }

    .Hero__Banner__Content>span {
        font-size: 3rem;
        margin-bottom: 1rem;
        display: block;
        letter-spacing: normal;
    }

    .Hero__Banner__Content>a {
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
        margin-top: 1rem;
        display: inline-block;
    }

    /* UBICACIONES - CARDS */
    .ubi__cards {
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .card-container {
        flex-direction: column;
        /* apila imagen y contenido */
        width: 95%;
        max-width: 400px;
        margin: 0 auto;
    }

    .card-image {
        width: 100%;
        min-height: 200px;
    }

    .card-content {
        width: 100%;
        padding: 20px;
    }

    .location-text {
        font-size: 2rem;
        letter-spacing: normal;
        margin-bottom: 10px;
    }

    .address,
    .phone {
        font-size: 1rem;
        padding-right: 0;
    }

    .actions {
        flex-direction: column;
        /* apila botones */
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .btn-cita {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .link-mapa {
        font-size: 0.9rem;
    }

    /* HORARIOS */
    .schedule-card-container {
        width: 100%;
        max-width: 360px;
        padding: 15px;
        margin: 2rem auto;
    }

    .schedule-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .schedule-day,
    .time-slots li,
    .single-slot,
    .closed {
        font-size: 1rem;
    }

    .schedule-group {
        padding: 0.8rem 0;
    }

    /* FORMULARIO Y CONTACTO */
    .form {
        width: 95%;
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .form__data,
    .form__img {
        width: 100%;
        height: auto;
        order: unset;
    }

    .form__data h1 {
        font-size: 2rem;
    }

    input {
        width: 95%;
        font-size: 1rem;
        padding: 1rem;
    }

    form button {
        padding: 0.5rem 5rem;
        font-size: 1.1rem;
    }

    /* CONTACT OPTIONS */
    .contact__directions {
        flex-direction: column;
        gap: 10px;
    }

    .contact-item {
        border: none;
        padding: 10px 0;
        font-size: 1.2rem;
    }

    /* FOOTER */
    footer {
        padding: 3rem 1rem;
    }

    .footer__img {
        width: 80%;
        height: auto;
    }

    .footer__links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
}

/* ------------------ */
/* MÓVILES (<= 768px) */
/* ------------------ */
@media (max-width: 768px) {


    /* HEADER & NAV */
    .Top__Banner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .Box {
        width: 100%;
        text-align: center;
    }

    .Bottom__Banner {
        border-top: none;
        padding-top: 0;
    }

    ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    li {
        width: 100%;
        text-align: center;
        border-top: .1rem solid rgba(255, 255, 255, 0.2);
    }

    li:last-child {
        border-bottom: .1rem solid rgba(255, 255, 255, 0.2);
    }

    li>a {
        display: block;
        padding: 1rem;
    }

    /* HERO BANNER */
    .Hero__Banner {
        height: auto;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .Hero__Banner__Content {
        width: 100%;
        text-align: center;
        font-size: 1.8rem;
        padding-left: 3rem;
    }

    .Hero__Banner__Content>span {
        font-size: 3rem;
        display: block;
        margin-bottom: 1rem;
    }

    .Hero__Banner__Content>a {
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
        margin-top: 1rem;
        display: inline-block;
    }

    /* UBICACIONES (Cards) */
    .ubi__cards {
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .card-container {
        flex-direction: column;
        /* Apila imagen y contenido */
        width: 95%;
        max-width: 400px;
        margin: 0 auto;
    }

    .card-image {
        width: 100%;
        min-height: 200px;
    }

    .card-content {
        width: 100%;
        padding: 20px;
    }

    .location-text {
        font-size: 2rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }

    .actions {
        flex-direction: column;
        /* Apila los botones */
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .btn-cita {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .link-mapa {
        font-size: 0.9rem;
    }

    /* HORARIOS */
    .schedule-card-container {
        width: 100%;
        max-width: 360px;
        padding: 15px;
        margin: 2rem auto;
    }

    .schedule-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .schedule-day,
    .time-slots li,
    .single-slot,
    .closed {
        font-size: 1rem;
    }

    .schedule-group {
        padding: 0.8rem 0;
    }

    /* CONTACTO & FOOTER: No se modifican */
}
/* PANTALLAS GRANDES (>= 1025px) */
@media (min-width: 1455px) {
    .location-text {
        font-size: 7rem;
        letter-spacing: 0;
    }

    .address {
        padding-right: 16rem;
        font-size: 2rem;
    }
}