/* ==========================================================
   La Pescadería de Alfredito — styles.css
   Paleta y tipografía controladas por variables: cambiar aquí
   ajusta todo el sitio.
   ========================================================== */

/* ---------- Fuentes auto-alojadas (sin CDNs) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "GranScript";
  src: url("../fonts/greatvibes.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta global de Elementor (cliente) */
  --tinta:   #1E293B;   /* Texto */
  --marino:  #004A93;   /* Principal */
  --azul-2:  #3B82F6;   /* Secundario */
  --hielo:   #F8FAFC;   /* Fondo claro */
  --hielo-2: #E0E7FF;   /* Énfasis */
  --blanco:  #ffffff;
  --accion:  #FACC15;   /* Botones de acción */
  --accion-2:#eab308;
  --verde-wa:#1d9e50;   /* botón WhatsApp */
  --texto:   #1E293B;
  --texto-suave: #475569;
  --linea:   #dbe4f0;

  --display: "GranScript", "Fraunces", cursive;
  --serif: "Fraunces", Georgia, serif;
  --cuerpo:  "Karla", system-ui, sans-serif;

  --radio: 18px;
  --sombra: 0 8px 32px rgba(30, 41, 59, .07);
  --ancho: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--display); /* Great Vibes en toda la web */
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--texto);
  background: var(--blanco);
}
img { max-width: 100%; display: block; }
a { color: var(--marino); }
h1, h2, h3 { font-family: var(--display); color: var(--tinta); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6.5vw, 3.75rem); font-weight: 600; margin: 0 0 .5rem; } /* Principal 60px/600 */
h2 { font-size: clamp(1.9rem, 4.6vw, 3.125rem); font-weight: 400; margin: 0 0 1rem; } /* Secundario 50px/400 */
h3 { font-size: 1.9rem; font-weight: 400; margin: 0 0 .5rem; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 1.25rem; }

:focus-visible { outline: 3px solid var(--azul-2); outline-offset: 2px; border-radius: 4px; }

.solo-lectores {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Botones ---------- */
button, input, select, textarea { font-family: inherit; }

.btn {
  white-space: nowrap;
  display: inline-block; padding: .55rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1.35rem; text-decoration: none; border: 0;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { filter: brightness(.96); }
.btn--coral { background: var(--accion); color: var(--tinta); box-shadow: 0 4px 14px rgba(250, 204, 21, .30); }
.btn--coral:hover { background: var(--accion-2); }
.btn--marino { background: var(--marino); color: #fff; }
.btn--marino:hover { background: var(--tinta); }
.btn--borde { background: transparent; color: var(--tinta); border: 2px solid var(--tinta); }
.btn--borde:hover { background: var(--tinta); color: #fff; }
.btn--claro { background: #fff; color: var(--tinta); }
.btn--wa { background: var(--verde-wa); color: #fff; }
.btn--wa:hover { background: #167a3d; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: var(--marino);
  box-shadow: 0 2px 14px rgba(0, 74, 147, .35);
}
.cabecera__fila {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 82px; flex-wrap: nowrap;
}
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.logo img { height: 60px; width: 60px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.logo__texto { font-family: var(--display); font-weight: 400; color: #fff; font-size: 1.75rem; line-height: 1; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.logo__texto strong { font-weight: 400; color: var(--accion); }
@media (max-width: 1280px) and (min-width: 1101px) { .logo__texto { display: none; } }
@media (max-width: 480px) { .logo__texto { display: none; } }

.nav { display: flex; align-items: center; gap: .1rem; min-width: 0; }
.nav a { text-decoration: none; color: #fff; font-weight: 400; font-size: 1.3rem; padding: .3rem .7rem; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: rgba(255,255,255,.16); color: #fff; }
.nav a[aria-current="page"] {
  background: rgba(255,255,255,.22); color: #fff; font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--accion);
}
.desplegable > button[aria-current="page"] {
  background: rgba(255,255,255,.22); font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--accion);
}
.nav .btn { margin-left: .5rem; }
.nav__ig { display: inline-flex; align-items: center; gap: .45rem; color: #fff; padding: .45rem .6rem; border-radius: 8px; }
.nav__ig svg { width: 23px; height: 23px; }
.nav__ig span { font-size: 1.3rem; }
@media (min-width: 1101px) { .nav__ig span { display: none; } }
.nav .btn:hover { background: var(--accion-2); color: var(--tinta); }

/* Desplegable Productos */
.desplegable { position: relative; }
.desplegable > button {
  font: inherit; font-size: 1.3rem; font-weight: 400; color: #fff; background: none; border: 0;
  white-space: nowrap;
  padding: .3rem .7rem; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: .3rem;
}
.desplegable > button:hover { background: rgba(255,255,255,.16); }
.desplegable > button::after { content: ""; border: 5px solid transparent; border-top-color: currentColor; margin-top: 5px; }
.desplegable__menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--azul-2); border: 1px solid rgba(255,255,255,.25); border-radius: 0 0 12px 12px;
  box-shadow: var(--sombra);
  padding: .6rem .4rem .4rem;
  display: flex; flex-direction: column;
  /* Invisible por defecto; se muestra con opacity/visibility para poder usar transition */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
  /* Delay en cierre: el usuario tiene 120ms para mover el ratón al menú */
  transition-delay: 0s;
}
.desplegable__menu a:hover { background: rgba(255,255,255,.22); }
.desplegable__menu a[aria-current="page"] {
  background: rgba(255,255,255,.28); font-weight: 700;
  box-shadow: inset 3px 0 0 var(--accion);
}
@media (max-width: 1100px) {
  .desplegable__menu { background: var(--azul-2); border-radius: 10px; margin-top: .3rem; }
}
.desplegable__menu a { padding: .6rem .8rem; }
.desplegable.abierto .desplegable__menu,
.desplegable:hover .desplegable__menu {
  opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s;
}
/* Al salir del contenedor, pequeño delay antes de cerrar */
.desplegable__menu { transition-delay: 0s; }
.desplegable:not(:hover):not(.abierto) .desplegable__menu { transition-delay: .12s; }

.boton-menu {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
}
.boton-menu span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 1100px) {
  .boton-menu { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--marino); border-bottom: 1px solid rgba(255,255,255,.18);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.abierta { display: flex; }
  .nav a, .desplegable > button { width: 100%; text-align: left; }
  .desplegable__menu {
    position: static; box-shadow: none; border: 0; padding-left: 1rem;
    /* Colapsado: sin espacio en el flujo. Solo crece cuando el desplegable está abierto. */
    max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden;
    transition: max-height .22s ease, opacity .18s ease, visibility .18s ease;
  }
  .desplegable.abierto .desplegable__menu {
    max-height: 220px; padding-top: .6rem; padding-bottom: .4rem;
  }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
  body.menu-abierto .boton-menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-abierto .boton-menu span:nth-child(2) { opacity: 0; }
  body.menu-abierto .boton-menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero portada ---------- */
.hero { background: linear-gradient(180deg, var(--hielo) 0%, #fff 100%); overflow: hidden; }
.hero__fila {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem;
  align-items: center; padding: 4.2rem 0 0;
}
.hero__saludo {
  display: inline-block; background: var(--hielo-2); color: var(--marino);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.3;
  padding: .45rem 1.4rem; border-radius: 999px; margin: 0 0 1.1rem;
}
.hero h1 { margin-bottom: .35rem; }
.hero__lema { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--marino); margin: 0 0 1.2rem; } /* Texto 40px/400 */
.hero__acciones { display: flex; gap: .8rem; margin-bottom: 1.5rem; }
.hero__acciones .btn { flex: 1; text-align: center; }
@media (max-width: 480px) { .hero__acciones { flex-direction: column; } }
.hero__foto { position: relative; align-self: end; min-width: 0; }
.hero__foto-fondo {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 108%; max-width: none; height: 86%; object-fit: cover;
  border-radius: 24px 24px 0 0; opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 92%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 92%);
}
.hero__foto-alfredito { position: relative; }
.hero__foto-alfredito { width: 100%; max-width: 440px; margin: 0 auto; display: block; }
.subrayado { position: relative; white-space: nowrap; }
.subrayado svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .35em; }
.subrayado svg path { stroke: var(--accion); stroke-width: 7; fill: none; stroke-linecap: round; }

.hero__nota {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.2rem; color: var(--texto-suave); margin: 0;
}
.hero__nota span { font-size: 1.1em; }

@media (max-width: 800px) {
  .hero__fila { grid-template-columns: 1fr; padding-top: 3rem; gap: 1.8rem; text-align: center; }
  .hero__saludo { align-self: center; }
  .hero__acciones { max-width: 380px; margin-left: auto; margin-right: auto; }
  .codigo { max-width: 380px; margin-left: auto; margin-right: auto; }
  .hero__nota { margin-left: auto; margin-right: auto; }
  .hero__foto { width: 100%; max-width: 320px; margin: 0 auto; }
  .hero__foto-alfredito { max-width: 100%; }
}
@media (max-width: 600px) {
  .contenedor { padding-left: 1.6rem; padding-right: 1.6rem; }
}

/* ---------- Secciones ---------- */
.seccion { padding: 5.5rem 0; }
.seccion--hielo { background: var(--hielo); }
.seccion--tinta { background: var(--tinta); color: #dfecf3; }
.seccion--tinta h2 { color: #fff; }
.seccion__intro { max-width: 680px; margin: 0 auto 3.2rem; text-align: center; }
.seccion__intro p { color: var(--texto-suave); }
.seccion--tinta .seccion__intro p { color: #b9cfdc; }

/* Tarjetas de confianza */
.confianza { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.confianza article {
  background: #fff; border-radius: var(--radio); padding: 2.2rem 2rem;
  box-shadow: var(--sombra);
}
.confianza .icono { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
@media (max-width: 800px) { .confianza { grid-template-columns: 1fr; } }

/* Categorías de producto en portada */
.categorias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.categoria {
  position: relative; border-radius: var(--radio); overflow: hidden;
  text-decoration: none; box-shadow: var(--sombra); aspect-ratio: 4 / 5; display: block;
}
.categoria img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.categoria:hover img { transform: scale(1.05); }
.categoria__velo {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,41,55,.85) 100%);
}
.categoria__nombre {
  position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
}
.categoria__nombre span { display: block; font-weight: 400; font-size: 1.2rem; color: var(--accion); }
@media (max-width: 800px) { .categorias { grid-template-columns: 1fr; } .categoria { aspect-ratio: 16 / 10; } }

/* Banda con foto de fondo (Instagram / Trae un amigo) */
.banda { position: relative; color: #fff; text-align: center; overflow: hidden; }
.banda::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.4) saturate(1.1);
}
.banda--amigo::before { background-image: url("../img/mostrador-3.webp"); }
.banda__contenido { position: relative; padding: 4.5rem 1.25rem; max-width: 720px; margin: 0 auto; }
.banda h2 { color: #fff; }
.banda p { color: #e3edf3; font-size: 1.1rem; }

/* Reseñas */
.resenas { text-align: center; }
.resenas .estrellas { font-size: 1.6rem; letter-spacing: .2em; color: #f5a623; margin-bottom: .8rem; }

/* ---------- Mostrador de productos (etiquetas) ---------- */
.mostrador {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2rem 1.5rem;
}
.ficha {
  background: transparent; border-radius: 0; overflow: visible;
  box-shadow: none; transition: transform .2s ease;
  position: relative; display: flex; flex-direction: column; align-items: center;
}
.ficha:hover { transform: translateY(-4px); }
.ficha__foto {
  width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
  background: var(--hielo-2);
  box-shadow: 0 6px 20px rgba(0,74,147,.13);
  border: 4px solid #fff;
  outline: 2px solid var(--linea);
  flex-shrink: 0;
}
.ficha__foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha__etiqueta {
  margin: .9rem 0 0; position: relative;
  background: transparent; border: none; border-radius: 0;
  padding: 0; text-align: center;
  font-weight: 400; font-size: 1.3rem; color: var(--tinta);
  transform: none; box-shadow: none; line-height: 1.25;
}
.ficha__etiqueta::before { display: none; }
.ficha:nth-child(even) .ficha__etiqueta { transform: none; }
.ficha--pendiente .ficha__foto {
  display: flex; align-items: center; justify-content: center;
  background: var(--hielo-2);
}
.ficha--pendiente .ficha__foto span { font-size: 2.4rem; opacity: .55; }
@media (max-width: 600px) {
  .mostrador { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1.5rem 1rem; }
  .ficha__foto { width: 120px; height: 120px; }
}


/* Galería superior de página de productos */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.galeria img { border-radius: var(--radio); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: var(--sombra); }
@media (max-width: 700px) { .galeria { grid-template-columns: repeat(2, 1fr); } }

/* Cabecera interior de página */
.portada-pagina {
  background: linear-gradient(180deg, #fff 0%, var(--hielo-2) 130%);
  color: var(--tinta); padding: 4.8rem 0 4.2rem; text-align: center;
}
.portada-pagina h1 { color: var(--marino); margin: .1em 0 0; }
.portada-pagina h1::after {
  content: ""; display: block; width: 96px; height: 5px; border-radius: 99px;
  background: var(--accion); margin: .4em auto 0;
}
.portada-pagina p { color: var(--texto-suave); font-size: 1.45rem; margin: 1rem auto 0; max-width: 640px; }
.portada__etiqueta {
  margin: 0; font-size: 1.55rem; color: var(--azul-2); line-height: 1;
}

/* ---------- Contacto ---------- */
.tarjetas-contacto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: stretch; }
.tc {
  background: #fff; border-radius: var(--radio); padding: 2.4rem 2rem;
  box-shadow: var(--sombra); display: flex; flex-direction: column;
  text-align: center; align-items: center;
}
.tc__icono {
  font-size: 1.7rem; width: 62px; height: 62px; border-radius: 50%;
  background: var(--hielo); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.tc h3 { font-size: 2rem; color: var(--marino); margin: 0 0 .8rem; }
.tc__cuerpo { color: var(--texto); font-size: 1.3rem; line-height: 1.5; margin: 0 0 1.6rem; }
.tc__btn { margin-top: auto; }
.tc__horario { list-style: none; margin: 0 0 1rem; padding: 0; width: 100%; }
.tc__horario li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem .2rem; border-bottom: 1px solid var(--linea); font-size: 1.2rem;
}
.tc__horario li:last-child { border-bottom: 0; }
.tc__horario li > span:first-child { color: var(--tinta); }
.tc__horario li > span:last-child { color: var(--texto-suave); }
.tc__horario-cerrado > span { color: #aab6c1; }
.tc__aviso {
  font-size: 1.05rem; color: var(--azul-2);
  background: var(--hielo); border-radius: 999px; padding: .35rem 1rem; margin: 0;
}
@media (max-width: 800px) { .tarjetas-contacto { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.zonas {
  list-style: none; padding: 0;
  margin: 2.5rem auto 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-auto-rows: 1fr; gap: 1rem;
}
.zonas li {
  background: #fff; border: 1px solid var(--linea); border-radius: 12px;
  padding: 1rem 1.2rem; font-size: 1.25rem; line-height: 1.25; color: var(--tinta);
  display: flex; align-items: center; gap: .6rem;
  box-shadow: 0 2px 10px rgba(30,41,59,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.zonas li:hover {
  border-color: var(--azul-2);
  box-shadow: 0 6px 18px rgba(0,74,147,.12);
  transform: translateY(-2px);
}
.zonas li::before {
  content: "📍"; font-size: 1.05em; flex-shrink: 0; line-height: 1.2;
}
@media (max-width: 520px) { .zonas { grid-template-columns: 1fr 1fr; gap: .7rem; } }
@media (prefers-reduced-motion: reduce) { .zonas li:hover { transform: none; } }

.nota-reparto {
  display: flex; width: fit-content; align-items: center; gap: .5rem;
  background: var(--hielo-2); border-radius: 999px;
  padding: .7rem 1.4rem; color: var(--tinta); font-size: 1.25rem;
  margin: 0 auto 1rem;
}

/* ---------- Trae un amigo ---------- */
.regalo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.regalo__foto { display: flex; }
.regalo__foto img { border-radius: var(--radio); box-shadow: var(--sombra); width: 100%; height: 100%; object-fit: cover; }
.descuentos-amigo {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  background: var(--hielo); border-radius: var(--radio); padding: 1.6rem 1rem; margin: 0 0 1.4rem;
}
.descuentos-amigo__item { display: flex; flex-direction: column; align-items: center; }
.descuentos-amigo__pct { font-family: var(--display); font-size: 3rem; color: var(--marino); line-height: 1; }
.descuentos-amigo__quien { font-size: 1.15rem; color: var(--texto-suave); }
.descuentos-amigo__icono { font-size: 1.8rem; }
@media (max-width: 420px) { .descuentos-amigo { gap: .9rem; padding: 1.3rem .6rem; } .descuentos-amigo__pct { font-size: 2.3rem; } }

.promo-mensual {
  display: flex; align-items: center; gap: 2.2rem;
  background: var(--tinta); color: #fff; border-radius: var(--radio);
  padding: 2.4rem 2.6rem; max-width: 780px; margin: 0 auto;
}
.promo-mensual__pct {
  font-family: var(--display); font-size: 5rem; line-height: 1;
  color: var(--accion); flex-shrink: 0;
}
.promo-mensual__texto .portada__etiqueta { color: var(--accion); }
.promo-mensual__texto h2 { color: #fff; margin: .1em 0 .5rem; font-size: 2.1rem; }
.promo-mensual__texto p { color: #c4d8ea; margin: 0; }
@media (max-width: 640px) {
  .promo-mensual { flex-direction: column; text-align: center; padding: 2.2rem 1.6rem; }
}
.formulario { display: grid; gap: 1.1rem; }
.formulario .campo { display: flex; flex-direction: column; }
.formulario label { font-weight: 400; font-size: 1.4rem; color: var(--tinta); display: block; margin-bottom: .2rem; }
.formulario input {
  width: 100%; padding: .85rem 1rem; border: 2px solid var(--linea); border-radius: 10px;
  font: 400 1.05rem/1.4 var(--cuerpo); background: #fff;
}
.formulario input:focus { border-color: var(--marino); outline: none; }
.formulario input[aria-invalid="true"] { border-color: #b45309; background: #fff8f0; }
.campo-error {
  color: #b45309; font-weight: 700; font-size: .92rem;
  min-height: 1.3em; margin: .4rem 0 0;
}
@media (max-width: 800px) { .regalo { grid-template-columns: 1fr; } .regalo__foto img { max-height: 320px; } }

/* ---------- Pie ---------- */
.pie {
  background: linear-gradient(180deg, var(--tinta) 0%, #16202e 100%);
  color: #aebfce; padding: 4.5rem 0 2.2rem;
}
.pie__fila {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.pie__marca img {
  width: 76px; height: 76px; border-radius: 50%;
  background: #fff; padding: 3px; margin-bottom: 1.1rem;
}
.pie__lema { color: #c4d3e0; max-width: 320px; margin: 0 0 1.4rem; font-size: 1.35rem; line-height: 1.5; }
.pie__ig {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; text-decoration: none; font-size: 1.35rem;
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: .5rem 1.2rem; transition: background .2s ease, border-color .2s ease;
}
.pie__ig svg { width: 22px; height: 22px; }
.pie__ig:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }

.pie h3 {
  color: #fff; font-size: 1.5rem; margin: 0 0 1.1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--accion); display: inline-block;
}
.pie__lista { list-style: none; margin: 0; padding: 0; }
.pie__lista li { padding: .42rem 0; font-size: 1.3rem; line-height: 1.45; }
.pie__lista span { display: inline-block; width: 1.5em; }
.pie a { color: #c4d3e0; text-decoration: none; transition: color .15s ease; }
.pie a:hover { color: #fff; }
.pie__lista--enlaces a { position: relative; }
.pie__lista--enlaces a:hover { color: var(--accion); }

.pie__legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem;
  margin-top: 0; font-size: 1.15rem; text-align: center; color: #8aa0b5;
}
.pie__legal a { color: #aebfce; }
.pie__legal a:hover { color: #fff; }
@media (max-width: 800px) {
  .pie__fila { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .pie__marca { display: flex; flex-direction: column; align-items: center; }
  .pie__lista span { display: none; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  display: flex; align-items: center; gap: .6rem;
  background: var(--verde-wa); color: #fff; text-decoration: none;
  padding: .6rem 1.2rem; border-radius: 999px; font-weight: 400; font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .15s ease;
}
.wa-flotante:hover { transform: scale(1.05); }
.wa-flotante svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 600px) { .wa-flotante span { display: none; } .wa-flotante { padding: .9rem; } }

/* ---------- Aparición al hacer scroll ---------- */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .ficha:hover, .categoria:hover img, .wa-flotante:hover { transform: none; }
}

/* Página legal */
.contenedor[data-estrecho] { max-width: 760px; }

/* ---------- Cabeceras de página con foto ---------- */
.portada-pagina--foto { padding: 6.2rem 0; position: relative; overflow: hidden; }
.portada-pagina--foto h1 { color: #fff; }
.portada-pagina--foto p { color: #dbe7f5; }
.portada-pagina--foto .portada__etiqueta { color: var(--accion); }

/* ---------- Carrusel de cabecera (Pescados / Mariscos / Gourmet) ---------- */
.cc-cabecera { background: var(--tinta); }
.cc-capas { position: absolute; inset: 0; z-index: 0; }
.cc-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s ease;
}
.cc-img--activa { opacity: 1; }
.cc-velo {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(30,41,59,.5), rgba(30,41,59,.8));
}
.cc-contenido { position: relative; z-index: 2; }
.cc-flecha {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.22); color: #fff; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.cc-flecha:hover { background: rgba(255,255,255,.4); }
.cc-flecha--izq { left: 1.2rem; }
.cc-flecha--der { right: 1.2rem; }
.cc-puntos {
  position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%); z-index: 3;
  display: flex; gap: .5rem;
}
.cc-puntos button {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  background: transparent; padding: 0; cursor: pointer; transition: background .15s ease;
}
.cc-puntos button[aria-current="true"] { background: #fff; }
@media (max-width: 600px) {
  .cc-flecha { width: 36px; height: 36px; font-size: 1.3rem; }
  .cc-flecha--izq { left: .6rem; }
  .cc-flecha--der { right: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .cc-img { transition: none; } }

/* ---------- Mapa de Google en contacto ---------- */
.mapa {
  display: block; width: 100%; height: 420px; border: 0;
  border-radius: var(--radio); box-shadow: var(--sombra); margin: 0 0 3rem;
}

/* ---------- Código de descuento rotatorio ---------- */
.codigo {
  font-size: 1.4rem;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .15rem .55rem;
  background: var(--hielo-2); border: 2px dashed var(--marino);
  border-radius: 12px; padding: .7rem 1.2rem; margin: 0 0 1.4rem;
  font-weight: 700; color: var(--tinta); text-align: center;
}
.codigo strong { color: var(--marino); }


/* ---------- Quiénes somos: intro + línea de tiempo ---------- */
.historia-intro { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.historia-intro p { font-size: 1.55rem; line-height: 1.5; color: var(--texto); }

.linea-tiempo {
  list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative;
}
.linea-tiempo::before {
  content: ""; position: absolute; left: 11px; top: .6rem; bottom: .6rem;
  width: 3px; background: linear-gradient(180deg, var(--azul-2), var(--hielo-2));
  border-radius: 2px;
}
.hito { position: relative; padding: 0 0 3rem 3.4rem; }
.hito:last-child { padding-bottom: 0; }
.hito__marca { position: absolute; left: 0; top: .35rem; }
.hito__punto {
  display: block; width: 25px; height: 25px; border-radius: 50%;
  background: #fff; border: 4px solid var(--marino);
  box-shadow: 0 0 0 5px var(--hielo);
}
.hito--final .hito__punto { background: var(--accion); border-color: var(--accion); }
.hito__epoca {
  display: inline-block; font-size: 1.25rem; color: var(--azul-2);
  background: var(--hielo-2); padding: .2rem .9rem; border-radius: 999px; margin-bottom: .5rem;
}
.hito__cuerpo h3 { font-size: 2.1rem; color: var(--marino); margin: 0 0 .5rem; }
.hito__cuerpo > p { color: var(--texto-suave); margin: 0 0 1.2rem; max-width: 620px; }
.hito__foto { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); max-width: 440px; }
.hito__foto img { width: 100%; height: auto; display: block; }
@media (max-width: 600px) {
  .hito { padding-left: 2.8rem; }
  .historia-intro p { font-size: 1.4rem; }
}

.historia-cierre {
  max-width: 720px; margin: 4rem auto 0; text-align: center;
  font-size: 1.9rem; line-height: 1.4; color: var(--tinta);
}
.historia-cierre strong { color: var(--marino); }

.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.valores figure {
  position: relative; margin: 0; border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); aspect-ratio: 3 / 4;
}
.valores img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.valores figure:hover img { transform: scale(1.05); }
.valores__velo {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,41,55,.88) 100%);
}
.valores figcaption {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; color: #fff; text-align: left;
}
.valores__titulo {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: 2.6rem; line-height: 1; margin-bottom: .35rem;
}
.valores__texto { display: block; font-size: 1.2rem; line-height: 1.45; color: #dbe7f5; }
@media (max-width: 800px) { .valores { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .valores figure:hover img { transform: none; } }

/* ---------- Carrusel de promociones (home) ---------- */
.carrusel-promos { padding: 2.4rem 0 .5rem; }
.carrusel { position: relative; }
.carrusel__pista {
  display: flex; overflow: hidden; border-radius: var(--radio); box-shadow: var(--sombra);
  scroll-snap-type: x mandatory;
}
.promo-slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: flex; align-items: center; gap: 1.8rem;
  padding: 2.2rem 4.6rem; min-height: 168px;
}
.promo-slide--tinta { background: var(--tinta); color: #fff; }
.promo-slide--marino { background: var(--marino); color: #fff; }
.promo-slide__pct {
  font-family: var(--display); font-size: 4.2rem; line-height: 1;
  color: var(--accion); flex-shrink: 0;
}
.promo-slide__icono { font-size: 3rem; flex-shrink: 0; }
.promo-slide__etiqueta {
  display: block; font-size: 1.15rem; color: var(--accion); margin-bottom: .2rem;
}
.promo-slide__texto h2 { color: #fff; font-size: 1.9rem; margin: 0 0 .35rem; }
.promo-slide__texto p { color: #d6e6f3; margin: 0; font-size: 1.15rem; }
.promo-slide__btn { flex-shrink: 0; margin-left: auto; }
.carrusel__flecha {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.22); color: #fff; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.carrusel__flecha:hover { background: rgba(255,255,255,.4); }
.carrusel__flecha--izq { left: 1.1rem; }
.carrusel__flecha--der { right: 1.1rem; }
.carrusel__puntos { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.carrusel__puntos button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: var(--linea); cursor: pointer;
}
.carrusel__puntos button[aria-current="true"] { background: var(--marino); }
@media (max-width: 640px) {
  .promo-slide { flex-direction: column; text-align: center; gap: 1rem; padding: 2.6rem 3.2rem; }
  .promo-slide__btn { margin: .5rem auto 0; }
  .carrusel__flecha { width: 32px; height: 32px; font-size: 1.2rem; }
  .carrusel__flecha--izq { left: .4rem; }
  .carrusel__flecha--der { right: .4rem; }
}
@media (prefers-reduced-motion: reduce) { .carrusel__pista { scroll-behavior: auto; } }


.cta-final { padding: 6rem 0 6.5rem; background: var(--hielo); }
.cta-card {
  position: relative; max-width: 720px; margin: 0 auto; text-align: center;
  background: #fff; border-radius: 28px; padding: 4rem 2.5rem 3.2rem;
  box-shadow: 0 20px 60px rgba(0, 74, 147, .12);
  border: 1px solid var(--linea);
}
.cta-card__sello {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accion); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 8px 20px rgba(250, 204, 21, .4);
}
.cta-card h2 { font-size: clamp(2.6rem, 5.5vw, 3.6rem); color: var(--marino); margin: 0 0 .3rem; }
.cta-card p { color: var(--texto-suave); max-width: 480px; margin: 0 auto 2.8rem; }
.cta-card .btn--xl {
  display: block; width: fit-content; max-width: 100%;
  font-size: 1.7rem; padding: .8rem 3rem; margin: 0 auto 2.6rem;
}
@media (max-width: 480px) {
  .cta-card .btn--xl { font-size: 1.25rem; padding: .7rem 1.6rem; }
}
.cta-card__nota { font-size: 1.2rem; color: var(--texto-suave); margin: 0 auto; }
.cta-card__nota a { color: var(--marino); }

/* ---------- Botón flotante de scroll ---------- */
.btn-scroll {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--marino); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 74, 147, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.btn-scroll.visible { opacity: 1; visibility: visible; transform: none; }
.btn-scroll svg { width: 22px; height: 22px; transition: transform .25s ease; }
.btn-scroll.arriba svg { transform: rotate(180deg); }
.btn-scroll:hover { background: var(--azul-2); }
@media (prefers-reduced-motion: reduce) {
  .btn-scroll, .btn-scroll svg { transition: none; }
}


/* ---------- Bloque de Instagram (home) ---------- */
.instagram-bloque {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.instagram-bloque__texto h2 { margin-top: .2rem; }
.instagram-bloque__texto p { color: var(--texto-suave); margin-bottom: 1.6rem; }
.instagram-bloque__fotos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.instagram-bloque__fotos img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radio); box-shadow: var(--sombra);
  transition: transform .3s ease;
}
.instagram-bloque__fotos img:hover { transform: scale(1.03); }
@media (max-width: 800px) {
  .instagram-bloque { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .instagram-bloque__fotos img:hover { transform: none; } }
