/* ==========================================================================
   ALTAMURA GRUPO ACUÍCOLA — index
   Paleta y estructura basadas en el diseño de referencia entregado por el
   cliente. Assets reales en /img. La clase .asset-pending queda disponible
   para cualquier bloque futuro que aún no tenga material.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #061019;
  --bg-deep: #040b14;
  --bg-alt: #0a1c30;
  --card: #0f2540;
  --card-2: #12304f;
  --line: rgba(255, 255, 255, 0.12);

  --navy: #00458d;
  --teal: #23bdc3;
  --teal-dark: #1c9aa0;
  --teal-soft: rgba(35, 189, 195, 0.14);

  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.5);

  --azul: #0b4d8f;
  --azul-profundo: #093f75;
  --cian: #3fc1c9;
  --blanco: #ffffff;
  --cian-texto: #0f6b72;
  --tinta-suave: rgba(9, 63, 117, 0.62);
  --tinta-linea: rgba(9, 63, 117, 0.16);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(56px, 8vw, 108px);
  --radius: 14px;
  --radius-sm: 8px;

  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-barlow: 'barlow-medium', sans-serif;
  --font-geologica: 'geologica-variable', sans-serif;
  --font-teko: 'teko-variable', sans-serif;
}

/*------------ Fuentes ---------- */
@font-face {
    font-family: 'barlow-medium';
    src: url('fonts/Barlow-Medium.ttf');
}

@font-face {
    font-family: 'geologica-variable';
    src: url('fonts/Geologica-VariableFont.ttf');
}

@font-face {
    font-family: 'teko-variable';
    src: url('fonts/Teko-VariableFont.ttf');
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
}
h2 {
  font-size: clamp(1.8rem, 5vw, 2rem) !important;
  font-family: var(--font-geologica) !important;
  font-weight: bold !important;
}
h3 {
  font-size: clamp(1rem, 5vw, 1.2rem);
  font-family: var(--font-geologica);
  font-weight: bold;
}
p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: clamp(.6rem, 5vw, .8rem) !important;
  font-family: var(--font-geologica) !important;
  font-weight: normal !important;
  line-height: 1.45 !important;
}
p:last-child {
  margin-bottom: 0;
}

br{
  display: none;
}

@media(min-width: 500px){
  br{
    display: block;
  }
}

.lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 46ch;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Placeholders de foto pendientes ---------- */
.asset-pending {
  position: relative;
  background:
    linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 25%
      ) -10px
      0/20px 20px,
    linear-gradient(
        225deg,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 25%
      ) -10px
      0/20px 20px,
    var(--card-2);
}
.asset-pending::after {
  content: attr(data-asset);
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-3);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 6px 8px;
}

/* ---------- 4. Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.logo__img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
}
.nav__links a:hover {
  color: var(--teal);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--azul-profundo);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 5. Botones ---------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--teal);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.btn--sm {
  padding: 10px 18px;
  color: var(--blanco) !important;
}
.btn--full {
  display: block;
  width: 100%;
  text-align: center;
  border: 0;
  cursor: pointer;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: var(--bg);
  overflow: hidden;
}

/* Imagen de respaldo / poster */
.hero__media-img,
.hero__media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* Imagen */
.hero__media-img {
  z-index: 0;
}

/* Video */
.hero__media-video {
  z-index: 1;
}

/* Degradado sobre imagen/video */
.hero__media-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(6, 16, 25, 0) 40%,
    rgba(6, 16, 25, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 1rem 0;
  font-family: var(--font-geologica);
  font-weight: 600;
  line-height: 1;
}

.hero-eyebrow-color{
  color: var(--ink) !important;
  font-size: clamp(.8rem, 5vw, 1rem);
  font-family: var(--font-geologica);
  font-weight: normal;
}

.hero__stat {
  display: none;
}

.hero__stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 100% at 12% 0%,
    rgba(255, 255, 255, 0.28),
    transparent 55%
  );
  pointer-events: none;
}

.hero__stat-num,
.hero__stat-text {
  position: relative;
  z-index: 1;
}

.hero__stat-num {
  font-family: var(--font-geologica);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: bold;
  font-style: italic;
  color: var(--ink);
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(35, 189, 195, 0.35);
}

.hero__stat-text {
  font-size: clamp(.8rem, 5vw, 1rem);
  font-family: var(--font-geologica);
  font-weight: normal;
  line-height: 1.45;
  color: var(--ink-2);
}

.hero__text{
  width: 100%;
  height: auto;
}

.contenedor-certificado-hero {
  display: flex;
  flex-direction: row;
  place-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contenedor-certificado-hero p {
  font-size: clamp(.6rem, 5vw, .8rem) !important;
  font-family: var(--font-geologica);
  text-transform: uppercase;
}

.contenedor-certificado-hero img {
  width: 80px;
  height: auto;
}

@media(min-width: 500px){
  
  .hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(40px, 6vw, 80px);
    overflow: hidden;
  }

  .hero__stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.03) 65%
  );
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 18px 22px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

  

}

@media(min-width: 790px){
  .hero__content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .hero__text{
    width: 70%;
    height: auto;
  }

  .hero__stat{
    width: 30%;
    height: 220px;
  }

}

/* ---------- Accesibilidad ---------- */

/* Si el usuario tiene activada la reducción de movimiento,
   mostramos la imagen estática en lugar del video. */
@media (prefers-reduced-motion: reduce) {
  .hero__media-video {
    display: none;
  }
}

/* ---------- 7. Franja de unidades de negocio ---------- */
.units {
  background: var(--teal);
}
.units__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.units__item {
  display: block;
  text-align: center;
  padding: 16px 12px;
  font-weight: bold;
  font-size: clamp(.6rem, 5vw, .8rem);
  font-family: var(--font-geologica);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-right: 1px solid rgba(0, 69, 141, 0.18);
}
.units__item:last-child {
  border-right: 0;
}
.units__item:hover {
  background: rgba(0, 69, 141, 0.08);
}

.units__num {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2rem);
  font-family: var(--font-geologica);
  font-weight: bold;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-style: italic;
}

.units__label {
  display: block;
  font-size: clamp(.6rem, 5vw, .8rem);
  font-family: var(--font-geologica);
  font-weight: normal;
  color: var(--blanco);
  line-height: 1.3;
  opacity: 0.85;
  text-align: left;
}

.units__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 720px) {
  .units__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 8. Secciones ---------- */
.section {
  padding-block: var(--sec-y);
  background-color: var(--bg);
}
.section--alt {
  background: var(--bg-alt);
}
.sec-head {
  margin-bottom: clamp(30px, 4vw, 48px);
}
.sec-head--center {
  margin-inline: auto;
  text-align: center;
}
.sec-head p {
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--mid {
  align-items: center;
}

/* ---------- 9. Producto / tallas ---------- */
.section-nosotros {
  background:
    linear-gradient(
      180deg,
      rgba(6, 16, 25, 0.55) 0%,
      rgba(6, 16, 25, 0.25) 35%,
      var(--bg) 100%
    ),
    url("../img/bk2.webp") center/cover no-repeat;

    background-attachment: fixed;

}

.texto-seccion-nosotros {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    place-items: center;
}

.titulo-tallas {
  text-align: center;
}

.titulo-tallas h2{
  color: var(--blanco);
  font-family: var(--font-geologica);
  font-weight: bold;
}

.titulo-tallas p{
  color: var(--blanco);
  margin-bottom: clamp(30px, 4vw, 48px);
}

.parrafo-principal-tallas{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal) !important;
  margin: 0 0 10px !important;
}

.tallas {
  padding-block: var(--sec-y);
  padding-bottom: 0;
}

.tallas__panel {
  position: relative;
  isolation: isolate;
  width: min(1360px, 100%);
  border-radius: clamp(20px, 2.6vw, 30px);
  overflow: hidden;
  min-height: clamp(440px, min(52vw, 58vh), 600px);
  display: flex;
  align-items: center;
  box-shadow: 0 30px 70px rgba(9, 63, 117, 0.22), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
}

.tallas__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tallas__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tallas__scrim {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.55) 22%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(9, 63, 117, 0.04) 78%);
}

/* ---------- Imagen del camarón (bleed derecho) ---------- */

.tallas__media {
  position: absolute;
  z-index: 2;
  right: clamp(0%, 1.2vw, 2.5%);
  top: 50%;
  translate: 0 -50%;
  width: clamp(260px, 40vw, 540px);
  height: clamp(360px, 44vw, 540px);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.tallas__imagen {
  display: block;
  width: calc(var(--escala, 0.68) * 100%);
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(-18px 16px 20px rgba(9, 63, 117, 0.28));
  transition: width 0.5s cubic-bezier(0.2, 0.9, 0.3, 1),
              opacity 0.3s ease,
              transform 0.3s ease,
              filter 0.28s ease;
  will-change: transform, opacity, filter;
}

/* ---------- Tarjeta de vidrio (glass) ---------- */

.tallas__glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  width: clamp(280px, 33vw, 400px);
  height: auto;
  min-height: 450px;
  max-width: calc(100% - 2 * clamp(1.5rem, 4vw, 3.25rem));
  margin: clamp(1.5rem, 4vw, 3.25rem);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: clamp(16px, 2vw, 22px);
  padding: clamp(1.2rem, 2vw, 1.75rem);
  box-shadow: 0 20px 45px rgba(9, 63, 117, 0.16);
}

.tallas__eyebrow {
  font-size: clamp(.6rem, 5vw, .8rem);
  font-family: var(--font-geologica) !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-deep);
  margin-bottom: 0.7rem;
}

/* ---------- Tabs de categoría ---------- */

.tallas__tabs {
  width: 70%;
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: rgba(9, 63, 117, 0.08);
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.tab {
  width: 50%;
  border: 0;
  background: transparent;
  font-size: clamp(.6rem, 5vw, .8rem);
  font-family: var(--font-geologica) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tinta-suave);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.tab:hover {
  color: var(--azul-profundo);
}

.tab.activa {
  background: var(--azul-profundo);
  color: var(--blanco);
  box-shadow: 0 6px 14px rgba(9, 63, 117, 0.3);
}

.tallas__glass.cat-enteros .tab.activa {
  background: var(--cian);
  box-shadow: 0 6px 14px rgba(15, 107, 114, 0.3);
}

.tab:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
}

/* ---------- Talla + flechas ---------- */

.tallas__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.tallas__num {
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  color: var(--azul-profundo);
  letter-spacing: -0.01em;
  transition: color 0.35s ease;
}

.tallas__glass.cat-enteros .tallas__num {
  color: var(--cian);
}

.mini-flecha {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--tinta-linea);
  background: rgba(255, 255, 255, 0.7);
  color: var(--azul-profundo);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mini-flecha svg {
  width: 15px;
  height: 15px;
}

.mini-flecha:hover {
  background: var(--azul-profundo);
  color: var(--blanco);
  transform: translateY(-1px);
}

.mini-flecha:active {
  transform: scale(0.92);
}

.mini-flecha:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
}

/* ---------- Stats ---------- */

.tallas__stats {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.3rem);
  margin-bottom: 0.9rem;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
}

.mini-stat b {
  font-size: clamp(1.8rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--azul-profundo);
  line-height: 1;
}

.mini-stat span {
  font-size: clamp(.6rem, 5vw, .8rem);
  font-family: var(--font-geologica) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--azul-profundo);
  margin-top: .5rem;
}

.mini-stat__div {
  width: 1px;
  height: 26px;
  background: var(--tinta-linea);
}

/* ---------- Texto extra ---------- */

.tallas__extra {
  margin: 0 0 1.1rem;
  max-width: 30ch;
  font-size: clamp(.6rem, 5vw, .8rem);
  font-weight: 400 !important;
  line-height: 1.42;
  color: var(--bg-deep);
  text-align: center;
}

/* ---------- Chips de tallas (menú pequeño e integrado) ---------- */

.tallas__chips {
  list-style: none;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--tinta-linea);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border: 0;
  background: rgba(9, 63, 117, 0.07);
  color: var(--azul-profundo);
  font-size: clamp(.6rem, 5vw, .8rem) !important;
  font-family: var(--font-geologica) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.38rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  background: rgba(9, 63, 117, 0.14);
}

.chip.activa {
  background: var(--azul-profundo);
  color: var(--blanco);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(9, 63, 117, 0.28);
}

.tallas__chips.cat-enteros .chip.activa {
  background: var(--cian);
  box-shadow: 0 6px 12px rgba(15, 107, 114, 0.28);
}

.chip:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
}

/* ---------- Animaciones de cambio de talla ---------- */

.anim {
  will-change: transform, opacity;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.28s ease;
}

.dato-out {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(2px);
}

.img-out {
  opacity: 0;
  transform: translateY(4%) scale(0.96);
}

/* ---------- Entrada de la sección ---------- */

html.js .tallas__panel {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tallas.visible .tallas__panel {
  opacity: 1;
  transform: none;
}

html.js .tallas__glass {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.tallas.visible .tallas__glass {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

/* Pantallas grandes */
@media (min-width: 1600px) {

  .tallas__panel {
    border-radius: 36px;
    min-height: clamp(480px, 38vw, 640px);
  }
  .tallas__media {
    width: clamp(420px, 36vw, 580px);
    height: clamp(440px, 40vw, 580px);
    right: clamp(1%, 2vw, 4%);
  }
  .tallas__glass {
    width: clamp(320px, 26vw, 420px);
    padding: clamp(1.4rem, 1.6vw, 2rem);
  }
}

/* Tablet (intermedio) */
@media (max-width: 1180px) {
  .tallas__panel {
    min-height: clamp(420px, min(54vw, 60vh), 540px);
  }
  .tallas__media {
    width: clamp(260px, 42vw, 460px);
    height: clamp(340px, 44vw, 480px);
  }
  .tallas__glass {
    width: clamp(260px, 36vw, 360px);
    padding: clamp(1rem, 1.8vw, 1.5rem);
  }
}

@media (max-width: 980px) {
  .tallas__glass {
    width: clamp(250px, 40vw, 330px);
  }
  .tallas__num {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }
}

/* Mobile */
@media (max-width: 860px) {

  .tallas__panel {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: clamp(18px, 5vw, 26px);
  }
  .tallas__scrim {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.18) 45%,
      rgba(255, 255, 255, 0.32) 100%);
  }
  .tallas__media {
    position: relative;
    inset: auto;
    right: auto;
    top: auto;
    translate: none;
    width: 100%;
    height: clamp(220px, 56vw, 320px);
    padding-top: 1.5rem;
  }
  .tallas__glass {
    width: auto;
    max-width: none;
    margin: -2.5rem 1.25rem 1.25rem;
    padding: clamp(1rem, 3vw, 1.4rem);
  }
}

/* Móvil pequeño */
@media (max-width: 540px) {
  .tallas__panel {
    border-radius: 18px;
  }
  .tallas__media {
    height: clamp(200px, 60vw, 240px);
    padding-top: 1rem;
  }
  .tallas__glass {
    margin: -2rem 1rem 1rem;
    padding: 1rem;
    border-radius: 16px;
  }
  .tallas__eyebrow {
    font-size: clamp(.6rem, 5vw, .8rem);
    margin-bottom: 0.55rem;
  }
  .tallas__tabs {
    width: 100%;
    margin-bottom: 0.9rem;
    padding: 2px;
  }
  .tab {
    width: 50%;
    padding: 0.5rem 0.9rem;
    font-size: clamp(.6rem, 5vw, .8rem);
    min-height: 34px;
  }
  .tallas__num {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }
  .tallas__head {
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }
  .mini-flecha {
    width: 36px;
    height: 36px;
  }
  .mini-flecha svg {
    width: 16px;
    height: 16px;
  }
  .tallas__stats {
    gap: 0.85rem;
    margin-bottom: 0.8rem;
  }
  .mini-stat b {
    font-size: clamp(1.8rem, 5vw, 2rem);
  }
  .mini-stat span {
    font-size: clamp(.6rem, 5vw, .8rem);
  }
  .mini-stat__div {
    height: 24px;
  }
  .tallas__extra {
    font-size: 0.85rem;
    margin-bottom: 0.95rem;
    max-width: 100%;
  }
  .tallas__chips {
    padding-top: 0.8rem;
    gap: 0.35rem;
  }
  .chip {
    padding: 0.5rem 0.7rem;
    font-size: 0.7rem;
    min-height: 34px;
  }
}

/* Móvil muy pequeño */
@media (max-width: 380px) {
  .tallas__panel {
    border-radius: 16px;
  }
  .tallas__media {
    height: 190px;
  }
  .tallas__glass {
    margin: -1.75rem 0.75rem 0.85rem;
    padding: 0.9rem;
  }
  .tallas__num {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }
  .tallas__chips {
    gap: 0.3rem;
  }
  .chip {
    padding: 0.45rem 0.6rem;
    font-size: 0.68rem;
  }
}

/* Landscape móvil (pantalla baja y ancha) */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .tallas {
    padding: 1rem;
  }
  .tallas__panel {
    flex-direction: row;
    align-items: center;
    min-height: 340px;
  }
  .tallas__scrim {
    background: linear-gradient(95deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.55) 22%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(9, 63, 117, 0.04) 78%);
  }
  .tallas__media {
    position: absolute;
    inset: auto clamp(1%, 2vw, 4%) auto auto;
    top: 50%;
    translate: 0 -50%;
    width: clamp(280px, 44vw, 420px);
    height: clamp(220px, 60vh, 320px);
    padding: 0;
  }
  .tallas__glass {
    margin: 1rem;
    max-width: 55%;
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* ---------- 10. Statement ---------- */
.statement {
  padding-block: clamp(50px, 8vw, 90px);
  text-align: center;
}
.statement__text {
  font-size: clamp(34px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 0;
}

/* ---------- 11. Nuestro camarón ---------- */
.contenedor-muestro-camaron{
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 32px);
}

.camaron__texto{
  width: 100%;
}

.camaron__media {
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.camaron__media > img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.camaron__map {
display: none;
}

.camaron__map img {
  width: 150px;
  height: auto;
}

@media(min-width: 720px){

  .contenedor-muestro-camaron{
    flex-direction: row;
  }

  .camaron__texto{
    width: 50%;
  }

  .camaron__media {
    width: 50%;
  }

  .camaron__map {
    display: block;
    width: 100%;
    margin-top: 28px;
  }
  
  .texto-seccion-nosotros {
    text-align: left;
    justify-content: start;
    place-items: start;
}

}


/* ---------- 12. Carrusel ---------- */
.carousel {
  position: relative;
}
.carousel__track {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__card {
  min-width: 243px !important;
  position: relative;
  scroll-snap-align: start;
  flex: 0 0 clamp(160px, 18vw, 215px);
  aspect-ratio: 3 / 4.4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.carousel__card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 189, 195, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.carousel__media {
  position: absolute;
  inset: 0;
}
.carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.carousel__card:hover .carousel__media img {
  transform: scale(1.06);
}
.carousel__card-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 14px 18px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(4, 11, 20, 0.55) 45%,
    rgba(4, 11, 20, 0.92) 100%
  );
}
.carousel__card h3 {
  font-size: 16px;
  margin: 0;
}

.carousel__arrow {
  position: absolute;
  top: 40%;
  translate: 0 -50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.carousel__arrow--prev {
  left: -20px;
}
.carousel__arrow--next {
  right: -20px;
}

.carousel__cta {
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- 13. Pilares ---------- */
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #093e46 0%, #002023 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 189, 195, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.pillar__icon {
  display: inline-grid;
  place-items: center;
  color: var(--teal);
  margin-bottom: 16px;
}
.pillar__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.pillar:hover .pillar__icon img {
  transform: scale(1.08);
}
.pillar p {
  font-size: 14px;
}
.pillars__note {
  max-width: var(--container);
  margin: 28px auto 0;
  padding-inline: var(--gutter);
  font-size: 12px;
  color: var(--ink-3);
  font-style: italic;
}

/* ---------- 14. Logística ---------- */
.contenedor-pedidos-servicios {
  background-color: var(--bg-alt);
  padding-block: var(--sec-y);
  text-align: center;
}

.parrafo-pedidos-servicios{
  margin-bottom: clamp(30px, 4vw, 48px);
}

.contenedor-responsivo-pedidos-servicios {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 32px);
}

.diviciones-pedidos-servicios {
  width: 100%;
  height: auto;
}

.divicion-imagen-pedidos-servicios {
  overflow: hidden;
}

.divicion-imagen-pedidos-servicios:hover {
}

.divicion-imagen-pedidos-servicios img{
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
}

.divicion-textos-pedidos-servicios {
  background: linear-gradient(135deg, #093e46 0%, #002023 100% 100%);
  border-radius: 0 0 14px 14px;
  padding: 1rem 1rem;
}

.divicion-textos-pedidos-servicios h3{
}

.divicion-textos-pedidos-servicios p{
}

@media(min-width: 720px){

  .contenedor-responsivo-pedidos-servicios {
    flex-direction: row;
  }

  .diviciones-pedidos-servicios {
    width: 50%;
    height: auto;
  }

}


/* ---------- 15. Footer ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 96px) 0;
}
.footer__inner {
  align-items: start;
  margin-bottom: 40px;
}
.footer h2 {
  margin-bottom: 14px;
}
.footer .lead {
  margin-bottom: 22px;
}

.social {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
}
.social a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.footer__address {
  font-size: 13px;
  color: var(--ink-3);
}

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}
.form__label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.form select,
.form input {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}
.form select {
  appearance: none;
}
.form select:focus,
.form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-block: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel__arrow {
    display: flex;
  }
}

@media (max-width: 720px) {
  .nav__burger {
    display: flex;
  }
  .nav__links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--teal-dark);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a.btn--sm {
    margin-top: 12px;
    width: auto;
    border-bottom: 0;
    padding: .5rem .8rem;
  }

  .units__inner {
    grid-template-columns: 1fr;
  }
  .units__item {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 69, 141, 0.18);
  }
  .units__item:last-child {
    border-bottom: 0;
  }

  .grid--2,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    gap: 32px;
  }
  .carousel__arrow {
    display: none;
  }
}

/* ---------- 12. Selector de idioma ---------- */
.lang-switcher {
  position: relative;
  margin-left: 8px;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px 7px 9px;
  background: #ffffff;
  border: 1px solid rgba(0, 69, 141, 0.18);
  border-radius: 999px;
  color: var(--navy);
  font: 600 13px/1 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lang-switcher__btn:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.lang-switcher__btn:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.lang-switcher__globe {
  font-size: 14px;
  line-height: 1;
}

.lang-switcher__current {
  font-weight: 700;
}

.lang-switcher__chev {
  width: 10px;
  height: 10px;
  color: var(--navy);
  transition: transform 0.2s ease;
}
.lang-switcher.is-open .lang-switcher__chev {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  min-width: 168px;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(0, 69, 141, 0.12);
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(6, 16, 25, 0.12),
    0 2px 6px rgba(6, 16, 25, 0.06);
  z-index: 60;
}

.lang-switcher__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  font: 500 14px/1 'Inter', system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switcher__opt:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.lang-switcher__opt:focus-visible {
  outline: none;
  background: var(--teal-soft);
}
.lang-switcher__opt.is-active {
  color: var(--teal-dark);
  font-weight: 600;
}

.lang-switcher__flag {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 69, 141, 0.12);
}

@media (max-width: 720px) {
  .lang-switcher {
    margin-left: 0;
    margin-right: 4px;
  }
  .lang-switcher__btn {
    padding: 6px 9px;
    font-size: 12px;
  }
  .lang-switcher__menu {
    right: 0;
    min-width: 156px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
