/* =====================================================
 * yobebote.com — Estilos globales
 * Identidad: Mockup D (Natural ecommerce)
 * Tipografía: Plus Jakarta Sans
 * Paleta: verde apagado + tierra + crema
 * ===================================================== */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F4EE;
  --bg-warm: #F0EBE0;
  --verde: #7B8B5C;
  --verde-dark: #5C6B3F;
  --verde-soft: #DCE3CC;
  --tierra: #C49872;
  --ambar: #D89545;
  --ambar-dark: #B57932;
  --text: #2D2A24;
  --text-soft: #6E6A60;
  --line: #ECE7DC;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }


/* ===== Top bar ===== */
.topbar {
  background: var(--verde-dark);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.topbar span { margin: 0 16px; opacity: 0.95; }
.topbar strong { font-weight: 600; }


/* ===== Header ===== */
header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.logo {
  font-weight: 700;
  font-size: 22px;
  color: var(--verde-dark);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--tierra); }
.nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--verde); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--verde-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}


/* ===== Hero genérico ===== */
.hero {
  padding: 80px 0 90px;
  background: var(--bg-soft);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-block;
  background: var(--verde-soft);
  color: var(--verde-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(42px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--verde-dark); }
.hero p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta {
  display: inline-block;
  background: var(--verde-dark);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s;
}
.cta:hover { background: var(--verde); }
.cta-ghost {
  display: inline-block;
  padding: 15px 22px;
  color: var(--verde-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--verde);
  border-radius: 8px;
  transition: background .2s;
}
.cta-ghost:hover { background: var(--verde-soft); }

.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 36px;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--verde-dark);
  margin-bottom: 2px;
}
.hero-stat span {
  font-size: 13px;
  color: var(--text-soft);
}

.hero-visual {
  aspect-ratio: 1/1;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 139, 92, 0.25), transparent 60%),
    linear-gradient(135deg, var(--bg-warm), var(--verde-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 140px;
  position: relative;
}
.hero-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(45, 42, 36, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde);
}
.hero-mini-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(45, 42, 36, 0.1);
  font-size: 13px;
  max-width: 200px;
}
.hero-mini-card .label {
  color: var(--text-soft);
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hero-mini-card .product {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.hero-mini-card .stars { color: var(--ambar); font-size: 12px; }


/* ===== Secciones ===== */
.section { padding: 90px 0; }

.section-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-header-text { max-width: 600px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--verde-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--text-soft);
  font-size: 16px;
}
.section-link {
  color: var(--verde-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }


/* ===== Categorías ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, transform .25s, background .25s;
  display: flex;
  flex-direction: column;
}
.cat:hover {
  border-color: var(--verde);
  background: #fff;
  transform: translateY(-3px);
}
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.cat h3 {
  font-size: 19px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.cat p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 18px;
  flex-grow: 1;
}
.cat-arrow {
  color: var(--verde-dark);
  font-size: 14px;
  font-weight: 600;
}


/* ===== Productos ===== */
.products-section { background: var(--bg-soft); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.prod:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(45, 42, 36, 0.08);
}
.prod-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-warm);
  border-radius: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--verde-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.badge.ambar { background: var(--ambar); }
.badge.tierra { background: var(--tierra); }
.prod-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--verde-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.prod h4 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.prod ul {
  list-style: none;
  margin-bottom: 18px;
  flex-grow: 1;
}
.prod li {
  font-size: 13px;
  color: var(--text-soft);
  padding: 3px 0 3px 16px;
  position: relative;
}
.prod li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: 700;
}
.prod-reviews {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-soft);
}
.prod-reviews .stars { color: var(--ambar); }
.prod-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ambar);
  color: #fff;
  text-decoration: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}
.prod-cta:hover { background: var(--ambar-dark); }

.affil-note {
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 32px;
}


/* ===== Bloque confianza ===== */
.trust-section {
  padding: 80px 0;
  background: var(--bg);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item { padding: 24px 16px; }
.trust-item .icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.trust-item h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.trust-item p {
  color: var(--text-soft);
  font-size: 14px;
}


/* ===== Footer ===== */
footer {
  background: var(--text);
  color: #B8B4A8;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid #45413A;
}
.footer-logo {
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-block;
}
.footer-logo span { color: var(--tierra); }
.footer-grid p {
  color: #8C8878;
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-grid h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-grid ul { list-style: none; }
.footer-grid ul a {
  color: #8C8878;
  text-decoration: none;
  font-size: 14px;
  line-height: 2;
  transition: color .2s;
}
.footer-grid ul a:hover { color: var(--tierra); }
.footer-bottom {
  font-size: 12px;
  color: #6E6A5E;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}


/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav ul { display: none; }
  .hero { padding: 50px 0; }
  .section { padding: 60px 0; }
  .topbar span { display: block; margin: 4px 0; }
  .hero-stats { gap: 24px; }
}
