/* ALPHAGROUP — estilos organizados
Cada sección incluye sus ajustes de pantalla en el orden original.
Se conservan los valores y las rutas del archivo enviado.
Menú móvil: 1050px; ajuste adicional de opacidad: 800px.
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@1,400;1,500;1,600&display=swap");

/* ==================================================
01. CONFIGURACIÓN Y FUENTES
================================================== */

:root {
  --principal: #087F8C;
  --principal-hover: #066875;
  --oscuro: #123F4B;
  --fondo: #FAFCF8;
  --secundario: #087F8C;
  --acento: #83CE00;
  --fondo-suave: #EFF8E7;
  --texto: #203B42;
  --texto-secundario: #526B70;
  --fuente: "Inter", sans-serif;
  --fuente-elegante: "Playfair Display", serif;
}

:root {
  --lima: #83CE00;
  --turquesa: #00B8AE;
}

/* ==================================================
02. BASE, TEXTOS Y DISTRIBUCIÓN
================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--fondo);
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.055em;
}

h3 {
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--principal);
  outline-offset: 5px;
}

button:focus-visible {
  outline: 3px solid var(--principal);
  outline-offset: 5px;
}

summary:focus-visible {
  outline: 3px solid var(--principal);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

.contenedor {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.seccion {
  padding: 100px 6%;
}

.etiqueta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secundario);
  margin-bottom: 28px;
}

h2 em {
  display: block;
  font-family: var(--fuente-elegante);
  font-weight: 400;
}

.texto {
  color: var(--texto-secundario);
  font-size: 15px;
  line-height: 1.9;
}

.texto-destacado {
  font-size: clamp(21px, 2.5vw, 27px);
  line-height: 1.5;
  margin-bottom: 24px;
  margin-top: 50px;
}

.encabezado-seccion {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 40px;
}

.encabezado-seccion > .texto {
  max-width: 350px;
}

@media (max-width: 700px) {
  .seccion {
    padding: 70px 24px;
  }

  .encabezado-seccion {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .encabezado-seccion > .texto {
    max-width: none;
  }

  .tarjeta-producto {
    min-height: 300px;
    padding: 28px;
  }

  .tarjeta-producto .etiqueta {
    top: 28px;
    left: 28px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .tarjeta-producto:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgb(0 0 0 / 14%);
  }
}

@media (hover: none) {
  .tarjeta-producto:hover {
    transform: none;
    box-shadow: none;
  }
}

::selection { background: #83CE00; color: #123F4B; }

/* ==================================================
03. BOTONES Y ENLACES
================================================== */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.3s ease,
  background 0.3s ease,
  box-shadow 0.3s ease;
}

.boton:hover {
  transform: translateY(-3px);
}

.boton:active {
  transform: scale(0.97);
}

.boton-principal {
  background: var(--principal);
  color: white;
}

.boton-principal:hover {
  background: var(--principal-hover);
  box-shadow: 0 10px 30px rgb(0 184 174 / 25%);
}

.boton-claro {
  background: rgb(255 255 255 / 75%);
  color: black;
}

.boton-claro:hover {
  background: #EFF8E7;
}

.boton-oscuro {
  background: var(--oscuro);
  color: white;
}

.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  font-size: 14px;
  transition: gap 0.3s ease;
}

.enlace-flecha:hover {
  gap: 26px;
}

@media (max-width: 700px) {
  .tarjeta-producto .enlace-flecha span {
    right: 28px;
    bottom: 120px;
  }
}

.boton-principal {
  background: var(--lima);
  color: #123F4B;
}

.boton-principal:hover {
  background: #A0E329;
  box-shadow: 0 10px 30px rgb(131 206 0 / 25%);
}

.boton-claro:hover {
  background: #E7F7D4;
}

.boton-oscuro:hover {
  background: #087F8C;
}

/* ==================================================
04. CABECERA, LOGO Y MENÚ
================================================== */

.cabecera {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 28px;
  color: white;
  border-bottom: 1px solid rgb(18 63 75 / 92%);
  transition: background 0.6s ease,
  backdrop-filter 0.6s ease;
  isolation: isolate;
  background: transparent;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.marca {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 6px;
}

.marca-logo {
  display: block;
  width: 135px;
  height: 70px;
  object-fit: contain;
}

.navegacion {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 7px;
  border-radius: 50px;
  background: rgb(18 63 75 / 92%);
  border: 1px solid rgb(255 255 255 / 25%);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.navegacion a {
  padding: 7px 11px;
  font-size: 13px;
  border-radius: 30px;
  color: #ffffff;
  transition: background-color 0.35s ease,
  color 0.35s ease;
}

.navegacion a:hover {
  background: var(--secundario);
  color: white;
}

.boton-menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 0;
}

.boton-menu span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: rgb(255 255 255 / 60%);
}

.cabecera::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
  to bottom,
  rgb(18 63 75 / 65%) 0%,
  rgb(18 63 75 / 35%) 45%,
  rgb(0 0 0 / 8%) 75%,
  transparent 100%
  );
  inset: 0 0 -20px;
}

@media (max-width: 1050px) {
  .cabecera {
    padding: 16px 24px;
  }

  .cabecera-cotizar {
    display: none;
  }

  .boton-menu {
    display: block;
  }

  .navegacion {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    border-radius: 16px;
    background: rgb(18 63 75 / 98%);
  }

  .navegacion.abierta {
    display: flex;
  }

  .navegacion a {
    padding: 13px 16px;
  }
}

@media (max-width: 700px) {
  .marca-logo {
    width: 105px;
    height: 54px;
  }
}

.cabecera.con-scroll {
  background: rgb(131 206 0 / 30%);
}

.cabecera::before {
  background: linear-gradient(
  to bottom,
  rgb(18 63 75 / 91%),
  transparent
  );
}

.cabecera .marca-logo {
  filter:
  drop-shadow(0 0 3px white)
  drop-shadow(0 0 7px rgb(255 255 255 / 90%));
}

.cabecera .marca {
  background: rgb(255 255 255 / 60%);
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
}

.navegacion {
  background: rgb(255 255 255 / 100%);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 30%);
}

.navegacion a {
  color: black;
}

.navegacion a:hover,
.navegacion a:focus-visible {
  background: #EAF6E8;
  color: #168A45;
}

.navegacion {
  background: rgb(255 255 255 / 60%);
}

@media (max-width: 800px) {
  .navegacion {
    background: rgb(255 255 255 / 97%);
  }
}

/* ==================================================
05. PORTADA Y EFECTO DEL CURSOR
================================================== */

.portada {
  position: relative;
  isolation: isolate;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  background: var(--oscuro);
  color: white;
}

.portada-fondo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  animation: fondo-entrada 1.8s ease-out both;
  background-image: url("../archivos/imagenes/portada-viva_1.png");
  background-color: var(--oscuro);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.portada-revelado {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("../archivos/imagenes/portada-viva_1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
  circle 260px at var(--cursor-x, -999px) var(--cursor-y, -999px),
  black 0%,
  black 40%,
  rgb(0 0 0 / 75%) 60%,
  rgb(0 0 0 / 40%) 75%,
  rgb(0 0 0 / 12%) 88%,
  transparent 100%
  );
  mask-image: radial-gradient(
  circle 260px at var(--cursor-x, -999px) var(--cursor-y, -999px),
  black 0%,
  black 40%,
  rgb(0 0 0 / 75%) 60%,
  rgb(0 0 0 / 40%) 75%,
  rgb(0 0 0 / 12%) 88%,
  transparent 100%
  );
  transition: opacity 0.4s ease;
}

.portada-sombra {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
  to bottom,
  rgb(18 63 75 / 25%),
  rgb(18 63 75 / 8%) 45%,
  rgb(18 63 75 / 50%)
  );
}

.portada.cursor-activo .portada-revelado {
  opacity: 1;
}

.portada-titulo {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 4;
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
  top: 17%;
}

.portada-titulo .etiqueta {
  color: #D8F2EC;
}

.portada h1 {
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-size: clamp(40px, 7.2vw, 86px);
}

.portada h1 span {
  display: block;
  animation: titulo-entrada 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.25s;
}

.portada h1 span:nth-child(2) {
  animation-delay: 0.42s;
}

.portada h1 .titulo-elegante {
  font-family: var(--fuente-elegante);
  font-style: italic;
  letter-spacing: -0.05em;
}

.portada-descripcion {
  position: absolute;
  z-index: 4;
  width: 270px;
  font-size: 14px;
  line-height: 1.4;
  color: #E7F5F6;
  animation: contenido-entrada 1s ease-out both;
  bottom: 58px;
  left: 5%;
  animation-delay: 0.7s;
  bottom: 140px;
}

.portada-accion {
  position: absolute;
  z-index: 4;
  width: 270px;
  font-size: 14px;
  line-height: 1.4;
  color: #E7F5F6;
  animation: contenido-entrada 1s ease-out both;
  bottom: 50px;
  right: 5%;
  animation-delay: 0.85s;
}

.portada-accion .boton {
  margin-top: 22px;
}

@media (max-width: 700px) {
  .portada {
    min-height: 580px;
  }

  .portada-titulo {
    top: 20%;
  }

  .portada h1 {
    font-size: clamp(40px, 9vw, 62px);
  }

  .portada-titulo .etiqueta {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .portada-descripcion {
    display: none;
  }

  .portada-bajar {
    display: none;
  }

  .portada-accion {
    bottom: 42px;
    left: 24px;
    right: 24px;
    width: auto;
    max-width: 420px;
  }
}

@media (max-width: 700px) {
  .portada {
    height: auto;
    min-height: 650px;
    padding: 130px 24px 40px;

    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .portada-titulo {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 0;
  }

  .portada-titulo .etiqueta {
    margin-bottom: 18px;
  }

  .portada h1 {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .portada-descripcion,
  .portada-accion {
    display: block;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: none;

    font-size: 14px;
    line-height: 1.6;
    color: white;
    text-align: center;
    text-shadow: 0 2px 8px rgb(0 0 0 / 80%);
  }

  .portada-descripcion {
    margin-top: auto;
  }

  .portada-accion .boton {
    margin-top: 18px;
  }
}

.portada-fondo {
  filter: brightness(0.85) saturate(1.1);
}

.portada-revelado {
  filter: brightness(1.1) saturate(1.2);
}

.portada h1 {
  text-shadow: 0 3px 18px rgb(0 0 0 / 30%);
}

.portada-sombra {
  background: linear-gradient(
  to bottom,
  rgb(10 45 35 / 15%) 0%,
  transparent 45%,
  rgb(10 45 35 / 45%) 75%,
  rgb(10 45 35 / 80%) 100%
  );
}

.portada-descripcion,
.portada-accion {
  color: white;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgb(0 0 0 / 80%);
}

.portada-titulo .etiqueta {
  color: white;
  text-shadow: 0 2px 6px rgb(0 0 0 / 65%);
}

.portada-accion .boton {
  text-shadow: none;
}

/* ==================================================
06. NOSOTROS Y BANDERAS
================================================== */

.nosotros-distribucion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.nosotros .texto + .texto {
  margin-top: 18px;
}

.datos-empresa {
  display: flex;
  gap: 60px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid #0002;
  flex-wrap: wrap;
}

.datos-empresa strong {
  display: block;
  font-size: 38px;
  font-weight: 500;
}

.datos-empresa span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--texto-secundario);
}

.mercados-cabecera {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banderas-paises {
  display: flex;
  gap: 7px;
}

.datos-empresa .bandera-cromo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 30px;
  margin: 0;

  background: #FAFCF8;
  border: 1px solid #CFE2DF;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 8%);

  font-size: 23px;
  line-height: 1;
}

.banderas-paises img {
  display: block;
  width: 38px;
  height: 26px;
  object-fit: cover;
  border: 1px solid #CFE2DF;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}

@media (max-width: 700px) {
  .nosotros-distribucion {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .datos-empresa {
    gap: 40px;
  }
}

.datos-empresa strong {
  color: var(--principal);
}

.nosotros {
  background: #F0F8E7;
}

/* ==================================================
07. PRODUCTOS Y CATÁLOGO
================================================== */

@media (min-width: 701px) {
  .productos .encabezado-seccion > .texto {
    position: relative;
    top: -30px;
    left: -50px;
  }
}

.productos {
  background: var(--fondo-suave);
}

.catalogo-productos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.producto {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 12px;
  background: white;
  transition:
  box-shadow 0.3s ease,
  border-color 0.3s ease;
}

.producto-foto {
  display: grid;
  place-items: center;
  height: 280px;
  padding: 24px;
  overflow: hidden;
  background: #F5FAF7;
}

.producto-foto img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.producto-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

.producto-codigo {
  margin-bottom: 12px;
  color: var(--principal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.producto-info h3 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
}

.producto-info p {
  margin-top: 14px;
  margin-bottom: 24px;
  color: var(--texto-secundario);
  font-size: 14px;
  line-height: 1.7;
}

.producto-enlaces {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgb(0 0 0 / 10%);
}

.producto-enlaces a {
  font-size: 13px;
  font-weight: 600;
}

.producto-enlaces a:last-child {
  color: var(--principal);
}

.producto-enlaces a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.producto:focus-within {
  border-color: var(--principal);
}

.producto-enlaces {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.producto-enlaces a {
  color: var(--principal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.producto-enlaces a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .productos-listado {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 700px) {
  .catalogo-productos {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .producto {
    width: 100%;
    min-width: 0;
  }

  .producto-foto {
    height: 250px;
    padding: 20px;
  }

  .producto-info {
    padding: 22px;
  }
}

.producto-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.producto-info .producto-codigo {
  margin: 0 0 12px;
  color: var(--principal);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.producto-info h3 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.3;
}

.producto-enlaces {
  margin-top: auto;
  padding-top: 22px;
}

.producto:hover { border-color: #00B8AE; box-shadow: 0 12px 30px rgb(18 63 75 / 10%); }

.producto-enlaces a:hover {
  color: #066875;
}

.producto {
  background: #FFFEF8;
  border: 1px solid #D2E8EB;
  box-shadow: 0 6px 20px rgb(18 103 130 / 8%);
}

.producto-foto {
  background: #F1F8F5;
}

.producto:hover {
  border-color: #00B8AE;
  box-shadow: 0 12px 28px rgb(18 103 130 / 15%);
}

.producto {
  background: #EDF8F7;
  border-color: #C4E3DF;
}

.producto-foto {
  background: #DCEFEB;
}

.producto-info p {
  color: #385B65;
}

.producto-info .producto-codigo {
  color: #087F8C;
}

.producto-enlaces a {
  color: #126782;
}

.producto-enlaces a:hover {
  color: #168A45;
}

/* ==================================================
08. COMERCIALIZACIÓN E IMPORTACIÓN
================================================== */

.importacion {
  background: var(--oscuro);
  color: white;
}

.importacion .etiqueta {
  color: #D8F2EC;
}

.modalidades {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 55px;
}

.tarjeta-modalidad {
  padding: 30px 0;
  border-top: 1px solid #ffffff40;
  transition: border-color 0.3s ease;
}

.tarjeta-modalidad:hover {
  border-color: var(--acento);
}

.numero {
  color: var(--acento);
  font-size: 14px;
}

.tarjeta-modalidad h3 {
  margin: 26px 0 20px;
  font-size: 27px;
  font-weight: 400;
}

.tarjeta-modalidad p {
  max-width: 460px;
  color: #D7ECEF;
  line-height: 1.9;
  font-size: 15px;
}

.importacion-introduccion {
  max-width: 680px;
  margin-top: 28px;
  color: #D7ECEF;
  font-size: 16px;
  line-height: 1.8;
}

.tarjeta-modalidad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.tarjeta-modalidad .enlace-flecha {
  margin-top: auto;
  padding-top: 26px;
}

.accion-seccion {
  margin-top: 1px;
  text-align: center;
}

@media (max-width: 700px) {
  .modalidades {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 900px) {
  .modalidades {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.importacion a:focus-visible, .contacto a:focus-visible, .pie a:focus-visible { outline-color: var(--acento); }

.importacion {
  background: #145C3A;
}

/* ==================================================
09. PRESENCIA Y DOCUMENTACIÓN
================================================== */

.paises {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 45px;
}

.pais {
  padding: 18px 35px;
  border: 1px solid #0002;
  border-radius: 50px;
  transition: transform 0.3s ease,
  background 0.3s ease,
  color 0.3s ease;
}

.pais:hover {
  transform: translateY(-5px);
  background: var(--secundario);
  color: white;
}

.presencia-distribucion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.icono-region {
  display: block;
  margin-top: 40px;
  color: var(--principal);
}

.presencia .paises {
  gap: 12px;
  margin-top: 30px;
}

.presencia .pais {
  padding: 10px 22px;
  font-size: 13px;
}

.presencia-documentacion {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid rgb(0 0 0 / 15%);
  scroll-margin-top: 100px;
}

.presencia-documentacion .etiqueta {
  margin-bottom: 24px;
}

.presencia-documentacion .enlace-flecha {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.expansion-regional {
  margin-top: 36px;
}

.expansion-regional h3,
.presencia-documentacion h3 {
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
}

.accion-presencia {
  margin-top: 28px;
}

@media (max-width: 700px) {
  .documentacion {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .presencia-distribucion {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* ==================================================
10. CONTACTO Y MAPA
================================================== */

.contacto {
  padding: 65px 6%;
  background: linear-gradient(120deg, #087F8C 0%, #066875 100%);
  color: white;
}

.contacto .etiqueta {
  color: white;
}

.contacto-distribucion {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  margin-top: 0;
}

.contacto-informacion {
  min-width: 0;
}

.contacto-descripcion {
  max-width: 430px;
  margin-top: 24px;
  line-height: 1.9;
}

.contacto-datos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 28px;
  font-style: normal;
}

.contacto-datos a {
  color: inherit;
  overflow-wrap: anywhere;
  margin-top: 2px;
}

.contacto-datos a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contacto-fila {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 100%;
}

.contacto-icono {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  color: currentColor;
}

.contacto-fila > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.contacto-fila .contacto-etiqueta {
  margin: 0;
  flex-shrink: 0;
}

.contacto-etiqueta {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contacto-fila p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.contacto-columna-mapa {
  width: 100%;
  max-width: 500px;
  min-width: 0;
  justify-self: end;
}

.contacto-ubicacion {
  margin: 0 0 20px;
  font-style: normal;
}

.contacto-mapa-contenedor {
  width: 100%;
  aspect-ratio: 4 / 2;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.contacto-mapa-contenedor iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacto-ubicacion .contacto-fila p:last-child {
  flex-basis: 100%;
}

@media (max-width: 800px) {
  .contacto {
    padding: 50px 24px;
  }

  .contacto-distribucion {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacto-columna-mapa {
    max-width: 350px;
    justify-self: center;
  }

  .contacto-mapa-contenedor {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 801px) {
  .contacto-mapa-contenedor {
    position: relative;
    top: 30px;
  }
}

.contacto .contacto-icono {
  color: #C7F568;
}

.contacto {
  background: linear-gradient(
  120deg,
  #168A45 0%,
  #087F8C 100%
  );
}

/* ==================================================
11. PIE DE PÁGINA
================================================== */

@media (min-width: 701px) {
  .pie-lugar {
    position: relative;
    left: -80px;
  }
}

.pie {
  display: block;
  padding: 55px 6% 24px;
  background: var(--oscuro);
  color: #D7ECEF;
  font-size: 14px;
}

.pie-contenido {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 36px;
}

.pie-contenido > * {
  min-width: 0;
}

.pie-marca {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: #FAFCF8;
  border-radius: 6px;
}

.pie-logo {
  display: block;
  width: 130px;
  height: 70px;
  object-fit: contain;
}

.pie-identidad p {
  max-width: 300px;
  margin-top: 20px;
  line-height: 1.8;
}

.pie h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 15px;
  font-weight: 600;
}

.pie-navegacion,
.pie-contacto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pie a {
  overflow-wrap: anywhere;
}

.pie-navegacion a,
.pie-contacto a,
.pie-inferior a {
  transition: color 0.2s ease;
}

.pie-navegacion a:hover,
.pie-contacto a:hover,
.pie-inferior a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.pie-contacto span {
  margin-top: 4px;
}

.pie-lugar {
  justify-self: end;
  align-self: center;
  text-align: center;
}

.pie-inferior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  font-size: 12px;
  line-height: 1.7;
}

.pie-inferior a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .pie {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .pie {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    padding: 30px 24px;
  }

  .pie-marca {
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .pie {
    padding: 40px 24px 24px;
    text-align: center;
  }

  .pie-contenido {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pie-identidad p {
    margin-inline: auto;
  }

  .pie-navegacion,
  .pie-contacto {
    align-items: center;
  }

  .pie-inferior {
    flex-direction: column;
    gap: 16px;
  }

  .pie-lugar {
    justify-self: center;
    align-items: center;
  }
}

.pie-navegacion a:hover, .pie-inferior a:hover { color: var(--acento); }

.pie-marca {
  background: transparent;
  box-shadow: none;
  border: none;
}

/* ==================================================
   12. ANIMACIONES E INTERACCIONES
   ================================================== */

/* ENTRADA AL HACER SCROLL */
html.animaciones-scroll .animar {
  opacity: 0;
  translate: 0 32px;

  transition:
    opacity 0.8s ease,
    translate 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  transition-delay: var(--retraso, 0ms);
}

/* ENTRADAS LATERALES OPCIONALES */
html.animaciones-scroll .animar.desde-izquierda {
  translate: -32px 0;
}

html.animaciones-scroll .animar.desde-derecha {
  translate: 32px 0;
}

html.animaciones-scroll .animar.visible {
  opacity: 1;
  translate: 0 0;
}

/* PRODUCTOS */
.producto {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.producto-foto img {
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* MODALIDADES DE COMERCIALIZACIÓN */
.tarjeta-modalidad {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

/* FLECHAS DE LOS BOTONES */
.boton > span,
.enlace-flecha > span {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* EFECTOS PARA DISPOSITIVOS CON CURSOR */
@media (hover: hover) and (pointer: fine) {
  .producto:hover {
    transform: translateY(-7px);
    border-color: var(--turquesa);
    box-shadow: 0 16px 32px rgb(18 63 75 / 14%);
  }

  .producto:hover .producto-foto img {
    transform: scale(1.06);
  }

  .tarjeta-modalidad:hover {
    transform: translateY(-5px);
    border-color: var(--acento);
  }

  .boton:hover > span,
  .enlace-flecha:hover > span {
    transform: translate(3px, -3px);
  }
}

/* ENTRADAS DE LA PORTADA */
@keyframes titulo-entrada {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes contenido-entrada {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fondo-entrada {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

/* RESPETAR LA PREFERENCIA DE MOVIMIENTO REDUCIDO */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.animaciones-scroll .animar,
  html.animaciones-scroll .animar.desde-izquierda,
  html.animaciones-scroll .animar.desde-derecha {
    opacity: 1;
    translate: none;
  }

  .producto:hover,
  .producto:hover .producto-foto img,
  .tarjeta-modalidad:hover,
  .boton:hover,
  .boton:active,
  .pais:hover,
  .boton:hover > span,
  .enlace-flecha:hover > span {
    transform: none;
  }

  .portada-revelado {
    display: none;
  }
}

/* ==================================================
   LISTA DE PRODUCTOS + VISTA DESTACADA
   ================================================== */

.catalogo-selector {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  align-items: start;
  gap: 32px;
}

/* LISTA IZQUIERDA */
.productos-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.productos-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  width: 100%;
  padding: 17px 20px;

  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;

  background: #FFFFFF;
  color: var(--oscuro);
  border: 1px solid #D5E5E7;
  border-radius: 8px;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.productos-menu button::after {
  content: "↗";
  flex-shrink: 0;
  font-size: 19px;
}

.productos-menu button:hover {
  background: #E7F3F4;
  border-color: var(--principal);
}

.productos-menu button[aria-pressed="true"] {
  background: var(--principal);
  border-color: var(--principal);
  color: #FFFFFF;
}

/* PANEL DERECHO */
.catalogo-selector .catalogo-productos {
  display: block;
  min-width: 0;
}

/* UNA SOLA TARJETA VISIBLE */
.catalogo-selector .producto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  width: 100%;
  min-height: 450px;
  margin: 0;

  background: #FFFFFF;
  border: 1px solid #D5E5E7;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgb(18 63 75 / 7%);
}

.catalogo-selector .producto-foto {
  height: auto;
  min-height: 450px;
  padding: 30px;
  background: #EDF5F3;
}

.catalogo-selector .producto-foto img {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.catalogo-selector .producto-info {
  justify-content: center;
  padding: 30px;
}

.catalogo-selector .producto-info h3 {
  font-size: clamp(24px, 2.3vw, 32px);
}

.catalogo-selector .producto-enlaces {
  margin-top: 24px;
}

/* EVITAR QUE LA TARJETA SE DESPLACE AL PASAR EL CURSOR */
.catalogo-selector .producto:hover {
  transform: none;
}

.catalogo-selector .producto:hover .producto-foto img {
  transform: none;
}

.producto.producto-entrada {
  animation: producto-cambio 0.4s ease both;
}

@keyframes producto-cambio {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLETAS Y CELULARES */
@media (max-width: 900px) {
  .catalogo-selector {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .productos-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }

  .productos-menu button {
    flex: 0 0 auto;
    width: auto;
    max-width: 260px;
    padding: 13px 18px;
  }
}

@media (max-width: 600px) {
  .catalogo-selector .producto {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .catalogo-selector .producto-foto {
    min-height: 0;
    height: 270px;
    padding: 24px;
  }

  .catalogo-selector .producto-foto img {
    height: 100%;
  }

  .catalogo-selector .producto-info {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .producto.producto-entrada {
    animation: none;
  }
}

/* LISTA DE PRODUCTOS MÁS COMPACTA */
@media (min-width: 901px) {
  .catalogo-selector {
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 2fr);
    gap: 24px;
  }

  .productos-menu {
    gap: 5px;
  }

  .productos-menu button {
    padding: 10px 14px;
    gap: 10px;
    font-size: 13px;
    line-height: 1.35;
    border-radius: 6px;
  }

  .productos-menu button::after {
    font-size: 16px;
  }
}

/* EVITAR CAMBIOS DE ANCHO DURANTE EL CONTEO */
[data-contador] {
  display: inline-block;
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}

/* ==================================================
   LÍNEAS AQUA Y TIERRA
   ================================================== */

.lineas {
  background: #FFFFFF;
}

.lineas-encabezado {
  max-width: 720px;
  margin-bottom: 40px;
}

.lineas-encabezado .texto {
  max-width: 580px;
  margin-top: 24px;
}

.lineas-cuadricula {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* TARJETA COMPLETA COMO ENLACE */
.linea-tarjeta {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: flex-end;

  min-height: 430px;
  overflow: hidden;
  border-radius: 14px;

  background: #123F4B;
  color: #FFFFFF;
}

/* FOTOGRAFÍA */
.linea-imagen {
  position: absolute;
  inset: 0;
  z-index: -2;

  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.7s ease;
}

/* CONTRASTE PARA EL TEXTO */
.linea-tarjeta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    to bottom,
    rgb(3 24 30 / 5%) 0%,
    rgb(3 24 30 / 35%) 35%,
    rgb(3 24 30 / 92%) 100%
  );
}

.linea-tierra::before {
  background: linear-gradient(
    to bottom,
    rgb(8 30 18 / 5%) 0%,
    rgb(8 30 18 / 35%) 35%,
    rgb(8 30 18 / 92%) 100%
  );
}

.linea-contenido {
  width: 100%;
  padding: 32px;
}

.linea-categoria {
  display: block;
  margin-bottom: 12px;

  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.linea-contenido h3 {
  margin: 0 0 14px;
  color: #FFFFFF;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

.linea-contenido p {
  max-width: 420px;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.8;
}

.linea-enlace {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.linea-enlace > span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.linea-tarjeta:focus-visible {
  outline: 3px solid var(--principal);
  outline-offset: 5px;
}

/* EFECTOS CON CURSOR Y TECLADO */
@media (hover: hover) and (pointer: fine) {
  .linea-tarjeta:hover .linea-imagen {
    transform: scale(1.06);
  }

  .linea-tarjeta:hover .linea-enlace > span {
    transform: translate(3px, -3px);
  }
}

.linea-tarjeta:focus-visible .linea-imagen {
  transform: scale(1.06);
}

/* CELULARES */
@media (max-width: 700px) {
  .lineas-cuadricula {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .linea-tarjeta {
    min-height: 380px;
  }

  .linea-contenido {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .linea-imagen,
  .linea-enlace > span {
    transition: none;
    transform: none !important;
  }
}

/* ENTRADA LATERAL DE LAS LÍNEAS */
.lineas {
  overflow: hidden;
}

html.animaciones-scroll .linea-aqua.animar {
  opacity: 0;
  translate: -80px 0;
}

html.animaciones-scroll .linea-tierra.animar {
  opacity: 0;
  translate: 80px 0;
}

html.animaciones-scroll .linea-tarjeta.animar {
  transition:
    opacity 1.6s ease,
    translate 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

html.animaciones-scroll .linea-tarjeta.animar.visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html.animaciones-scroll .linea-tarjeta.animar {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* COMERCIALIZACIÓN: TARJETAS Y BOTÓN */
.modalidades {
  align-items: stretch;
}

.tarjeta-modalidad {
  padding: 28px 24px;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 10px;

  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.modalidades > .accion-seccion {
  grid-column: 1 / -1;
  margin-top: 8px;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .tarjeta-modalidad:hover {
    transform: translateY(-6px);
    background: rgb(255 255 255 / 10%);
    border-color: var(--acento);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tarjeta-modalidad:hover {
    transform: none;
  }
}

/* PRESENCIA REGIONAL */
.presencia {
  overflow: hidden;
}

.presencia .pais {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 24px;
  background: #FFFFFF;
  border: 1px solid #C4E3DF;
  color: var(--oscuro);
  font-weight: 500;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

/* DOCUMENTACIÓN */
.presencia-documentacion {
  padding: 28px;
  background: #EDF8F7;
  border: 1px solid #C4E3DF;
  border-radius: 12px;
}

/* EXPANSIÓN */
.expansion-regional {
  padding-left: 22px;
  border-left: 3px solid var(--turquesa);
}

@media (hover: hover) and (pointer: fine) {
  .presencia .pais:hover {
    transform: translateY(-4px);
    background: var(--principal);
    border-color: var(--principal);
    color: #FFFFFF;
  }
}

@media (max-width: 700px) {
  .presencia-documentacion {
    padding: 22px;
  }

  .presencia .paises {
    gap: 10px;
  }

  .presencia .pais {
    padding: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .presencia .pais:hover {
    transform: none;
  }
}

/* CONTACTO: PRESENTACIÓN Y EFECTOS */
.contacto {
  overflow: hidden;
}

.contacto-columna-mapa {
  padding: 24px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 16px;
}

/* MAPA DENTRO DEL RECUADRO */
.contacto .contacto-mapa-contenedor {
  position: static;
  width: 100%;
  aspect-ratio: 4 / 2;
  margin: 0;
  border-radius: 10px;
}

.contacto-ubicacion {
  margin-bottom: 20px;
}

/* ENLACE DEL CORREO */
.contacto-datos a {
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 40%);
  text-underline-offset: 5px;

  transition:
    color 0.25s ease,
    text-decoration-color 0.25s ease;
}

.contacto-datos a:hover,
.contacto-datos a:focus-visible {
  color: #C7F568;
  text-decoration-color: currentColor;
}

@media (max-width: 800px) {
  .contacto-columna-mapa {
    max-width: 500px;
    padding: 20px;
  }
}

@media (min-width: 801px) {
  .contacto-distribucion {
    align-items: start;
  }
}

/* ==================================================
   FORMULARIO DE CONSULTA
   ================================================== */

.consulta {
  overflow: hidden;
  background: #EAF5F7;
  color: var(--texto);
}

.consulta-distribucion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 70px;
}

.consulta-informacion .texto {
  max-width: 440px;
  margin-top: 28px;
}

.consulta h2 em {
  color: var(--principal);
}

/* RECUADRO DEL FORMULARIO */
.consulta-formulario {
  min-width: 0;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #D3E3E6;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgb(18 63 75 / 5%);
}

.consulta-campos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.consulta-campo {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.consulta-campo-completo {
  grid-column: 1 / -1;
}

.consulta-campo label {
  margin-bottom: 8px;
  color: var(--texto);
  font-size: 12px;
  font-weight: 500;
}

.consulta-campo input,
.consulta-campo textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 0 12px;

  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: var(--texto);

  background: transparent;
  border: 0;
  border-bottom: 1px solid #AABFC4;
  border-radius: 0;
}

.consulta-campo textarea {
  min-height: 120px;
  resize: vertical;
}

.consulta-campo input::placeholder,
.consulta-campo textarea::placeholder {
  color: #647B80;
  opacity: 1;
}

.consulta-campo input:focus,
.consulta-campo textarea:focus {
  border-bottom-color: var(--principal);
  outline: 2px solid var(--principal);
  outline-offset: 4px;
}

.consulta-aviso {
  margin: 22px 0 20px;
  color: var(--texto-secundario);
  font-size: 11px;
  line-height: 1.7;
}

.consulta-formulario .boton {
  min-height: 46px;
  border: 0;
}

/* TABLETAS Y CELULARES */
@media (max-width: 900px) {
  .consulta-distribucion {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 500px) {
  .consulta-formulario {
    padding: 24px;
  }

  .consulta-campos {
    grid-template-columns: 1fr;
  }

  .consulta-formulario .boton {
    width: 100%;
  }
}

/* CORREO ENCIMA DE QUITO */
.pie-correo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 10px;
  margin-bottom: 18px;
  color: #D7ECEF;
  font-size: 15px;
}

.pie-correo svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.pie-correo:hover {
  color: var(--acento);
}

.pie-lugar h3 {
  margin-bottom: 0;
}

/* ENTRADA ESCALONADA DE LA LISTA */
.productos-menu button {
  animation: producto-menu-entrada 0.6s ease both;
  animation-delay: var(--retraso-menu, 0ms);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

@keyframes producto-menu-entrada {
  from {
    opacity: 0;
    translate: -20px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .productos-menu button:hover {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .productos-menu button {
    animation: none;
    transition: none;
  }

  .productos-menu button:hover {
    transform: none;
  }
}


/* CARRUSEL DE PORTADA */

.portada {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.portada-carrusel {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.portada-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


.portada-slide.activo {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.portada-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
}

.portada-slide.activo img {
    animation: none;
    transform: none;
}



/* CAPA OSCURA PARA LEER LOS TEXTOS */

.portada-sombra {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 24, 27, 0.35) 0%,
        rgba(0, 30, 29, 0.20) 45%,
        rgba(0, 19, 22, 0.65) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
    .portada-slide,
    .portada-slide.activo img {
        animation: none;
        transition: none;
    }
}


/* LISTA: MOVIMIENTO AL PASAR EL CURSOR */
.productos-menu button {
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .productos-menu button:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 14px rgb(18 63 75 / 12%);
  }

  .productos-menu button:not([aria-pressed="true"]):hover {
    background: #E8F5F3;
    color: #087F8C;
  }

  /* IMAGEN DEL PRODUCTO */
  .catalogo-productos .producto:hover img {
    transform: scale(1.04);
  }
}

.productos-menu button:focus-visible {
  outline: 3px solid #126782;
  outline-offset: 3px;
}

.catalogo-productos .producto img {
  transition: transform 0.6s ease;
}

/* ENTRADA AL CAMBIAR DE PRODUCTO */
.catalogo-productos .producto.producto-entrada {
  animation: revelar-producto 0.65s ease both;
}

@keyframes revelar-producto {
  from {
    opacity: 0;
    translate: 0 16px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* RESPETAR LA PREFERENCIA DE MOVIMIENTO REDUCIDO */
@media (prefers-reduced-motion: reduce) {
  .productos-menu button,
  .catalogo-productos .producto img {
    transition: none;
    transform: none;
  }

  .catalogo-productos .producto.producto-entrada {
    animation: none;
  }
}

/* ENTRADA DEL CATÁLOGO */
.catalogo-selector.entrada-catalogo .productos-menu,
.catalogo-selector.entrada-catalogo .catalogo-productos {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalogo-selector.entrada-catalogo .productos-menu {
  translate: -35px 0;
}

.catalogo-selector.entrada-catalogo .catalogo-productos {
  translate: 0 30px;
  transition-delay: 0.15s;
}

.catalogo-selector.entrada-catalogo.catalogo-visible .productos-menu,
.catalogo-selector.entrada-catalogo.catalogo-visible .catalogo-productos {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .catalogo-selector.entrada-catalogo .productos-menu,
  .catalogo-selector.entrada-catalogo .catalogo-productos {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* PORTADA EN TABLET */
@media (min-width: 701px) and (max-width: 1100px) {
  .portada {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    background: #123F4B;
  }

  /* Imagen completa, sin zoom */
  .portada-slide img {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .portada-titulo {
    top: 110px;
  }

  .portada h1 {
    font-size: clamp(36px, 5vw, 56px);
  }

  .portada-descripcion,
  .portada-accion {
    width: 40%;
    bottom: 24px;
    font-size: 13px;
    line-height: 1.5;
  }

  .portada-descripcion {
    left: 5%;
  }

  .portada-accion {
    right: 5%;
  }

  .portada-accion .boton {
    margin-top: 12px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .portada-descripcion,
  .portada-accion {
    top: auto;
    bottom: 24px;
    height: 130px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .portada-accion p {
    margin: 0;
  }

  .portada-accion .boton {
    margin-top: 12px;
  }
}

/* LOGO DE LA CABECERA */
.cabecera .marca {
  background: transparent;
  border: none;
  box-shadow: none;
}

.cabecera .marca-logo {
  background: transparent;
  filter: none;
}

/* LOGO DEL FOOTER */
.pie-marca {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* CENTRAR LOS TRES PAÍSES EN NOSOTROS */
.nosotros .datos-empresa {
  justify-content: center;
  text-align: center;
}

.nosotros .mercados-cabecera {
  justify-content: center;
}

.nosotros .banderas-paises {
  justify-content: center;
} 

/* ==================================================
SELECTOR DE IDIOMA (ES / EN)
================================================== */

.cabecera-acciones {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.selector-idioma {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 50px;
  background: rgb(255 255 255 / 60%);
  border: 1px solid rgb(255 255 255 / 25%);
  box-shadow: 0 4px 16px rgb(0 0 0 / 30%);
}

.selector-idioma-opcion {
  min-width: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: #123F4B;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  transition: background-color 0.3s ease,
  color 0.3s ease;
}

.selector-idioma-opcion:hover {
  background: #EAF6E8;
  color: #168A45;
}

.selector-idioma-opcion[aria-pressed="true"] {
  background: var(--lima);
  color: var(--oscuro);
  cursor: default;
}

.selector-idioma-opcion:focus-visible {
  outline: 2px solid var(--principal);
  outline-offset: 2px;
}

/* Escritorio mediano: el enlace "Tu Consulta" del menú
   ya lleva al formulario, así se evita apretar el menú */
@media (min-width: 1051px) and (max-width: 1250px) {
  .cabecera-cotizar {
    display: none;
  }
}

/* Menú móvil: idioma junto al botón de menú */
@media (max-width: 1050px) {
  .cabecera-acciones {
    margin-left: auto;
  }

  .boton-menu {
    order: 3;
    flex-shrink: 0;
  }
}

@media (max-width: 800px) {
  .selector-idioma {
    background: rgb(255 255 255 / 85%);
  }
}

@media (max-width: 400px) {
  .cabecera {
    gap: 10px;
  }

  .selector-idioma {
    padding: 3px;
  }

  .selector-idioma-opcion {
    min-width: 32px;
    padding: 6px 7px;
    font-size: 11px;
  }
}
