/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

/* Fuente DIN Condensed */
@font-face {
    font-family: 'DIN Condensed';
    src: url('fonts/DIN Condensed Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fuente Black Friday */
@font-face {
  font-family: 'Black Friday';
  src: url('fonts/black-friday/Black Friday.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Fuente BarlowCondensed */
@font-face {
  font-family: 'BarlowCondensed';
  src: url('fonts/barlow-condensed/BarlowCondensed-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BarlowCondensed-SemiBold';
  src: url('fonts/barlow-condensed/BarlowCondensed-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Fuente Cygre-SemiBold */
@font-face {
  font-family: 'Cygre-SemiBold';
  src: url('fonts/cygre-font-family/Cygre-SemiBold-BF63eeebf60aa18.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.overlay-top {
    background-color: rgba(255, 255, 255, 0.5);
    height: 81%;
    width: 100%;
    position: relative;
}

.overlay-bottom {
  background-color: rgba(45, 70, 147, 0.8); /* ← #2D4693 con 50% opacidad */
  height: 19%;
  width: 100%;
  position: relative;
}

.overlay-bottom h1 {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4em;
    text-align: center;
    margin: 0;
    font-family: 'Oswald', Arial, sans-serif;
    letter-spacing: 4px;
    font-weight: 300;
}

.cuadro-puntos-hero {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 5px;
  z-index: 10;
}

.cuadro-puntos-hero div {
  width: 6px;
  height: 6px;
  background-color: #232750;
  border-radius: 50%;
}

/* Responsividad hero */
@media (max-width: 768px) {
    .logo {
        width: 100px;
    }
    .overlay-bottom h1 {
        font-size: 1.5rem;
    }
}

/* NAVIGATION */
.main-nav {
    font-family: 'Black Friday';
    background-color: #F2EFEC;
    position: relative;
    z-index: 5;
    padding: 10px 30px;
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    margin-right: 40px;
}

.logo-menu {
    height: 90px;
    width: auto;
}

.logo {
  position: absolute;
  bottom: -70px;
  left: 50.5%;
  transform: translateX(-50%);
  width: 410px; /* antes 600px */
  height: auto;
  z-index: 5;
}

.menu-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.top-nav {
    text-align: right;
}

.top-nav a {
    text-decoration: none;
    color: #E94930;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 2px;
}

.top-nav a:hover {
  color: #232750; /* Opcional: cambia de color al hacer hover */
}

.bottom-nav {
    margin-top: 20px;
}

.bottom-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.bottom-nav a {
  font-family: 'Black Friday', sans-serif;
  font-size: 1.5rem;           /* aumenta el tamaño */
  letter-spacing: 2px;         /* separación entre letras */
  text-transform: uppercase;   /* opcional: todo en mayúsculas */
  text-decoration: none;
  color: #232750;
  font-weight: 500;
  transition: color 0.3s ease;
}

.bottom-nav a:hover {
    color: #E94930;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .logo-menu {
        height: 50px;
    }

    .logo {
      width: 200px;         /* más pequeño que en desktop */
      bottom: -40px;        /* opcional: sube un poco si está demasiado abajo */
    }

    .menu-right {
        align-items: center;
    }

    .bottom-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .top-nav {
        text-align: center;
    }
}

h2 {
  font-family: 'DIN Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 3em;
  letter-spacing: 2px;
}

/* SECCIÓN NOSOTROS */
.nosotros-section {
  display: flex;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative; 
}

.nosotros-heading {
  position: absolute; /* ← superpuesto */
  top: 0px; /* ← Aquí bajamos 50px */
  left: 0;
  width: 100%;
  height: 150px;
  display: flex;
  z-index: 5; /* ← encima de la imagen y overlays */
}

.nosotros-heading .heading-sector {
  flex: 1;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
}

.nosotros-heading .heading-sector h2 {
  font-weight: bold;
  margin-left: 3px;
  color: #E94930;
  text-align: left;
}

/* Columna izquierda: imagen + overlay */
.columna-imagen {
  width: 48.8%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.columna-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay blanco translúcido (50%) encima de la imagen */
.overlay-blanco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 1;
}

.nosotros-content {
  position: absolute;
  top: 100px; /* debajo del heading */
  left: 47.5%;  /* empieza donde termina la imagen (55%) */
  width: 53%;
  height: calc(100% - 220px); /* ajusta para no salir del viewport */
  padding: 40px;
  box-sizing: border-box;
  color: white;
  font-family: 'BarlowCondensed', sans-serif;
  letter-spacing: 1.2px; /* Ajusta el valor según lo que necesites */
  z-index: 4;
  overflow-y: auto;
}

.nosotros-content p {
  margin-bottom: 20px;
  font-size: 1.5rem;
  line-height: 1;
}

/* Franja azul sobrepuesta */
.franja-azul-superior {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 78%;
  background: linear-gradient(to right,
    rgba(45, 70, 147, 0.5) 0%,
    rgba(45, 70, 147, 0.5) 47%,
    #2D4693 47%,
    #2D4693 100%);
  z-index: 2;
  pointer-events: none;
}

.nosotros-franja-experiencia {
  position: absolute;
  bottom: 35px;
  left: calc(40% + 17%); /* comienza donde termina la imagen + 25% de la columna azul */
  width: 23%; /* ancho del bloque visible */
  height: 75px;
  background-color: #232750;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
  border-radius: 10px;
}

.franja-contenido {
  text-align: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: Cygre-SemiBold;
  font-weight: bold;
  letter-spacing: 1.5px; /* añade separación si deseas */
}

.experiencia-numero {
  font-family: 'Cygre-SemiBold';
  font-size: 2.5rem;
  color: #E94930;
  margin-right: 10px;
}

  
/* Sección Industrias */
.industrias-section {
  background-color: #F2EFEC;
  padding: 0px 0px 150px;
  position: relative;
  font-family: 'Oswald', Arial, sans-serif;
}

/* Encabezado dividido en 4 sectores */
.industria-heading {
  background-color: #F2EFEC;
  display: flex;
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 0;
}

.industria-heading .heading-sector {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industria-heading .heading-sector h2 {
  font-weight: bold;
  margin: 0;
  color: #E94930;
  text-align: center;
}

/* Contenedor de imágenes */
.industrias-container {
  display: flex;
  flex-wrap: wrap; /* ← permite que se apilen */
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

.industria-item {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Punto rojo entre la imagen y el título */
.industria-item::after {
  content: '';
  position: absolute;
  bottom: 46px;
  left: 90%;
  width: 5px;
  height: 5px;
  background-color: red;
  border-radius: 50%;
  z-index: 2;
}

.industria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industria-titulo {
  font-family: 'BarlowCondensed-SemiBold', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  color: #333;
  text-align: left;
  padding: 10px;
  height: 19%;
  box-sizing: border-box;
}

/* Sección Plantas */
.plantas-section {
  background-color: #2D4693;
  /*padding: 60px 20px;*/
  position: relative;
  font-family: 'Oswald', Arial, sans-serif;
}

/* Encabezado dividido en 4 sectores */
.plantas-heading {
  background-color: #2D4693;
  display: flex;
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 0;
}

/* Sectores internos del encabezado */
.plantas-heading .heading-sector {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Título */
.plantas-heading .heading-sector h2 {
  font-weight: bold;
  margin: 0;
  color: #E94930; /* <-- Color actualizado */
  text-align: center;
}

/* Contenedor general de las imágenes */
.plantas-galeria {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  overflow: visible; /* ✅ evita desbordes internos */
  box-sizing: border-box;
}

.plantas-galeria {
  width: 100vw; /* ancho total de la ventana, más seguro que 100% */
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}

.planta-item {
  position: relative;
  flex: 1 1 33.33%;
  max-width: 33.33%;
  height: 80vh;
  overflow: visible;
}

/* Imagen de fondo */
.planta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Capa oscura encima de la imagen */
.planta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(45, 70, 147, 0.5);
  z-index: 1;
  pointer-events: none;
}

/* Rectángulo decorativo en la esquina inferior derecha */
.rectangulo {
  position: absolute;
  bottom: -1%;
  left: 0;
  width: 92px;
  height: 50%;
  background-color: white;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 8;
}

/* LÍNEA VERTICAL */
.rectangulo-vertical {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.8%;
  height: 103%;
  background-color: white;
  border-radius: 6px;
  z-index: 7;
}

/* TEXTO VERTICAL */
.texto-vertical {
  font-family: 'BarlowCondensed-SemiBold', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 24px;
  font-weight: bold;
  color: #232750;
  margin-bottom: 25%;
  margin-top: -10%; /* mueve hacia arriba */
}

.numero-planta {
  font-family: 'Cygre-SemiBold', sans-serif;
  position: absolute;
  /*top: -47px; /* fuera del marco de la imagen */
  top: -61px; /* fuera del marco de la imagen */
  left: 20px;
  font-size: 48px;
  font-weight: bold;
  color: #E94930;
  /*background-color: white;*/
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 10;
}

.texto-planta {
  font-family: 'BarlowCondensed-SemiBold', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  position: absolute;
  top: 8px;
  left: 35px;
  font-size: 28px;
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
  z-index: 10;
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
  .planta-item {
    width: 100%;
    height: auto;
  }

  .rectangulo {
    width: 20%;
    height: 20%;
  }
}

@media (max-width: 768px) {
  .planta-item {
    width: 100%;
    height: auto;
  }

  .numero-planta {
    font-size: 36px;
    top: 5%;
    left: 5%;
  }

  .texto-planta {
    font-size: 24px;
    top: 15%;
    left: 5%;
  }
}

/* Sección Productos */
/* Encabezado sección Productos */
.productos-heading {
  background-color: #F2EFEC; /* Fondo claro conservado */ 
  display: flex;
  width: 100%;
  height: 150px; /* Misma altura que las demás secciones */
  box-sizing: border-box;
  position: relative;
  margin-bottom: 0;
}

.productos-heading .heading-sector {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.productos-heading .heading-sector h2 {
  font-weight: bold;
  margin: 0;
  color: #E94930;
  text-align: center;
}

/* Sección Productos */
.productos-section {
  background-color: #F2EFEC;
  padding: 10px 0px 50px;
  position: relative;
}

/* Contenedor general */
.productos-container {
  width: 100%;
  padding: 0 50px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px; /* espacio entre filas */
}
/*
.fila-productos {
  display: flex;                
  flex-wrap: wrap;              
  gap: 30px;                    
  justify-content: space-between;
}
*/
.fila-productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}
/*
.producto-item {
  width: calc(25% - 23px);     
  min-height: 380px;           
  background-color: transparent;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
}
*/
.producto-item {
  min-height: 250px;
  background-color: transparent;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
}
/* Título del producto */
.producto-titulo {
  /*font-family: 'BarlowCondensed-SemiBold', sans-serif;*/
  font-family: 'BarlowCondensed', sans-serif;
  color: #E94930;
  font-size: 1.8rem;
  height: 70px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: flex-end; /* Esto baja el texto al fondo del contenedor */
}

/* Línea divisoria */
.producto-linea {
  width: 100%;
  height: 6px;
  background-color: #E94930;
  margin-bottom: 10px;
  border-radius: 5px;
}

/* Descripción */
.producto-descripcion {
  font-family: 'BarlowCondensed', sans-serif;
  font-size: 1.2rem;
  color: #232750;
  margin-top: 10px;
}

/* Responsivo */
@media (max-width: 1024px) {
  .fila-productos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .fila-productos {
    grid-template-columns: 1fr;
  }
}

/* Sección contacto */
.contacto-section {
  background-color: #2D4693;
  padding: 0px 0px 30px;
  font-family: 'Oswald', Arial, sans-serif;
  position: relative;
}

/* Encabezado */
.contacto-heading {
  background-color: #2D4693; /* Se mantiene el fondo azul */
  display: flex;
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 0;
}

.contacto-heading .heading-sector {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-heading .heading-sector h2 {
  font-weight: bold;
  margin: 0;
  color: #E94930;
  text-align: center;
}

/* Contenedor principal */
.contacto-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

/* Formulario */
.formulario-contacto {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  gap: 12px; /* ← antes 20px, reduce espacio entre campos */
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
  font-family: 'BarlowCondensed-SemiBold', sans-serif;
  color: #232750;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 16px 12px; /* ← aumentamos el alto aquí */
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-family: 'BarlowCondensed-SemiBold', sans-serif;
  color: #232750;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.formulario-contacto textarea {
  resize: vertical;
  min-height: 120px;
}

.grupo-campos {
  display: flex;
  gap: 12px; /* ← antes 20px */
  flex-wrap: wrap;
}

.grupo-campos .campo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Botón */
.formulario-contacto button {
  font-family: 'BarlowCondensed-SemiBold', sans-serif;
  background-color: #232750;
  color: white;
  border: none;
  padding: 16px;
  font-size: 2rem;
  text-transform: uppercase;   /* opcional: todo en mayúsculas */
  letter-spacing: 4px;
  border-radius: 50px;
  cursor: pointer;
  width: 100%; /* ← hace que ocupe todo el ancho */
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #1b1f3d;
}


/* Datos de contacto */
.datos-contacto {
  font-family: 'BarlowCondensed', sans-serif;
  color: white;
  font-size: 2.2rem;
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 10px;
  letter-spacing: 1px;
  padding-left: 100px; /* o el valor que necesites */
  margin-left: auto;
}

.espacio {
  height: 28px; /* igual a un renglón de texto aprox */
}

.aviso-privacidad {
  font-family: 'BarlowCondensed', sans-serif;
  font-size: 1.8rem;
  text-align: center;
  margin-top: 130px;
  color: white;
  font-weight: 400;
  opacity: 0.8;
}

.mensaje-flotante {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #232750;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  font-family: 'BarlowCondensed', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mensaje-flotante.visible {
  opacity: 1;
  transform: translateY(0);
}

.mensaje-flotante.error {
  background-color: #E94930;
}

.mensaje-flotante.success {
  background-color: #2D9C5F;
}


.cuadro-puntos {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 5px;
  z-index: 10;
}

.cuadro-puntos div {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
}

/* Responsivo */
@media (max-width: 768px) {
  .contacto-contenido {
    flex-direction: column;
  }

  .grupo-campos {
    flex-direction: column;
    gap: 10px; /* más compacto aún en móviles */
  }

  .formulario-contacto button {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .nosotros-content p {
    margin-bottom: 5px;
    font-size: 1.1rem;
    line-height: 1;
  }

  .nosotros-section {
    height: 80vh;
  }

  .experiencia-numero {
    font-size: 2rem;
    margin-right: 10px;
    margin-top: 10px;
  }

  .franja-contenido {
    color: white;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1.2px; /* añade separación si deseas */
  }

}

@media (max-width: 1100px) {
  .nosotros-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1;
  }

  .nosotros-section {
    height: 90vh;
  }

  .experiencia-numero {
    font-size: 2.5rem;
    margin-right: 10px;
    margin-top: 20px;
  }

  .franja-contenido {
    color: white;
    font-size: 1.2rem;
    font-weight: 350;
    letter-spacing: 1.5px; /* añade separación si deseas */
  }
}

@media (max-width: 1000px) {
  .nosotros-content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1;
  }

  .nosotros-section {
    height: 80vh;
  }
}

@media (max-width: 860px) {
  .nosotros-content p {
    margin-bottom: 0px;
    font-size: 0.8rem;
    line-height: 1;
  }

  .nosotros-section {
    height: 75vh;
  }
}

@media (max-width: 768px) {
  .nosotros-section {
    display: block;             /* ← NO flex en móvil */
    height: auto;
    overflow: visible;
    position: relative;
    background-color: #2D4693;
  }

  .columna-imagen {
    width: 100%;
    height: auto;
    position: relative;
  }

  .columna-imagen img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .nosotros-heading {
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    height: auto;
  }

  .nosotros-heading .heading-sector {
    justify-content: center;
    padding: 10px 0;
  }

  .nosotros-heading .heading-sector h2 {
    font-size: 2rem;
    color: #E94930;
  }

  .nosotros-content {
    position: static;
    width: 100%;
    padding: 20px;
    color: white;
    font-family: 'BarlowCondensed', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    z-index: auto;
    background-color: #2D4693;
  }

  .franja-azul-superior {
    display: none;
  }

  .nosotros-franja-experiencia {
    position: static;
    width: 100%;
    margin: 20px 0;
    height: auto;
    padding: 20px;
    background-color: #232750;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .plantas-galeria {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .planta-item {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .planta-item img {
    height: auto;
  }
}

@media (max-width: 768px) {
  .rectangulo {
    height: 40%; /* ← o ajusta a 40%, 50% según necesites */
  }
}

@media (max-width: 768px) {
  .numero-planta {
    top: -35px;       /* más arriba */
    left: auto;       /* desactiva el left */
    right: 20px;      /* lo posiciona a la derecha */
    font-size: 36px;  /* tamaño más pequeño */
  }

  .texto-planta {
    top: 20px; /* más arriba */
    left: auto;       /* desactiva el left */
    right: 20px;      /* lo posiciona a la derecha */
    font-size: 18px; /* tamaño de letra más pequeño */
  }

  .texto-vertical{
    font-size: 18px; /* tamaño de letra más pequeño */
    margin-bottom: 14%;
  }
}

@media (max-width: 768px) {
  .nosotros-heading .cuadro-puntos {
    top: 0;
    right: 0;
    transform: translate(85%, -320%);
  }

  .productos-heading .cuadro-puntos {
    top: 0;
    right: 0;
  }

  .contacto-heading .cuadro-puntos {
    top: 0;
    right: 0;
  }

  .plantas-heading .cuadro-puntos {
    top: 10%;
    right: 5%;
  }

  .logo-container {
    display: none;
  }

}

@media (max-width: 768px) {
  .formulario-contacto {
    width: 100%;
    flex: 1 1 100%;
  }

  .contacto-contenido {
    flex-direction: column;
    align-items: stretch;
  }

  .datos-contacto {
    width: 100%;
    font-size: 1.6rem; /* Disminuye el tamaño del texto */
    align-items: center; /* Centra si se desea */
    text-align: center;  /* Centrado visual */
    padding-top: 20px;
  }
}

html, body {
  overflow-x: hidden;
}