:root {
  font-family: "Inter", sans-serif;
  font-family: "Josefin Sans", sans-serif;
  font-family: "Zilla Slab", serif;
  --naranja: #ff8200;
  --negro: #2d2926;
  --gris: #505759;
}

html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  overflow-x: hidden;
}

a{
  text-decoration: none;
  color: white;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 1rem;
  margin-right: 0rem;
  line-height: 1rem;
  font-size: 1em;
}

nav div {
  height: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

nav div:nth-child(2) {
  position: absolute;
  width: 97%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.top-height {
  padding-top: 0rem;
}

#logo-header {
  width: 10rem;
}

.destacado {
	color: orange;
	font-weight: bold;
}

.slogan {
  font-family: Josefin Sans;
  font-size: 13px;
  font-weight: 600;
  position: absolute;
  right: 0px;
  top: 6rem;
}

.slogan p{
  transition: all .5s ease-in-out;
}

.slogan p:hover{
  scale: 1.1;
}


#corteLaser{
  background-color: var(--naranja);
  padding: 0.8rem 4rem 0.5rem 2rem;
  clip-path: polygon(100% 0, 100% 100%, 10% 100%, 0 0); /* Crear la inclinación diagonal */
  color: white;
  font-size: larger;
  animation: slideInFromLeft 1s ease-in-out; /* Agregar animación */
  margin-bottom: 0.5rem;
}

#mejorSolucion{
  background-color: var(--negro);
  padding: 0.8rem 0rem 0.5rem 2rem;
  clip-path: polygon(100% 0, 100% 100%, 10% 100%, 0 0); /* Crear la inclinación diagonal */
  color: white;
  font-size: larger;
  animation: slideInFromLeft 1s ease-in-out; /* Agregar animación */
  margin-top: -1rem;
}

.menu a{
  padding: 3px 10px;
}


.menu a:hover{
  text-decoration: underline;
  background-color: var(--naranja);
  color: white;
  border-radius: 4px;
}

/*hamburguesa*/
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  padding-top: 1em;
  z-index: 3;
}

.menu {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-family: Zilla Slab;
  font-size: 14px;
  font-weight: 800;
}

.menu>a {
  margin: 0;
  overflow: hidden;
}

.menu>a>li {
  all: unset;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
}

#menu-toggle {
  display: none;
  color: initial;
  all: unset;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #2d2926;
  position: absolute;
  height: 4px;
  width: 30px;
  margin-top: -5rem;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: "";
  margin-top: -8px;
}

.menu-button::after {
  content: "";
  margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
  background: #2d2926;
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {

  nav{
    width: 100%;
  }

  #logo-header{
    width: 7rem;
  }

  .slogan {
    font-size: 8px;
    font-weight: 600;
    right: 0px;
    top: 6rem;
  }
  
  
  #corteLaser, #mejorSolucion{
    padding: 0.8rem 1rem 0.5rem 0.8rem;
  }

  .menu-button-container {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 0;
    margin-top: 8rem;
    left: 0;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  #menu-toggle~.menu a {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked~.menu a {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu>a {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }

  .menu a:nth-child(2) {
    color: white
  }

  .menu>a:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

/*fin hamburguesa*/

.central-img,
.central-img-starting {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1rem;
  position: relative;
}

.central-img {
  background-image: url("./tools/imagenes/assets/fondo_circulo.jpg");
  z-index: 1;
  opacity: 0%;
  animation: makeAppear 3s ease-in;
  animation-fill-mode: forwards;
}

@keyframes makeAppear {
  0% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}

.central-img-starting {
  background-image: url("./tools/imagenes/assets/fondo_logo.jpg");
  z-index: 0;
}

.flex-3 {
  display: flex;
  flex-direction: row;
  width: 100%;
  font-family: Zilla Slab;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.flex-3 a{
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  background-color: white;
  transition: all .3s ease-in-out;
}

.flex-3 a:hover{
  scale: 1.02;
}

.flex-3 a, .flex-3 div {
  min-width: calc(100% / 3 - (2 * 2px));
  height: 14rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 2px solid white;
}

.flex-3 div p {
  margin-top: -0.01rem;
}

.felx-3 div div {
  position: relative;
}

.flex-3 a:nth-child(1) div {
  background-image: url("./tools/imagenes/assets/1cajita.jpg");
}

.flex-3 a:nth-child(1) p {
  color: var(--naranja);
}

.flex-3 a:nth-child(2) div {
  background-image: url("./tools/imagenes/assets/2cajita.jpg");
}

.flex-3 a:nth-child(2) p {
  color: var(--negro);
}

.flex-3 a:nth-child(3) div {
  background-image: url("./tools/imagenes/assets/3cajita.jpg");
}

.flex-3 a:nth-child(3) p {
  color: var(--gris);
}

.round-letter {
  position: relative;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
}


/* Secciones */

.seccion {
  margin-top: 2rem;
  padding: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.seccion hr {
  width: 100%;
}

.section-title h1 {
  font-size: 2.5rem;
  font-family: Josefin Sans;
  width: 90vw;
  margin: 1rem 3rem;
  padding: 0.2rem 0.5rem;
}

.section-title h2 {
  font-size: 1.5rem;
  font-family: Josefin Sans;
  width: 90vw;
  margin: 1rem 3rem;
  padding: 0.2rem 0.5rem;
}

.color-black{
  color: var(--negro);
}

.color-grey{
  color: var(--gris);
}

.color-orange{
  color: var(--naranja);
}

/* Sección Nosotros */

#nosotros h4 {
  width: 90%;
  text-align: justify;
}

.cont-nosotros {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
	margin: 3rem;
	color: black;
	
}

.cont-nosotros>div:first-child {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: justify;
}

.cont-nosotros>div:last-child {
 
  margin: 0rem 2rem;
  color: var(--negro);
}

.cont-nosotros>div:last-child ul {
  list-style: none;
}

.cont-nosotros>div:last-child h5 {
  margin: 0px;
  font-family: Josefin Sans;
}


.corp-img {
  background-image: url(./tools/imagenes/assets/nosotros.jpg);
  height: 15rem;
  width: 30rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Estilos video corporativo */

#corp-v {
  width: 80vw;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  /* display: none; */
}


/* Sección Materiales */

.grid-container {
  width: 90%;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 33%);
  z-index: 1;
  margin-top: 1.5rem;
}

.grid-item {
  background-image: url(./tools/imagenes/ejemplos/perfiles1.jpg);
  display: flex;
  flex-direction: column;
  border-radius: 0.15rem;
  justify-content: space-between;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.grid-item:hover {
	scale: 1.06;
  transition: all, 0.3s;

}

.grid-item:hover>a {
  background-color: var(--naranja);
  color: white;
  transition: all, 0.3s;
	
}


.grid-item div {
  width: 100%;
}

.grid-item h3 {
  color: white;
  font-size: 1.6rem;
  width: fit-content;
  padding: 0.5rem;
  margin: 1rem 0rem ;
  text-shadow: 1px 1px 5px rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.32);
  border-radius: 0.2rem;
}

.g-1 {
  background-image: url(./tools/imagenes/Aceros.jpg);
 
}

.g-2 {
  background-image: url(./tools/imagenes/Chapa_caliente.jpg);
	
}

.g-3 {
  background-image: url(./tools/imagenes/chapa_frio.jpeg);

}
.g-4 {
  background-image: url(./tools/imagenes/chapa_rayada.jpg);
}
.g-5 {
  background-image: url(./tools/imagenes/canos_estructurales.jpg);
}

.g-6 { 
  background-image: url(./tools/imagenes/canos_mecanico.jpg);
}

.g-7 {
  background-image: url(./tools/imagenes/canos40.jpg);
}

.g-8 {
  background-image: url(./tools/imagenes/canos80.jpg);
}

.g-9 {
  background-image: url(./tools/imagenes/Fundicion_colada.jpeg);
}

.g-10 {
  background-image: url(./tools/imagenes/Bronce2.jpeg);

}

.g-11 {
  background-image: url(./tools/imagenes/Planchuelas.jpg);
}

.g-12 {
  background-image: url(./tools/imagenes/Angulos.jpeg);
}

.g-13 {
  background-image: url(./tools/imagenes/T.jpg);
}

.g-14 {
  background-image: url(./tools/imagenes/Redondos.jpg);
}

.g-15 {
  background-image: url(./tools/imagenes/cuadrados.jpg);
}

.g-16 {
  background-image: url(./tools/imagenes/Uchico.jpg);

}

.g-17 {
  background-image: url(./tools/imagenes/IPN.jpg);
}

.g-18 {
  background-image: url(./tools/imagenes/UPN.jpg);

}

.g-19 {
  background-image: url(./tools/imagenes/UPA.jpeg);
	 grid-column: 2;

}



/* Sección Servicios integrales */

#servicio-integral ul{
  width: 95%;
  margin: 0px;
  color: black;
  list-style: none;
  padding-left: 0rem;
}

#servicio-integral ul li{
  margin: 2rem 0rem;
}

#servicio-integral ul li h3{
  margin: 0px;
  padding: 0.5rem 5rem 0.5rem 1rem;
  background-color:#a0a0a03f;
  border-bottom: 1px dashed var(--gris);
}

#servicio-integral ul li p{
  margin: 0px;
  padding: 0.5rem;
}

/* Sección Corte */

#corte{
  margin: 0px;
}

#corte > div{
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

#corte > div > div{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  align-content: center;
  width: 90%;
  height: fit-content;
  margin: 1rem;
}


#corte > div > div > div{
  height: 40vh;
  width: 40%;
  margin: 0.5rem;
  border: 1rem solid var(--negro);
}


#corte > div > div > p{
  width: 50%;
  height: 100%;
  font-size: 1.2rem;
}

.c-1, .c-3{
  justify-content: flex-start;
}

.c-2, .c-4, .c-22 {
  justify-content: flex-end;
}

.c-11 div{
  background-image: url(./tools/imagenes/Servicios/laser1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.c-22 div{
  background-image: url(./tools/imagenes/Servicios/laser2.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.c-1 div{
  background-image: url(./tools/imagenes/Servicios/oxicorte1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.c-2 div{
  background-image: url(./tools/imagenes/Servicios/Oxicorte2.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.c-3 div{
  background-image: url(./tools/imagenes/Servicios/pantografo1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.c-4 div{
  background-image: url(./tools/imagenes/Servicios/pantografo2.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.c-5 div{
  background-image: url(./tools/imagenes/Servicios/chorroagua1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.c-6 div{
  background-image: url(./tools/imagenes/Servicios/chorroagua2.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.c-7 div{
  background-image: url(./tools/imagenes/Servicios/Sierra.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Sección Preguntas frecuentes */

.acordeon-cuerpo{
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-top: 2rem;
	 
}

.acordeon {
  width: 90%;
  margin: 0px;
  color: var(--negro);
}

.acordeon .container {
  position: relative;
}

.label{
  font-family: "Zilla Slab";
  position: relative;
  cursor: pointer;
  background-color: #e3e3e3;
  margin-top: 1rem;
}

.label p{
  margin: 0px 1rem;
  width: fit-content;
  font-size: 1.4rem;
  padding: 1rem 0rem;
}

.acordeon .label::before {
  content: '+';
  color: var(--negro);
  position: absolute;
  top: 50%;
  right: 1rem;
  font-size: 3rem;
  transform: translateY(-50%);
}

.acordeon .content {
  position: relative;
  height: 0;
  font-size: 1rem;
  text-align: start;
  background-color:#f2f2f2;
  overflow: hidden;
  transition: all 0.5s;
	
}

.content p{
  margin: 1rem;
  font-family: "Zilla Slab";
}

.acordeon hr {
  width: 99.8%;
  margin: 0px;
  color: whitesmoke;
}


.acordeon .container.activa .content {
  height: fit-content;
}


.acordeon .container.activa .label::before {
  content: '-';
  font-size: 3rem;
}

/* Sección Cotizar (botones directo al mail y whatsapp */

#cotizar h2{
  font-size: 2.4rem;
  text-align: center;
}

#btn-cot{
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

#btn-cot a{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin: 2rem;
  font-size: 1rem;
  text-decoration: none;
  font-family: Josefin Sans;
  border: 1px solid rgb(0, 0, 0);
  padding: 1rem;
  border-radius: 4px ;
  color:var(--negro);
  width: 25%;
  min-width: 15rem;
  transition: all .3s ease-in-out;
 
}

#btn-cot > a > span:first-child{
  text-align: center;
  margin-right: 1rem;
  color: white;
  border-radius: 10rem;
}

#btn-cot > a > span:last-child{
  padding-bottom: 1.5rem;
  border-bottom: 1px dotted var(--negro);
}

#btn-cot a:hover{
  box-shadow: 0px 0px 10px rgba(124, 124, 124, 0.513);
}

#btn-cot a:first-child  > span:first-child{
  background-color: #0071C5;
  padding: 0.8rem;
}

#btn-cot a:last-child  > span:first-child{
  background-color: #04D960;
  padding: 0.8rem 1rem;
}

#btn-cot a span:first-child{
  font-size: 2rem;
}


/* Footer */
footer{
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--naranja);
  color: white;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}

footer > h4{
  width: 95%;
  font-family: Inter;
  margin: 1rem;
}

.cont-footer{
  display: flex ;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap-reverse;
  justify-content: space-around;
  align-items: center;
}

.cont-footer > div{
  display: flex;
  flex-direction: column;
  min-width: 17rem;
}

.cont-footer > div:first-child{
  width: 25%;
}

#mapa{
  height: 40vh;
  margin-left: 1rem;
}

.cont-footer > div:nth-child(2){
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  padding: 1rem;
}

.cont-footer div:nth-child(2) > div{
  width: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.cont-footer div:nth-child(2) > div > p{
  display: flex;
  flex-direction: row;
  margin: 0px;
}

.cont-footer div:nth-child(2) > div > div{
  margin-right: 1rem;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  background-color: var(--gris);
  border-radius: 100rem;
  margin: 0.3rem;
}


.cont-footer div:nth-child(2) > div:last-child{
  padding: 0rem 4rem;
}

.cont-footer div:nth-child(2) > div:last-child img{
  height: 5rem;
  margin: 0rem 1rem;
}


.cont-footer > div:last-child{
  width: 23%;
}

.cont-footer > div:last-child > img{
height: 17rem;
position: relative;
right: -1rem;
}


  /* Copyright */

.copy{
  font-family: Inter;
  padding: 0.5rem;
  margin: 0px;
  margin-top: 0.5rem;
  font-weight: lighter;
  color: white;
  text-align: center;
  background-color: var(--negro);
  width: 100%;
}

.dolar{
  font-family: Inter;
  padding: 0.5rem;
  margin: 0px;
  margin-top: 0.5rem;
  font-weight: lighter;
  color: white;
  text-align: center;
  background-color: var(--negro);
  width: 100%;
}

/* Media querys */

@media (max-width: 700px) {
  .flex-3 {
    flex-direction: column;
  }

  .flex-3 a {
    border: none;
    margin-bottom: 1.5rem;
  }

  .flex-3 div p {
    margin-top: -2rem;
  }

  .flex-3 a {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 2px solid white;
  }

  .flex-3 a p{
    position: absolute;
    width: 100%;
    margin: 0px;
  }
}

.mail-us {
  position: absolute;
  top: 88%;
  left: 33%;
  background-color: white;
  border-radius: 4px 4px 0rem 0rem;
  width: calc(100% / 3);
  height: 3.5rem;
  padding: 0rem 2px;
  cursor: pointer;
}

.mail-us a {
  all: unset;
}

.text-box-mail h5,
.text-box-mail p {
  font-family: Zilla Slab;
  color: --negro;
  text-decoration: none;
  line-height: 0;
}

/* boton whatsapp */
.rectangle-fixed {
  width: 10rem;
  background-color: white;
  position: fixed;
  bottom: 220px;
  color: var(--negro);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 4px;
  z-index: 10000;
  right: 0.5rem;
}

.rectangle-fixed:hover{
  box-shadow: 1px 1px 5px rgba(66, 66, 66, 0.596);
}

.text-box-wa {
  line-height: -2rem;
}

.rectangle-fixed div p,
.rectangle-fixed div h5 {
  font-family: Zilla Slab;
  line-height: 0;
}

.rectangle-fixed div h5,
.text-box-mail h5 {
  font-size: 13px;
  font-weight: 700;
}

@keyframes slideInFromLeft {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(0);
  }
}


/* MODAL EVITE ESTAFAS */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  flex-direction: column;
  align-items: center;
  align-items: center;
  align-content: center;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
}

.close {
  color: #fff;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 568px) {
  .text-box-mail h5 {
    font-size: 10px;
    letter-spacing: 0.5;
  }
}

@media (max-width: 365px) {

  #logo-header{
    width: 4rem;
  }


  .slogan {
    font-size: 6px;
    font-weight: 600;
    right: 0px;
    top: 6rem;
  }
  
	
  
  #corteLaser, #mejorSolucion{
    padding: 0.5rem 0.5rem 0.3rem 0.7rem;
  }

  .text-box-mail h5 {
    font-size: 8px;
  }
}

.rectangle-fixed div p,
.text-box-mail p {
  font-size: 10px;
  font-weight: 400;
}

.btn-wsp {
  background: #25d366;
  color: #fff;
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50px;
  text-align: center;
  font-size: 18px;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 4;
  transition: all 300ms ease;
  line-height: 35px;
}

.btn-wsp:hover {
  background: #20ba5a;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
  .btn-wsp {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
  }
}


/* Ensayo media query */

@media (max-width: 975px){

  .cont-footer > div:last-child > img{
    height: 15rem;
    margin: 1rem;
    position: static;
    }

    #mapa{
      height: 60vh;
      width: 40vw;

    }

    .cont-footer > div:nth-child(2){
      padding: 0rem 1rem;
    }
    
    .cont-footer div:nth-child(2) > div{
      margin-bottom: 0.3rem;
      font-size: 0.8rem;
    }
    
  
    
    #i-m{
      padding: 0.65rem;
    }
    
    .cont-footer div:nth-child(2) > div:last-child{
      height: 7rem;
      width: 50%;
      margin: 0rem;
      margin-left: 3rem;
    }

}

@media (max-width: 929px) {

  .cont-nosotros {
    display: block;
  }

  .cont-nosotros>div:first-child {
    width: fit-content;
    height: fit-content;
    float: right;
    margin-top: 3rem;
  }

  .cont-nosotros>div:first-child h3 {
    padding: 0px;
    margin: 10px;
    font-size: 13px;
  }

  .cont-nosotros>div:last-child {
    width: 90%;
    height: 100%;
  }


  .corp-img {
    height: 15rem;
    width: 15rem;
    margin: 1rem 1rem 0rem 0.5rem;
  }

  .cont-nosotros>div:last-child {
    width: 100%;
    height: 100%;
    margin: 0rem;
  }

  .grid-container{
    height: 80vh ;
  }

  #corte > div > div {
    flex-direction: column;
    align-items: center;
  }

  #corte > div > div:nth-child(2), 
  #corte > div > div:nth-child(4),
  #corte > div > div:nth-child(6){
    flex-direction: column-reverse;
  }

  

  #corte > div > div > div{
    height: 50vh;
    width: 70%;
    background-position: center;
    background-size: cover;
  }

  #corte > div > div > p{
    width: 90%;
    text-align: justify;
  }

  #contacto > div{
    display: flex;
    flex-direction: column;
  }

  #contacto > div > div:first-child{
    width: 100%;
    flex-direction: row;
    padding: 0px;
    justify-content: space-between;
  }

  #contacto > div > div:first-child ul{
    margin: 1rem;
  }

  #contacto > div > div:last-child{
    width: 100%;
  }
  
.formulario{
  padding: 10px;
  width: 100%;
  margin: 0px;
}

  .formulario span{
    width: 90%;
    display: flex;
    flex-direction: row;
  }

  .formulario input{
    width: 90%;
  }

  .formulario textarea{
    width: 90%;
  }

}

@media (max-width: 700px) {
  .corp-img {
    height: 13rem;
    width: 13rem;
    margin: 1rem 1rem 0rem 0.5rem;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .vermas {
    padding: 2.2% 7%;
  }

  footer h4{
    margin: 0.2rem;
    padding-top: 1rem;
  }

  .cont-footer div:first-child{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
  }

  .cont-footer > div:last-child > img{
    height: 9rem;
    }

    .cont-footer div:nth-child(2) > div:last-child img{
      height: 4rem;
    }

  #mapa{
    height: 25vh;
    width: 60vw;
    
  }

  .cont-footer > div:nth-child(2){
    width: 100%;
  }

  .cont-footer div:nth-child(2) > div:last-child{
      height: 5rem;
      width: 25%;
      margin: 0rem;
      align-self: center;
    }

}

@media (max-width: 590px) {
  .corp-img {
    height: 10rem;
    width: 10rem;
    margin: 0rem;
  }

  #nosotros h4 {
    width: 90%;
    color: var(--naranja);
  }


  .section-title h1 {
    margin: 0px;
    font-size: 2rem;
  }

  .cont-nosotros>div:last-child ul h2 {
    font-size: 1.4rem;
	  
  }

  #corte > div > div > div{
    height: 50vh;
    width: 100%;
    background-position: center;
    background-size: cover;
  }

  #corte > div > div > p{
    width: 100%;
    text-align: justify;
  }

  #btn-cot a:hover{
    box-shadow: 0px 0px 10px var(--naranja);
  }

  #cotizar{
   background-color: white;
  }
  
  #cotizar h2{
    color: var(--negro);
  }
  

  .cont-footer div:nth-child(2) > div:last-child{
    height: 6.5rem;
    width: 40%;
    margin: 0rem;
    align-self: center;
  }

}

@media (max-width: 462px) {
  .cont-nosotros {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .cont-nosotros>div:first-child {
    margin-top: 0.3rem;
  }

  .cont-nosotros>div:last-child {
    width: 100%;
    height: 100%;
  }

  .cont-nosotros>div:last-child ul {
    padding-left: 1rem;
  }

  .corp-img {
    height: 14rem;
    width: 14rem;
    margin: 0rem;
  }

  .cont-nosotros>div:first-child h3 {
    font-size: 1rem;
  }

  #cotizar h2{
    font-size: 2.5rem;
	  
  }

  #contacto img{
    width: 7rem;
  }
  
  #contacto h3{
    font-size: 1.3rem
  }

  #contacto ul{
    font-size: 0.7rem;
  }

  #contacto ul li span{
    margin-right: 0.5rem;
    font-size: 1rem;
  }

  .formulario span{
    flex-direction: column;
  }


}
.contenedor-principal {
  display: flex; /* Activa Flexbox para la disposición horizontal de las cajas */
  flex-direction: row; /* Las cajas se colocan en filas */
  justify-content: space-around; /* Distribuye el espacio alrededor de las cajas */
  align-items: stretch; /* Asegura que las cajas tengan la misma altura */
  gap: 20px; /* Espacio entre las cajas (opcional) */
  padding: 20px; /* Espacio alrededor del contenedor principal */
}

.caja {
  flex: 1; /* Permite que cada caja crezca y ocupe el espacio disponible */
  display: flex;
  flex-direction: column; /* Apila texto e imagen verticalmente */
  border: 1px solid #ccc; /* Borde para visualizar las cajas */
  box-sizing: border-box; /* Incluye padding y borde en el ancho/alto */
  overflow: hidden; /* Evita que el contenido salga de la caja si desborda */
}

.texto-imagen {
  padding: 15px;
  flex-grow: 1; /* Permite que el área de texto crezca para ocupar espacio disponible */
}

.texto-imagen h3 {
  margin-top: 0;
}

.imagen-container {
  padding: 15px;
  text-align: center; /* Centra la imagen dentro de su contenedor */
}

.imagen-responsiva {
  max-width: 100%; /* Asegura que la imagen no exceda el ancho de su contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
  display: block; /* Elimina el espacio extra debajo de la imagen */
}
.texto-bullet h3 {
  margin-top: 0;
	color: darkorange;
}


/* ==========================================================
   ESTILOS PARA EL VISOR DE PDF (MODAL)
   ========================================================== */

/* 1. Contenedor del Modal */
#pdfModal {
    display: none; /* INICIA OCULTO - JS lo cambia a 'flex' al hacer clic */
    position: fixed;
    z-index: 1000; /* Asegura que esté por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro semitransparente */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 2. Contenido Principal del Modal (donde va el header y el iframe) */
.pdf-modal-content {
    background-color: #fefefe;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    height: 90vh; /* Alto relativo a la ventana */
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Importante para que el iframe no se salga */
}

/* 3. Encabezado del Modal (Botones) */
.pdf-modal-header {
    padding: 10px 15px;
    background-color: #333; /* Fondo oscuro para contraste */
    display: flex;
    justify-content: flex-end; /* Alinea los botones a la derecha */
    gap: 10px;
    border-bottom: 1px solid #444;
}

/* 4. Estilos de los Botones */
#openInNewTabBtn a,
#downloadPdfBtn a,
#closePdfBtn {
    /* El selector debe apuntar al <a> y al <button> de cerrar */
}

#openInNewTabBtn button,
#downloadPdfBtn button,
#closePdfBtn {
    display: inline-flex; 
    align-items: center;
    gap: 5px; /* Espacio entre ícono y texto */
    color: white;
    border: none;
    padding: 8px 15px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: inherit;
    font-weight: 600;
}

/* Estilos específicos para Imprimir/Abrir (Usando tu --naranja) */
#openInNewTabBtn button {
    background-color: #333; /* Color de fondo oscuro (casi negro) */
    color: white; /* Texto blanco */
    border: 2px solid #ff6600; /* Borde con el color naranja de acento */
}

#openInNewTabBtn button:hover {
     background-color: #555; /* Un gris más claro al pasar el ratón */
    transform: translateY(-1px); /* Efecto sutil al pasar el ratón */
}

/* Estilos específicos para Descargar (Gris) */
#downloadPdfBtn button {
    background-color: var(--gris, #5a5a5a);
}

#downloadPdfBtn button:hover {
    background-color: #43494b;
}

/* Estilos específicos para Cerrar (Rojo para destacar) */
#closePdfBtn {
    background-color: #333; /* Color de fondo oscuro (casi negro) */
    color: white; /* Texto blanco */
    border: 2px solid #ff6600; /* Borde con el color naranja de acento */
}

#closePdfBtn:hover {
    background-color: #555; /* Un gris más claro al pasar el ratón */
    transform: translateY(-1px); /* Efecto sutil al pasar el ratón */
}


/* 5. Estilos del Iframe */
.pdf-iframe {
    flex-grow: 1; /* Hace que el iframe ocupe todo el espacio restante */
    width: 100%;
    border: none;
    background-color: #fff;
}

/* Media Query para dispositivos más pequeños */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        height: 95vh;
    }
    .pdf-modal-header {
        flex-direction: column;
        align-items: stretch;
    }
    #openInNewTabBtn, #downloadPdfBtn, #closePdfBtn {
        width: 100%;
    }
    #openInNewTabBtn button, #downloadPdfBtn button, #closePdfBtn {
        justify-content: center;
        padding: 10px;
    }
}
/* Botón de Imprimir: Usamos el naranja de tu marca */
#printPdfBtn {
    background-color: #333; /* Color de fondo oscuro (casi negro) */
    color: white; /* Texto blanco */
    border: 2px solid #ff6600; /* Borde con el color naranja de acento */
}

#printPdfBtn:hover {
     background-color: #555; /* Un gris más claro al pasar el ratón */
    transform: translateY(-1px); /* Efecto sutil al pasar el ratón */
}
/* ==========================================================
   ESTILOS (MODIFICADOS) PARA EL WIDGET DE DÓLAR EN LÍNEA
   ========================================================== */

#dolar-oficial-widget {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #f4f4f4;
    padding: 15px 20px;
    width: 90%; /* Hacemos que ocupe más ancho para que entre la línea */
    max-width: 500px; /* Ancho máximo */
    margin: 20px auto; 
    color: var(--negro, #2d2926);
}

/* ESTA ES LA REGLA NUEVA PARA LA LÍNEA ÚNICA */
.cotizacion-linea-unica {
    display: flex;
    flex-wrap: wrap; /* Si no entra en pantalla chica, se ajusta */
    justify-content: space-between; /* Espacio entre los elementos */
    align-items: center; /* Centrado vertical */
    gap: 15px; /* Espacio entre cada ítem */
}

/* Estilo para "Dólar Oficial:" */
.widget-label {
    
    color: var(--naranja, #ff8200); /* Color naranja */
    flex-shrink: 0; /* Evita que se achique */
}

/* Estilo para "Compra: $PRECIO" y "Venta: $PRECIO" */
.widget-item {
    font-weight: 600;
    color: var(--gris, #505759);
}

/* Estilo para el precio (el <strong>) */
.widget-item strong {
    font-weight: 700;
    color: var(--negro, #2d2926);
    margin-left: 5px; /* Pequeño espacio entre el texto y el número */
}

#dolar-actualizacion {
    display: block;
    text-align: center;
 color: #888;
}

#dolar-oficial-widget2 {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #f4f4f4;
    padding: 5px 10px;
    width: 100%; /* Hacemos que ocupe más ancho para que entre la línea */
    margin: 10px auto; 
    color: var(--negro, #2d2926);
}

/* Media Queries para adaptabilidad en diferentes tamaños de pantalla */
@media (max-width: 768px) { /* Para pantallas más pequeñas que 768px */
  .contenedor-principal {
    flex-direction: column; /* Las cajas se apilan verticalmente en pantallas pequeñas */
  }
}