/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {

/* ======================
    ELIMINADAS LAS REGLAS .logo-fixed que NO se usan en el HTML.
    ====================== */

    /*========== Colors ==========*/
    /* Change favorite color to match images */
    /*Green dark 190 - Green 171 - Grren Blue 200*/
    --hue-color: 190;

    /* HSL color mode */
    --first-color: hsl(var(--hue-color), 64%, 22%);
    --first-color-second: hsl(var(--hue-color), 64%, 22%);
    --first-color-alt: hsl(var(--hue-color), 64%, 15%);
    --title-color:  #FFF;
    --text-color: #FFF;
    
    --text-color-light: hsl(var(--hue-color), 8%, 60%);
    --input-color: hsl(var(--hue-color), 24%, 97%);
    --body-color: hsl(0deg 0% 0%);
    --white-color: #FFF;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);

    /*========== Font and typography ==========*/
    --body-font: 'Helvetica Neue', sans-serif;
    --title-font: 'Helvetica Neue', sans-serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 3rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;

    /*========== Hover overlay ==========*/
    --img-transition: .3s;
    --img-hidden: hidden;
    --img-scale: scale(1.1);
    --img-scale-icon: scale(1.2);
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1.5rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
    --first-color-second: hsl(var(--hue-color), 54%, 12%);
    --title-color: hsl(var(--hue-color), 24%, 95%);
    --text-color: hsl(var(--hue-color), 8%, 75%);
    --input-color: hsl(var(--hue-color), 29%, 16%);
    --body-color: hsl(var(--black-color), 29%, 12%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}


/*========== Button Dark/Light ==========*/
.nav__dark {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    position: absolute;
    left: 3rem;
    bottom: 4rem;
}

.change-theme, .change-theme-name {
    color: var(--text-color);
}

.change-theme {
    cursor: pointer;
    font-size: 1rem;
}

.change-theme-name {
    font-size: var(--small-font-size);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #121212;
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input {
    border: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

button {
    cursor: pointer;
}

input {
    outline: none;
}

.portafolios{
    margin-top: 5%;
}

.title-menu {
    font-size: 70px;
}

.main {
    overflow-x: hidden;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.top-left {
    position: absolute;
    top: 40%;
    left: 12%;
}

.top-logo {
    position: fixed;  
    left: 3%;
    width: 100px;
}

.top-title { 
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.section {
    padding: 4.5rem 0 2.5rem;
}

.video_mobile{
    top: 1%;
    height: 50%; width: 100%;
}

.video_pc {
    top: 2%;
    display: none;
}
.section__sign {
    z-index:-1;
    position: absolute;
    transform: translate(-48%, -70%);
    width: 45%;
    
    margin: 0 auto;
}
.section__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: var(--mb-2);
}

.container {
    max-width: 968px;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.grid {
    display: grid;
    
}

/*=============== HEADER (MODIFICADO) ===============*/
.header {
    width: 100%; /* Ocupa todo el ancho */
    position: fixed;
    top: 0;
    left: 0; /* Fija a la izquierda */
    z-index: var(--z-fixed);
    background-color: transparent;
    padding: 0 1rem; /* Pequeño padding a los lados */
}

/*=============== NAV (MODIFICADO) ===============*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between; /* CLAVE: Logo a la izquierda, Menú a la derecha */
    align-items: center;
    margin-top: 30px;
}

.nav__logo, .nav__toggle {
    color: var(--white-color);
}

/* REGLAS DEL LOGO */
.nav__logo {
    font-weight: var(--font-semi-bold);
    /* El tamaño lo dará la imagen que está dentro */
}
.nav.container {
    padding-left: -5px; /* ajusta a tu gusto, esto controla distancia desde el borde izquierdo */
    padding-right: 0px; /* iguala con el margen derecho del toggle para simetría */
}


/* TAMAÑO DEL LOGO EN MÓVIL (PEQUEÑO) */
.nav__logo img {
    height: 80px; 
    width: auto;
    display: block;
    object-fit: contain;
}

.nav__toggle {
    font-size: 2rem;
    cursor: pointer;
    /* Eliminado el margin-right: 70px */
}

.nav__menu {
    display: flex;
}

.nav__menu {
    display: flex;
    column-gap: 0.9rem
}

@media screen and (max-width: 1200px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        width: 50%;
        height: 100%;
        box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
        padding: 1.7rem;
        transition: .4s;
    }
}

.nav__list {
     display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
    margin-top: 40px;
}



.nav__link {
    color: var(--text-color-light);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
}

.nav__link:hover {
    color: var(--text-color);
}

.nav__close {
    position: absolute;
    top: .75rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

/* show menu */
.show-menu {
    right: 0;
}



.scroll-header .nav__logo,
.scroll-header .nav__toggle {
    color: var(--title-color);
}

/* Active link */
.active-link {
    position: relative;
    color: var(--title-color);
}

.active-link::before {
    content: '';
    position: absolute;
    background-color: var(--title-color);
    width: 100%;
    height: 2px;
    bottom: -.75rem;
    left: 0;
}

/*=============== HOME ===============*/
.home__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 83%;
}

.home__container {
    position: relative;
    height: calc(100vh - var(--header-height));
    align-content: center;
    row-gap: 3rem;
}

.home__data-subtitle, 
.home__data-title, 
.home__social-link, 
.home__info {
    color: var(--white-color);
}

.home__data-subtitle {
    display: block;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}

.home__data-title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-2-5);
}

.home__social {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.home__social-link {
    font-size: 1.2rem;
    width: max-content;
}

.home__info {
    background-color: var(--first-color);
    display: flex;
    padding: 1.5rem 1rem;
    align-items: center;
    column-gap: .5rem;
    position: absolute;
    right: 0;
    bottom: 1rem;
    width: 228px;
}

.home__info-title {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}

.home__info-button {
    font-size: var(--smaller-font-size);
}

.home__info-overlay {
    overflow: var(--img-hidden);
}

.home__info-img {
    width: 145px;
    transition: var(--img-transition);
}

.home__info-img:hover {
    transform: var(--img-scale);
}

.botom__menu{
    text-align: center;
    font-size: 1.5rem;
}

.nosotros{
    text-align: center;
    font-size: 18px;
}
.text_index{
        margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.text_production{
    font-size: 30px; 
    position: absolute; 
    left: 20%;
    top: 86px; 
    text-align: left; 
}

.production_image_pc{
    width: 120%; 
    height: 120%; 
    max-width: 150%;
    left: 20%;
    display: none;
}

.production_image_mobile{
    width: 100%; 
    height: 120%; 
    max-width: 150%;
    left: 20%;
}

.text_services{
    font-size:35px; 
    margin-left:25px; 
    text-align: left;
}

.service_description{
    font-size:24px; 
    margin-left:25px; 
    color: gray; 
    margin-top:5px;
    text-align: left;
}

.contact_description{
    font-size: 2.5rem; 
    position: absolute; 
    left: 15%;                          
    top: 40%; 
    text-align: left; 
}

.correccion_text{
    margin-left: 17%; 
    margin-right: 17%; 
    color:gray;
    font-size: 20px;
}

.contact_img{
    width:200%; 
    margin-left: -30%;
}
.block_contact{
    font-size: 50px; 
    margin-left: 17%;    
    text-align: left; 
    color:gray;
    margin-top: -100px;
}

.contact__img_pc{
    height: 100%; 
    width: 100%;
    display: none;
}
.contact__img_mobile{
    height: 100%; 
    width: 100%;
    
}

.index_title{
    font-size: 25px;
}

.nosotros_text{
    text-align: left; 
    font-size: 20px; 
    color: gray; 
    margin-left: 60px; 
    margin-right: 60px;
}
/* ==================== ESTILO PARA SEPARAR EL TÍTULO "NOSOTROS" DEL PÁRRAFO ==================== */

/* Apunta directamente al H1 que está dentro del contenedor con la clase .nosotros */
.nosotros h1 {
    /* Crea un espacio de 1.5rem (aproximadamente 24px) debajo del título, 
       empujando el párrafo hacia abajo. */
    margin-bottom: 1.5rem; 
}

.close-btn {
    width: 35px;
    height: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 200px;
    right: 20px;
    cursor: pointer;
}
.place__container {
    justify-content: center;
}

.servicios{
    display: grid;
}

.column {
    float: left;    
}
.servicios__text{
    margin-left: 10%;
    margin-right: 10%;
}

.sign{
    display:block;
    margin: auto;
        width: 150px;
        height: 20%;
}
.icon__top{
    margin-top: 20px;
    display: flex; justify-content: center;
}

/*=============== BUTTONS ===============*/
.button {
    display: inline-block;
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
}

.button:hover {
    background-color: var(--first-color-alt);
}

.button--flex {
    display: flex;
    align-items: center;
    column-gap: .25rem;
}

.button--link {
    background: none;
    padding: 0;
}

.button--link:hover {
    background: none;
}

/*=============== ABOUT ===============*/
.about__data {
    text-align: center;
}

.about__container {
    row-gap: 2.5rem;
}

.about__description {
    margin-bottom: var(--mb-2);
}

.about__img {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    justify-content: center;
}

.about__img-overlay {
    overflow: var(--img-hidden);
}

.about__img-one {
    width: 130px;
}

.about__img-two {
    width: 180px;
}

.about__img-one, 
.about__img-two {
    transition: var(--img-transition);
}

.about__img-one:hover, 
.about__img-two:hover {
    transform: var(--img-scale);
}

/*=============== DISCOVER ===============*/
.discover__card {
    position: relative;
    width: 200px;
    overflow: var(--img-hidden);
}

.discover__data {
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
}

.discover__title, 
.discover__description {
    color: var(--white-color);
}

.discover__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.discover__description {
    display: block;
    font-size: var(--smaller-font-size);
}

.discover__img {
    transition: var(--img-transition);
}

.discover__img:hover {
    transform: var(--img-scale);
}

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
    background-image: none;
}

/*=============== EXPERIENCE ===============*/
.experience__container {
    row-gap: 2.5rem;
    justify-content: center;
    justify-items: center;
}

.experience__content {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    justify-items: center;
    padding: 0 2rem;
}

.experience__number {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-5);
}

.experience__description {
    font-size: var(--small-font-size);
}

.experience__img {
    position: relative;
    padding-bottom: 2rem;
}

.experience__img-one, 
.experience__img-two {
    transition: var(--img-transition);
}

.experience__img-one:hover, 
.experience__img-two:hover {
    transform: var(--img-scale);
}

.experience__overlay {
    overflow: var(--img-hidden);
}

.experience__overlay:nth-child(1) {
    width: 263px;
    margin-right: 2rem;
}

.experience__overlay:nth-child(2) {
    width: 120px;
    position: absolute;
    top: 2rem;
    right: 0;
}

/*=============== VIDEO ===============*/
.video__container {
    padding-bottom: 1rem;
}

.video__description {
    text-align: center;
    margin-bottom: var(--mb-2-5);
}

.video__content {
    position: relative;
}

.video__button {
    position: absolute;
    right: 1rem;
    bottom: -1rem;
    padding: 1rem 1.5rem;
}

.video__button-icon {
    font-size: 1.2rem;
}

/*=============== PLACES ===============*/


.place__card {
    position: relative;
    overflow: var(--img-hidden);
}

.place__card:hover .place__img {
    transform: var(--img-scale);
}

.place__img {
    transition: var(--img-transition);
}

.place__content, .place__title {
    color: var(--white-color);
}

.place__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .75rem .75rem 1rem;
}

.place__rating {
    align-self: flex-end;
    display: flex;
    align-items: center;
}

.place__rating-icon {
    font-size: .75rem;
    margin-right: var(--mb-0-25);
}

.place__rating-number {
    font-size: var(--small-font-size);
}

.place__subtitle, .place__price {
    display: block;
}

.place__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.place__subtitle {
    font-size: var(--smaller-font-size);
    margin-bottom: var(--mb-1-25);
}

.place__button {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: .75rem 1rem;
}

/*=============== SUBSCRIBE ===============*/
.subscribe__bg {
    background-color: var(--first-color-second);
    padding: 2.5rem 0;
}

.subscribe__title, 
.subscribe__description {
    color: var(--white-color);
}

.subscribe__description {
    text-align: center;
    margin-bottom: var(--mb-2-5);
}

.subscribe__form {
    background-color: var(--input-color);
    padding: .5rem;
    display: flex;
    justify-content: space-between;
}

.subscribe__input {
    width: 70%;
    padding-right: .5rem;
    background-color: var(--input-color);
    color: var(--text-color);
}

.subscribe__input::placeholder {
    color: var(--text-color);
}

/*=============== SPONSORS ===============*/
.sponsor__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-items: center;
    row-gap: 2rem;
}

.sponsor__content {
    display: flex;
    flex-direction: column;
    align-items: center; /* centra icono sobre el texto */
}

/* Tamaño escritorio */
.sponsor__content img {
    width: 75px; /* tamaño normal */
    height: auto;
    transition: transform 0.3s ease;
}

.sponsor__content img:hover {
    transform: scale(1.1);
}

.botom__menu .icon_data {
    text-align: center;
    color: #ccc;
    text-decoration: none;
    font-weight: 300;
    margin-top: 4px;
}

/* Tamaño más pequeño en móviles */
@media (max-width: 768px) {
    .sponsor__content img {
        width: 50px !important; /* fuerza el cambio en móvil */
    }
}


/*=============== FOOTER ===============*/
.footer__container {
    row-gap: 3rem;
}

.footer__content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    row-gap: 5rem;
    justify-items: center;
}

.footer__title, 
.footer__subtitle {
    font-size: 0.7rem;
}

.footer__title {
    margin-bottom: var(--mb-0-5);
}

.footer__description {
    margin-bottom: var(--mb-2);
}

.footer__social {
    font-size: 1.25rem;
    color: #a9a9a9;
    margin: 7px 15px 7px;
}

.icons__menu {
    font-size: 1.15rem;
    color: var(--title-color);
    margin: 7px 5px 7px;
}

.footer__subtitle {
    margin-bottom: var(--mb-1);
}

.footer__item {
    margin-bottom: var(--mb-0-75);
}

.footer__link {
    color: var(--text-color);
}

.footer__link:hover {
    color: var(--title-color);
}

.footer__rights {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    text-align: center;
    margin-top: 80px;
}

.footer__copy, .footer__terms-link {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.footer__terms {
    display: flex;
    column-gap: 1.5rem;
    justify-content: center;
}

.footer__terms-link:hover {
    color: var(--text-color);
}

/*========== SCROLL UP ==========*/
.backToIndex {
    position: fixed;
    right: 1rem;
    bottom: -22%;
    background-color: var(--first-color);
    padding: .5rem;
    display: flex;
    opacity: .9;
    z-index: var(--z-tooltip);
    transition: .4s;
}
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color);
    padding: .5rem;
    display: flex;
    opacity: .9;
    z-index: var(--z-tooltip);
    transition: .4s;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
    opacity: 1;
}

.scrollup__icon {
    color: var(--white-color);
    font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
    bottom: 5rem;
}


/* Show scroll */
.show-back {
    bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .60rem;
    display: none;
}

::-webkit-scrollbar-thumb {
    display: none;
}

::-webkit-scrollbar-thumb:hover {
    display: none;
}



/* For medium devices */
@media screen and (min-width: 568px) {
    .video__container {
        display: grid;
        grid-template-columns: .6fr;
        justify-content: center;
    }
    
    .subscribe__form {
        width: 470px;
        margin: 0 auto;
    }
    
}

@media screen and (min-width: 1200px) {
    body {
        margin: 0;
    } 

    /* NAV DESKTOP (CORREGIDO) */
    .header {
        padding: 0;
    }
    .nav {
        height: var(--header-height);
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 55px;
    }
    .nav__link {
        color: var(--white-color);
        text-transform: initial;
    }
    .nav__link {
        color: var(--white-color);
        font-weight: var(--font-semi-bold);
        text-transform: uppercase;
    }
    .nav__link:hover {
        color: var(--text-color-light);
    }
    .nav__dark {
        position: initial;
    }
    
    .nav__menu {
        opacity: 0.7;
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        height: 100%;
        box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
        padding: 3rem;
        transition: .4s;
    }

    
    .top-logo {
        position: absolute;  
        left: 7%;
        width: 150px;
    }
    
    /* TAMAÑO DEL LOGO EN DESKTOP (MÁS GRANDE) */
    .nav__logo img {
        height: 150px; 
    }

    .nav__list {
        flex-direction: row;
        column-gap: 4rem;
    }

    .nav__list {
        margin-top: 30%;
        display: flex;
        flex-direction: column;
        row-gap: 2.5rem;
    }

    /* .nav__toggle, .nav__close {
        display: none;
    } */

    .nav__close {
        position: absolute;
        top: .75rem;
        right: 1rem;
        font-size: 1.5rem;
        color: var(--title-color);
        cursor: pointer;
    }
    /* show menu */
.show-menu {
    right: 0;
}

.sponsor__container{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
    row-gap: 3.5rem;
}

    .nav__logo, .nav__toggle {
        color: var(--white-color);
    }

    .change-theme-name {
        display: none;
    }
    .change-theme {
        color: var(--white-color);
    }
    .active-link::before {
        background-color: var(--white-color);
    }
    .scroll-header .nav__link {
        color: var(--text-color);
    }
    .scroll-header .active-link {
        color: var(--title-color);
    }
    .scroll-header .active-link::before {
        background-color: var(--title-color);
    }
    .scroll-header .change-theme {
        color: var(--text-color);
    }
    .top-title {  
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 50px;
    }
    .top-left {
        position: absolute;
    top: 45%;
    left: 10.4%;
    }
    .section {
        padding: 7rem 0 2rem;
    }
    .section__sign {
        z-index:-1;
        position: absolute;
        transform: translate(-48%, -70%);
        width: 12%;
        left: 50%;
    }

    .video_mobile {
        top: 3%;
        display: none;
    }
    .video_pc {
        top: 4%;
        display: inline;
        height: 100%; width: 100%;
    }

    .contact__img_pc{
        height: 100%; 
        width: 100%;
        display: inline;
    }
    .contact__img_mobile{
        height: 100%; 
        width: 100%;
        display: none;
    }

    .icon__top{
        margin-top: 20px;
        display: flex; justify-content: center;
    }
    .home__container {
        height: 100vh;
        grid-template-rows: 1.8fr .5fr;
    }
    .home__data {
        align-self: flex-end;
    }
    .home__social {
        flex-direction: row;
        align-self: flex-end;
        margin-bottom: 3rem;
        column-gap: 2.5rem;
    }
    .home__info {
        bottom: 3rem;
    }
    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
    .about__data, .about__title {
        text-align: initial;
    }
    .about__title {
        margin-bottom: var(--mb-1-5);
    }
    .about__description {
        margin-bottom: var(--mb-2);
    }
    .discover__container {
        width: 610px;
        margin-left: auto;
        margin-right: auto;
    }
    .discover__container,
    .place__container {
        padding-top: 2rem;
        grid-template-columns: repeat(3, max-content);
    }
    .experience__overlay:nth-child(1) {
        width: 363px;
        margin-right: 4rem;
    }
    .experience__overlay:nth-child(2) {
        width: 160px;
    }
    .subscribe__bg {
        background: none;
        padding: 0;
    }
    .subscribe__container {
        background-color: var(--first-color-second);
        padding: 3.5rem 0;
    }
    .subscribe__input {
        padding: 0 .5rem;
    }
    .footer__rights {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 80px;
    }
}

/* For large devices */
@media screen and (min-width: 1200px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    .nosotros{
        text-align: center;
        font-size: 1.5rem;
    }
    .production_image_pc{
        width: 70%; 
        height: 120%; 
        max-width: 150%;
        left: 20%;    
        display: inline;
    }
    
    .production_image_mobile{
        width: 120%; 
        height: 120%; 
        max-width: 150%;
        left: 20%;
        display: none;
    }

    .service_description{
        font-size:18px; 
        margin-left:10px; 
        color: gray; 
        margin-top:5px;
        text-align: left;
    }
    
    .header {
        width: 100%; /* Corregido de nuevo a 100% para evitar problemas con container */
        position: fixed;
        top: 0;
        left: 0; /* Fija a la izquierda */
        z-index: var(--z-fixed);
        background-color: transparent;
    }

.contact_description{
    font-size: 3rem; 
    position: absolute; 
    left: 20%;                           
    top: 270px; 
    text-align: left; 
}

.correccion_text{
    margin-left: 25%; 
    margin-right: 25%; 
    color:#d3d3d3;
}
/*
 * En tu archivo: assets/css/styles.css
 * Añade esta regla para crear un espacio DEBAJO del contenedor del video.
 */
.discover .nosotros {
    /* Crea un margen de 3rem (aproximadamente 48px) debajo del video. 
       Ajusta el valor si quieres más o menos espacio. */
    margin-bottom: 3rem; 
}
.contact_img{
    width:75%; 
    margin-left: auto; 
    margin-right: auto; 
}
.block_contact{
    font-size: 70px; 
    position: absolute; 
    margin-left: 150px;           
    margin-top: -130px; 
    text-align: left; 
    color:gray
}

.nosotros_text{
    text-align: left; 
    font-size: 20px; 
    color: gray; 
    margin-left: 90px; 
    margin-right: 100px;
}

.index_title{
    font-size: 33px;
}

    .text_services{
        font-size:30px; 
        margin-left:10px;
    }
    
    .text_production{
        font-size: 50px; 
        position: absolute; 
        left: 20%;
        top: 86px; 
        text-align: left; 
    }
    .text_index{
        margin-left: 25px; 
        margin-right: 25px;
    }

    .servicios{
        display: block;
    }
    .column {
        float: left;
        width: 50%;
        
    }
    .close-btn {
        width: 35px;
        height: 30px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }

    /* Create four equal columns that floats next to each other */
.columna {
    float: left;
    width: 33.3%;
    padding: 20px;
}

.fila{
    margin-left:8%;
    margin-right:8%;
    text-align:left;
}

/* Clear floats after the columns */
.fila:after {
    content: "";
    display: table;
    clear: both;
}
    
    .sign{
        display:block;
    margin: auto;
        width: 14%;
        height: 20%;
    }
    .botom__menu{
        text-align: center;
    }
    .container__icon {
        margin-left: auto;
        margin-right: auto;
    }
    .home__container {
        grid-template-rows: 2fr .5fr;
    }
    .home__info {
        width: 328px;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }
    .home__info-title {
        font-size: var(--normal-font-size);
    }
    .home__info-img {
        width: 240px;
    }
    .about__img-one {
        width: 230px;
    }
    .about__img-two {
        width: 290px;
    }
    .discover__card {
        width: 237px;
    }
    .discover__container {
        width: 700px;
    }
    .discover__data {
        left: 1.5rem;
        bottom: 2rem;
    }
    .discover__title {
        font-size: var(--h2-font-size);
    }
    .experience__content {
        margin: var(--mb-1) 0;
        column-gap: 3.5rem;
    }
    .experience__overlay:nth-child(1) {
        width: 463px;
        margin-right: 7rem;
    }
    .experience__overlay:nth-child(2) {
        width: 220px;
        top: 3rem;
    }
    .video__container {
        grid-template-columns: .7fr;
    }
    .video__description {
        padding: 0 8rem;
    }
    .place__container {
        gap: 0.5rem 0.5rem;
    }
    .place__card, .place__img {
        height: 200px;
    }
    .footer__content {
        justify-items: center;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
    .container__icon {
        max-width: 700px;
    }
}


.form {
    width: 100%;

    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form {
    position: relative;
}


form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
}

.title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.input-container {
    position: relative;
    margin: 1rem 0;
}

.input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: 0.3s;
}

textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 5px;
    resize: none;
    overflow-y: auto;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
}

.input-container.textarea label {
    top: 1rem;
    transform: translateY(0);
}

.btn {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    color: #1abc9c;
    line-height: 1;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
    width: 100%;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

.input-container span {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
}

.input-container span:before,
.input-container span:after {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: #1abc9c;
    top: 50%;
    transform: translateY(-50%);
}

.input-container span:before {
    left: 50%;
}

.input-container span:after {
    right: 50%;
}

.input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
    width: 50%;
    opacity: 1;
}

.contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
}

.contact-info .title {
    color: #ffffff;
}

.text {
    color: rgb(255, 255, 255);
    margin: 1.5rem 0 2rem 0;
}

.information {
    display: flex;
    color: rgb(255, 255, 255);
    margin: 0.7rem 0;
    color:white;
    font-size: 1.7rem;
}

.information i {
    color: gray;
}

.icon {
    width: 28px;
    margin-right: 0.7rem;
}

.icon_data{
    font-size: 40px;
    color: var(--text-color-light);
}

.icon_data:hover{
    color: var(--white-color);
}

.social-media {
    padding: 2rem 0 0 0;
}

.social-media p {
    color: #333;
}

.social-icons {
    display: flex;
    margin-top: 0.5rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: linear-gradient(45deg, #1abc9c, #149279);
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.05);
}

/* Popup Styling */
.img-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.img-popup img {
    max-width: 1250px;
    width: 100%;
    opacity: 0;
    transform: translateY(-100px);
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    -o-transform: translateY(-100px);
}



.close-btn .bar {
    height: 4px;
    background: #333;
}

.close-btn .bar:nth-child(1) {
    transform: rotate(45deg);
}

.close-btn .bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.opened {
    display: flex;
}

.opened img {
    animation: animatepopup 1s ease-in-out .8s;
    -webkit-animation: animatepopup .3s ease-in-out forwards;
}

@keyframes animatepopup {

    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

}
.video-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en escritorio */
    gap: 20px;
    justify-items: center;
    max-width: 900px;
    margin: 50px auto;
    padding: 0 10px;
}

.video-grid a img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-grid a img:hover {
    transform: scale(1.05);
}

/* Para pantallas más estrechas */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet/móvil */
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles muy pequeños */
    }
}
/* Contenedor del footer */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;  /* centra horizontalmente el contenido */
  padding: 1.5rem 0;
  background: transparent;  /* sin fondo */
}

/* Contenedor de los iconos */
.footer__socials {
  display: flex;
  justify-content: center;  /* centra los iconos dentro del contenedor */
  gap: 2.5rem;              /* espacio entre cada icono */
}

/* Estilo de cada icono */
.footer__icon {
  color: #bfbfbf !important;      /* gris claro */
  font-size: 2.6rem !important;   /* tamaño un poco más grande */
  text-decoration: none !important;
  transition: color 0.3s ease;
}

/* Hover: cambia a blanco */
.footer__icon:hover {
  color: #ffffff !important;
}
/* Margen superior para títulos principales */
.top-title {
  margin-top: 3rem; /* ajusta este valor según el espacio que quieras */
}
/* Margen superior para móviles */
@media screen and (max-width: 768px) {
  .top-title {
    margin-top: 2rem; /* menos espacio en pantallas pequeñas */
  }
}
/* Reducir tamaño del correo y teléfono solo en móviles de contactos.html */
@media screen and (max-width: 768px) {
  .page-contactos .information p {
    font-size: 1.2rem; /* ajusta este valor a lo que se vea mejor */
  }
}
/* Estilo correo y WhatsApp en contactos.html */
.page-contactos .information a {
  color: #bfbfbf;        /* gris claro */
  text-decoration: none;  /* quita subrayado azul */
  font-size: 1.1rem;      /* tamaño del texto, ajustable */
  transition: color 0.3s ease;
}

.page-contactos .information a:hover {
  color: #ffffff;         /* cambia al pasar el mouse */
}
/* Aumentar tamaño del correo y WhatsApp solo en escritorio */
@media screen and (min-width: 769px) {
  .page-contactos .information a {
    font-size: 1.3rem; /* ajusta este valor al tamaño que quieras */
  }
}
/* Reducir tamaño de título y texto en móviles en la página principal */
@media screen and (max-width: 768px) {
  #discover h1 {
    font-size: 28px !important;  /* título más pequeño */
  }

  #discover .text_index p {
    font-size: 16px !important;  /* texto más pequeño */
  }
}
/* Reducir margen superior del texto en móviles en la página principal */
@media screen and (max-width: 768px) {
  #discover .text_index {
    margin-top: 0px !important; /* ajusta este valor al que se vea mejor */
  }
}
/* Reducir tamaño de textos en móviles solo para servicios.html */
@media screen and (max-width: 768px) {
  body.page-servicios .text_services {
    font-size: 1.6rem; /* ajusta este valor al tamaño deseado para títulos */
  }

  body.page-servicios .service_description p {
    font-size: 1.1rem; /* ajusta este valor al tamaño deseado para descripciones */
  }
}
/* Ajustar tamaño y centrar el logo Universal */
img[src="assets/img/Logo_Universal.png"] {
  display: block;        
  margin: 20px auto;     
  max-width: 1000px;      
  height: auto;          
}
/* Contenedor que centra el logo */
.logo-container {
  display: flex;             /* activa flexbox */
  justify-content: center;   /* centra horizontalmente */
  margin-top: 20px;          /* espacio arriba, ajustable */
}

/* Logo Universal dentro del contenedor */
.logo-container img {
  max-width: 1200px;   /* ajusta al tamaño que quieras */
  height: auto;       /* mantiene proporción */
  display: block;     /* bloque para centrado correcto */
}
.portafolios__grid {
    display: flex;
    flex-direction: column; /* una columna */
    align-items: center; /* centrado horizontal */
    gap: 0.5rem; /* espacio pequeño entre imágenes */
    margin: 5rem auto;
    max-width: 1300px; /* ancho máximo de la columna */
    padding: 0 2rem; /* margen interno pequeño */
    box-sizing: border-box;
}

.portafolios__grid a img {
    display: block;
    width: 100%; /* ocupa todo el ancho del enlace */
    height: auto; /* mantiene proporción */
}

/* ======================================
   BLOQUE SERVICIOS - CENTRADO Y PEGADO
   ====================================== */

/* Contenedor de la fila de servicios */
section.servicios .container.fila {
    display: flex !important;           /* convertir en flexbox */
    justify-content: center !important; /* centrar todo el bloque */
    flex-wrap: nowrap !important;       /* mantener una sola fila */
    padding: 0 !important;              /* eliminar padding extra */
    max-width: none !important;         /* quitar limitación de ancho */
    margin: 0 auto !important;          /* centrar el bloque */
    gap: 0.1rem !important;             /* espacio mínimo entre columnas, ajusta a tu gusto */
}

/* Cada columna (imagen + título + descripción) */
.columna {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;           /* espacio entre imagen, título y descripción */
    flex: 0 0 auto;        /* clave: ancho fijo según contenido, no porcentaje */
    width: 400px;           /* igual al ancho de la imagen */
}

/* Imagen */
.columna img {
    width: 300px;          /* tamaño fijo de la imagen */
    height: auto;
    margin: 0;
}

/* Título */
.text_services {
    font-size: 28px;
    font-weight: regular;
    margin: 0;
}

/* Descripción */
.service_description p {
    margin: 0;
    max-width: 220px;      /* limitar ancho del texto para que no estire la columna */
    font-size: 18px;
}

/* Texto “Trabajemos juntos” */
.servicios__text {
    margin-top: 3rem;
    margin-bottom: 7rem;
    text-align: center;
}

/* ======================================
   RESPONSIVE PARA MÓVILES Y TABLETS
   ====================================== */
@media (max-width: 1024px) { /* aplica a tablets y móviles */
    
    /* ===== Contenedor de todo el bloque de servicios ===== */
    section.servicios .container.fila {
        display: flex;
        flex-direction: column;   /* apila las columnas verticalmente */
        align-items: center;      /* centrado horizontal */
        margin-top: 20rem;         /* 🔧 Ajusta margen superior del bloque respecto al header */
        margin-bottom: 4rem;      /* 🔧 Ajusta margen inferior del bloque */
    }

    /* ===== Cada bloque individual (imagen + título) ===== */
    .columna {
        width: 360px;             /* 🔧 Ajusta ancho del bloque completo en móvil/tablet */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;    /* 🔧 Ajusta espacio entre cada bloque (imagen + título) */
    }

    /* ===== Imagen de cada servicio ===== */
    .columna img {
        width: 200%;              /* ocupa todo el ancho de la columna */
        height: auto;             /* mantiene proporción */
        max-width: 300px;         /* 🔧 Ajusta ancho máximo de la imagen */
        margin-bottom: 0.5rem;    /* espacio entre imagen y título */
    }

    /* ===== Título de cada servicio ===== */
    .text_services {
        font-size: 25px;          /* 🔧 tamaño de título en móvil/tablet */
        font-family: 'Dual', sans-serif;
        font-weight: bold;
        margin-bottom: 2rem;    /* espacio entre título y el siguiente bloque */
    }

    /* ===== Descripción de cada servicio ===== */
    .service_description p {
        font-size: 14px;          /* 🔧 tamaño del texto descriptivo */
        margin: 1rem 0;         /* espacio entre líneas */
        max-width: 100%;           /* 🔧 ancho máximo del texto */
    }

}
/* ======================================
   PORTAFOLIOS GRID - AJUSTE SOLO MÓVILES
   ====================================== */
@media (max-width: 768px) {
    /* ---------------- Bloque general de imágenes ---------------- */
    .portafolios__grid {
        display: flex;
        flex-direction: column;   /* Apiladas verticalmente */
        align-items: center;      /* Centrado horizontal */
        gap: 0.3rem;              /* <- Espacio muy pequeño entre imágenes (ajustable) */
        margin-top: 3rem;         /* <- MÁRGEN SUPERIOR: ajusta este valor a tu gusto */
    }

    /* ---------------- Cada imagen ---------------- */
    .portafolios__grid a img {
        width: 380px;             /* <- Tamaño de imagen en móviles: ajustable */
        height: auto;             /* Mantiene proporción */
        display: block;
    }
}

