/* ============================================
   BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  line-height: 1.6;
  font-family: sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
}



.space {
  height: 30px;
}

.space_2 {
  height: 70px;
}

.space_b {
  height: 70px;
}

.linea-sombra {
  border: none;
  height: 1px;
  background-color: #cccccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.oculto-visual {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.tam {
  font-size: 1.3em;
  color: #000;
}

.titulo_h1 {
  font-size: 1.8em;
  color: #000;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
  line-height: 1.4;
}

.centra_2026 {
  text-align: center;
}

/* ============================================
   LINKS & SMALL BUTTONS
   ============================================ */

.btn_2025 {
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.btn_2025:hover {
  color: #999;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.contenido {
  /*padding: 40px 10%;*/
  width: 1400px;
  margin: 0 auto;
}

.envuelve {
  width: 1200px;
  margin: 0 auto;
}

/* .envuelve_ante — igual que .envuelve, dejado por si se usa por separado en el HTML */
/*
.envuelve_ante {
  width: 1200px;
  margin: 0 auto;
}
*/

.envuelve_bg {
  background: #ccc;
  padding: 2%;
  box-shadow:
    0 -5px 10px rgba(0, 0, 0, .4),
    0  5px 10px rgba(0, 0, 0, .4);
}

.envuelve_bg_amarillo {
  background: #ffffe0;
  padding: 2%;
  box-shadow:
    0 -5px 10px rgba(0, 0, 0, .2),
    0  5px 10px rgba(0, 0, 0, .2);
}

.envuelve_bg_suave {
  background: rgba(204, 204, 204, 0.5);
  padding: 2%;
  box-shadow:
    0 -5px 10px rgba(0, 0, 0, .3),
    0  5px 10px rgba(0, 0, 0, .3);
}

/* ============================================
   CONTACT LAYOUT (columnas izq/der)
   ============================================ */

.cont_izq {
  float: left;
  width: 40%;
  text-align: center;
  line-height: 35px;
}

.cont_der {
  float: right;
  width: 58%;
}

.ico_cont {
  font-size: 2em;
  color: #1a3d7c;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  background: white;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  color: #000;
  border-radius: 3px;
  letter-spacing: 1px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  font-family: inherit;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
}

.privacy-check input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.privacy-check a {
  color: #ccc;
  transition: all 0.3s ease;
}

.privacy-check a:hover {
  color: #1a3d7c;
}

.contact-form button {
  padding: 15px 40px;
  background: #1a3d7c;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #ccc;
  color: #1a3d7c;
}


/* =============================================
    NOTICIAS
    ============================================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 1rem 0;
}

.news-grid-footer {
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;

}



.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
}
.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-img-wrap:hover img {
  transform: scale(1.07);
}
.news-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a2a5e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.45;
  margin: 0;
}
.news-btn {
  display: inline-block;
  background: #1a2a5e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 3px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}
.news-btn:hover {
  background: #999;
}
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============================================
   HERO IMAGES
   ============================================ */

.hero-imagen {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow:
    0 -8px 18px rgba(0, 0, 0, .30),
    0  8px 18px rgba(0, 0, 0, .30);
}

.hero-imagen-small {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow:
    0 -8px 18px rgba(0, 0, 0, .30),
    0  8px 18px rgba(0, 0, 0, .30);
}

.hero-imagen-2 {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 -8px 18px rgba(0, 0, 0, .30),
    0  8px 18px rgba(0, 0, 0, .30);
}

/* Imagen de fondo — compartido entre los tres heroes */
.hero-imagen img,
.hero-imagen-small img,
.hero-imagen-2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Título superpuesto — compartido entre los tres heroes */
.hero-imagen h1,
.hero-imagen-small h1,
.hero-imagen-small p,
.hero-imagen-2 h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 800;
  text-align: center;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .55);
}

/* ============================================
   NAVIGATION
   ============================================ */

.cabecera {
  padding: 0;
  overflow: hidden;
}

.corner {
  border-radius: 5px;
  display: block;
}

.logo_up {
  width: 250px;
}

.menu {
  background: #fff;
  padding: 0.5%;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 82px;
  width: fit-content;
  margin: 0 auto;
  white-space: nowrap;
}

.menu_sombra {
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  margin-bottom: 20px;
}

.menu_web {
  font-size: 0;
  text-align: center;
  flex: 1;
}

.menu_web li {
  font-size: 16px;
  display: inline-block;
  color: #000;
  padding: 0 25px;
  vertical-align: middle;
  font-weight: normal;
}

.menu_web li a {
  color: #000;
  transition: color 0.3s ease;
}

.menu_web li a:hover {
  color: #999;
}

.menu_movil {
  display: none;
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion {
  background: transparent;
  color: #000;
  cursor: pointer;
  padding: 0 0 0 3px;
  border: none;
  outline: none;
  transition: background-color 0.4s;
  font-size: 1.6em;
  font-weight: normal;
  display: inline-block;
  float: left;
  width: 20px;
  z-index: 10;
  top: -2px;
  position: relative;
}

.active,
.accordion:hover {
  background-color: transparent;
}

.panel {
  padding: 0;
  background: #fff;
  max-height: 0;
  margin: 0;
  width: 100%;
  text-align: center;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* ============================================
   BUTTON — default-btn (animated border effect)
   ============================================ */

.default-btn {
  z-index: 1;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  padding: 15px 30px 16px;
  line-height: 1;
  text-align: center;
  background-color: #000;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
  display: inline-block;
}

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

/* Animated border lines */
.default-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, #fff, transparent);
  animation: right 2s linear infinite;
}

.default-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #fff, transparent);
  animation: left 2s linear infinite;
}

.default-btn span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: top 2s linear infinite;
  animation-delay: 1s;
}

.default-btn span::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to top, #fff, transparent);
  animation: bottom 2s linear infinite;
  animation-delay: 1s;
}

/* Keyframes */
@keyframes left {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

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

@keyframes top {
  0%   { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

@keyframes bottom {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================================
   2-COLUMN LAYOUT HELPERS
   ============================================ */

.not_izq_2026 {
  float: left;
  width: 58%;
  text-align: left;
}

.not_der_2026 {
  float: right;
  width: 40%;
}

.not_der_2026 img {
  width: 100%;
  vertical-align: top;
}

.texto_ancho_2026 {
  text-align: left;
}

.not_izq_2026_bis {
  float: left;
  width: 40%;
}

.not_izq_2026_bis img {
  width: 100%;
  vertical-align: top;
}

.not_der_2026_bis {
  float: right;
  width: 58%;
}

.not_izq_2026_nuevo {
  float: left;
  width: 70%;
  text-align: left;
}

.not_der_2026_nuevo {
  float: right;
  width: 28%;
  text-align: center;
}

.not_der_2026_nuevo img {
  width: 75%;
  display: block;
  margin: 0 auto;
}

/* ============================================
   PRODUCTS — FLEX CONTAINER
   ============================================ */

.contenedor-productos-flex {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 1400px;
}

.producto_compra_flex {
  width: 23%;
  min-width: 200px;
  text-align: center;
}

.producto_compra_flex p{
  font-size: 14px;
  text-align: center;
}

.producto_compra_flex h3{
  font-size: 14px;
  text-align: center;
}

.producto_compra_flex img {
  vertical-align: top;
  width: 70%;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.producto_compra_flex a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.3em;
}

.producto_compra_flex a:hover {
  color: #999;
}

.btn-comprar {
  display: inline-block;
  padding: 10px 24px;
  background-color: #2c3e6f;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.btn-comprar:hover {
  background-color: #dedede;
  color: #2c3e6f;
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.lista-productos {
  max-width: 1400px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
}

.lista-centrada {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.lista-productos li {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  padding: 8px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lista-productos li:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}

.lista-productos img {
  width: 100%;
  max-width: 220px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.lista-productos h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 700;
  color: #000;
}

.lista-productos p {
  margin: 0 0 24px;
  font-size: 1.1rem;
  color: #000;
}

.btn-producto {
  display: inline-block;
  margin-top: auto;
  margin-bottom: 8px;
  padding: 13px 28px;
  background: #282f51;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ============================================
   FOOTER
   ============================================ */

.pie {
  background-color: #2c3e6f;
  background-image:
    linear-gradient(rgba(44, 62, 111, 0.5), rgba(44, 62, 111, 0.5)),
    url('../imgs/trama-footer.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  padding: 2%;
  box-shadow: 0 -5px 8px rgba(0, 0, 0, .24);
}

.pie a {
  color: #fff;
  transition: all 0.3s ease;
}

.pie a:hover {
  color: #ccc;
}

.pie-contenedor {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  font-size: 14px;
}

.pie-izquierda h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.pie-izquierda p {
  margin: 10px 0;
}

.pie-derecha {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
}

.pie-derecha a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.pie-derecha a:hover {
  color: #cccccc;
}

/* ============================================
   RESPONSIVE — TABLET/MÓVIL (≤ 1024px)
   ============================================ */

@media only screen and (max-width: 1024px) {

  .container {
    width: 100%;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .space_b {
  height: 0;
}

  .contenido {
    /*padding: 40px 10%;*/
    width: 96%;
    padding: 2%;
    margin: 0 auto;
    text-align: center;
  }

  .not_der_2026_nuevo {
    float: left;
    width: 100%;
    text-align: center;
}

  .envuelve_big {
    width: 96%;
    padding: 2%;
    margin: 0 auto;
  }

  .not_izq_2026_nuevo {
    float: left;
    width: 100%;
    text-align: center;
}

.not_der_2026_nuevo img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

  .envuelve {
    width: 96%;
    padding: 2%;
    margin: 0 auto;
  }

  .envuelve_ante {
    width: 100%;
    margin: 0 auto;
  }

  .envuelve_bg,
  .envuelve_bg_amarillo,
  .envuelve_bg_suave {
    padding: 0;
    padding-top: 10px;
  }

  /* Hide desktop menu, show mobile */
  .menu {
    display: none;
  }

  .menu_movil {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    padding: 0;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  }

  .accordion {
    order: 1;
    flex: 0 0 auto;
    padding: 3px;
    margin: 0;
    line-height: 1;
  }

  .logo_mov {
    order: 2;
    flex: 1 1 auto;
    max-width: 85%;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo_mov a {
    display: flex;
    align-items: center;
  }

  .logo_mov img {
    width: auto;
    height: 50px;
    max-width: 100%;
    display: block;
  }

  .panel {
    order: 3;
    width: 100%;
  }

  .menu_web {
    padding-bottom: 20px;
  }

  .menu_web li {
    font-size: 16px;
    display: inline-block;
    text-align: center;
    color: #000;
    width: 100%;
    padding: 0;
    margin-bottom: 5px;
    vertical-align: top;
    font-weight: normal;
  }

  /* Contact columns */
  .cont_izq {
    float: left;
    width: 98%;
    text-align: center;
    line-height: 35px;
    margin-bottom: 40px;
  }

  .cont_der {
    float: left;
    width: 100%;
  }

  /* Contact form */
  .contact-form {
    max-width: 100%;
    padding: 0 20px;
    gap: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
    font-size: 16px; /* Evita zoom automático en iOS */
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .privacy-check {
    font-size: 14px;
    align-items: flex-start;
  }

  .privacy-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .contact-form button {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
    align-self: stretch;
  }

  /* Typography */
  .titulo_h1 {
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    line-height: 1.4;
  }

  .tam {
    font-size: 1.3em !important;
    line-height: 1.5;
  }

  /* Hero images */
  .hero-imagen {
    height: 260px;
  }

  .hero-imagen-small {
    height: 260px;
  }

  .hero-imagen-2 {
    height: 180px;
  }

  /* 2-column → stacked */
  .not_izq_2026 {
    float: left;
    text-align: center;
    width: 100%;
    padding: 0;
  }

  .not_der_2026 {
    float: left;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .not_der_2026 img {
    width: 100%;
    vertical-align: top;
  }

  .texto_ancho_2026 {
    text-align: center;
    width: 96%;
    padding: 2%;
  }

  .not_izq_2026_bis {
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 27px;
  }

  .not_izq_2026_bis img {
    width: 100%;
    vertical-align: top;
  }

  .not_der_2026_bis {
    float: left;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
  }

  .not_der_2026_ficha img {
    width: 100%;
    vertical-align: top;
  }

  .space_2026 {
    height: 20px !important;
  }

  .space_2 {
    height: 30px;
  }

  /* Products flex */
  .producto_compra_flex {
    width: 45%;
  }

  /* Products grid */
  .lista-productos {
    grid-template-columns: 1fr;
  }

  /* Productos centrados → columna simple */
  .lista-productos-centrada {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .lista-productos-centrada li {
    width: 100%;
    max-width: 340px;
  }

  /* Footer */
  .pie {
    padding: 6% 4%;
    font-size: 0.85em;
  }

  .pie-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .pie-izquierda h2,
  .pie-izquierda p {
    text-align: center;
  }

  .pie-derecha {
    justify-content: center;
    text-align: center;
  }

  /* Botón principal */
  .default-btn {
    font-size: 14px;
    padding: 12px 22px;
  }

}

/* ============================================
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px)
   ============================================ */

@media only screen and (max-width: 480px) {

  /* Contact form */
  .contact-form {
    padding: 0 15px;
    gap: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
  }

  .privacy-check {
    font-size: 13px;
  }

  /* Products flex */
  .producto_compra_flex {
    width: 100%;
  }

  /* Hero images */
  .hero-imagen {
    height: 200px;
  }

  .hero-imagen-2 {
    height: 140px;
  }

  /* Typography */
  .titulo_h1 {
    font-size: 1.6em;
  }

  .tam {
    font-size: 1.3em;
  }

  /* Botón principal */
  .default-btn {
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
  }

}


/************* NOSOTROS *******************/
.hero-nosotros {
  display: flex;
  align-items: center;
  background: #fff;
  min-height: 520px;
}

.hero-texto {
  width: 40%;
  padding-left: 5%;
}

.hero-texto h1 {
  color: #08265f;
  font-size: 1.8em;
  line-height: 1.1;
  font-weight: 900;
  margin: 0;
}

.hero-imagen-nosotros {
  width: 60%;
}

.hero-imagen-nosotros img {
  width: 100%;
  display: block;
}

.bloque-historia {
  display: flex;
  align-items: center;
  gap: 10%;
  padding: 90px 4%;
  background: #fff;
}

.historia-texto {
  width: 52%;
}

.historia-texto span {
  display: block;
  color: #08265f;
  font-size: 1.8em;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}

.historia-texto h2 {
  color: #08265f;
  font-size: 1.3em;
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 18px;
}

.historia-texto p {
  color: #111;
  font-size: 1em;
  line-height: 1.45;
  margin: 0 0 20px;
}

.historia-imagen {
  width: 38%;
}

.historia-imagen img {
  width: 100%;
  display: block;
}

.bloque-info {
  width: 100%;
  padding: 70px 0;
  background: #fff;
}

.bloque-info.gris {
  background: #f4f4f4;
  box-shadow: 
    0 -5px 10px rgba(0, 0, 0, 0.12),
    0  5px 10px rgba(0, 0, 0, 0.12);
    position: relative;
}

.bloque-info-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  gap: 8%;
  align-items: center;
}

.bloque-info h2 {
  width: 30%;
  color: #08265f;
  font-size: 1.3em;
  line-height: 1.1;
  margin: 0;
  font-weight: 900;
}

.bloque-info div div {
  width: 62%;
}

.bloque-info p {
  font-size: 1em;
  line-height: 1.45;
  margin: 0 0 20px;
}

/* Móvil */
@media only screen and (max-width: 768px) {

  .hero-nosotros {
    flex-direction: column;
    min-height: auto;
    padding: 40px 7% 20px;
    text-align: center;
  }

  .hero-texto {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .hero-texto h1 {
    font-size: 1.4em;
  }

  .hero-imagen-nosotros {
    width: 100%;
    margin-top: 25px;
  }

  .bloque-historia {
    flex-direction: column;
    padding: 45px 7%;
    gap: 30px;
    text-align: center;
  }

  .historia-texto {
    width: 100%;
    text-align: center;
    order: 1;
  }

  .historia-imagen {
    width: 100%;
    order: 2;
  }

  .historia-texto span {
    font-size: 1.8em;
  }

  .historia-texto h2 {
    font-size: 1.3em;
  }

  .historia-texto p {
    font-size: 1em;
    text-align: center;
  }

  .historia-imagen img {
    width: 100%;
    border-radius: 8px;
  }

  .bloque-info {
    padding: 40px 0;
    text-align: center;
  }

  .bloque-info-inner {
    flex-direction: column;
    align-items: center;
    padding: 0 7%;
    gap: 20px;
    text-align: center;
  }

  .bloque-info h2,
  .bloque-info div div {
    width: 100%;
    text-align: center;
  }

  .bloque-info h2 {
    font-size: 1.3em;
  }

  .bloque-info p {
    font-size: 1em;
    text-align: center;
  }
}