/* ============================================================
   OTTER STORE — Prototipo de diseño "Híbrido Moderno"
   Sistema de diseño compartido
   ============================================================ */

:root{
  /* Paleta */
  --navy-950: #060c1a;
  --navy-900: #0a1428;
  --navy-800: #0f1f3d;
  --navy-700: #16294d;
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --accent: #00c2ff;
  --light-bg: #f4f7fb;
  --light-bg-2: #eaf0f8;
  --white: #ffffff;
  --ink: #0b1726;
  --ink-soft: #3c4a5e;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --border: #e3e9f2;
  --success: #22c55e;

  /* Tipografía */
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaciado */
  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(11, 23, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 23, 38, 0.10);
  --shadow-glow: 0 0 0 1px rgba(0, 194, 255, 0.18), 0 12px 40px rgba(0, 194, 255, 0.12);
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }

h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--accent);
  display:inline-block;
}
.section--dark .eyebrow{ color: var(--cyan-300); }

p.lead{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 640px;
}


/* ============================================================
   SECCIONES
   ============================================================ */
.section{ padding: 96px 0; }
.section--dark{
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
  position:relative;
  overflow:hidden;
}
.section--dark::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events:none;
}
.section--dark .container{ position:relative; }
.section--dark h2{ color:#fff; }
.section--muted{ background: var(--light-bg); }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap:wrap;
}
.section-head h2{ font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-head p{ color: var(--ink-soft); max-width: 520px; }
.section--dark .section-head p{ color: rgba(255,255,255,0.65); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 140, 255, 0.28);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,140,255,.36); }

.btn-outline{
  background: transparent;
  border-color: var(--border);
  color: var(--navy-900);
}
.btn-outline:hover{ border-color: var(--accent); color: var(--blue-600); }

.section--dark .btn-outline{
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.section--dark .btn-outline:hover{ border-color: var(--cyan-300); color: var(--cyan-300); }

.btn-sm{ padding: 9px 18px; font-size: 0.82rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar{
  position: sticky;
  top:0;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
}
.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 78px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-head);
  font-weight:800;
  font-size: 1.35rem;
  color: var(--navy-900);
}
.brand .dot{
  width: 12px; height:12px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--blue-600));
  box-shadow: 0 0 0 4px rgba(0,194,255,0.14);
}
.brand span.sub{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  display:block;
  margin-top:-2px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 6px;
}
.nav-links > li{ position:relative; }
.nav-links > li > a{
  display:flex; align-items:center; gap:6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: all .2s ease;
}
.nav-links > li > a:hover, .nav-links > li.active > a{
  background: var(--light-bg-2);
  color: var(--blue-600);
}
.caret{ font-size: 0.65rem; opacity:.6; transition: transform .2s; }
.nav-links > li:hover .caret{ transform: rotate(180deg); }

.dropdown{
  position:absolute;
  top: calc(100% + 6px);
  left:0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity:0; visibility:hidden;
  transform: translateY(6px);
  transition: all .18s ease;
}
.nav-links > li:hover .dropdown{
  opacity:1; visibility:visible; transform: translateY(0);
}
.dropdown a{
  display:block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.dropdown a:hover{ background: var(--light-bg); color: var(--blue-600); }

.nav-cta{ display:flex; align-items:center; gap: 14px; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; cursor:pointer; padding: 8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--navy-900); border-radius:2px; }

/* ============================================================
   HERO BANNER OTTER STORE
   ============================================================ */
.hero-outer {
  position: relative;
  z-index: 0;
  padding: 28px 24px 32px;
}
.hero-card {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.18) 80%, rgba(0,0,0,0.0) 100%),
    url('images/operario-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-card-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  max-width: 820px;
}
.hero-card-content h1 {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}
.rotate-wrap-otter {
  display: block;
  position: relative;
  height: 1.35em;
  overflow: hidden;
}
.rotate-word-otter {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  color: #7db9dd;
  opacity: 0;
  transform: translateY(36px);
  animation: rotateOtter 16s infinite;
}
.rotate-word-otter:nth-child(1) { animation-delay: 0s; }
.rotate-word-otter:nth-child(2) { animation-delay: 4s; }
.rotate-word-otter:nth-child(3) { animation-delay: 8s; }
.rotate-word-otter:nth-child(4) { animation-delay: 12s; }
@keyframes rotateOtter {
  0%   { opacity: 0; transform: translateY(36px); }
  5%   { opacity: 1; transform: translateY(0); }
  22%  { opacity: 1; transform: translateY(0); }
  28%  { opacity: 0; transform: translateY(-36px); }
  100% { opacity: 0; transform: translateY(36px); }
}
.tags-otter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags-otter span {
  display: inline-block;
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .hero-outer { padding: 16px 12px 20px; }
  .hero-card { height: 420px; border-radius: 14px; overflow: visible; }
  .hero-card-content { padding: 0 28px; }
  .hero-card-content h1 { font-size: clamp(1.55rem, 5vw, 2rem); margin-bottom: 20px; }
  .tags-otter span { font-size: 0.75rem; padding: 5px 11px; }
}
/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO — CLASES COMPARTIDAS (botones, badges, pills)
   ============================================================ */
.hero-actions{
  display:flex; gap:14px; margin-top: 32px; flex-wrap:wrap;
}
.hero-badges{
  display:flex; gap: 28px; margin-top: 48px; flex-wrap:wrap;
}
.hero-badge{ display:flex; flex-direction:column; }
.hero-badge .num{
  font-family: var(--font-head); font-weight:800; font-size: 1.7rem; color: var(--navy-900);
}
.hero-badge .num span{ color: var(--blue-600); }
.hero-badge .label{ font-size: 0.8rem; color: var(--gray-500); margin-top:2px; }

.mini-stat{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  text-align:center;
}
.mini-stat .v{ color: var(--cyan-300); font-family: var(--font-head); font-weight:800; font-size:1.05rem; }
.mini-stat .l{ color: rgba(255,255,255,0.55); font-size: 0.68rem; margin-top:2px; letter-spacing:.04em; text-transform:uppercase; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(0,194,255,0.12);
  border: 1px solid rgba(0,194,255,0.3);
  color: var(--cyan-300);
  font-family: var(--font-head); font-weight:700; font-size:0.7rem;
  letter-spacing:.1em; text-transform:uppercase;
  padding: 6px 14px; border-radius:999px;
}
.pill .blip{
  width:7px; height:7px; border-radius:50%; background: var(--cyan-300);
  box-shadow: 0 0 10px var(--cyan-300);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.25; } }

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.cat-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align:left;
  transition: all .25s ease;
  position:relative;
  overflow:hidden;
}
.cat-card:hover{
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.cat-icon{
  width: 52px; height:52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,194,255,0.14), rgba(37,99,235,0.10));
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
  color: var(--blue-600);
}
.cat-card h3{ font-size: 1.05rem; margin-bottom: 6px; }
.cat-card p{ font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; }
.cat-card .go{
  font-size: 0.8rem; font-weight:700; color: var(--blue-600);
  display:flex; align-items:center; gap:6px;
}

/* ============================================================
   PRODUCTOS
   ============================================================ */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  transition: all .25s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-img{
  aspect-ratio: 1/1;
  background: #ffffff;
  display:flex; align-items:center; justify-content:center;
  padding: 28px;
  position:relative;
  overflow:hidden;
}
.product-img img{
  object-fit:contain; max-height:100%; width:100%;
  transition: transform 0.35s ease;
}
.product-img:hover img{ transform: scale(1.18); cursor: zoom-in; }
.product-tag{
  position:absolute; top:12px; left:12px;
  background: var(--navy-900); color:#fff;
  font-size:0.65rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.product-body{ padding: 18px 20px 22px; flex:1; display:flex; flex-direction:column; }
.product-body .cat{ font-size: 0.72rem; color: var(--blue-600); font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.product-body h3{ font-size: 1rem; margin-bottom: 8px; }
.product-body p{ font-size: 0.85rem; color: var(--gray-500); flex:1; margin-bottom: 14px; }
.product-link{ font-size:0.82rem; font-weight:700; color: var(--navy-900); display:flex; align-items:center; gap:6px; }
.product-link:hover{ color: var(--blue-600); }

/* ============================================================
   ESTADÍSTICAS
   ============================================================ */
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align:center;
}
.stat{
  padding: 28px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.stat .v{
  font-family: var(--font-head); font-weight:800;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  background: linear-gradient(135deg, #fff, var(--cyan-300));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat .l{ margin-top:8px; font-size:0.85rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   FEATURES / PROCESO
   ============================================================ */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature{
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:#fff;
}
.feature .num{
  font-family: var(--font-head); font-weight:800; font-size: 0.85rem;
  color: var(--blue-600);
  background: var(--light-bg-2);
  width: 36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.feature h3{ font-size: 1.05rem; margin-bottom: 8px; }
.feature p{ font-size: 0.88rem; color: var(--gray-500); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta{
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  border-radius: 24px;
  padding: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 40px;
  flex-wrap:wrap;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.cta::after{
  content:"";
  position:absolute; right:-60px; top:-60px;
  width:240px; height:240px; border-radius:50%;
  background: radial-gradient(circle, rgba(0,194,255,0.35), transparent 70%);
}
.cta h2{ color:#fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width:520px; }
.cta p{ color: rgba(255,255,255,0.75); margin-top:8px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }

/* ============================================================
   FORMULARIO
   ============================================================ */
.form-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom:16px; }
.form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.form-field label{ font-size:0.82rem; font-weight:600; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--light-bg);
  transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{
  outline:none; border-color: var(--accent); background:#fff;
}
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; font-size:0.82rem; color: var(--gray-500); margin-bottom: 18px; }
.checkbox-row input{ margin-top:3px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb{
  padding: 22px 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a{ color: var(--blue-600); font-weight:600; }
.breadcrumb .sep{ margin: 0 8px; color: var(--gray-300); }

/* ============================================================
   PÁGINA DE CATEGORÍA — HERO COMPACTO
   ============================================================ */
.page-hero{
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color:#fff;
  padding: 64px 0;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .container{ position:relative; }
.page-hero h1{ color:#fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom:12px; }
.page-hero p{ color: rgba(255,255,255,0.68); max-width: 620px; }
.page-hero .pill{ margin-bottom: 18px; }

/* ============================================================
   FILTROS / SUBCATEGORÍAS (chips)
   ============================================================ */
.chip-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 40px; }
.chip{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem; font-weight:600;
  color: var(--ink-soft);
  transition: all .2s;
}
.chip.active, .chip:hover{
  background: var(--navy-900); color:#fff; border-color: var(--navy-900);
}

/* ============================================================
   PRODUCTO — DETALLE
   ============================================================ */
.product-detail{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:flex-start;
}
.gallery-main{
  background: #ffffff;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
  padding: 40px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.gallery-main img{
  object-fit: contain; max-height:100%; width:100%;
  transition: transform 0.4s ease;
}
.gallery-main:hover img{ transform: scale(1.20); cursor: zoom-in; }
.gallery-thumbs{ display:grid; grid-template-columns: repeat(4,1fr); gap:10px; }
.gallery-thumbs div{
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
  padding: 10px;
  cursor:pointer;
  transition: border-color .2s;
  overflow: hidden;
}
.gallery-thumbs div img{
  object-fit: contain; max-height:100%; width:100%;
  transition: transform 0.3s ease;
}
.gallery-thumbs div:hover img{ transform: scale(1.12); }
.gallery-thumbs div:hover{ border-color: var(--accent); }
.gallery-thumbs div.active{ border-color: var(--blue-600); box-shadow: 0 0 0 2px rgba(0,100,220,0.2); }

.specs-table{ width:100%; border-collapse:collapse; margin: 20px 0 28px; }
.specs-table tr{ border-bottom: 1px solid var(--border); }
.specs-table td{ padding: 12px 0; font-size: 0.9rem; }
.specs-table td:first-child{ color: var(--gray-500); font-weight:600; width: 45%; }
.specs-table td:last-child{ color: var(--ink); font-weight:600; text-align:right; }

.feature-list{ display:flex; flex-direction:column; gap:12px; margin: 20px 0 28px; }
.feature-list li{ display:flex; gap:10px; align-items:flex-start; font-size:0.92rem; color: var(--ink-soft); }
.feature-list .check{
  flex-shrink:0; width:20px; height:20px; border-radius:50%;
  background: rgba(34,197,94,0.12); color: var(--success);
  display:flex; align-items:center; justify-content:center; font-size:0.7rem; font-weight:800;
  margin-top:2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4{ color:#fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer .brand{ color:#fff; margin-bottom: 14px; }
.footer p{ font-size: 0.88rem; line-height:1.7; }
.footer ul{ display:flex; flex-direction:column; gap:10px; }
.footer ul a{ font-size: 0.88rem; transition: color .2s; }
.footer ul a:hover{ color: var(--cyan-300); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 24px; font-size: 0.8rem; flex-wrap:wrap; gap:12px;
}
.social{ display:flex; gap:10px; }
.social a{
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
  transition: all .2s;
}
.social a:hover{ border-color: var(--cyan-300); color: var(--cyan-300); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .cat-grid{ grid-template-columns: repeat(3,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .feature-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:32px; }
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; }
}

/* ── TABLET ── */
@media (max-width: 900px){
  .container{ padding: 0 20px; }
  .section{ padding: 56px 0; }
  .section-head h2{ font-size: clamp(1.5rem, 4vw, 2rem); }
}

/* ── MÓVIL ── */
@media (max-width: 760px){

  /* ─ Container ─ */
  .container{ padding: 0 16px; }

  /* ─ Secciones ─ */
  .section{ padding: 44px 0; }
  .section-head{ margin-bottom: 28px; }
  .section-head h2{ font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .section-head p{ font-size: 0.92rem; }

  /* ─ NAVBAR ─ */
  .navbar .container{ height: 64px; }
  .brand-logo{ height: 58px; }
  .nav-cta{ display: none; }                /* ocultar botón "Servicio técnico" en móvil */
  .nav-toggle{ display:flex; }

  /* Menú móvil desplegado */
  .nav-links{
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: #fff;
    overflow-y: auto;
    padding: 16px 0 32px;
    gap: 0;
    z-index: 99999;
    box-shadow: 0 8px 32px rgba(11,23,38,.12);
  }
  .nav-links.open{ display: flex; }

  /* Items de primer nivel */
  .nav-links > li > a{
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links > li:last-child > a{ border-bottom: none; }

  /* Dropdown dentro del menú móvil */
  .dropdown{
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--light-bg);
    padding: 0;
    display: none;            /* JS lo controla */
    border-top: 1px solid var(--border);
  }
  .dropdown.open{ display: block; }
  .dropdown a{
    padding: 12px 36px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .dropdown a:last-child{ border-bottom: none; }

  /* Botón "Servicio técnico" al final del menú móvil */
  .nav-links-cta-mobile{
    display: block;
    margin: 20px 24px 0;
    text-align: center;
  }
  .nav-links-cta-mobile a{
    display: block;
    padding: 13px 0;
    background: var(--blue-600);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  /* ─ Hero banner ─ */
  .hero-banner-otter{ height: auto; padding: 48px 0 40px; }
  .banner-content-otter{ padding: 0 20px; }
  .banner-content-otter h1{ font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.3; }
  .rotate-wrap-otter{ height: 2.4em; }
  .tags-otter{ gap: 8px; margin-top: 20px; }
  .tags-otter span{ font-size: 0.78rem; padding: 6px 12px; }

  /* ─ Hero ─ */
  .hero-status-bar{ padding: 16px 20px; gap:8px; }
  .hero-content{ padding: 24px 20px 40px; max-width:100%; }
  .hero-title{ font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-pills-bottom{ gap: 12px; }
  .hero-stats-inner{ grid-template-columns: repeat(2,1fr); }
  .hero{ padding: 56px 0 70px; }
  .hero-actions{ gap: 10px; }
  .hero-actions .btn{ width: 100%; justify-content: center; }

  /* ─ Grids ─ */
  .cat-grid{ grid-template-columns: repeat(2,1fr); gap: 14px; }
  .product-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }

  /* ─ Ficha de producto ─ */
  .product-detail{ grid-template-columns: 1fr; gap: 24px; }
  .gallery-main{ min-height: 240px; }
  .gallery-thumbs{
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .gallery-thumbs div{
    flex: 0 0 72px;
    height: 72px;
    min-width: 72px;
  }
  .gallery-thumbs img{ width: 72px; height: 72px; object-fit: contain; }

  .specs-table{ font-size: 0.85rem; }
  .specs-table td{ padding: 8px 10px; }
  .feature-list li{ font-size: 0.9rem; }
  .eyebrow{ font-size: 0.72rem; }

  /* ─ Formularios ─ */
  .form-row{ grid-template-columns: 1fr; gap: 12px; }
  .form-card{ padding: 24px 18px; }
  .form-field label{ font-size: 0.85rem; }
  .form-field input,
  .form-field select,
  .form-field textarea{ font-size: 0.92rem; }

  /* ─ Footer ─ */
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child .brand-logo{ height: 52px; }
  .footer-bottom{ flex-direction: column; gap: 8px; text-align: center; font-size: 0.78rem; }

  /* ─ CTA banner ─ */
  .cta{ padding: 32px 20px; flex-direction:column; align-items:flex-start; gap: 20px; }

  /* ─ Breadcrumb ─ */
  .breadcrumb{ font-size: 0.8rem; padding: 10px 0; white-space: nowrap; overflow-x: auto; }

  /* ─ WhatsApp flotante ─ */
  .whatsapp-float{ width: 50px; height: 50px; bottom: 20px; right: 16px; }
}

/* ── MÓVIL PEQUEÑO (< 400px) ── */
@media (max-width: 400px){
  .cat-grid{ grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-grid{ grid-template-columns: 1fr; }
  .banner-content-otter h1{ font-size: clamp(1.4rem, 8vw, 1.9rem); }
  .tags-otter{ flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   UTILIDADES / ANIMACIÓN DE ENTRADA
   ============================================================ */
.reveal{ opacity:0; transform: translateY(18px); transition: all .6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

/* Iconos SVG */
.icon{ width:26px; height:26px; }

/* Placeholder de imagen de producto (cuando no hay foto real) */
.product-img.ph{
  flex-direction:column; gap:10px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 14px 14px;
}
.product-img.ph svg{ width:46px; height:46px; color: var(--gray-300); }
.product-img.ph span{
  font-size:0.62rem; color: var(--gray-300); text-transform:uppercase;
  letter-spacing:.1em; font-weight:700; text-align:center;
}

/* Sección de categoría: introducción */
.cat-intro{
  display:grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items:center;
  margin-bottom: 56px;
}
.cat-intro-card{
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.cat-intro-card ul{ display:flex; flex-direction:column; gap:12px; margin-top:14px; }
.cat-intro-card li{ display:flex; gap:10px; font-size:0.88rem; color: var(--ink-soft); align-items:flex-start; }
.cat-intro-card .check{
  flex-shrink:0; width:20px; height:20px; border-radius:50%;
  background: rgba(34,197,94,0.12); color: var(--success);
  display:flex; align-items:center; justify-content:center; font-size:0.7rem; font-weight:800;
  margin-top:2px;
}
@media (max-width: 1024px){ .cat-intro{ grid-template-columns: 1fr; } }

.subcat-block h3{
  font-size: 1.3rem;
  margin: 56px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.subcat-block:first-of-type h3{ border-top:none; padding-top:0; margin-top:0; }

/* ============================================================
   BANNER EQUIPO DE SUSTITUCIÓN
   ==================================================
/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonio{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.testimonio:hover{
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonio-stars{
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonio-texto{
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonio-autor{
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}
.testimonio-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue-600));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonio-autor strong{
  display: block;
  font-size: 0.88rem;
  color: var(--navy-900);
  font-weight: 700;
}
.testimonio-autor span{
  font-size: 0.78rem;
  color: var(--gray-500);
}
@media (max-width: 900px){
  .testimonios-grid{ grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px){
  .testimonio{ padding: 20px; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img{
  height: 160px;
  width: 100%;
  object-fit: cover;
}
.blog-card-body{
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-body h2{
  font-size: 1.05rem;
  line-height: 1.4;
}
.blog-card-body h2 a{ color: var(--navy-900); }
.blog-card-body h2 a:hover{ color: var(--blue-600); }
.blog-card-body p{ font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.blog-leer{
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-600);
}
.blog-leer:hover{ text-decoration: underline; }

/* Contenido de artículo */
.blog-content h2{
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 40px 0 14px;
  padding-top: 8px;
}
.blog-content h2:first-child{ margin-top: 0; }
.blog-content p{
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}
.blog-content a{ color: var(--blue-600); text-decoration: underline; }
.blog-content .feature-list{ margin: 16px 0 24px; }

/* ── WhatsApp flotante ── */
.whatsapp-float{
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s;
}
.whatsapp-float:hover{ transform: scale(1.1); }
.whatsapp-float svg{ width: 30px; height: 30px; fill: #fff; }

