/* ===================================================
   Beira Mar — style.css  ·  Premium redesign
   =================================================== */

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

:root {
  --navy:    #0A2342;
  --teal:    #0E6E6E;
  --gold:    #C9943A;
  --sand:    #F5EDD8;
  --white:   #FFFFFF;
  --gray:    #F7F7F5;
  --text:    #2C2C2C;
  --muted:   #6B7280;
  --border:  rgba(0,0,0,0.07);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0 80px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 1px 32px rgba(0,0,0,.4); }

/* Logo */
.logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  display: block;
  height: 36px; width: auto;
  object-fit: contain;
}
.logo-fallback {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 20px; font-weight: 700;
  letter-spacing: 3px; font-style: normal;
}
.logo .logo-img ~ .logo-fallback { display: none; }
.logo-fallback em { color: var(--white); font-style: normal; }

/* Nav links */
.nav-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  margin-left: 36px;
  font-size: 13px; font-weight: 400;
  letter-spacing: .5px;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,.8); border-radius: 2px;
  transition: transform .3s, opacity .3s; transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  background:
    linear-gradient(to right,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.10) 55%,
      rgba(0,0,0,0)   100%),
    url('../images/hero.jpg') center 40% / cover no-repeat;
  padding: 0 80px 100px;
  display: flex; align-items: flex-end;
  min-height: calc(100vh - 64px);
}
.hero-text { max-width: 700px; }

.hero-logo {
  display: block;
  height: 130px; width: auto;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero h1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 68px; font-weight: 700;
  line-height: 1.04; letter-spacing: -.5px;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 span { color: var(--white); }
.hero p {
  color: rgba(255,255,255,.95);
  font-size: 17px; font-weight: 400; line-height: 1.8;
  max-width: 460px; margin-bottom: 44px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-cta {
  display: inline-block;
  border: 1.5px solid var(--white);
  background: transparent;
  color: var(--white);
  padding: 14px 34px;
  border-radius: 40px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.hero-cta:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

/* Hero stats (right column) */
.hero-stats {
  flex: 0 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  width: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; overflow: hidden;
}
.hero-stat {
  padding: 32px 26px;
  background: rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-stat:nth-child(even) { border-right: none; }
.hero-stat--wide {
  grid-column: span 2;
  border-right: none; border-bottom: none;
  padding: 22px 26px;
}
.hs-num {
  font-family: var(--font-heading);
  font-size: 52px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.hs-label { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.55); letter-spacing: .3px; }
.hero-stat--wide .hs-label { font-size: 13px; font-weight: 300; font-style: italic; color: rgba(255,255,255,.45); }

/* ── SECCIONES GENÉRICO ── */
section { padding: 72px 80px; }

.section-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 44px; font-weight: 600;
  color: var(--navy); margin-bottom: 18px;
  line-height: 1.1; letter-spacing: -.3px;
}
.section-subtitle {
  font-size: 17px; font-weight: 300;
  color: var(--muted); line-height: 1.8;
  max-width: 600px;
}

/* ── PRODUCTS TAB SYSTEM ── */
.products { background: var(--white); }

.prod-cat-tabs {
  display: flex; gap: 0;
  margin-top: 52px;
  border-bottom: 1px solid var(--border);
}
.cat-tab {
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: .3px;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.cat-tab:hover { color: var(--navy); }
.cat-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

.prod-panel { display: none; margin-top: 36px; }
.prod-panel.active { display: block; }

.prod-variant-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.var-tab {
  padding: 9px 20px;
  flex: 1 1 140px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  background: none;
  border: 1px solid var(--border);
  border-radius: 40px; cursor: pointer; color: var(--muted);
  transition: all .2s;
}
.var-tab:hover { border-color: var(--navy); color: var(--navy); }
.var-tab.active {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}

.size-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.size-tab {
  padding: 7px 18px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: .5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px; cursor: pointer; color: var(--muted);
  transition: all .2s;
}
.size-tab:hover { border-color: var(--teal); color: var(--teal); }
.size-tab.active { background: var(--teal); border-color: var(--teal); color: white; }

.prod-display {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 52px; background: var(--gray);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.prod-img-wrap {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border);
}
.prod-img-wrap img {
  display: block;
  object-fit: contain;
  transition: opacity .3s ease;
}

/* Contenedor de imagen dentro de los tabs de producto — altura fija */
.prod-panel .prod-img-wrap {
  height: 500px;
  padding: 20px;
}
.prod-panel .prod-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* Pouch: forzar tamaño grande con !important para ganar cualquier conflicto */
#panel-pouch .prod-display {
  grid-template-columns: 1fr 1fr !important;
  align-items: start !important;
}
#panel-pouch .prod-img-wrap {
  height: 560px !important;
  min-height: 560px !important;
  padding: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#panel-pouch .prod-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}
.prod-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: block;
}
.prod-info h3 {
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 600;
  color: var(--navy); line-height: 1.15;
  margin-bottom: 28px; letter-spacing: -.2px;
}
.prod-specs-row { display: flex; gap: 14px; margin-bottom: 22px; }
.spec-item {
  background: var(--white); border-radius: 8px;
  padding: 14px 22px; text-align: center;
  border: 1px solid var(--border);
}
.spec-item span {
  display: block; font-size: 10px; color: #aaa;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 5px;
}
.spec-item strong { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--navy); }
.prod-desc { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.prod-cta {
  display: inline-block;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 2px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.prod-cta:hover { background: var(--navy); color: var(--white); }

/* ── DONDE FABRICAMOS ── */
.about { background: var(--gray); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  background: var(--white); border-radius: 10px;
  padding: 32px 24px; text-align: center;
  border: 1px solid rgba(0,0,0,.06);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 38px; font-weight: 700; color: var(--navy); line-height: 1;
}
.stat-label { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 8px; }

.about-points { list-style: none; margin-top: 32px; }
.about-points li {
  padding: 13px 0 13px 26px;
  position: relative;
  font-size: 15px; font-weight: 300;
  color: #444; line-height: 1.5;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.about-points li:last-child { border-bottom: none; }
.about-points li::before {
  content: "–";
  position: absolute; left: 0;
  color: var(--teal); font-weight: 400;
}

/* ── LOGÍSTICA ── */
.logistics { background: var(--navy); }
.logistics .section-title   { color: var(--white); }
.logistics .section-tag     { color: var(--gold); }
.logistics .section-subtitle { color: rgba(255,255,255,.55); font-weight: 300; }

.logistics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; }
.logis-card {
  background: var(--navy);
  padding: 36px 32px;
  border: none;
  transition: background .2s;
}
.logis-card:hover { background: rgba(255,255,255,.03); }

.logis-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: 20px;
}
.logis-icon svg { width: 100%; height: 100%; }

.logis-title { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 12px; letter-spacing: .1px; }
.logis-text  { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 300; line-height: 1.75; }
.logis-text strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ── MERCOSUR ── */
.mercosur {
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mercosur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/south-america.svg') center/cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.mercosur > * { position: relative; z-index: 1; }
.mercosur .section-title    { margin: 0 auto 18px; }
.mercosur .section-subtitle { margin: 0 auto 60px; text-align: center; }

.countries { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.country { text-align: center; }
.country-code {
  width: 64px; height: 64px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600;
  color: var(--navy);
  margin: 0 auto 14px;
  background: var(--gray);
  letter-spacing: 1px;
}
.country-name { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.country-name small { font-weight: 300; color: var(--muted); font-size: 11px; }

.mercosur-note {
  display: inline-block;
  margin-top: 52px;
  padding: 12px 28px;
  border: 1px solid rgba(10,35,66,.3);
  border-radius: 40px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy);
}

/* ── CERTIFICACIONES ── */
.certs { background: var(--gray); }
.certs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 56px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cert-card {
  padding: 40px 32px;
  background: var(--white);
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.cert-card:last-child { border-right: none; }
.cert-card:hover { background: var(--gray); }
.cert-icon {
  width: 40px; height: 40px;
  color: var(--teal);
  margin-bottom: 20px;
}
.cert-icon svg { width: 100%; height: 100%; }
.cert-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.cert-desc  { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.65; }

/* ── CONTACTO ── */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 56px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1.5px solid rgba(10,35,66,.35);
  border-radius: 24px;
  padding: 14px 20px;
  font-size: 15px; font-weight: 300;
  font-family: var(--font-body);
  background: var(--white); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,35,66,.08);
}
.contact-form textarea { height: 110px; resize: vertical; border-radius: 16px; }
.contact-form button {
  background: var(--navy); color: var(--white);
  border: none; padding: 16px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background .2s, opacity .2s;
}
.contact-form button:hover    { background: var(--teal); }
.contact-form button:disabled { opacity: .55; cursor: not-allowed; }

.form-success {
  background: #EAF7EE; color: #1a5c2e;
  border: 1px solid rgba(26,92,46,.2);
  border-radius: 8px; padding: 32px 24px;
  font-size: 16px; font-weight: 400;
  text-align: center; line-height: 1.7;
}
.form-success-msg {
  background: #EAF7EE; color: #1a5c2e;
  border: 1px solid rgba(26,92,46,.2);
  border-radius: 8px; padding: 32px 24px;
  font-size: 16px; font-weight: 400;
  text-align: center; line-height: 1.7;
  margin-bottom: 8px;
}
.form-error-msg {
  background: #fdecea; color: #b71c1c;
  border: 1px solid rgba(183,28,28,.2);
  border-radius: 8px; padding: 16px 20px;
  font-size: 14px; margin-bottom: 8px;
}
.contact-info h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 24px; }
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  background: var(--gray);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}
.contact-detail:hover { box-shadow: 0 4px 18px rgba(10,35,66,.08); }
.ci-icon {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.ci-icon svg { width: 18px; height: 18px; }
.ci-text strong { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.ci-text span   { font-size: 14px; font-weight: 400; color: var(--navy); }

.dev-note { margin-top: 36px; padding: 20px 22px; background: var(--white); border-radius: 8px; border-left: 3px solid var(--teal); }
.dev-note p { font-size: 13px; font-weight: 300; color: #666; line-height: 1.6; }
.dev-note strong { font-weight: 700; color: var(--navy); }
.dev-note code { background: #f0f0f0; padding: 2px 6px; border-radius: 3px; font-size: 12px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 52px 80px 40px;
  font-size: 13px; font-weight: 300;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.footer-logo-img  { height: 110px; border-radius: 12px; }
.footer-logo-fallback { font-size: 22px; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,.9); font-style: normal; }
.footer-logo-fallback em { color: var(--gold); font-style: normal; }
footer p { margin-bottom: 6px; }
.footer-legal { color: rgba(255,255,255,.45); font-size: 12px; margin-top: 16px; }
/* ── CERT BADGE INLINE ── */
.cert-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; min-height: 120px; }
.cert-badge-inline { height: 112px; object-fit: contain; }

/* ── CONTACT PENGUIN ── */
.contact-info { display: flex; align-items: center; gap: 24px; }
.contact-info-inner { flex: 1; }
.contact-penguin { height: 200px; object-fit: contain; flex-shrink: 0; }

/* ── PLACEHOLDER BADGE ── */
.placeholder {
  background: rgba(201,148,58,.12);
  border: 1px dashed rgba(201,148,58,.5);
  border-radius: 3px; padding: 2px 7px;
  font-size: 11px; color: var(--gold);
  font-weight: 600; vertical-align: middle; margin-left: 3px;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.whatsapp-btn svg { width: 30px; height: 30px; }

/* ── RESPONSIVE 1100px ── */
@media (max-width: 1100px) {
  .hero-stats { width: 300px; }
  .hs-num { font-size: 42px; }
}

/* ── RESPONSIVE 900px ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; height: 64px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 8px 24px 16px;
    border-top: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { margin-left: 0; font-size: 15px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); width: 100%; text-align: left; }
  .nav-links a:last-child { border-bottom: none; }

  .hero {
    flex-direction: column;
    padding: 100px 28px 72px;
    min-height: 560px;
    gap: 40px;
    background-position: center center;
  }
  .hero h1 { font-size: 44px; }
  .hero-logo { height: 96px; }
  .hero-stats { width: 100%; }

  section { padding: 72px 28px; }
  .section-title { font-size: 34px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .prod-display { grid-template-columns: 1fr !important; padding: 28px; gap: 32px; }
  #panel-pouch .prod-display { grid-template-columns: 1fr !important; }
  #panel-pouch .prod-img-wrap { height: 320px !important; min-height: 320px !important; }
  .prod-img-wrap { padding: 12px; }
  .prod-panel .prod-img-wrap { height: 320px; }
  .prod-info h3 { font-size: 24px; }

  .logistics-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .certs-grid { grid-template-columns: 1fr 1fr; border-radius: 0; }
  .cert-card:nth-child(2) { border-right: none; }
  .cert-card:nth-child(3) { border-right: none; }
  .cert-card:last-child { border-right: none; }

  .contact-info { flex-direction: column; align-items: flex-start; }
  .contact-penguin { display: block !important; height: 120px; }
  .contact-form { width: 100%; }

  footer { padding: 40px 28px 32px; }
  .whatsapp-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ── RESPONSIVE 600px (móvil) ── */
@media (max-width: 600px) {
  nav { height: auto; padding: 14px 20px; }

  /* Hero: imagen visible y texto adaptado */
  .hero {
    padding: 80px 20px 48px;
    height: 100svh;
    height: 100vh;
    min-height: 600px;
    background-image:
      linear-gradient(to right, rgba(0,0,0,.20) 0%, rgba(0,0,0,.10) 55%, rgba(0,0,0,0) 100%),
      url('../images/hero-mobile.jpg');
    background-position: center 20%;
    background-size: cover;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0;
  }
  .hero-text { max-width: 100%; }
  .hero h1 { font-size: 34px; line-height: 1.1; }
  .hero p { font-size: 15px; margin-bottom: 32px; max-width: 100%; }
  .hero-logo { height: 80px; margin-bottom: 20px; }
  .hero-cta { padding: 12px 26px; font-size: 12px; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .hs-num { font-size: 32px; }
  .hero-stat { padding: 20px 16px; }

  section { padding: 56px 20px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 15px; }

  /* Productos */
  .prod-tabs { gap: 6px; }
  .cat-tab { padding: 10px 14px; font-size: 12px; }
  .prod-display { padding: 20px; gap: 24px; }
  .prod-panel .prod-img-wrap { height: 260px; }
  .prod-info h3 { font-size: 21px; }
  .prod-specs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec-item { padding: 10px 12px; }
  .spec-item strong { font-size: 18px; }
  .frasco-var-tab, .pouch-var-tab, .lata-var-tab, .size-tab { padding: 8px 12px; font-size: 12px; }

  /* Override !important del pouch en mobile */
  #panel-pouch .prod-display { grid-template-columns: 1fr !important; }
  #panel-pouch .prod-img-wrap { height: 260px !important; min-height: 260px !important; padding: 12px !important; }
  .prod-display { grid-template-columns: 1fr !important; padding: 16px !important; }
  .contact-penguin { display: block !important; height: 120px; }
  .contact-form { width: 100%; box-sizing: border-box; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button { width: 100%; box-sizing: border-box; }

  /* Logística */
  .logistics-grid { grid-template-columns: 1fr; }
  .logis-cell { padding: 28px 20px; }

  /* MERCOSUR */
  .countries { gap: 20px; }
  .country-code { width: 52px; height: 52px; font-size: 15px; }

  /* Certificaciones */
  .certs-grid { grid-template-columns: 1fr; }
  .cert-card { border-right: none; border-bottom: 1px solid var(--border); }
  .cert-card:last-child { border-bottom: none; }
  .cert-card-top { flex-direction: column; align-items: flex-start; gap: 12px; min-height: auto; }
  .cert-badge-inline { height: 70px; }

  /* Contacto */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-info { flex-direction: column; }
  .contact-penguin { display: block; height: 100px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; } /* evita zoom en iOS */

  footer { padding: 36px 20px 28px; }
  .footer-logo-img { height: 70px; }
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
