/* =========================================================
   Ple&Bel — estilos compartidos
   Variables de marca, reset, tipografía, botones,
   header, nav, footer, acordeón y barra de compra fija.
   Enfoque mobile-first: 640 / 1024 / 1280 px.
   ========================================================= */

:root {
  /* Paleta de marca (manual Ple&Bel) */
  --brand: oklch(0.42 0.19 305);       /* #662d91 */
  --brand-deep: oklch(0.29 0.16 303);  /* #410675 */
  --mint: oklch(0.85 0.16 163);        /* #58e09e */
  --aqua: oklch(0.84 0.13 197);        /* #0ae4ee */
  --gold: oklch(0.93 0.13 103);        /* #f5ec75 */
  --cream: oklch(0.95 0.03 62);        /* #ffe6cf */

  --bg: oklch(0.995 0.002 310);
  --fg: oklch(0.23 0.025 305);
  --card: oklch(1 0 0);
  --primary: var(--brand);
  --on-dark: oklch(0.99 0.005 320);
  --secondary: oklch(0.96 0.02 310);
  --muted-fg: oklch(0.47 0.025 303);
  --accent: var(--gold);
  --accent-fg: var(--brand-deep);
  --border: oklch(0.91 0.02 310);
  --hero-scrim: oklch(0.19 0.06 305);

  /* Tipografía */
  --font: "Montserrat", ui-sans-serif, system-ui, sans-serif;

  /* Espaciado, radios y sombras */
  --gutter: 1.25rem;
  --section-y: 4rem;
  --max-w: 80rem;
  --radius: 0.625rem;
  --shadow-soft: 0 18px 50px -24px color-mix(in oklab, var(--brand-deep) 55%, transparent);
  --header-h: 5rem;

    interpolate-size: allow-keywords;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.4rem; /* espacio para la barra fija */
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* ---------- Tipografía global ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 4vw, 1.875rem); }
h3 { font-size: 1.125rem; }
p, li { text-wrap: pretty; }
blockquote, figcaption, summary { text-wrap: balance; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--primary); }
.eyebrow-mint { color: var(--mint); }
.muted { color: var(--muted-fg); }
.small { font-size: 0.75rem; }
.rounded { border-radius: var(--radius); }
.tag { border-radius: 0.25rem; background: var(--accent); color: var(--accent-fg); padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; }
.icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.25rem;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 0.875rem; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-lg { min-height: 3rem; }
.btn-block { width: 100%; }
.btn-brand { background: var(--primary); color: var(--on-dark); }
.btn-brand:hover { background: var(--brand-deep); }
.btn-outline { border-color: var(--border); background: var(--card); color: var(--brand-deep); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--on-dark); color: var(--brand-deep); }
.btn-light:hover { background: var(--gold); }
.btn-glass { border-color: color-mix(in oklab, var(--on-dark) 40%, transparent); color: var(--on-dark); backdrop-filter: blur(6px); }
.btn-glass:hover { background: color-mix(in oklab, var(--on-dark) 20%, transparent); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header y navegación ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: color-mix(in oklab, var(--bg) 95%, transparent);
  backdrop-filter: blur(12px);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.header-logo img { height: 4rem; width: auto; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-desktop { display: none; }
.nav-desktop a { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: color .2s; }
.nav-desktop a:hover { color: var(--primary); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); }
.nav-toggle .icon { width: 1.25rem; height: 1.25rem; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
.nav-mobile { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding: 0.75rem var(--gutter) 1rem; }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { display: flex; align-items: center; min-height: 2.75rem; font-size: 0.875rem; font-weight: 500; }
.only-tablet-up { display: none; }

/* ---------- Acordeón (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item::details-content { opacity: 0; block-size: 0; overflow-y: clip; transition: opacity 0.3s ease, block-size 0.2s ease, content-visibility 0.3s ease allow-discrete; }
.accordion-item[open]::details-content { opacity: 1; block-size: auto; }
.accordion-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 2.75rem; padding-block: 1.25rem; cursor: pointer; list-style: none;
  font-size: 0.875rem; font-weight: 500;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary:hover { text-decoration: underline; }
.accordion-chevron { transition: transform .2s; color: var(--muted-fg); }
.accordion-item[open] .accordion-chevron { transform: rotate(180deg); }
.accordion-item p { padding-bottom: 1.25rem; font-size: 0.875rem; color: var(--muted-fg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: var(--on-dark); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 4rem; }
.footer-logo { height: 6rem; width: auto; border-radius: 0.375rem; background: var(--bg); padding: 0.5rem; }
.footer-tagline { margin-top: 0.5rem; font-size: 0.875rem; opacity: .8; }
.footer-note { margin-top: 1.25rem; font-size: 0.75rem; opacity: .7; }
.footer-title { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.footer-list { margin-top: 1rem; display: grid; gap: 0.25rem; font-size: 0.875rem; overflow-wrap: anywhere; }
.footer-list li { opacity: .85; }
.footer-list a { display: inline-flex; align-items: center; }
.footer-list a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--on-dark) 15%, transparent); padding: 1.25rem var(--gutter); text-align: center; font-size: 0.75rem; opacity: .65; }

/* ---------- Barra fija de compra ---------- */
.sticky-buy {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(12px);
  transform: translateY(100%); transition: transform .3s ease;
}
.sticky-buy.is-visible { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.sticky-info { min-width: 0; }
.sticky-title { font-size: 0.875rem; color: var(--muted-fg); overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sticky-price { display: flex; align-items: baseline; gap: 0.5rem; }
.sticky-price strong { font-size: 0.875rem; color: var(--primary); }
.sticky-price s { font-size: 0.75rem; color: var(--muted-fg); }
.sticky-buy .btn { flex-shrink: 0; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .only-mobile { display: none; }
  .only-tablet-up { display: inline; }
}
@media (min-width: 768px) {
  :root { --section-y: 4rem; }
  .nav-desktop { display: flex; gap: 1.75rem; }
  .nav-toggle, .nav-mobile { display: none !important; }
  .footer-grid { grid-template-columns: 1.1fr 0.8fr 1.1fr; }
}
/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 2.5rem; --header-h: 5rem; }
  .header-logo img { height: 4rem; }
}
/* ---------- Desktop grande ---------- */
/*@media (min-width: 1280px) {
  .sticky-buy { display: none; }
  body { padding-bottom: 0; }
}*/

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.trust{border-bottom:1px solid var(--border)}
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem 1.25rem;padding-block:2rem}
.trust-item{display:flex;gap:.75rem;align-items:flex-start}
.trust-icon{width:1.5rem;height:1.5rem;color:var(--primary);margin-top:.125rem}
.trust-title{font-size:.875rem;font-weight:600}
.trust-text{margin-top:.25rem;font-size:.75rem;color:var(--muted-fg)}
@media (min-width:1024px){.trust-grid{grid-template-columns:repeat(4,1fr)}}