/* ============================================
   BROMDEL — Hoja de estilos corporativa
   Paleta: definida en :root
   Tipografía: DM Sans (Google Fonts)
   ============================================ */

:root {
  --brand-primary: #46512A;   /* Verde oliva CTA */
  --brand-accent:  #5B9F0C;   /* Verde lima — hover/highlight */
  --ink:           #2C3A04;   /* Texto principal */
  --ink-soft:      #4A5A1A;   /* Texto secundario */
  --ink-mute:      #7A8568;   /* Texto muted */
  --paper:         #FBFBFB;   /* Blanco tarjetas */
  --paper-warm:    #F7F9F1;   /* Off-white */
  --sage:          #D2D8C0;   /* Sage cream — fondo dominante */
  --sage-soft:     #E2E6D2;
  --line:          #C2C9AC;
  --line-soft:     #DDE2CC;
  --black:         #000000;
  --shadow-sm: 0 2px 6px rgba(44, 58, 4, .06);
  --shadow-md: 0 8px 24px rgba(44, 58, 4, .10);
  --shadow-lg: 0 18px 50px rgba(44, 58, 4, .14);
  --radius:    14px;
  --radius-lg: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--sage);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-accent); }

/* Tipografía */
h1, h2, h3, h4 { font-family: 'DM Sans', sans-serif; color: var(--ink); margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

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

/* ===== Header ===== */
/* Header default: sólido sobre fondo sage (páginas internas) */
.site-header {
  background: var(--sage);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
}
/* Header transparente sobre hero con imagen (home) */
.site-header.transparent {
  background: transparent;
  position: absolute;
  top: 0; left: 0; right: 0;
  border-bottom: 0;
}
.site-header.transparent .brand,
.site-header.transparent nav.main-nav a { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.site-header.transparent .brand span { color: var(--brand-accent); text-shadow: 0 1px 4px rgba(0,0,0,.3); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 28px;
}
.brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand span { color: var(--brand-accent); }

nav.main-nav { flex: 1; display: flex; justify-content: center; }
nav.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; gap: 32px;
  align-items: center;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 8px 2px;
  letter-spacing: .01em;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--brand-accent); }
nav.main-nav a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--brand-accent);
  border-radius: 2px;
}

/* CTA del header */
.header-cta {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--paper);
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: .95rem;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
}
.header-cta:hover { background: var(--brand-accent); color: #fff; transform: translateY(-1px); }
.site-header.transparent .header-cta {
  background: #fff;
  color: var(--ink);
  text-shadow: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.site-header.transparent .header-cta:hover { background: var(--brand-accent); color: #fff; }

/* Iconos del header (usuario / carrito) */
.header-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 6px;
}
.header-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  background: transparent;
  transition: background .2s ease, color .2s ease;
  position: relative;
  text-decoration: none;
}
.header-icon:hover { background: rgba(0,0,0,.06); color: var(--brand-accent); }
.site-header.transparent .header-icon { color: #fff; }
.site-header.transparent .header-icon:hover { background: rgba(255,255,255,.18); color: #fff; }
.header-icon svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--brand-accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
  line-height: 1;
  border: 2px solid var(--sage);
}
.site-header.transparent .cart-badge { border-color: transparent; }

.menu-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--ink); cursor: pointer; }
.site-header.transparent .menu-toggle { color: #fff; }

@media (max-width: 980px) {
  nav.main-nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: var(--sage); border-bottom: 1px solid var(--line-soft); padding: 16px 24px; justify-content: flex-start; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 14px; align-items: flex-start; }
  .site-header.transparent nav.main-nav { background: var(--ink); }
  .site-header.transparent nav.main-nav a { color: #fff; }
  .header-cta { display: none; }
  .header-icons { display: none; }
  .menu-toggle { display: inline-block; }
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--paper);
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--brand-accent); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 140px;
  text-align: center;
  background-color: var(--sage);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 900px; margin: 0 auto .25em; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero .section-eyebrow { color: #b8e07a; }
.hero p.lead {
  font-size: 1.18rem;
  color: #f3f5e8;
  max-width: 680px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
/* Hero variant for inner pages without bg image */
.hero.plain {
  background: var(--sage);
  color: var(--ink);
  padding: 90px 0 100px;
}
.hero.plain::before { display: none; }
.hero.plain h1 { color: var(--ink); text-shadow: none; }
.hero.plain p.lead { color: var(--ink-soft); text-shadow: none; }
.hero.plain .section-eyebrow { color: var(--brand-accent); }

/* ===== Secciones ===== */
section.block { padding: 80px 0; }
section.block.alt { background: var(--paper-warm); }
section.block.dark { background: var(--ink); color: var(--paper-warm); }
section.block.dark h2,
section.block.dark h3 { color: var(--paper); }
section.block.dark p { color: #d6dcc4; }

.section-eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { max-width: 680px; margin: 0 auto; color: var(--ink-soft); }

/* ===== Grids ===== */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ===== Cards ===== */
.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--line-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--brand-primary);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { color: var(--ink); }
.card p { color: var(--ink-soft); margin-bottom: 0; }

.card.media { padding: 0; overflow: hidden; }
.card.media .thumb {
  aspect-ratio: 16/10;
  background: var(--sage-soft);
  background-size: cover;
  background-position: center;
}
.card.media .body { padding: 24px 26px 28px; }

/* ===== Pillars (3 columnas con número) ===== */
.pillar { padding: 28px; }
.pillar .num {
  font-size: 2.2rem; font-weight: 800; color: var(--brand-accent);
  display: block; margin-bottom: 8px;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--brand-primary);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 80px 0;
}
.cta-banner h2 { color: var(--paper); }
.cta-banner p { color: #d6dcc4; max-width: 620px; margin: 0 auto 26px; }
.cta-banner .btn { background: var(--brand-accent); }
.cta-banner .btn:hover { background: var(--paper); color: var(--brand-primary); }

/* ===== About / Split ===== */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.split img, .split .media {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--sage-soft) center/cover no-repeat;
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Form ===== */
.form-card {
  background: var(--paper);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); font-size: .95rem; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--paper-warm);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--brand-accent);
  background: #fff;
}

/* ===== FAQ ===== */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--brand-accent); transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq details > p { margin-top: 12px; color: var(--ink-soft); }

/* ===== Tienda ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
}
.shop-sidebar {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
}
@media (max-width: 980px) {
  .shop-sidebar { position: static; }
}
.shop-sidebar h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 12px;
}
.shop-sidebar .filter-block { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.shop-sidebar .filter-block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

.filter-search {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-warm);
  font: inherit;
  color: var(--ink);
}
.filter-search:focus { outline: 0; border-color: var(--brand-accent); background: #fff; }

.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin: 0; }
.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: .94rem;
  user-select: none;
}
.filter-list label:hover { color: var(--brand-accent); }
.filter-list input[type=checkbox],
.filter-list input[type=radio] {
  width: 16px; height: 16px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}
.filter-list .count {
  margin-left: auto;
  font-size: .8rem;
  color: var(--ink-mute);
}

.price-range { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.price-range input {
  width: 90px;
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--paper-warm);
  color: var(--ink);
  font-size: .9rem;
}
.price-range input:focus { outline: 0; border-color: var(--brand-accent); background: #fff; }
.price-range span { color: var(--ink-mute); font-size: .9rem; }

.btn-clear-filters {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding: 10px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s ease;
}
.btn-clear-filters:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Toolbar (count + sort) */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 24px;
}
.shop-count { color: var(--ink-soft); font-size: .94rem; }
.shop-count strong { color: var(--brand-primary); }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: .9rem; color: var(--ink-soft); }
.shop-sort select {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper-warm);
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
}

/* Grid de productos */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1180px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .shop-grid { grid-template-columns: 1fr; } }

.product {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product .badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--brand-accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 2;
}
.product .thumb {
  aspect-ratio: 1/1;
  background: #fff center/contain no-repeat;
  border-bottom: 1px solid var(--line-soft);
}
.product .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product .cat-tag {
  font-size: .72rem;
  color: var(--ink-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.product h3 { font-size: 1.08rem; margin: 0 0 8px; line-height: 1.3; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--brand-accent); }
.product .desc { color: var(--ink-soft); font-size: .9rem; margin: 0 0 14px; line-height: 1.45; flex: 1; }
.product .price {
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.product .actions { display: flex; gap: 8px; margin-top: auto; }
.product .actions .btn { flex: 1; padding: 10px 16px; font-size: .9rem; box-shadow: none; }
.product .actions .btn-icon {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all .2s ease;
}
.product .actions .btn-icon:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.product .actions .btn-icon svg { width: 18px; height: 18px; }

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-mute);
}
.shop-empty h3 { color: var(--ink); margin-bottom: 8px; }

/* ===== Página individual de producto ===== */
.product-page {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 980px) {
  .product-page { grid-template-columns: 1fr; gap: 32px; }
}

/* Galería */
.gallery {
  position: sticky;
  top: 110px;
}
@media (max-width: 980px) { .gallery { position: static; } }
.gallery-main {
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff center/contain no-repeat;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  cursor: zoom-in;
  transition: transform .2s ease;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 540px) { .gallery-thumbs { grid-template-columns: repeat(4, 1fr); } }
.gallery-thumb {
  aspect-ratio: 1/1;
  background: #fff center/contain no-repeat;
  border-radius: 10px;
  border: 2px solid var(--line-soft);
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.gallery-thumb:hover { border-color: var(--brand-accent); transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--brand-primary); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  z-index: 1000;
  cursor: zoom-out;
}
.lightbox.open { display: grid; place-items: center; }
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }

/* Información del producto */
.product-info .breadcrumb {
  font-size: .82rem;
  color: var(--ink-mute);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.product-info .breadcrumb a { color: var(--ink-mute); }
.product-info .breadcrumb a:hover { color: var(--brand-accent); }
.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}
.product-info .cat-tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.product-info .price-block {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin: 18px 0 24px;
}
.product-info .short-desc {
  background: var(--paper-warm);
  border-left: 4px solid var(--brand-accent);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 28px;
  color: var(--ink-soft);
}
.product-info .short-desc p { margin: 0; }
.product-info .actions-block {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.product-info .actions-block .btn { padding: 14px 32px; font-size: 1rem; }
.product-info .meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}
.product-info .meta-list li {
  font-size: .92rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.product-info .meta-list strong { color: var(--ink); margin-right: 6px; }

/* Descripción larga */
.product-description {
  margin-top: 64px;
  padding-top: 50px;
  border-top: 1px solid var(--line-soft);
}
.product-description h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.product-description-content {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--ink);
}
.product-description-content h3 {
  color: var(--ink);
  font-size: 1.2rem;
  margin: 18px 0 10px;
}
.product-description-content p { color: var(--ink-soft); }
.product-description-content ul,
.product-description-content ol {
  color: var(--ink-soft);
  padding-left: 1.4em;
}
.product-description-content li { margin-bottom: 8px; }
.product-description-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px 0;
}

/* Productos relacionados */
.related-products {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--line-soft);
}
.related-products h2 {
  text-align: center;
  margin-bottom: 36px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--sage);
  color: var(--ink);
  padding: 72px 0 28px;
  margin-top: 0;
  border-top: 1px solid var(--line-soft);
}
.site-footer h3 {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: .03em;
  font-weight: 700;
}
.site-footer p { color: var(--ink-soft); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--brand-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: .94rem; }
.site-footer .brand { color: var(--paper); display: inline-block; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: .88rem;
  color: var(--ink-mute);
}

/* Utilidades */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block;
  font-size: .78rem;
  background: var(--sage-soft);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ============================================
   HOME — componentes específicos
   ============================================ */

/* 3 servicios: card única blanca que solapa el hero */
.home-services-wrap {
  margin-top: -90px;        /* solapa el final del hero */
  position: relative;
  z-index: 5;
  padding: 0 0 60px;
}
.home-services {
  background: var(--paper);
  border-radius: 18px;
  padding: 50px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  box-shadow: 0 30px 60px rgba(20, 28, 0, .12);
}
.home-services .hs-col {
  padding: 0 36px;
  border-right: 1px solid var(--line-soft);
}
.home-services .hs-col:last-child { border-right: 0; }
.home-services .hs-col h3 {
  color: var(--brand-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -.005em;
}
.home-services .hs-col p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 880px) {
  .home-services-wrap { margin-top: -40px; padding: 0 0 40px; }
  .home-services {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 30px;
  }
  .home-services .hs-col {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 0 0 30px;
  }
  .home-services .hs-col:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* 3 pilares: simples columnas de texto, sin cards */
.home-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 20px;
}
.home-pillars .hp-col h3 {
  color: var(--brand-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.home-pillars .hp-col p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 880px) {
  .home-pillars { grid-template-columns: 1fr; gap: 36px; }
}

/* CTA banner: sage claro con botón blanco */
.home-cta-wrap { padding: 40px 0 80px; }
.home-cta {
  background: var(--sage);
  border-radius: 16px;
  padding: 38px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.home-cta-text { flex: 1; min-width: 280px; }
.home-cta-text h3 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.home-cta-text p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0;
  line-height: 1.55;
}
.btn-cta-light {
  background: #fff !important;
  color: var(--ink) !important;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.btn-cta-light:hover {
  background: var(--brand-primary) !important;
  color: #fff !important;
}
@media (max-width: 720px) {
  .home-cta { padding: 30px 28px; flex-direction: column; align-items: flex-start; }
}

/* En la home, las cards .media de "Historias" no llevan tag pequeño visible (hereda del título) */
section.block.alt .card.media .body h3 {
  color: var(--brand-primary);
  font-size: 1.25rem;
  font-weight: 700;
}
