@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;0,500;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Kanit:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: black;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* Layout */
.container {
    margin: 0 150px;
}

/* Header */
.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)),
        url(imagenes/fondo-home2.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    animation: blurFade 0.8s ease forwards;
}

@keyframes blurFade {
    from {
        opacity: 0;
        filter: blur(12px);
        transform: scale(1);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Menu */
.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.LOGO img {
    max-width: 170px;
    height: auto;
    padding-top: 8px;
}

.hamburguer {
    display: none;
}

/* Navbar */
.navbar {
    overflow: hidden;
}

.navbar ul {
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: white;
    transition: 0.3s ease;
    display: block;
    font-weight: 500;
    font-style: italic;
}

.navbar:hover a {
    color: rgba(255, 255, 255, 0.4);
}

.navbar a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Header Content */
.header-content {
    max-width: 550px;
}

.header-content h1 {
    font-family: "domine", serif;
    color: #dbc79a;
    text-transform: uppercase;
    line-height: 80px;
    font-size: 2.1rem;
    max-width: 550px;
}

.header-content p {
    color: white;
    font-size: 1rem;
    margin-top: 30px;
    font-family: "domine", serif;
    font-weight: 100;
    line-height: 1.8;
    max-width: 550px;
}

/* Buttons */
.buttons {
    display: flex;
    margin-top: 25px;
    gap: 10px;
    width: fit-content;
}

.buttons a {
    color: white;
    padding: 5px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.header-content .instagram:hover,
.header-content .whatsapp:hover {
    background-color: rgba(255, 0, 0, 0.35);
    cursor: pointer;
}

/* Tablet */
@media (max-width: 1040px) {
    .container {
        margin: 0 60px;
    }

    .header {
        justify-content: center;
        text-align: center;
    }

    .header-content {
        text-align: center;
        max-width: 90%;
    }

    .header-content h1 {
        line-height: 60px;
        font-size: 1.9rem;
    }

    .header-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .buttons {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile */
@media (max-width: 870px) {

    .menu {
        padding: 10px 20px;
    }

    .hamburguer {
        display: block;
        position: relative;
        width: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        margin-bottom: 10px;
    }

    .hamburguer .bar {
        display: block;
        width: 100%;
        height: 4px;
        background: white;
        margin-top: 5px;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburguer.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburguer.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburguer.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        max-width: 300px;
        height: 100vh;
        background: black;
        padding-top: 100px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        width: 100%;
        text-align: center;
    }

    .navbar ul li a {
        padding: 15px;
        font-size: 20px;
    }

    .container {
        margin: 0 30px;
    }

    .header {
        justify-content: center;
        padding: 40px 0;
    }

    .header-content h1 {
        font-size: 1.7rem;
        line-height: 50px;
    }

    .header-content p {
        font-size: 0.95rem;
    }

    .buttons {
        gap: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .container {
        margin: 0 20px;
    }

    .header {
        padding-top: 80px;
        justify-content: center;
    }

    .header-content h1 {
        font-size: 1.5rem;
        line-height: 42px;
    }

    .header-content p {
        font-size: 0.9rem;
    }

    .buttons a {
        padding: 3px;
    }

    .LOGO img {
        max-width: 140px;
    }

    .hamburguer {
        width: 30px;
        margin-bottom: 10px;
    }
}


#Jobs {
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

#Jobs h2 {
    font-family: "domine", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #dbc79a;
    text-transform: uppercase;
    font-size: 1.8rem;
}
#Jobs p {
    color: white;
    font-size: clamp(0.5rem, 2vw + 0.5rem, 1rem);
    margin-bottom: 75px;
    margin-top: 30px;
    font-family: "domine", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    line-height: 1.8;
}
.button-vermas {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0 auto;
    width: 80px;
    height: 30px;
    border: solid 1.5px white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.button-vermas:hover {
    background-color: white;
    transform: scale(1.1);
}
.button-vermas a {
    color: white;
    font-size: 1rem;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}
.button-vermas:hover a{
    color: black;
}


/* GRILLA */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 80px;
}
.jobs-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.jobs-grid img:hover {
    transform: scale(1.05); 
    filter: brightness(1.1); 
}

.grid-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.grid-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Carrusel oculto */
.carousel-track {
    display: none;
}
@media (max-width: 1200px) {
    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 20px;
    }
    

}
@media (max-width: 992px) {
    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        padding: 0 20px;
    }
}
@media (max-width: 850px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 10px;
    }
}
@media (max-width: 768px) {

    /* Ocultar grilla */
    .jobs-grid {
        display: none;
    }
    #Jobs{
        margin: 150px 10px;
    }
    #Jobs h2 {
        line-height: 60px;
        font-size: 1.6rem;
    }
    .carousel-container {
        height: 50vh; /* Altura cómoda en Android */
        overflow: hidden;
    }
    .carousel-track {
        height: 100%;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .carousel-track img {
        height: 50vh !important;  /* Ajusta al alto visible del carrusel */
        width: auto !important;
        object-fit: cover;
        scroll-snap-align: center;
        margin: 0 5px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    .button-vermas {
        width: 70px;
        height: 30px;
    }
    .button-vermas a {
        font-size: 1rem;
    }
}

/* TITULO SERVICIOS */
#title-services {
    font-family: "domine", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #dbc79a;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-align: center;
    padding-top: 150px;
}

/* SERVICIOS */
#services {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 70px 80px;
    flex-wrap: wrap;
    color: white;
}

#services > div {
    flex: 1 1 300px;
    max-width: 400px;
    background: #111;
    padding: 40px 30px;
    border-radius: 10px;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
}

#services > div.active {
    opacity: 1;
    transform: translateY(0);
}

#services > div a {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

#services > div:hover,
#services > div:focus-within {
    background: #181818;
    transform: translateY(-6px);
}

#services h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

#services p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

#services svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

#services > div:hover svg {
    transform: translateX(6px);
}

#services .precios {
    color: #dbc79a;
}

@media (max-width: 1024px) {
    #services {
        padding: 100px 40px;
        gap: 25px;
    }
    #services > div {
        flex: 1 1 45%;
        max-width: none;
    }
}
@media (max-width: 768px) {
    #services {
        flex-direction: column;
        padding: 60px 20px;
    }

    #services > div {
        width: 100%;
        padding: 30px 20px;
    }

    #services h3 {
        font-size: 20px;
    }

    #services p {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    #services {
        padding: 50px 15px;
    }

    #services > div {
        padding: 25px 18px;
        border-radius: 8px;
    }

    #services h3 {
        font-size: 19px;
    }

    #services p {
        font-size: 14px;
        line-height: 1.5;
    }

    #services svg,
    .size-6 {
        width: 26px;
        height: 26px;
    }
}


#producto-section {
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    background-color: black;
}
.images-producto img {
    width: auto;
    max-width: 600px;
    height: auto;
    display: block;
}
.text {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: left;
    max-width: 600px;
}
.images-producto,
.text {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.images-producto.animate {
    opacity: 1;
    transform: translateX(0);
}
.text.animate {
    opacity: 1;
    transform: translateX(0);
}
.images-producto { /* Ajustes de entrada */
    transform: translateX(-60px);  
}
.text {
    transform: translateX(60px);  
}
.text h2 {
    font-family: "domine", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #dbc79a;
    text-transform: uppercase;
    font-size: 2rem;
}
.highlight1 {
    color: white;
    text-transform: uppercase;
}
.highlight {
    color: #dbc79a;
}
.text p {
    color: #ccc;
    font-size: 1rem;
    margin-top: 35px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.8;
}
@media (max-width: 1200px) {
    #producto-section {
        gap: 60px; 
        padding: 120px 80px;
    }
}
@media (max-width: 900px) {
    #producto-section {
        padding: 100px 40px;
        flex-direction: column;        
        text-align: center;
        gap: 60px;
    }

    .text {
        text-align: center;  
        max-width: 100%;
        align-items: center;           
    }

    .text h2 {
        font-size: 1.8rem;
    }

    .text p {
        font-size: 0.95rem;
    }

    .images-producto img {
        max-width: 400px;              
    }
}
@media (max-width: 600px) {
    #producto-section {
        padding: 80px 20px;
        gap: 40px;
    }

    .text h2 {
        font-size: 1.5rem;
    }

    .text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-top: 25px;
    }

    .images-producto img {
        max-width: 300px;              
    }
}

#ubicaciones {
    background: #000;
    padding: 100px 8% 120px;
    color: #fff;
}

.ubicaciones-header {
    text-align: center;
    margin-bottom: 70px;
}

.ubicaciones-header h2 {
    font-family: "domine", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #dbc79a;
    text-transform: uppercase;
    font-size: 2rem;
}

.ubicaciones-header p {
    color: #bdbdbd;
    margin-top: 10px;
}

/* Grid */
.ubicaciones-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

/* Card */
.ubicacion-card {
    background: #0f0f0f;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ubicacion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Imagen */
.ubicacion-card img {
    width: 100%;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

/* Info */
.ubicacion-info {
    padding: 24px;
    text-align: center;
}

.ubicacion-info h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.ubicacion-info p {
    color: #bdbdbd;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.ubicacion-info span {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #dbc79a;
    text-transform: uppercase;
}

/* Fade Up base */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Cuando entra en pantalla */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */
@media (max-width: 900px) {
    .ubicaciones-grid {
        grid-template-columns: 1fr;
    }
}



/* FOOTER */
.footer {
    background: #000;
    color: #cfcfcf;
    padding: 150px 8% 30px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1400px;   
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

/* Brand */
.footer-brand img {
    width: 200px;
    
}

.footer-brand p {
    max-width: 420px;
    line-height: 1.7;
    color: #bdbdbd;
}

/* Columnas */
.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 70px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #8a8a8a;
    letter-spacing: 0.5px;
}

.footer-bottom span {
    color: #bdbdbd;
}

.footer-bottom a {
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-brand p {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 20px;
    }
}
