/* ═══════════════════════════════════════════
   PinguiFood — style.css
   Palette: #1a3a5c navy · #b8e0f0 sky · #4db8d4 cyan · #ffffff white
═══════════════════════════════════════════ */

:root {
  --navy:       #1a3a5c;
  --navy-dark:  #0f2238;
  --sky:        #b8e0f0;
  --cyan:       #4db8d4;
  --cyan-dark:  #3a9ab5;
  --white:      #ffffff;
  --gray-light: #f5f8fb;
  --gray-mid:   #e0ecf4;
  --gray:       #6b7280;
  --text:       #1e293b;
  --text-light: #64748b;

  --font-head: 'Figtree', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(26,58,92,.10);
  --shadow-lg: 0 8px 40px rgba(26,58,92,.16);
  --trans:     0.3s ease;

  --container: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--cyan);
  color: var(--white);
  padding: .5rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77,184,212,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full  { width: 100%; justify-content: center; }

/* ── Section commons ── */
section { padding: 88px 0; }
.section-light { background: var(--gray-light); }
.section-white { background: var(--white); }
.section-dark  {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-header-light h2 { color: var(--white); }
.section-header-light p  { color: var(--sky); }

.section-tag {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-tag-cyan {
  background: rgba(77,184,212,.2);
  color: var(--cyan);
}

/* ════════════════════════
   NAVBAR
════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: 80px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  transition: min-height .3s ease, padding .3s ease, background .3s ease, box-shadow .3s ease;
}
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  min-height: 64px;
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo img {
  height: 202px;
  width: auto;
  object-fit: contain;
  transition: height .3s ease;
}
#navbar.scrolled .nav-logo img {
  height: 144px;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  display: none;
}
.nav-menu-logo,
.nav-menu-contact,
.nav-menu-wa { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: rgba(255,255,255,.88);
  padding: .4rem .8rem;
  border-radius: 8px;
  transition: color var(--trans), background var(--trans);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn-cotizar {
  flex-shrink: 0;
  background: var(--cyan);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: .5rem 1.35rem;
  border-radius: 50px;
  transition: all var(--trans);
}
.btn-cotizar:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(77,184,212,.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .45rem;
  margin-left: auto;
  z-index: 1001;
  position: relative;
  border-radius: 6px;
  transition: background .2s;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}
.hamburger.open { background: rgba(255,255,255,.08); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ════════════════════════
   HERO + PM SHARED WRAPPER
════════════════════════ */
.hero-pm-wrap {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(10,30,53,.78), rgba(10,30,53,.78)),
    url('img/hero-bg.jpg') center top / cover no-repeat fixed;
}
.hero-pm-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent 0%, #1a3a5c 100%);
  pointer-events: none;
  z-index: 3;
}

#snowflakes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* ════════════════════════
   HERO
════════════════════════ */
#hero {
  position: relative;
  height: 85vh;
  max-height: 85vh;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 0;
  z-index: 2;
}
.snowflake {
  position: absolute;
  top: -30px;
  user-select: none;
  pointer-events: none;
  animation: snowfall linear infinite;
  color: rgba(184,224,240,.65);
  will-change: transform;
}
@keyframes snowfall {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: .4; }
  100% { transform: translateY(110vh) translateX(var(--drift, 40px)) rotate(var(--spin, 360deg)); opacity: 0; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 0;
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-block;
  background: rgba(77,184,212,.18);
  border: 1px solid rgba(77,184,212,.4);
  color: var(--sky);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.highlight-coquimbo {
  color: #4db8d4;
  font-weight: 800;
  font-style: normal;
}
.hero-subtitle-bold {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,.90);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid #4db8d4;
  padding-left: 14px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-mascot {
  height: 85vh;
  position: relative;
  overflow: hidden;
}
.hero-map-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}
.hero-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 35% desde arriba centra la IV Región (Coquimbo) en el área visible */
  object-position: center 25%;
  opacity: 0.4;
  filter: drop-shadow(0 0 30px #4db8d4);
}
.hero-map-logo {
  position: absolute;
  width: clamp(200px, 50%, 280px);
  height: auto;
  top: 40%;
  left: 50%;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.6));
  z-index: 2;
  animation: float-logo 4s ease-in-out infinite;
}
@keyframes float-logo {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-10px); }
}
.hero-penguin-laptop {
  position: absolute;
  width: 120px;
  height: auto;
  top: 62%;
  left: 50%;
  z-index: 2;
  animation: float-penguin 4s ease-in-out infinite;
  animation-delay: .8s;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.45));
}
@keyframes float-penguin {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* ════════════════════════
   PRODUCTOS Y MARCAS (carruseles verticales)
════════════════════════ */
#categorias {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, #1a3a5c 0%, #eaf6fb 30%, #eaf6fb 100%),
    url('img/fondo-categorias.jpg') center top / cover no-repeat;
  padding: 80px 0;
  scroll-margin-top: 80px;
}
#categorias::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/fondo-categorias.jpg') center top / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
}
#categorias::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #b8e0f0 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.pm2-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.pm2-col-productos {
  width: 45%;
  flex-shrink: 0;
}
.pm2-col-marcas {
  width: 25%;
  flex-shrink: 0;
}
.pm2-vc-wrap {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}
.pm2-vc-wrap:hover .pm2-vtrack { animation-play-state: paused; }
.pm2-vtrack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

/* Right column: text */
.pm2-right {
  width: 30%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.pm2-badge {
  display: inline-block;
  background: rgba(77,184,212,.3);
  color: #1a3a5c;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 50px;
  width: fit-content;
}
.pm2-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1.2;
}
.pm2-title-line {
  width: 60px;
  height: 3px;
  background: #4db8d4;
  border-radius: 2px;
}
.pm2-desc {
  color: #2d5470;
  font-size: 1.155rem;
  font-weight: 500;
  line-height: 1.7;
}
.pm2-btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #1a3a5c;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem 1.75rem;
  border-radius: 50px;
  width: fit-content;
  margin-top: .25rem;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pm2-btn-catalog:hover {
  background: #0f2238;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,58,92,.3);
}
@keyframes pm2-scroll-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes pm2-scroll-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
.pm2-vtrack-up   { animation: pm2-scroll-up   25s linear infinite; }
.pm2-vtrack-down { animation: pm2-scroll-down 25s linear infinite; }

.pm2-img-card {
  width: 90%;
  margin-inline: auto;
  aspect-ratio: 8 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,58,92,.15);
  flex-shrink: 0;
}
.pm2-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pm2-logo-card {
  width: 100%;
  height: 110px;
  border-radius: 12px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: none;
  flex-shrink: 0;
}
.pm2-logo-card img {
  object-fit: contain;
  max-height: 70px;
  width: 100%;
  color: #1a3a5c;
  font-size: 1.2rem;
  opacity: 1;
}

/* ════════════════════════
   POR QUÉ ELEGIRNOS
════════════════════════ */
#por-que { position: relative; padding-bottom: 100px; overflow: clip; }
#por-que::after {
  content: '◆';
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  color: rgba(77,184,212,.2);
  font-size: 14px;
  pointer-events: none;
}
.porq-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.porq-left {
  position: relative;
  padding: 2rem 0;
}
.porq-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 90%;
  opacity: .07;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.porq-left > *:not(.porq-map) { position: relative; z-index: 1; }
.porq-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin: .75rem 0 1.25rem;
}
.porq-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .96rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.porq-years {
  display: inline-flex;
  margin-left: 20%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid #4db8d4;
  background: rgba(77,184,212,.06);
  box-shadow: 0 0 32px rgba(77,184,212,.35), 0 0 64px rgba(77,184,212,.15), inset 0 0 20px rgba(77,184,212,.08);
}
.porq-years-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--cyan);
  line-height: 1;
}
.porq-years-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .807rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.porq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  transform: translateX(35%);
}
.porq-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: background var(--trans), border-color var(--trans);
}
.porq-card-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.porq-card-icon img {
  width: 3rem;
  height: auto;
}
.porq-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(77,184,212,.28);
}
.porq-card-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .35rem;
  line-height: 1.3;
}
.porq-card-body p {
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}
.porq-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  line-height: 0;
  z-index: 3;
}
.porq-wave svg { width: 100%; height: auto; display: block; }

/* ════════════════════════
   CLIENTES
════════════════════════ */
#clientes {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(10,30,53,.80), rgba(10,30,53,.80)),
    url('img/hero-bg.jpg') center / cover no-repeat fixed;
}
#snowflakes-clientes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.clientes-inner { position: relative; z-index: 2; }
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: .5rem;
}
.clientes-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(77,184,212,.22);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
}
.clientes-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(77,184,212,.45);
  transform: translateY(-4px);
}
.clientes-card-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.clientes-card-icon img {
  width: 4rem;
  height: auto;
  display: block;
  margin-inline: auto;
}
.clientes-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .65rem;
}
.clientes-card p {
  font-size: .9rem;
  color: rgba(184,224,240,.8);
  line-height: 1.65;
}

/* ════════════════════════
   QUIÉNES SOMOS
════════════════════════ */
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}
.nosotros-text .section-tag { margin-bottom: .75rem; }
.nosotros-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.45vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.nosotros-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.nosotros-cards {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin: 1.5rem 0;
}
.nosotros-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(77,184,212,.25);
  box-shadow: 0 2px 12px rgba(26,58,92,.07);
}
.nosotros-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.035rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .3rem;
}
.nosotros-card p {
  font-size: 1.006rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}
.nosotros-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-mid);
  box-shadow: var(--shadow-lg);
  margin-top: 9rem;
}
.nosotros-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.img-placeholder-box {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.img-placeholder-box span { font-size: 3rem; }
.img-placeholder-box p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  color: var(--text-light);
}

/* ════════════════════════
   PROVEEDORES
════════════════════════ */
#proveedores { background: #f4fafd; }
.prov-carousel-wrap {
  overflow: hidden;
  margin-top: 2.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.prov-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: prov-marquee 52s linear infinite;
  will-change: transform;
}
.prov-carousel-wrap:hover .prov-track {
  animation-play-state: paused;
}
@keyframes prov-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.prov-card {
  width: 240px;
  height: 144px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(26,58,92,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.prov-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 32px rgba(26,58,92,.18);
}
.prov-card img {
  max-width: 192px;
  max-height: 96px;
  object-fit: contain;
}
.prov-fallback {
  display: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--text-light);
  text-align: center;
}

/* ════════════════════════
   COBERTURA
════════════════════════ */
.cobertura-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: flex-start;
}
.cobertura-text .section-tag { margin-bottom: .75rem; }
.cobertura-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cobertura-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.cobertura-zonas {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.zona-badge {
  background: var(--sky);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  padding: .35rem .9rem;
  border-radius: 50px;
}
.cobertura-address {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.cobertura-address:hover {
  border-color: rgba(77,184,212,.45);
  box-shadow: 0 4px 20px rgba(77,184,212,.12);
}
.cobertura-address-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.cobertura-address-data {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .9rem;
  color: #4a5568;
  line-height: 1.8;
}
.cobertura-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 8rem;
}
.cobertura-map iframe { display: block; }

/* ════════════════════════
   CATÁLOGO
════════════════════════ */
#catalogo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(10,30,53,.75), rgba(10,30,53,.75)),
    url('img/hero-bg.jpg') center / cover no-repeat fixed;
  padding: 96px 0;
}
#snowflakes-cat2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.catalogo-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.catalogo-content h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.catalogo-sub {
  color: rgba(184,224,240,.75);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.btn-catalogo-dl {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--cyan);
  color: var(--navy-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 24px rgba(77,184,212,.35);
}
.btn-catalogo-dl:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(77,184,212,.5);
}

/* stack de tarjetas */
.catalogo-visual { display: flex; justify-content: center; align-items: center; }
.catalogo-stack {
  position: relative;
  width: 260px;
  height: 360px;
}
.cstack-card {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  transform-origin: center bottom;
  will-change: transform;
}
.cstack-back {
  background: #0a1e35;
  opacity: .4;
  transform: rotate(-8deg) scale(.92);
  animation: cstack-float 4s ease-in-out infinite;
  animation-delay: 0s;
}
.cstack-mid {
  background: #12305a;
  opacity: .7;
  transform: rotate(-4deg) scale(.96);
  animation: cstack-float 4s ease-in-out infinite;
  animation-delay: .5s;
}
.cstack-front {
  background: var(--white);
  transform: rotate(3deg);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  overflow: hidden;
  animation: cstack-float 4s ease-in-out infinite;
  animation-delay: 1s;
}
.cstack-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes cstack-float {
  0%, 100% { transform: rotate(var(--rot, 3deg)) translateY(0); }
  50%       { transform: rotate(var(--rot, 3deg)) translateY(-8px); }
}
.cstack-back  { --rot: -8deg; }
.cstack-mid   { --rot: -4deg; }
.cstack-front { --rot:  3deg; }

.catalogo-stack:hover .cstack-back  { transform: rotate(-12deg) scale(.92) translateY(-6px); transition: transform .4s ease; }
.catalogo-stack:hover .cstack-mid   { transform: rotate(-6deg)  scale(.96) translateY(-4px); transition: transform .4s ease; }
.catalogo-stack:hover .cstack-front { transform: rotate(5deg)   translateY(-2px);            transition: transform .4s ease; }

/* ════════════════════════
   CONTACTO
════════════════════════ */
.contacto-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contacto-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--gray-light);
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(77,184,212,.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-feedback {
  text-align: center;
  font-size: .875rem;
  margin-top: .75rem;
  min-height: 1.4em;
  font-family: var(--font-head);
  font-weight: 600;
}
.contacto-info h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-light);
}
.ci-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.45; }
.contact-list a {
  color: var(--cyan-dark);
  transition: color var(--trans);
}
.contact-list a:hover { color: var(--navy); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  transition: all var(--trans);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: #1fb856;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}

/* ════════════════════════
   FOOTER
════════════════════════ */
#footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo-link { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo { height: 168px; width: auto; object-fit: contain; }
.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  display: none;
}
.footer-brand p {
  font-size: .875rem;
  color: rgba(184,224,240,.65);
  line-height: 1.75;
  max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(184,224,240,.65);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--cyan); }
.footer-contact p {
  font-size: .875rem;
  color: rgba(184,224,240,.65);
  margin-bottom: .5rem;
}
.footer-contact a { color: var(--cyan); transition: color var(--trans); }
.footer-contact a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(184,224,240,.45); }

/* ════════════════════════
   WHATSAPP FAB
════════════════════════ */
.fab-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 999;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s, background .2s, box-shadow .2s;
  pointer-events: none;
}
.fab-whatsapp.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.fab-whatsapp:hover {
  background: #1fb856;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}

/* ════════════════════════
   SCROLL ANIMATIONS
════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: transform, opacity;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
.section-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: transform, opacity;
}
.section-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
#hero {
  opacity: 1 !important;
  transform: none !important;
}

/* ════════════════════════
   RESPONSIVE — Tablet
════════════════════════ */
@media (max-width: 1100px) {
  .porq-inner       { gap: 2.5rem; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  /* Nav mobile */
  .hamburger { display: flex; }
  .btn-cotizar { display: none; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #0d1f35;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    transform: translateY(-100%);
    transition: transform .3s ease;
    z-index: 997;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    max-height: 100dvh;
    overflow-y: auto;
    width: 100%;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }

  /* Links de navegación */
  .nav-links > li > a {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    width: 100%;
    text-align: left;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-left: 3px solid transparent;
    border-radius: 0;
    background: none;
    display: block;
    transition: color .2s, border-color .2s, background .2s;
  }
  .nav-links > li > a:hover {
    color: #fff;
    border-left-color: #4db8d4;
    background: rgba(255,255,255,.04);
  }

  /* Logo dentro del menú */
  .nav-menu-logo {
    display: flex;
    justify-content: center;
    padding: 16px 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-menu-logo-img {
    height: 79px;
    width: auto;
  }

  /* Info de contacto */
  .nav-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 24px;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .nav-menu-contact a,
  .nav-menu-contact span {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    font-family: var(--font-body);
    font-weight: 400;
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
    width: auto;
    display: block;
    line-height: 1.8;
  }
  .nav-menu-contact a:hover { color: rgba(255,255,255,.7); background: none; }

  /* Botón WhatsApp */
  .nav-menu-wa {
    padding: 12px 24px 20px;
    display: flex !important;
    justify-content: center;
  }
  .nav-menu-wa-btn {
    display: block !important;
    background: #25d366;
    color: #fff !important;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    border: none !important;
    transition: background .2s, transform .2s;
  }
  .nav-menu-wa-btn:hover {
    background: #1ebe5a;
    transform: translateY(-1px);
    border-left: none !important;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    gap: 2rem;
  }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-mascot { height: 40vh; }
  .hero-map-logo { width: clamp(120px, 42%, 180px); top: 35%; }
  .penguin-fallback { font-size: 7rem; }

  /* Productos y Marcas */
  .pm2-layout        { flex-direction: column; gap: 2rem; margin: 0 auto; padding: 0 1.5rem; }
  .pm2-col-productos { width: 100%; }
  .pm2-col-marcas    { width: 100%; }
  .pm2-right         { width: 100%; align-items: flex-start; }
  .pm2-vc-wrap       { height: 320px; }
  .pm2-logo-card     { height: 100px; }
  .clientes-grid   { grid-template-columns: 1fr; gap: 1rem; }
  .porq-inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .porq-left       { padding: 1rem 0; }
  .nosotros-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .cobertura-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .catalogo-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .catalogo-visual { display: flex; justify-content: center; }
  .catalogo-stack  { width: 200px; height: 280px; }
  .contacto-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  /* Nav — logo centrado, hamburger absoluto a la derecha */
  #navbar { min-height: 70px; }
  #navbar.scrolled { min-height: 54px; }
  .nav-inner {
    position: relative;
    justify-content: center;
  }
  .nav-logo { margin: 0 auto; }
  .nav-logo img { height: 223px; }
  #navbar.scrolled .nav-logo img { height: 158px; }
  .hamburger {
    position: fixed;
    right: 1rem;
    top: 1rem;
    transform: none;
    z-index: 1001;
  }
  .btn-cotizar { display: none; }

  /* Hero */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-top: 6rem;
    padding-bottom: 3rem;
    gap: 0;
  }
  .hero-text { width: 100%; }
  .hero-text h1 { font-size: 2rem; line-height: 1.2; }
  .hero-text p  { margin-bottom: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-mascot  { display: none; }

}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .pm2-vc-wrap      { height: 240px; }
  .pm2-logo-card    { height: 80px; }
  .porq-grid        { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 2rem; }
  .contacto-form    { padding: 1.75rem; }
}

@media (max-width: 480px) {
}

@media (max-width: 420px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2rem; }
}
