/*
 * tdp-categoria.css — CSS específico de las plantillas de categoría
 * Cubre: Plantilla 2 (Categoría Equipo) y Plantilla 3 (Categoría Peces).
 * Se encola condicionalmente en is_category(), is_tax(), is_post_type_archive().
 * Requiere tdp-system.css como base.
 */

/* ============================================================
   Page Hero (compartido entre cat. equipo y cat. peces)
   ============================================================ */
.page-hero {
  background: var(--cream);
  padding-top: 1.4rem;
  padding-bottom: clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  position: relative;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1.6rem;
  position: relative;
  z-index: 2;
}
.page-hero h1 { margin: .4rem 0 .2rem; }
.page-hero .lede {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.06rem;
}
.hero-figure {
  position: relative;
  min-height: 280px;
}
.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Verdict box — solo en cat. equipo */
.verdict {
  margin-top: 1.4rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  max-width: 560px;
}
.verdict .ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--honey);
  color: var(--ocean);
}
.verdict .ico svg { width: 20px; height: 20px; }
.verdict p { font-size: .92rem; color: var(--ink-soft); }
.verdict strong { font-family: var(--font-display); color: var(--ink); }
.verdict a { color: var(--coral); font-weight: 700; text-decoration: underline; }


/* ============================================================
   Plantilla 2: Categoría Equipo
   ============================================================ */

/* Grid de productos comparativa */
.prods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}
.prod {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.prod:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
/* Tarjeta destacada */
.prod.pick {
  border: 2px solid var(--ocean);
  box-shadow: var(--shadow);
}
.prod .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--honey);
  color: var(--ocean);
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.15rem;
  padding: .15rem .9rem;
  border-radius: 12px 12px 12px 3px;
  white-space: nowrap;
  z-index: 3;
}
.prod .pic {
  position: relative;
  height: 150px;
  margin-bottom: .9rem;
  overflow: hidden;
  border-radius: 12px;
}
.prod .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.prod h3 { font-size: 1.06rem; line-height: 1.25; }
.prod .specs {
  margin: .7rem 0 .9rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .84rem;
  color: var(--ink-soft);
}
.prod .specs li {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: .3rem;
}
.prod .specs b {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.prod .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ocean);
  margin-bottom: .8rem;
}
.prod .price span {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
}
.prod .btn {
  margin-top: auto;
  justify-content: center;
  font-size: .85rem;
  padding: .7rem 1rem;
}

/* Criterios de compra (.criteria / .crit) */
.criteria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  position: relative;
  z-index: 2;
}
.crit {
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.crit .num {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: var(--ocean);
}
.crit:nth-child(1) .num { background: var(--coral); }
.crit:nth-child(2) .num { background: var(--sea); }
.crit:nth-child(3) .num { background: var(--honey); color: var(--ocean); }
.crit h3 { font-size: 1.04rem; }
.crit p  { font-size: .88rem; color: var(--muted); margin-top: .15rem; }

/* Pros y contras */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}
.pc {
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
}
.pc.pros { background: rgba(63, 155, 116, .12); }
.pc.cons { background: rgba(217, 122, 78, .12); }
.pc h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .04em;
}
.pc.pros h3 { color: #2f7d5b; }
.pc.cons h3 { color: #b45f37; }
.pc li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--ink-soft);
  padding-block: .4rem;
}
.pc li svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; }
.pc.pros li svg { color: var(--sea); }
.pc.cons li svg { color: var(--coral); }

/* Habitantes (.dwellers) */
.dwellers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  position: relative;
  z-index: 2;
}
.dweller {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  transition: .2s;
}
.dweller:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.dweller .pic {
  position: relative;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .8rem;
}
.dweller .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dweller h3 { font-size: 1.04rem; margin-bottom: .3rem; }
.dweller p  { font-size: .86rem; color: var(--muted); margin-bottom: .7rem; }
.dweller .ok {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-bottom: .6rem;
}
.dweller .ok.si  { background: rgba(63, 155, 116, .15); color: #2f7d5b; }
.dweller .ok.dep { background: rgba(240, 198, 78, .25);  color: #8a6d1c; }
.dweller .ok.no  { background: rgba(217, 122, 78, .15);  color: #b45f37; }
.dweller .go {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--ocean);
  display: inline-flex;
  gap: .35rem;
  align-items: center;
}

/* Cuidado básico (.carelist / .care) */
.carelist {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.care {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.care .ck {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--sea);
  color: #fff;
}
.care .ck svg { width: 18px; height: 18px; }
.care p { font-size: .9rem; color: var(--ink-soft); }
.care p strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: .2rem;
}
.care p a { color: var(--coral); font-weight: 700; text-decoration: underline; }

/* Relacionados — cat. equipo (.related / .rel) */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  position: relative;
  z-index: 2;
}
.rel {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: .2s;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.rel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rel .kicker { font-family: var(--font-script); font-size: 1.25rem; color: var(--sea); }
.rel h3 { font-size: 1.08rem; }
.rel p  { font-size: .86rem; color: var(--muted); }
.rel .go {
  margin-top: auto;
  padding-top: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ocean);
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.rel .go svg { width: 15px; height: 15px; }


/* ============================================================
   Plantilla 3: Categoría Peces
   ============================================================ */

/* Grid de especies */
.species-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

/* Equipo necesario (.equip / .eq) */
.equip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  position: relative;
  z-index: 2;
}
.eq {
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  transition: .2s;
}
.eq:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.eq .ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: .2rem;
}
.eq:nth-child(1) .ico { background: var(--sky);   color: var(--ocean); }
.eq:nth-child(2) .ico { background: var(--coral);  color: #fff; }
.eq:nth-child(3) .ico { background: var(--honey);  color: var(--ocean); }
.eq:nth-child(4) .ico { background: var(--sea);    color: #fff; }
.eq .ico svg { width: 24px; height: 24px; }
.eq h3 { font-size: 1rem; text-align: center; }
.eq p  { font-size: .84rem; color: var(--muted); text-align: center; }
.eq .go {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  color: var(--ocean);
  margin-top: auto;
  display: inline-flex;
  gap: .3rem;
  align-items: center;
}

/* Blog grid — cat. peces */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  position: relative;
  z-index: 2;
}


/* ============================================================
   Responsive categorías
   ============================================================ */
@media (max-width: 1020px) {
  .prods         { grid-template-columns: repeat(2, 1fr); }
  .species-grid  { grid-template-columns: repeat(2, 1fr); }
  .equip         { grid-template-columns: repeat(2, 1fr); }
  .dwellers      { grid-template-columns: repeat(2, 1fr); }
  .related       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-figure    { min-height: 240px; }
  .blog-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .criteria  { grid-template-columns: 1fr; }
  .proscons  { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .prods          { grid-template-columns: 1fr; }
  .species-grid   { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .equip          { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .dwellers       { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .dweller        { padding: .9rem; }
  .dweller .pic   { height: 92px; }
  .blog-grid      { grid-template-columns: 1fr; }
  .related        { grid-template-columns: 1fr; }
}


/* ============================================================
   PARCHE de fidelidad — categoría equipo (2026-06-11)
   Reglas del prototipo ausentes en el porteo inicial.
   image-slot (web component del prototipo) y el bloque
   .tpl-switch / main.tpl (switcher estático del lab) se
   omiten intencionalmente: no existen en WordPress real.
   ============================================================ */

/* Hero — subtítulo script en coral, variante contextual del hero de categoría */
.page-hero .script-sub {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--coral);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

/* Dweller — imagen decorativa mini (difiere de .fishcard .mini: right -6px) */
.dweller .mini {
  position: absolute;
  right: -6px;
  bottom: -12px;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(21, 36, 74, .3));
}

/* Dweller — enlace de acción */
.dweller a {
  display: inline-block;
  margin-top: .5rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ocean);
  text-decoration: underline;
}

/* Cuidados — colores de los iconos por posición (ítems 2–4) */
.care:nth-child(2) .ck { background: #3f78c0; }
.care:nth-child(3) .ck { background: var(--coral); }
.care:nth-child(4) .ck { background: var(--ocean); }

/* Cuidados — texto fuerte y enlace directos (sin wrapper <p>) */
.care strong {
  font-family: var(--font-display);
  color: var(--ink);
  display: block;
}
.care a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: underline;
}

/* Fishcard — hover con flecha animada */
.fishcard:hover .go svg { transform: translateX(4px); }

/* Fishcard — ocultar tarjetas filtradas por JS */
.fishcard.hidden { display: none; }

/* Equipo necesario — enlace de acción (cat. peces) */
.eq a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--coral);
  text-decoration: underline;
}

/* Artículo (.post) — contenedor de imagen con altura fija (cat. peces) */
.post .pic {
  position: relative;
  height: 170px;
  margin-bottom: .9rem;
}
/* Artículo (.post) — imagen interior que cubre el contenedor */
.post .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================================================
   Categoría "Tipos de acuarios" (2026-06-12)
   Las fishcards de tipo no llevan <dl> de datos (no es una especie):
   llevan microcopy. Misma indentación que h3/.lat de la card.
   ============================================================ */
.fishcard .fishcard-micro {
  padding: 0 1rem;
  margin: .35rem 0 1rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
/* Badge de dificultad en cards de especie (categoría peces) */
.fishcard .lvl {
  display: inline-block;
  align-self: flex-start;
  margin: 0 1rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .22rem .7rem;
  border-radius: 100px;
  background: rgba(63, 155, 116, .15);
  color: #2f7d5b;
}

/* ============================================================
   Quiz / mini-asistente de decisión — 2026-06-12
   Tarjeta de color (onda del hero) con preguntas paso a paso.
   ============================================================ */
.quiz-sec {
  position: relative;
  overflow: hidden;
  /* Fondo propio (verde agua) para que NO se confunda con la sección
     anterior y la cajita oscura del quiz resalte. */
  background: linear-gradient(180deg, #e9f3f1 0%, #d7e8e0 100%);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.quiz-sec .sec-head h2 { color: var(--ocean); }
.quiz-sec .decor { z-index: 1; }
.quiz-sec .container { position: relative; z-index: 2; }

/* Variante de hero con imagen más grande (categoría peces) */
.page-hero--media .page-hero-grid { grid-template-columns: 1fr 1.08fr; }
.page-hero--media .hero-figure { min-height: 400px; }
@media (max-width: 860px) {
  .page-hero--media .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero--media .hero-figure { min-height: 260px; }
}

/* ============================================================
   Card de tipo COMPLETA clicable (stretched link) — 2026-06-12
   El enlace "Ver guía" (.go) se estira sobre toda la .fishcard:
   clic en la imagen o en cualquier parte → va a la guía.
   Conserva la animación de hover de la tarjeta.
   ============================================================ */
.fishcard { position: relative; }
.fishcard .go::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.fishcard:hover { transform: translateY(-4px); box-shadow: var(--shadow, 0 18px 40px -22px rgba(21,36,74,.4)); }
.fishcard { transition: transform .18s ease, box-shadow .18s ease; cursor: pointer; }
.fishcard .scene img { pointer-events: none; }
.tdp-quiz {
  max-width: 660px;
  margin: 1.5rem auto 0;
  background: radial-gradient(circle at 30% 0%, var(--ocean, #1d3160) 0%, #142546 100%);
  color: #fff;
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow, 0 20px 50px -20px rgba(21,36,74,.45));
  position: relative;
  z-index: 2;
}
.quiz-progress {
  height: 7px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--honey, #f0c64e);
  transition: width .35s ease;
}
.quiz-q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.quiz-step {
  display: inline-block;
  font-family: var(--font-script, cursive);
  font-weight: 700;
  font-size: 1rem;
  color: var(--honey, #f0c64e);
  margin-right: .6rem;
}
.quiz-opts { display: grid; gap: .7rem; }
.quiz-opt {
  text-align: left;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: #fff;
  border-radius: 14px;
  padding: .9rem 1.1rem;
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.quiz-opt:hover {
  background: rgba(255, 255, 255, .16);
  border-color: var(--honey, #f0c64e);
  transform: translateY(-2px);
}
.quiz-result { text-align: center; }
.quiz-result-tag {
  display: inline-block;
  font-family: var(--font-script, cursive);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--honey, #f0c64e);
  margin-bottom: .4rem;
}
.quiz-result h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .6rem; color: #fff; }
.quiz-result p { color: rgba(255, 255, 255, .85); max-width: 44ch; margin: 0 auto 1.4rem; }
.quiz-result .btn { margin-bottom: 1rem; }
.quiz-restart {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  text-decoration: underline;
  cursor: pointer;
}
.quiz-restart:hover { color: #fff; }

/* Rediseño UX categoría tipos de acuarios — 2026-06-12 */

/* ── Scroll suave global ── */
html { scroll-behavior: smooth; }

/* ── Scroll margin para que el header fijo no tape las secciones ── */
#por-forma,
#por-tamano,
#por-material,
#como-elegir,
#equipo,
#faq {
  scroll-margin-top: 90px;
}

/* ══════════════════════════════════════════
   CAMBIO 1 — Mini-nav de anclas (.type-nav)
   ══════════════════════════════════════════ */
.type-nav {
  background: var(--foam, #f5fafc);
  border-top: 1px solid var(--line, rgba(21,36,74,.1));
  border-bottom: 1px solid var(--line, rgba(21,36,74,.1));
  padding: 1.4rem 0;
  position: relative;
  overflow: hidden;
}

.type-nav-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}

.type-nav-pills {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.3rem;
  border-radius: 100px;
  border: 2px solid var(--line, rgba(21,36,74,.15));
  background: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.type-pill svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ocean);
  transition: color .18s;
}
.type-pill:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #fff;
  transform: translateY(-2px);
}
.type-pill:hover svg { color: #fff; }

/* ══════════════════════════════════════════════════
   CAMBIO 2 — 6 pasos de elección (.choose-steps)
   ══════════════════════════════════════════════════ */
.choose-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: .5rem;
}

.choose-step {
  background: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.choose-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.choose-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--foam, #f0f6f9);
  position: absolute;
  top: .7rem;
  right: 1.1rem;
  user-select: none;
  pointer-events: none;
}
/* Colores de acento por posición */
.choose-step:nth-child(1) .choose-num { color: rgba(217,122,78,.15); }
.choose-step:nth-child(2) .choose-num { color: rgba(63,155,116,.15); }
.choose-step:nth-child(3) .choose-num { color: rgba(63,120,192,.15); }
.choose-step:nth-child(4) .choose-num { color: rgba(240,198,78,.18); }
.choose-step:nth-child(5) .choose-num { color: rgba(52,152,219,.15); }
.choose-step:nth-child(6) .choose-num { color: rgba(155,89,182,.12); }

.choose-body {
  position: relative;
  z-index: 2;
}

.choose-icon {
  width: 34px;
  height: 34px;
  margin-bottom: .35rem;
  color: var(--ocean);
}
.choose-step:nth-child(1) .choose-icon { color: var(--coral); }
.choose-step:nth-child(2) .choose-icon { color: var(--ocean); }
.choose-step:nth-child(3) .choose-icon { color: var(--sea); }
.choose-step:nth-child(4) .choose-icon { color: #e6a817; }
.choose-step:nth-child(5) .choose-icon { color: #3f78c0; }
.choose-step:nth-child(6) .choose-icon { color: var(--sea); }

.choose-step h3 {
  font-size: 1rem;
  margin: 0 0 .25rem;
}
.choose-step p {
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   CAMBIO 3 — Lista de equipo (.gear-list / .gear-item)
   ══════════════════════════════════════════════════════ */
.gear-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.gear-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform .18s, box-shadow .18s;
}
.gear-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.gear-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
}
.gear-ico svg {
  width: 22px;
  height: 22px;
}

.gear-item div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.gear-item strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.gear-item span {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.gear-cta {
  font-size: .93rem;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
}
.gear-cta a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════
   Responsive — nuevos componentes
   ══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .choose-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .type-nav-pills { gap: .5rem; }
  .type-pill       { padding: .55rem 1rem; font-size: .88rem; }
  .choose-steps    { grid-template-columns: 1fr; gap: .9rem; }
  .choose-num      { font-size: 2.4rem; }
  .gear-ico        { width: 40px; height: 40px; }
  .gear-ico svg    { width: 19px; height: 19px; }
}


/* ============================================================
   Mejoras categoría tipos de acuarios v2 — 2026-06-12
   ============================================================ */

/* ── Mini-nav: se conserva el color VERDE original (.type-nav usa var(--foam) = #d7e8e0).
   La franja blanca entre el hero y el nav se resolvió pintando la onda inferior del
   hero (.wave.bottom) de ese mismo verde, en el HTML — así fluye sin corte blanco. ── */

/* ── Sub-bloques dentro de #por-forma y #por-tamano ── */
.subtipos-head {
  margin: 2.4rem 0 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(63,155,116,.07);
  border-left: 4px solid var(--sea, #3f9b74);
  border-radius: 0 14px 14px 0;
  position: relative;
  z-index: 2;
}

.subtipos-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink);
  margin: 0 0 .3rem;
}

.subtipos-desc {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 60ch;
}

/* Grid de subtipos: max 2 columnas para que se distinga del grid principal de 4 */
.species-grid.subtipos {
  grid-template-columns: repeat(2, 1fr);
  max-width: 680px;
  position: relative;
  z-index: 2;
}

/* ── Responsive subtipos ── */
@media (max-width: 640px) {
  .species-grid.subtipos { grid-template-columns: 1fr; max-width: 100%; }
  .subtipos-head { margin-top: 1.8rem; }
}
