/* ======= VARIABLES ======= */
:root {
  --color-bg: #282927;
  --color-primary: #b91127;
  --color-black: #131313;
  --color-light: #E6E6E6;
}


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

body {
  background-color: white !important;
  color: var(--color-bg);
  line-height: 1.5;
}

h2 {
  text-align: center;
  color: var(--color-primary);
}



/* ======= INFO HEAD ======= */
.info-head {
  background: linear-gradient(90deg, #b91127 0%, #d7263d 100%);
  color: white;
  padding: 10px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 40px;
  position: relative;
  box-shadow: 0 2px 12px rgba(185,17,39,0.10);
}
.info-head::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  pointer-events: none;
  background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  z-index: 0;
}
.info-head > * {
  position: relative;
  z-index: 1;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: scrollText 15s linear infinite;
  font-family: 'Montserrat', sans-serif !important;
}

.marquee span {
  padding-right: 50px; /* Espacio entre repeticiones */
}

.marquee span i{
  margin-left: 5px;
  margin-right: 5px;
}

@media (min-width: 769px) {
  .marquee {
    animation: none; /* En desktop no hay scroll */
    justify-content: center;
    width: 100%;
  }
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}




/* ======= FIN INFO HEAD ======= */

/* ======= CARRUSEL ======= */


.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* ======= Boton ver catalogo completo ======= */


.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #a80f22;
}

.ver-mas{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.ver-mas .btn{
  background-color: var(--color-primary);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  text-transform: none;
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 1.8rem !important;
}

.ver-mas .btn:hover{
  background-color: var(--color-bg) !important;
  color: white;
  transform: scale(1.05);
  transition: all 300ms;
}

/* fin boton ver catalogo */

/* Animacion izquierda y derecha */


/* Inicio responsive catalogo */
@media (max-width: 768px) {
   #catalogo-inicio {
    padding: 3rem 3.5rem ;
}
}


/*Boton de wpp*/

#btnWpp {
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 20px;
    border: none;
    color: white;
    background-color: #25D366;
    height: 55px;
    width: 55px;
    font-size: 30px;
    border-radius: 100%;
}

#btnWpp i{
  margin-top: 5px !important;
  font-size: 35px !important;
}

#btnWpp:hover {
    cursor: pointer;
    background-color: #128C7E;
    transition: all 300ms;
}


/* ======= CONTACTO ======= */
.contacto {
  font-family: 'Montserrat', sans-serif !important;
  display: grid;
  grid-template-rows: 1fr 1fr;
  text-align: center;
  width: 90%;
  background-color: var(--color-bg);
  padding: 40px;
  border-radius: 12px;
  max-width: 1200px;
  margin: auto;
  color: var(--color-light);
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-bottom: 50px;
}

/* Animación para la sección de contacto */
.contacto, .formulario-container {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
}

.contacto.show, .formulario-container.show {
  opacity: 1;
  transform: translateY(0);
}

.contacto-container img{
  margin-left: 0px !important;
  margin-top: 50px !important;
}



@media (min-width: 768px) {
   .contacto{
    display: flex;
   }
}

@media (max-width: 768px) {
   .contacto-container {
      margin-right: 0px !important;
   }
   .contacto-container h2{
      font-size: 30px !important;
      margin-bottom: 10px;
      font-weight: 500;
   }
    .contacto-container p{
      font-size: 17px !important;
      margin-bottom: 10px;
      font-weight: 600 !important;
   }
   .contacto-container img{
      width: 90% !important;
      height: auto !important;
  }

}

.contacto-container {
  margin-right: 30px;
  flex: 1;
}

.contacto-container h2 {
  font-size: 35px;
  margin-bottom: 10px;
  color: var(--color-light);
} 

.contacto-container p {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-light);
}

.contacto-container img {
  width: 80%;
  max-width: 400px;
  margin-top: 20px;
  margin-left: 20px;
  height: auto;
}

.formulario-container{
  flex: 1;
  
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.campo {
  display: flex;
  flex-direction: column;
}

.campo__label {
  font-weight: bold;
  margin-bottom: 6px;
  color: var(--color-light);
  font-size: 14px;
}

.campo__field,
.campo__label--textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background-color: var(--color-light);
  color: var(--color-bg);
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.campo__field:focus,
.campo__label--textarea:focus {
  border: 1px solid var(--color-primary);
  background-color: var(--color-light);
}

.campo__label--textarea {
  min-height: 100px;
  resize: vertical;
}

.boton {
  padding: 12px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton:hover {
  background-color: #d1192f;
  transform: translateY(-2px);
}

.boton:active {
  transform: translateY(0);
}


/* ======= FOOTER ======= */
.footer {
    font-family: 'Montserrat', sans-serif !important;
    background-color: var(--color-black);
    color: white;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 50px;
    gap: 30px;
    padding: 1rem;

    justify-items: center; /* Centra cada columna */
    text-align: center;    /* Centra el texto dentro */
}


.footer-section {
    /* flex: 1 1 250px; */
    text-align: center;
    width: 90%;

}

.logo_footer img{
    width: 150px;
    height: auto;
        margin-bottom: 20px;
}

.footer-section h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 25px !important;
    font-weight: 600 !important;
}


.footer-section p {
    margin: 5px 0;
    font-size: 16px;
    text-transform: none;
}

.footer-section p:hover {
    margin-right: 8px;
    color: rgb(180, 3, 3);
    transition: all 0.3s;
}

.footer-section i {
    margin-right: 8px;
    color: white;
}

.footer-section i:hover {
    margin-right: 8px;
    color: rgb(180, 3, 3);
    transition: all 0.3s;
}

#agencia-info p:hover{
  margin-right: 0 !important;
  transition: none !important;
  color: white !important;
}

.social-icons{
  margin-left: 20px;
}

.social-icons a {
    color: white;
    margin-right: 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--color-primary) !important;
}

.ml-logo {
    margin-top: 10px;
    width: 120px;
}

.map-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.derechos {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-light);
  font-size: 14px;
  padding: 10px;
  background-color: var(--color-bg);
}

.derechos p{

      margin-top: 10px;
}


/* Responsive footer */
@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        flex: none;
        width: 100%;
    }
    .derechos p{
      font-size: 12px !important;
      margin-top: 10px;
    }
    
}

.dividir_footer{
  text-align: center;
}


/* servicios */
#contenedor-servicios {
  background-color: white !important;
  padding: 60px 20px;
  text-align: center;
}

#title-servicios h2, .titulo-ultimos {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #b91127;
  font-weight: bold;
}

.servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.servicios .item {
  background: white !important;
  border-radius: 15px;
  margin-left: 40px;
  margin-right: 40px;
  width: 350px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  padding: 30px;
}

.servicios .item svg {
  margin-bottom: 15px;
}

.servicios .item h3 {
  margin: 10px 0;
  font-size: 1.3rem;
  color: #222;
}

.servicios .item p {
  font-size: 1.45rem;
  color: #555;
}

/* Estados animados */
.item.show {
  opacity: 1;
  transform: translateY(0);
}

.item[data-anim="left"] {
  transform: translateX(-100px);
}

.item[data-anim="left"].show {
  transform: translateX(0);
}

.item[data-anim="right"] {
  transform: translateX(00px);
}

.item[data-anim="right"].show {
  transform: translateX(0);
}

/* RESPONSIVE SERVICIOS */

/* Tablets: 2 columnas */
@media (max-width: 992px) {
  .servicios {
    background-color: white !important;
    gap: 20px;
  }
  .servicios .item {
    width: 45%;
  }
}

/* Celulares: 1 columna */
@media (max-width: 600px) {
  #contenedor-servicios {
    background-color: white !important;
  }
  #title-servicios h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .servicios {
    background-color: white !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .servicios .item {
    width: 80%;
    padding: 20px;
  }

  .servicios .item svg {
    width: 100px;
    height: 100px;
  }

  .servicios .item h3 {
    font-size: 1.2rem;
  }

  .servicios .item p {
    font-size: 1.1rem;
  }
}

/* FIN RESPONSIVE SERVICIOS */


/* Inicio de Sesión */

#contenidoSesion i{
    font-size: 1.5rem;
    margin-right: 10px;
    margin-left: 10px;
    color: var(--color-primary);
}

.input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

.input-container i {
    margin-right: 5px;
}

.input-container input {
    border: none;
    outline: none;
}

#contenedorSesion{
    font-family: 'Montserrat', sans-serif !important;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#contenedorSesion img{
    width: 80%;
    display: flex;
    margin: 0 auto;
}

#usuario, #contraseña{
    display: flex;
    width: 80%;
}

#iniciar-Sesion input{
    height: 3rem;
    width: 80%;
}

/*.iconoUser{
    margin-top: 9px;
}*/


#iniciar-Sesion{
    height: 500px;
    width: 50%;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    -moz-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0.1px solid rgba(138, 138, 138, 0.336);
}
.barraSesion{
    display: flex;
    justify-content: center;

}

#imgSesion{
    margin-top: 40px;
}

#iniciar-Sesion h2{
    font-family: 'Montserrat', sans-serif !important;
    margin-top: 10px;
    font-size: 30px !important;
    color: #3f3f3f;
}

#contenidoSesion{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#iniciar-Sesion button{
    height: 3rem;
    font-size: 15px;
    font-weight:bold;
    width: 80%;
    border: none;
    background-color: var(--color-primary);
    color: var(--color-light);
}

#iniciar-Sesion input::placeholder{
    font-size: 15px;
}

#iniciar-Sesion input{
    font-size: 20px;
}

#iniciar-Sesion button:hover{
    transform: scale(1.02);
    transition: all 200ms;
    background-color: #474747;
    cursor: pointer;
}


@media (max-width: 768px) {
    #contenidoSesion h2{
        font-family: 'Montserrat', sans-serif !important;
        font-size: 25px !important;
        margin: 20px;
    }

    #iniciar-Sesion{
        width: 80%;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #usuario, #contraseña{
        width: 80%;
    }

    #iniciar-Sesion button{
        height: 3rem;
        font-size: 15px;
        font-weight:bold;
        width: 80%;
        border: none;
        background-color: var(--color-primary);
        color: var(--color-light);

    }
    #iniciar-Sesion input::placeholder{
        font-size: 12px;
    }
    #contenidoSesion i{
        font-size: 1.3rem;
        margin-right: 10px;
    }
}


/* ======= SOBRE NOSOTROS ======= */
/* ---- Reset mínimo útil ---- */
#sobre-nosotros img,
#sobre-nosotros video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Contenedor principal ---- */
#sobre-nosotros {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

/* Grid responsivo */
.sobre-nosotros-container {
  width: min(90vw, 1200px);   /* 90% de pantalla, con tope */
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-areas:
    "video"
    "texto"
    "imagen";
}

/* Móvil/tabla por defecto: apilado y centrado */
.video_sobre_nosotros     { grid-area: video; }
.texto-nosotros           { grid-area: texto; }
.imagen-nosotros          { grid-area: imagen; }

/* Video con recorte elegante si quisieras fijar alto */
.video_sobre_nosotros video {
  width: 100%;
  border-radius: 12px;
  /* Si tu video es muy alto, podés usar:
  aspect-ratio: 16 / 9;
  object-fit: cover;
  */
}

/* Imagen */
.imagen-nosotros img {
  width: 100%;
  border-radius: 12px;
}

/* Texto */
.texto-nosotros {
  background: #ffffff;              /* fondo blanco limpio */
  border-radius: 12px;
  padding: 32px;
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* sombra sutil */
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.texto-nosotros h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #b91127;       /* tu color destacado */
  margin-bottom: 20px;
  letter-spacing: 1px;
}
/* Decoración sutil a la izquierda (barra) */
.texto-nosotros {
  border-left: 5px solid #b91127;
  padding-left: 28px;
}

.texto-nosotros strong {
  font-weight: 600;       /* un poquito más pesado, no full bold */
  color: #222;            /* apenas más oscuro que el texto normal */
  border-bottom: 1px solid #b91127; /* subrayado finito en rojo */
  padding-bottom: 2px;
}



/* ---- Desktop / pantallas grandes ---- */
@media (min-width: 992px) {
  .sobre-nosotros-container {
    /* Video arriba a lo ancho; abajo 2 columnas */
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "video  video"
      "texto  imagen";
    gap: 32px;
  }

  /* El contenedor ya mide 90vw: suficiente para que el video “ocupe el 90%” */
  .video_sobre_nosotros {
    justify-self: center;  /* centrado */
  }

  /* Alineaciones finas */
  .texto-nosotros {
    align-self: center;    /* centra verticalmente junto a la imagen */
  }
}

.title-sobre-nosotros {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2rem;
  color: #b91127;
  font-weight: bold;
  margin-top: 100px;
}


/* Wrapper para el iframe responsivo */
.video-wrapper {
  position: relative;
  width: 100%;        /* ocupa el 100% dentro del grid → ya está limitado al 90vw */
  padding-top: 56.25%; /* mantiene proporción 16:9 */
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- VIDEO YOUTUBE RESPONSIVO --- */

/* Asegura que el área del grid tenga ancho completo */
.video_sobre_nosotros {
  grid-area: video;
  width: 100%;
  justify-self: center; /* ya lo tenías en desktop */
}

/* Wrapper del iframe: sin “magia”, sólo contenedor */
.video-wrapper {
  position: relative;
  width: 100%;         /* dentro de .sobre-nosotros-container ya estás en 90vw */
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* Usa aspect-ratio moderno cuando esté disponible */
@supports (aspect-ratio: 16/9) {
  .video-wrapper { aspect-ratio: 16 / 9; }
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }
}

/* Fallback para navegadores sin aspect-ratio */
@supports not (aspect-ratio: 16/9) {
  .video-wrapper { padding-top: 56.25%; }  /* 16:9 */
  .video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }
}

/* Por si tenés algún reset que pise iframes */
.video_sobre_nosotros iframe {
  display: block;
  max-width: 100%;
}

/* Estado inicial común */
.video_sobre_nosotros,
.imagen-nosotros,
.texto-nosotros {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animaciones distintas */
.video_sobre_nosotros {
  transform: translateX(50px); /* entra desde la derecha */
}

.imagen-nosotros {
  transform: translateX(-50px); /* entra desde la izquierda */
}

.texto-nosotros {
  transform: translateY(15px); /* entra desde abajo */
}

/* Cuando entran en pantalla */
.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

