/* ==================== TOKENS & BASE ==================== */
:root {
  --bg: #fff;
  --ink: #0a0a0a;
  --ink2: #111827;
  --muted: #666;
  --brand: #0ba989;
  --brand-light: #d1fae5;
  --brand-lighter: #f0fdf4;
  --brand-dark: #065f46;
  --success: #10b981;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --border: #eee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
}

a,
a:hover {
  text-decoration: none;
}
a {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.container {
  max-width: 1120px;
  margin: auto;
  padding: 0 20px;
}

#home {
  font-size: 1.4rem;
  font-weight: 500;
  margin-right: 1.5rem;
}

/* ==================== HEADER ==================== */
header.site {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0 0.75rem 1rem;
  background: var(--bg);
  position: relative;
}

.nav .links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav strong {
  font-size: 1.1rem;
  color: #1a1a1a;
  transition: color 0.2s;
}
.nav strong:hover {
  color: var(--brand);
}

.links a {
  color: #4a4a4a;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}
.links a:hover {
  color: var(--brand);
}
.links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--brand);
  transition: width 0.2s;
}
.links a:hover::after {
  width: 100%;
}

/* ==================== HERO ==================== */
.hero {
  padding: 1rem 1rem 0;
  gap: 2.5rem;
}

body:not(:has(.product-header)) .hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
body:has(.product-header) .hero {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink2);
}

/* Párrafos intro del hero */
.hero > div > p:first-of-type {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.hero > div > p:nth-of-type(2) {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

/* Bullets del hero */
.hero ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.hero li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  padding: 0.875rem 1rem;
  background: var(--brand-lighter);
  border-radius: 8px;
  border-left: 3px solid var(--brand);
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(11, 169, 137, 0.15);
}

/* CTAs del hero (prominentes) */
.hero .cta {
  padding: 1.125rem 2.75rem;
  font-size: 1.5rem !important;
  letter-spacing: -0.02em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.hero .cta:hover {
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* CTA secundario (gris por inline-style) */
.hero .cta[style*="background:#6c757d"] {
  background: #6c757d !important;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
}
.hero .cta[style*="background:#6c757d"]:hover {
  background: #5a6268 !important;
  box-shadow: 0 6px 16px rgba(108, 117, 125, 0.35);
}

/* Contenedores de badges y CTAs del hero */
.hero > div > div:has(.badge) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.hero > div > div[style*="margin-top:12px"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem !important;
}

/* ==================== SECTIONS ==================== */
.section {
  margin: 0.5rem 0;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--ink2);
  font-weight: 700;
  line-height: 1.2;
}
.section h3 {
  font-size: 1.3rem;
  margin: 0.75rem 0 0.5rem;
  color: var(--ink2);
  font-weight: 600;
}
.section p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--ink);
}

/* Enlaces tipo “leer más” / micro-CTA */
.blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  transition: all 0.2s;
  margin-top: 0.5rem;
  background: var(--brand-light) !important;
}
.section a[href^="/blog/"]:hover,
.section a[href^="/productos/"]:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  transform: translateX(4px);
}

/* FAQ heading */
#faq h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0 15px;
  color: var(--brand-dark) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
#faq h3::before {
  content: "▸";
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
}

/* ==================== CARDS ==================== */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Cards de productos */
.grid.cols-2 .card {
  display: flex;
  flex-direction: column;
}
.grid.cols-2 .card figure {
  margin: 0 0 1rem;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
}
.grid.cols-2 .card h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0;
}
.grid.cols-2 .card p {
  flex-grow: 1;
  margin-bottom: 1rem;
}
.grid.cols-2 .card p strong {
  font-size: 1.8rem;
  color: var(--brand-dark);
  display: block;
  margin: 0.75rem 0;
}
.grid.cols-2 .card .cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ==================== GRIDS ==================== */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Grid de ingredientes */
.grid.cols-3 > div {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  text-align: center;
  transition: all 0.3s;
}
.grid.cols-3 > div::before {
  content: attr(data-emoji);
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.grid.cols-3 > div:hover {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(11, 169, 137, 0.2);
}
.grid.cols-3 strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #065f46;
  font-weight: 700;
  line-height: 1.3;
}
.grid.cols-3 small {
  color: #047857;
  font-size: 0.9rem;
  line-height: 1.4;
  display: block;
}

/* ==================== BADGES ==================== */
.badge {
  display: inline-block;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111827;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.badge:hover {
  background: var(--brand-lighter);
  border-color: var(--brand-light);
  color: var(--brand-dark);
}

/* ==================== CTA BUTTONS ==================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0ba989 0%, #0ed9ad 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(11, 169, 137, 0.4), 0 1px 3px rgba(0, 0, 0, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}
.cta:hover::before {
  left: 100%;
}
.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(11, 169, 137, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}
.cta:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 12px rgba(11, 169, 137, 0.4);
}

.cta.secondary {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #1a1a1a;
  border: 2px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cta.secondary:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  padding: 0.75rem 1.5rem 0.75rem 0;
  font-weight: 700;
  transition: all 0.2s;
}

.cta-icon {
  width: 2rem;
  height: 2rem;
  margin-left: 1rem;
  fill: var(--brand);
}

/* ==================== FAQ SECTION ==================== */
.section.card[aria-labelledby="faq-rapidas"] p {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.7;
}
.section.card[aria-labelledby="faq-rapidas"] p:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.section.card[aria-labelledby="faq-rapidas"] p strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink2);
  margin-bottom: 0.5rem;
}

/* ==================== BLOG CARDS ==================== */
.grid.cols-3 .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.grid.cols-3 .card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.grid.cols-3 .card h3 a {
  color: var(--ink2);
  transition: color 0.2s;
}
.grid.cols-3 .card h3 a:hover {
  color: var(--brand);
}
.grid.cols-3 .card p {
  flex-grow: 1;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== UTILITIES ==================== */
.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #064e3b;
}

.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.tbl th,
.tbl td {
  padding: 10px 12px;
  border-bottom: 1px solid #f2f2f2;
}
.tbl th {
  background: #f9fafb;
  text-align: left;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 12px 0;
}

dt {
  font-weight: 600;
  color: var(--brand);
  margin-top: 1em;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
footer a {
  color: var(--muted);
  transition: color 0.2s;
}
footer a:hover {
  color: var(--brand);
}

/* ==================== PRODUCT PAGE (GALERÍA SIMPLE) ==================== */
.product-header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
  padding: 2rem 0;
}
.product-gallery {
  max-width: 500px;
  position: sticky;
  top: 100px;
}
.gallery-container {
  background: #f8f8f8;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Nota: esta galería usa display none/block */
.gallery-item {
  display: none;
  width: 100%;
}
.gallery-item.active {
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}
.thumb {
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s;
}
.thumb.active {
  border-color: var(--brand);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.product-info {
  display: flex;
  flex-direction: column;
}
.product-info h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}
.product-description {
  color: var(--ink2);
  font-size: 1.1rem;
  line-height: 1.6;
}

.product-purchase {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

input[type="number"] {
  width: 80px;
  padding: 8px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font: inherit;
  transition: all 0.2s;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"]:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 169, 137, 0.2);
}

/* ==================== MOBILE MENU ==================== */
.menu-toggle {
  display: none;
  border: none;
  background: none;
  width: 30px;
  height: 30px;
  padding: 0;
  position: relative;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: all 0.3s ease;
  left: 0;
}
.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle span::before {
  top: -8px;
}
.menu-toggle span::after {
  bottom: -8px;
}

/* ==================== TESTIMONIOS & DISCLAIMER ==================== */
.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}
.testimonial-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.before-after-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}
.testimonial-text {
  padding: 1.5rem;
}
.testimonial-text .timeframe {
  color: var(--brand);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
.testimonial-text blockquote {
  font-style: italic;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.6;
  border: 0;
  padding: 0;
}
.testimonial-text cite {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.disclaimer {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1.25rem;
  margin: 2rem 0;
  border-radius: 8px;
}
.disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #856404;
}

/* ==================== PDP DINÁMICO (GALERÍA CON FADE) ==================== */
.hero--product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0;
}

/* Galería principal */
.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease;
}
.gallery-item.active {
  opacity: 1;
}
.gallery-item img,
.gallery-item picture {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Thumbnails */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1rem;
}
.thumb {
  aspect-ratio: 1;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: all 200ms ease;
  overflow: hidden;
}
.thumb:hover,
.thumb[aria-selected="true"] {
  border-color: var(--brand);
  transform: scale(1.05);
}
.thumb img,
.thumb picture {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Purchase block */
.purchase-block {
  margin: 1rem 0;
}
.purchase-block .card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--brand);
  background: var(--brand-lighter);
}

.price-section {
  text-align: center;
}
.price-label {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-display {
  margin: 0.5rem 0 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
}
.price-display .currency {
  font-size: 1.8rem;
  margin: 0 4px;
}
.price-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #666;
}

/* Quantity selector */
.qty-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.qty-selector label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #000;
}
.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: fit-content;
  padding: 0.25rem;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #fff;
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  border-radius: 4px;
}
.qty-btn:hover {
  background: var(--brand-lighter);
}
.qty-controls input {
  width: 50px;
  text-align: center;
  border: 0;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.qty-controls input:focus {
  outline: 0;
}

/* CTA principal */
.cta--primary {
  background: linear-gradient(135deg, var(--brand) 0%, #0ed9ad 100%);
  color: #fff;
  width: 100%;
  justify-content: center;
}
.cta--primary:hover {
  transform: translateY(-3px) scale(1.02);
}
.cta-note {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

/* Trust signals */
.trust-signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.trust-item .icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--brand);
}
.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink2);
  margin-bottom: 0.25rem;
}
.trust-item p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Contenidos de producto */
.product-content {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

/* Ingredientes */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ingredient-card {
  padding: 1.25rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 200ms ease;
}
.ingredient-card:hover {
  border-color: var(--brand);
  background: var(--brand-lighter);
  transform: translateY(-2px);
}
.ingredient-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--brand-dark);
}
.ingredient-card p {
  margin: 0;
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Pasos/Notas */
.instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step {
  display: flex;
  gap: 1rem;
}
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 3px;
}
.step div {
  flex-grow: 1;
}
.step strong {
  color: var(--ink2);
  display: block;
  margin-bottom: 0.25rem;
}
.note {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #92400e;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid var(--brand);
}
.timeline-item strong {
  flex-shrink: 0;
  color: var(--brand-dark);
  min-width: 120px;
}
.timeline-item span {
  color: #666;
  line-height: 1.5;
}

/* FAQ list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-q {
  font-weight: 600;
  color: var(--brand-dark);
  margin: 0;
  font-size: 1rem;
}
.faq-a {
  margin: 0.5rem 0 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Video */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Disclaimer mini */
.disclaimer-box {
  border-radius: 4px;
}
.disclaimer-small {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* Link card (blog) */
.card-link {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: all 200ms ease;
  color: inherit;
  cursor: pointer;
}
.card-link:hover {
  border-color: var(--brand);
  background: var(--brand-lighter);
  transform: translateY(-2px);
}
.card-link h3 {
  margin: 0 0 0.5rem;
  color: var(--brand-dark);
  font-size: 1.1rem;
}
.card-link p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* ==================== CALLOUT BOXES ==================== */
.info-box,
.warning-box,
.success-box {
  padding: 20px;
  margin: 25px 0;
  border-radius: var(--radius);
  border-left: 5px solid;
}
.info-box {
  background: #e0f2fe;
  border-color: #0284c7;
}
.warning-box {
  background: #fef3c7;
  border-color: #f59e0b;
}
.success-box {
  background: var(--brand-lighter);
  border-color: var(--brand);
}

/* ==================== RESPONSIVE (≤768px) ==================== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .cta-text {
    display: none;
  }
  .cta-icon {
    display: inline;
  }

  /* Hero imagen arriba en mobile */
  .hero picture {
    order: -1;
    max-width: 100%;
    margin: 0 0 1.5rem;
  }
  .hero picture img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
  }

  body:not(:has(.product-header)) .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 0.75rem;
  }
  .hero > div > p:first-of-type,
  .hero > div > p:nth-of-type(2) {
    font-size: 1rem;
  }

  .hero ul {
    margin: 1.25rem 0;
    gap: 0.625rem;
  }
  .hero li {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .nav {
    padding: 0.75rem 0.75rem;
  }
  .menu-toggle {
    display: block;
    z-index: 100;
  }

  .nav .links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .nav.menu-open .links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav.menu-open .menu-toggle span {
    background: transparent;
  }
  .nav.menu-open .menu-toggle span::before {
    transform: rotate(45deg);
    top: 0;
  }
  .nav.menu-open .menu-toggle span::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .links a {
    padding: 0.75rem 1rem;
    text-align: left;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
  }
  .links a:hover {
    background: #f3f4f6;
    color: var(--ink);
  }
  .links a::after {
    display: none;
  }

  .section {
    margin: 0;
    padding: 0;
  }
  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .section h3 {
    font-size: 1.2rem;
  }

  .card {
    padding: 1.25rem;
  }
  .grid {
    gap: 1rem;
  }
  .grid.cols-2,
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .grid.cols-3 > div {
    padding: 1rem;
  }

  .hero > div > div[style*="margin-top:12px"] {
    flex-direction: column;
    margin-top: 1.25rem !important;
  }
  .hero .cta {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    margin-right: 0.375rem;
    margin-bottom: 0.375rem;
  }

  .section.card[aria-labelledby="faq-rapidas"] p {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .section.card[aria-labelledby="faq-rapidas"] p strong {
    font-size: 1.05rem;
  }

  footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
  }

  .product-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-gallery {
    position: static;
  }

  /* Enlaces “leer más” compactos */
  .section a[href^="/blog/"] {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  /* Testimonios compactos */
  .testimonials-grid {
    gap: 1.5rem;
  }
  .testimonial-text {
    padding: 1.25rem;
  }

  /* PDP dinámico */
  .product-info {
    margin-top: 1rem;
    gap: 0;
  }
  .hero--product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  .trust-signals {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .trust-item {
    padding: 0.75rem;
  }
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .price-display {
    font-size: 1.8rem;
  }
  .purchase-block .card {
    gap: 1rem;
    padding: 1.25rem;
  }
  .cta--primary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Figcaption */
  figcaption {
    font-size: 0.8rem;
  }
}

/* ====== video responsive ====== */
.video-block {
  margin: 1rem 0;
}

.video-block h2 {
  margin-bottom: 0.5rem;
}

.video-block p {
  margin-bottom: 0.5rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-transcript {
  margin: 0.5rem 0 0;
  max-width: 900px;
  margin-inline: auto;
}

.video-transcript details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #f8fafc;
}

.video-transcript summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
  position: relative;
  padding-right: 1.5rem;
}

.video-transcript summary::-webkit-details-marker {
  display: none;
}

/* Flechita */
.video-transcript summary::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.9rem;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.video-transcript details[open] summary::after {
  transform: rotate(-180deg);
}

.video-transcript .transcript-body {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.video-transcript .transcript-body p + p {
  margin-top: 0.5rem;
}
