/* =========================================================
   Kebintiro - hoja de estilos principal
   Paleta "Forest": fondo hueso verdoso, verde bosque, ámbar
   Radios: tarjetas/inputs 12 px, botones píldora
   Tema único claro (sin modo oscuro por decisión del cliente)
   ========================================================= */

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-wght.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light only;
  --bg: #f6f7f3;
  --bg-2: #eceee7;
  --surface: #ffffff;
  --line: #d9ddd3;
  --line-strong: #b9c0b3;
  --text: #151a17;
  --text-2: #4a544d;
  --text-3: #6f7a72;
  --brand: #1e3d2f;
  --brand-2: #163024;
  --brand-soft: #e3ece5;
  --brand-tint: #f0f5f1;
  --accent: #d98a2b;
  --accent-2: #b8711f;
  --accent-soft: #fbf0df;
  --danger: #b4402e;
  --danger-soft: #fbe9e5;
  --ok: #2f7a4c;
  --ok-soft: #e4f2e8;

  --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --r: 12px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(21, 26, 23, .05), 0 8px 24px -12px rgba(30, 61, 47, .18);
  --shadow-lg: 0 2px 4px rgba(21, 26, 23, .05), 0 24px 48px -20px rgba(30, 61, 47, .28);
  --container: 1240px;
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.small { font-size: .875rem; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--r); z-index: 100; }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--bg-2); }
.section--brand { background: var(--brand); color: #e9efe9; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--text-2); font-size: 1.05rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head--row > div { max-width: 62ch; }
.eyebrow { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .75rem; display: block; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); color: #fff; box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: #1c1207; }
.btn--accent:hover { background: var(--accent-2); color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--brand); background: var(--brand-tint); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-soft); }
.btn--sm { padding: .65rem 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn .ph { font-size: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.link-arrow .ph { transition: transform .2s var(--ease); }
.link-arrow:hover .ph { transform: translateX(3px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--text); text-decoration: none; padding: .55rem .8rem; border-radius: var(--r-pill); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--text); font-size: 1.4rem; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1rem 1.25rem; gap: .25rem; box-shadow: var(--shadow-lg); }
  .nav.is-open a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav.is-open .btn { display: inline-flex; margin-top: .5rem; }
}
.nav .btn { display: none; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; background: var(--brand); justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy h1 { margin-bottom: 1.25rem; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.3rem); }
.hero__copy .lead { margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.hero__media::after { content: ""; position: absolute; inset: auto -1rem -1rem auto; width: 40%; height: 40%; background: var(--brand-soft); border-radius: var(--r); z-index: -1; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__media::after { display: none; } }

/* ---------- Franja de ventajas ---------- */
.perks { border-block: 1px solid var(--line); background: var(--surface); }
.perks__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk .ph { font-size: 1.6rem; color: var(--brand); flex-shrink: 0; }
.perk strong { display: block; font-family: var(--font-display); font-size: .95rem; line-height: 1.2; }
.perk span { font-size: .85rem; color: var(--text-3); }
@media (max-width: 900px) { .perks__list { grid-template-columns: repeat(2, 1fr); } .perk:nth-child(3) { border-left: 0; } .perk { border-top: 1px solid var(--line); } .perk:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 540px) { .perks__list { grid-template-columns: 1fr; } .perk { border-left: 0; padding-inline: 0; } .perk:nth-child(2) { border-top: 1px solid var(--line); } }

/* ---------- Categorías (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.bento__item { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; display: flex; align-items: flex-end; background: var(--brand); }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento__item:hover img { transform: scale(1.04); }
.bento__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 26, 23, .82) 0%, rgba(21, 26, 23, .15) 55%, transparent 100%); }
.bento__body { position: relative; z-index: 1; padding: 1.25rem; }
.bento__body h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.3rem; }
.bento__body p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .85); max-width: 32ch; }
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .bento__item--tall { grid-row: span 1; } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } .bento__item--wide { grid-column: span 1; } }

/* ---------- Producto (card) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.25rem; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem .9rem; } }
@media (max-width: 400px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; background: #ebebe6; }
.product-card__media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-card__badge { position: absolute; top: .75rem; left: .75rem; font-family: var(--font-display); font-size: .72rem; font-weight: 600; padding: .3rem .65rem; border-radius: var(--r-pill); background: var(--accent); color: #1c1207; }
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card__cat { font-size: .78rem; color: var(--text-3); }
.product-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.3; margin: 0; }
.product-card__title a { color: var(--text); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card__short { font-size: .875rem; color: var(--text-2); margin: 0; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.price small { font-weight: 400; font-size: .75rem; color: var(--text-3); margin-left: .25rem; }
.stock { font-size: .78rem; color: var(--ok); display: inline-flex; align-items: center; gap: .3rem; }
.stock--low { color: var(--accent-2); }

/* ---------- Por qué Kebintiro (split con imagen + lista) ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.why__media img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.why__list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.why__item { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
.why__item .ph { width: 48px; height: 48px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; }
.why__item h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.why__item p { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__media img { aspect-ratio: 16 / 10; } }

/* ---------- Formulario de solicitud ---------- */
.lead { }
.lead-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lead-block__aside h2 { color: #fff; }
.lead-block__aside p { color: rgba(255, 255, 255, .82); }
.lead-block__steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.lead-block__steps li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.lead-block__steps .ph { width: 40px; height: 40px; border-radius: var(--r); background: rgba(255, 255, 255, .1); color: var(--accent); display: grid; place-items: center; font-size: 1.35rem; }
.lead-block__steps strong { display: block; color: #fff; font-family: var(--font-display); }
.lead-block__steps span { font-size: .92rem; color: rgba(255, 255, 255, .78); }
.lead-block__aside .contact-line { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .95rem; }
.lead-block__aside .contact-line a { color: #fff; }
@media (max-width: 900px) { .lead-block { grid-template-columns: 1fr; } }

.form-card { background: var(--surface); color: var(--text); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: .25rem; }
.form-card > p { color: var(--text-2); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--text); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #7b857e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%234a544d' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field .help { font-size: .8rem; color: var(--text-3); }
.field .error { font-size: .85rem; color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
.field--check { flex-direction: row; align-items: flex-start; gap: .65rem; }
.field--check input { width: 20px; height: 20px; margin-top: .15rem; flex-shrink: 0; padding: 0; accent-color: var(--brand); }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--text-2); }
.field--check.has-error label { color: var(--danger); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.form-foot .small { color: var(--text-3); }
.alert { padding: .9rem 1.1rem; border-radius: var(--r); font-size: .95rem; margin-bottom: 1.25rem; display: flex; gap: .6rem; align-items: flex-start; }
.alert .ph { font-size: 1.3rem; flex-shrink: 0; }
.alert--error { background: var(--danger-soft); color: #7a2a1d; }
.alert--ok { background: var(--ok-soft); color: #1f5a37; }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial { background: var(--surface); border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.testimonial__stars { color: var(--accent); font-size: 1.05rem; letter-spacing: .05em; display: flex; gap: .1rem; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; }
.testimonial figcaption strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.testimonial figcaption span { font-size: .82rem; color: var(--text-3); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr 1fr; } .testimonial:nth-child(n+5) { display: none; } }
@media (max-width: 600px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.post-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.post-feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.post-feature__body h3 { font-size: 1.6rem; }
.post-list { display: grid; gap: 1.25rem; }
.post-row { display: grid; grid-template-columns: 140px 1fr; gap: 1.1rem; align-items: center; text-decoration: none; color: var(--text); padding: .75rem; border-radius: var(--r); transition: background .2s; }
.post-row:hover { background: var(--surface); color: var(--text); }
.post-row img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; width: 100%; }
.post-row h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.post-row p { margin: 0; font-size: .9rem; color: var(--text-2); }
.post-meta { font-size: .82rem; color: var(--text-3); display: flex; gap: .75rem; flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .blog-grid, .post-feature { grid-template-columns: 1fr; } .post-feature img { aspect-ratio: 16 / 9; } }
@media (max-width: 500px) { .post-row { grid-template-columns: 1fr; } }

.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__body h2 { font-size: 1.35rem; margin: 0; }
.post-card__body h2 a { color: var(--text); text-decoration: none; }
.post-card__body p { color: var(--text-2); font-size: .95rem; flex: 1; }

.article { max-width: 760px; margin-inline: auto; }
.article__hero img { border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-block: 2rem; }
.article__body { font-size: 1.08rem; line-height: 1.75; }
.article__body h2 { font-size: 1.55rem; margin-top: 2.25rem; }
.article__body h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.article__body ul, .article__body ol { margin-bottom: 1.25rem; }
.article__body li { margin-bottom: .4rem; }
.article__body li::marker { color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .5rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { font-size: 1.25rem; color: var(--brand); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--text-2); }
.faq details > div p { margin: 0; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .faq-cols { grid-template-columns: 1fr; } }

/* ---------- CTA con imagen ---------- */
.cta-band { position: relative; border-radius: var(--r); overflow: hidden; min-height: 380px; display: flex; align-items: center; color: #fff; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 26, 23, .82) 0%, rgba(21, 26, 23, .55) 55%, rgba(21, 26, 23, .2) 100%); }
.cta-band__body { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4rem); max-width: 560px; }
.cta-band__body h2 { color: #fff; }
.cta-band__body p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }

/* ---------- Tienda ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 2rem; }
.chip { font-family: var(--font-display); font-weight: 500; font-size: .9rem; padding: .5rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); color: var(--text); text-decoration: none; background: var(--surface); transition: all .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.shop-count { margin-left: auto; font-size: .9rem; color: var(--text-3); }

/* ---------- Categoría ---------- */
.cat-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.cat-hero img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .cat-hero { grid-template-columns: 1fr; } }
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.guide__item { background: var(--surface); border-radius: var(--r); padding: 1.5rem; border-top: 3px solid var(--accent); }
.guide__item h3 { font-size: 1.1rem; }
.guide__item p { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } }

/* ---------- Producto ---------- */
.breadcrumb { font-size: .875rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.5rem; list-style: none; padding: 0; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product__media img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; width: 100%; background: #ebebe6; }
.product__info h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.product__price { display: flex; align-items: baseline; gap: .75rem; margin: 1rem 0 1.25rem; }
.product__price .price { font-size: 2rem; }
.product__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.product__meta { display: grid; gap: .6rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: .92rem; }
.product__meta div { display: flex; gap: .6rem; align-items: center; color: var(--text-2); }
.product__meta .ph { color: var(--brand); font-size: 1.2rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.spec dt { font-size: .8rem; color: var(--text-3); margin-bottom: .2rem; }
.spec dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .specs { grid-template-columns: 1fr; } }
.tabs { margin-top: 3rem; }
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.info-col h3 .ph { color: var(--brand); }
.info-col p, .info-col li { color: var(--text-2); font-size: .95rem; }
@media (max-width: 900px) { .info-cols { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.story--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.story--reverse .story__media { order: -1; }
@media (max-width: 900px) { .story, .story--reverse { grid-template-columns: 1fr; } .story--reverse .story__media { order: 0; } }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.value { padding: 1.75rem; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); }
.value .ph { font-size: 1.8rem; color: var(--accent-2); margin-bottom: .75rem; display: block; }
.value h3 { font-size: 1.15rem; }
.value p { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: left; }
.number strong { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: #fff; letter-spacing: -.02em; }
.number span { font-size: .92rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 700px) { .numbers { grid-template-columns: 1fr 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2.5rem; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; display: grid; gap: 1.25rem; }
.contact-card div { display: grid; grid-template-columns: 40px 1fr; gap: .75rem; }
.contact-card .ph { width: 40px; height: 40px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.contact-card span, .contact-card a { font-size: .95rem; color: var(--text-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Páginas legales / texto ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose p, .prose li { color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0 1.5rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 600; color: var(--text); background: var(--bg-2); }
.table-wrap { overflow-x: auto; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-head p { color: var(--text-2); font-size: 1.1rem; max-width: 62ch; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.toc strong { font-family: var(--font-display); display: block; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; gap: 2rem; font-size: .92rem; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.legal-updated { font-size: .85rem; color: var(--text-3); }

/* ---------- Pasos (envíos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; margin-bottom: .9rem; }
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; font-size: .92rem; color: var(--text-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--brand-2); color: rgba(255, 255, 255, .8); padding-block: 4rem 2rem; margin-top: auto; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer__brand p { font-size: .92rem; max-width: 36ch; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer__bottom a { color: rgba(255, 255, 255, .7); }
.footer .newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.footer .newsletter input { flex: 1; min-width: 0; font: inherit; padding: .7rem .9rem; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; }
.footer .newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Banner de cookies ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; max-width: 720px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 1.25rem 1.5rem; display: none; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--text-2); flex: 1 1 320px; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Página 404 / gracias ---------- */
.center-page { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); max-width: 620px; margin-inline: auto; }
.center-page .ph { font-size: 3.5rem; color: var(--brand); margin-bottom: 1rem; }
.center-page .hero__ctas { justify-content: center; margin-top: 1.5rem; }

/* ---------- Animaciones de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Cesta: icono en cabecera y toast ---------- */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); color: var(--text); font-size: 1.35rem; text-decoration: none; transition: border-color .2s, background .2s; }
.cart-link:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); }
.cart-link__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: #1c1207; font-family: var(--font-display); font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: .75rem; background: var(--brand-2); color: #fff; padding: .75rem .75rem .75rem 1.1rem; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); max-width: calc(100% - 2rem); font-size: .95rem; }
.toast .ph { font-size: 1.3rem; color: #9fd3b1; flex-shrink: 0; }
.toast.is-hidden { opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: toast-in .4s var(--ease); } @keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } } }

/* ---------- Tarjeta de producto: botón añadir ---------- */
.product-card__add { position: relative; z-index: 1; }
.product-card__add .btn { padding: .55rem .9rem; }
.product-card .stock { margin-top: .25rem; }
@media (max-width: 400px) { .product-card__foot { flex-wrap: wrap; gap: .5rem; } }

/* ---------- Selector de cantidad ---------- */
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; background: #fff; height: 46px; }
.qty__btn { width: 42px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--brand); font-family: var(--font-display); transition: background .2s; }
.qty__btn:hover { background: var(--brand-soft); }
.qty__input { width: 52px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

/* ---------- Página de cesta ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 1.25rem; align-items: center; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.cart-line__media img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: #ebebe6; }
.cart-line__info { display: grid; gap: .3rem; }
.cart-line__title { font-family: var(--font-display); font-weight: 600; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.cart-line__title:hover { color: var(--brand); text-decoration: underline; }
.cart-line__remove { background: none; border: 0; padding: 0; color: var(--text-3); font: inherit; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; width: fit-content; }
.cart-line__remove:hover { color: var(--danger); }
.cart-line__total { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; min-width: 90px; text-align: right; }
.cart-lines__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem; }
@media (max-width: 640px) { .cart-line { grid-template-columns: 72px 1fr; } .cart-line__media img { width: 72px; height: 72px; } .cart-line__total { grid-column: 2; text-align: left; } .cart-line .qty { grid-column: 2; } }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.cart-summary h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.totals { margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--text-2); }
.totals dd { margin: 0; font-weight: 600; text-align: right; }
.totals__total { padding-top: .75rem; margin-top: .25rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.25rem; }
.totals__total dt { color: var(--text); font-weight: 600; }
.free-hint { display: flex; gap: .5rem; align-items: flex-start; background: var(--accent-soft); color: #6b4512; border-radius: var(--r); padding: .75rem .9rem; font-size: .9rem; margin: 0 0 1.25rem; }
.free-hint--ok { background: var(--ok-soft); color: #1f5a37; }
.free-hint .ph { font-size: 1.2rem; flex-shrink: 0; }
.cart-trust { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; font-size: .88rem; color: var(--text-2); }
.cart-trust li { display: flex; gap: .5rem; align-items: center; }
.cart-trust .ph { color: var(--brand); font-size: 1.15rem; }
.empty-cart { text-align: center; max-width: 560px; margin-inline: auto; padding-block: 2rem 1rem; }
.empty-cart .ph { font-size: 3.5rem; color: var(--brand); }

/* ---------- Finalizar compra ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; }
.checkout__main { display: grid; gap: 1.25rem; }
.checkout__main .form-card { box-shadow: none; border: 1px solid var(--line); }
.checkout__main .form-card h3 { margin-bottom: 1rem; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .checkout__aside { order: -1; } .checkout__aside .cart-summary { position: static; } }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.choice-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .choice-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .choice-grid, .choice-grid--4 { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; padding: .9rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff; transition: border-color .2s, background .2s; }
.choice span .ph { grid-row: 1 / 3; font-size: 1.5rem; color: var(--brand); }
.choice strong { font-family: var(--font-display); font-size: .95rem; }
.choice em { font-style: normal; font-size: .8rem; color: var(--text-3); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.order-lines { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.order-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; font-size: .92rem; }
.order-lines img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #ebebe6; }
.order-lines li > span { display: grid; }
.order-lines small { color: var(--text-3); }
.order-lines strong { font-family: var(--font-display); }

/* ---------- Banner de cookies (rediseño) ---------- */
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 90; width: min(440px, calc(100% - 2rem)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 1.25rem; display: grid; gap: 1rem; }
.cookie-banner[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .cookie-banner { animation: cookie-in .5s var(--ease); } @keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } } }
.cookie-banner__head { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.cookie-banner__icon { width: 44px; height: 44px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 1.5rem; }
.cookie-banner h2 { font-size: 1.05rem; margin: .2rem 0 .3rem; }
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.cookie-banner__prefs { display: grid; gap: .6rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.cookie-banner__prefs[hidden] { display: none; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn[hidden] { display: none; }
.switch { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; align-items: start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { position: relative; width: 42px; height: 24px; border-radius: var(--r-pill); background: var(--line-strong); transition: background .2s; margin-top: .1rem; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:disabled + .switch__track { opacity: .6; cursor: not-allowed; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch__text { display: grid; font-size: .88rem; }
.switch__text strong { font-family: var(--font-display); }
.switch__text small { color: var(--text-3); font-size: .8rem; }
.form-grid[hidden], [hidden] { display: none !important; }
.cookie-banner { right: auto; margin: 0; }
@media (max-width: 640px) { .cookie-banner { left: .75rem; width: calc(100% - 1.5rem); bottom: .75rem; } }
