:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --text-2xl: clamp(2.25rem, 1.3rem + 3vw, 4rem);
  --text-hero: clamp(2.75rem, 1rem + 5.2vw, 6rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #f6f1ea;
  --color-surface: #fbf8f3;
  --color-surface-2: #ffffff;
  --color-surface-offset: #ece3d8;
  --color-sand: #cdbba7;
  --color-divider: oklch(0.3 0.02 60 / 0.12);
  --color-border: oklch(0.3 0.02 60 / 0.18);
  --color-text: #1e1915;
  --color-text-muted: #675d54;
  --color-text-faint: #9a8f85;
  --color-text-inverse: #f6f1ea;
  --color-primary: #1e1915;
  --color-primary-hover: #3b3129;
  --color-accent: #8a6748;
  --color-wa: #1f6f4a;

  --radius-sm: .25rem; --radius-md: .5rem; --radius-lg: .75rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-md: 0 6px 24px oklch(0.3 0.03 60 / 0.10);
  --content-narrow: 680px; --content-default: 1040px; --content-wide: 1280px;

  --font-display: 'Cormorant', 'Times New Roman', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
  --gutter: clamp(var(--space-5), 4vw, var(--space-12));
}

body { background: var(--color-bg); }
a { color: inherit; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 100; background: var(--color-text); color: var(--color-bg); padding: var(--space-3) var(--space-4); }

.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--content-narrow) + 2 * var(--gutter)); }

/* Type */
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; }
h1.display { font-size: var(--text-hero); }
.h-page { font-size: var(--text-2xl); }
h2.display { font-size: var(--text-xl); line-height: 1.08; }
.display em { font-style: italic; font-weight: 400; }
h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.eyebrow { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.lead { font-size: var(--text-base); color: var(--color-text-muted); max-width: 56ch; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-xs); color: var(--color-text-muted); }
p + p { margin-top: var(--space-4); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: oklch(0.96 0.012 75 / 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--transition-interactive); }
.header.is-scrolled { border-bottom-color: var(--color-divider); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 72px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a { font-size: var(--text-sm); text-decoration: none; color: var(--color-text-muted); padding-block: var(--space-2); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
.nav .btn--primary, .nav .btn--primary:hover { color: var(--color-text-inverse); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 1.5px; background: var(--color-text); position: relative; transition: transform var(--transition-interactive); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--ghost { border-color: var(--color-border); color: var(--color-text); }
.btn--ghost:hover { border-color: var(--color-text); }
.btn--sm { min-height: 44px; padding: var(--space-2) var(--space-5); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link { font-size: var(--text-sm); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--color-border); padding-bottom: 2px; }
.link:hover { border-color: var(--color-text); }

/* Hero */
.hero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) clamp(var(--space-16), 8vw, var(--space-24)); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.hero h1 { margin-block: var(--space-5) var(--space-6); }
.hero .lead { margin-bottom: var(--space-8); }
.hero__media { position: relative; display: grid; grid-template-columns: 1fr .62fr; grid-template-rows: auto auto; gap: var(--space-3); }
.hero__media figure { overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-offset); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__main { grid-row: span 2; aspect-ratio: 4/5.2; }
.hero__side { aspect-ratio: 1; }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.facts div { font-size: var(--text-xs); color: var(--color-text-muted); }
.facts strong { display: block; color: var(--color-text); font-size: var(--text-sm); font-weight: 600; }
.facts a { text-decoration: none; }

/* Sections */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--sand { background: var(--color-surface-offset); }
.section--dark { background: var(--color-text); color: var(--color-text-inverse); }
.section--dark .muted, .section--dark .lead, .section--dark .small { color: oklch(0.85 0.02 75); }
.section--dark .eyebrow { color: var(--color-sand); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: end; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.sec-head h2 { margin-top: var(--space-3); }

/* Treatment grid (asymmetric) */
.tgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.tcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--radius-md); overflow: hidden; text-decoration: none; background: var(--color-surface); border: 1px solid var(--color-divider); }
.tcard--img { color: #fff; border: 0; }
.tcard--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); }
.tcard--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.15 0.01 60 / 0.78), oklch(0.15 0.01 60 / 0) 60%); }
.tcard:hover img { transform: scale(1.03); }
.tcard__body { position: relative; z-index: 1; padding: var(--space-6); }
.tcard__body h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.05; }
.tcard__body p { font-size: var(--text-sm); margin-top: var(--space-2); opacity: .9; }
.tcard--plain .tcard__body p { color: var(--color-text-muted); opacity: 1; }
.tcard .arrow { display: inline-block; margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 500; }
.span-4 { grid-column: span 4; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; }
.tall { min-height: 460px; }

/* Results */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.result { margin: 0; }
.result img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md); background: var(--color-surface-offset); }
.result figcaption { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.section--dark .result figcaption { color: oklch(0.8 0.02 75); }
.disclaimer { margin-top: var(--space-8); font-size: var(--text-xs); max-width: 80ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--color-border); counter-reset: s; }
.step { padding: var(--space-8) var(--space-6) var(--space-6) 0; border-right: 1px solid var(--color-divider); }
.step + .step { padding-left: var(--space-6); }
.step:last-child { border-right: 0; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-accent); margin-bottom: var(--space-4); }
.step p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.doc { margin: 0; }
.doc img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-md); background: var(--color-surface-offset); }
.doc h3 { margin-top: var(--space-4); font-size: var(--text-base); }
.doc p { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-24)); align-items: center; }
.split--rev > :first-child { order: 2; }
.split figure { margin: 0; overflow: hidden; border-radius: var(--radius-md); }
.split figure img { width: 100%; object-fit: cover; }
.split h2 { margin-block: var(--space-3) var(--space-6); }

.list { list-style: none; border-top: 1px solid var(--color-divider); margin-top: var(--space-6); }
.list li { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); max-width: none; }
.list li span:first-child { flex: none; white-space: nowrap; font-weight: 500; }
.list li span:last-child { color: var(--color-text-muted); text-align: right; }
.section--dark .list li, .section--dark .list { border-color: oklch(1 0 0 / 0.14); }

/* Reviews */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.score { padding: var(--space-8); background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-divider); text-decoration: none; display: block; }
.score:hover { border-color: var(--color-border); }
.score b { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; line-height: 1; display: block; }
.score span { font-size: var(--text-sm); color: var(--color-text-muted); display: block; margin-top: var(--space-2); }

/* CTA band */
.cta { text-align: left; }
.cta__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-10); align-items: end; }
.cta h2 { font-size: var(--text-2xl); }
.cta .btn--primary { background: var(--color-text-inverse); color: var(--color-text); }
.cta .btn--primary:hover { background: #fff; }
.cta .btn--ghost { color: var(--color-text-inverse); border-color: oklch(1 0 0 / 0.3); }
.cta .btn--ghost:hover { border-color: var(--color-text-inverse); }
.cta .btn-row { justify-content: flex-end; }

/* Page hero */
.phero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) clamp(var(--space-10), 5vw, var(--space-16)); }
.phero h1 { margin-block: var(--space-4) var(--space-5); }
.phero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.phero__grid figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.phero__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.crumbs { font-size: var(--text-xs); color: var(--color-text-muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-10); }
.keyfacts div { padding: var(--space-5); border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.keyfacts dt { font-size: var(--text-xs); color: var(--color-text-muted); }
.keyfacts dd { font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-1); }

.prose h2 { margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h3 { margin-top: var(--space-8); margin-bottom: var(--space-2); font-size: var(--text-base); }
.prose p, .prose li { color: var(--color-text-muted); }
.prose ul { padding-left: var(--space-5); margin-top: var(--space-3); }
.prose li + li { margin-top: var(--space-2); }

/* FAQ */
.faq { border-top: 1px solid var(--color-divider); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1; transition: transform var(--transition-interactive); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-5); color: var(--color-text-muted); }

/* Catalogue */
.cat { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-10); padding-block: var(--space-10); border-top: 1px solid var(--color-divider); }
.cat h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.05; }
.cat ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-8); }
.cat li { border-bottom: 1px solid var(--color-divider); max-width: none; }
.cat li a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 52px; text-decoration: none; font-size: var(--text-sm); }
.cat li a:hover { color: var(--color-accent); }
.cat li a .tag { font-size: var(--text-xs); color: var(--color-accent); }

/* Form */
.form { display: grid; gap: var(--space-5); padding: clamp(var(--space-6), 4vw, var(--space-10)); background: var(--color-surface-2); border-radius: var(--radius-lg); border: 1px solid var(--color-divider); box-shadow: var(--shadow-md); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field label { display: block; font-size: var(--text-xs); font-weight: 600; margin-bottom: var(--space-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); font-size: var(--text-base); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-text); outline-offset: 1px; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); cursor: pointer; transition: all var(--transition-interactive); }
.chips input:checked + span { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.chips input:focus-visible + span { outline: 2px solid var(--color-text); outline-offset: 2px; }
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-xs); color: var(--color-text-muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--color-text); }
.form-error { color: #9b2c2c; font-size: var(--text-xs); min-height: 1em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; }
.info dl { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.info dt { font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: .1em; text-transform: uppercase; }
.info dd { margin-top: var(--space-1); }
.info dd a { text-decoration: none; border-bottom: 1px solid var(--color-border); }

/* Footer */
.footer { background: var(--color-text); color: oklch(0.85 0.02 75); padding-block: var(--space-16) var(--space-8); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer img { height: 24px; width: auto; filter: invert(1) brightness(1.1); opacity: .95; }
.footer h4 { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-sand); margin-bottom: var(--space-4); font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: var(--space-2); }
.footer a { text-decoration: none; } .footer a:hover { color: #fff; }
.footer__legal { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid oklch(1 0 0 / 0.12); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); justify-content: space-between; font-size: var(--text-xs); color: oklch(0.72 0.02 75); }
.footer__legal p { max-width: none; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 60; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 52px; padding: 0 var(--space-5); border-radius: var(--radius-full); background: var(--color-wa); color: #fff; text-decoration: none; font-size: var(--text-sm); font-weight: 500; box-shadow: 0 8px 24px oklch(0.3 0.08 160 / 0.35); }
.wa-float:hover { background: #185c3d; }
.wa-float svg { width: 22px; height: 22px; }

/* Reveal */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-4) var(--gutter) var(--space-8); background: var(--color-bg); border-bottom: 1px solid var(--color-divider); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--transition-interactive), transform var(--transition-interactive), visibility var(--transition-interactive); }
  .nav a { font-size: var(--text-base); padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: var(--space-5); border-bottom: 0; }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .header.is-open .menu-btn span { background: transparent; }
  .header.is-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .header.is-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { max-height: calc(100dvh - 72px); overflow-y: auto; }
}
@media (max-width: 1024px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__grid, .phero__grid, .split, .sec-head, .cta__in, .contact-grid, .cat { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .sec-head { gap: var(--space-4); }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .span-4, .span-3 { grid-column: span 2; } .span-2 { grid-column: span 1; }
  .tall { min-height: 380px; }
  .scores { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .cat { gap: var(--space-4); }
}
@media (max-width: 560px) {
  .tgrid { grid-template-columns: 1fr; }
  .span-2, .span-4, .span-3 { grid-column: span 1; }
  .tcard { min-height: 260px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--color-divider); }
  .cat ul { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .hero__media { grid-template-columns: 1fr .7fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ===== v2: precios, casos, tienda ===== */
.result--w { grid-column: span 2; }
.result--w img { aspect-ratio: 1212/600; }
.result--s img { aspect-ratio: 1; }
.price-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); width: fit-content; max-width: 100%; }
.price-tag strong { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1; }
.price-tag span { font-size: var(--text-xs); color: var(--color-text-muted); }
.phero__grid figure.is-wide img { aspect-ratio: 1212/600; }
.note { margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border-left: 2px solid var(--color-accent); background: var(--color-surface); font-size: var(--text-sm); color: var(--color-text-muted); }

.catnav { position: sticky; top: 72px; z-index: 40; background: oklch(0.96 0.012 75 / 0.94); backdrop-filter: blur(10px); border-block: 1px solid var(--color-divider); }
.catnav__in { display: flex; gap: var(--space-2); overflow-x: auto; padding-block: var(--space-3); scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav a { flex: none; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding-inline: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.catnav a:hover { border-color: var(--color-text); }
.catnav a span { font-size: var(--text-xs); color: var(--color-text-faint); }
.tcat { padding-block: var(--space-12); border-top: 1px solid var(--color-divider); scroll-margin-top: 140px; }
.tcat:first-child { border-top: 0; padding-top: var(--space-4); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--space-4); }
.pgrid--5 { grid-template-columns: repeat(5, 1fr); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; text-decoration: none; color: var(--color-text); transition: border-color var(--transition-interactive), transform var(--transition-interactive); }
.pcard:hover { border-color: var(--color-text); }
.pcard__img { aspect-ratio: 4/3; overflow: hidden; background: var(--color-surface-offset); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); flex: 1; }
.pcard--plain .pcard__body { padding-top: var(--space-6); }
.pcard__tag { align-self: flex-start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--color-accent); }
.pcard h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.1; }
.pcard p { font-size: var(--text-sm); color: var(--color-text-muted); }
.pcard__foot { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-divider); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); }
.pcard__price { font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.pcard__unit { font-size: var(--text-xs); color: var(--color-text-faint); }

.btn--light { background: var(--color-bg); color: var(--color-text); }
.btn--light:hover { background: #fff; }
.shop-teaser { display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; }

.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.prod { display: flex; flex-direction: column; border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; scroll-margin-top: 100px; }
.prod:target { border-color: var(--color-accent); box-shadow: 0 0 0 3px oklch(0.55 0.06 60 / 0.18); }
.prod__media { aspect-ratio: 16/10; background: var(--color-surface-offset); overflow: hidden; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; }
.prod__media--gift { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); background: linear-gradient(135deg, #1e1915, #3b3129); color: var(--color-sand); }
.prod__media--gift img { width: 58%; height: auto; object-fit: contain; filter: invert(1) sepia(.35) brightness(1.05); }
.prod__media--gift span { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; }
.prod__media--type { display: flex; align-items: flex-end; padding: var(--space-6); background: linear-gradient(160deg, var(--color-surface-offset), var(--color-sand)); }
.prod__media--type span { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; color: var(--color-text); }
.prod__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); flex: 1; }
.prod__body h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.1; }
.prod__body .muted { font-size: var(--text-sm); }
.prod__foot { margin-top: auto; padding-top: var(--space-5); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.prod__price { font-weight: 600; font-size: var(--text-base); }
.prod__price s { font-weight: 400; font-size: var(--text-sm); color: var(--color-text-faint); margin-left: var(--space-1); }
.prod__sel select { min-height: 44px; padding: 0 var(--space-8) 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); font-weight: 600; }
.prod .link { align-self: flex-start; margin-top: var(--space-3); }

.cart-fab { position: fixed; right: var(--space-5); bottom: 92px; z-index: 60; display: inline-flex; align-items: center; gap: var(--space-3); min-height: 52px; padding-inline: var(--space-5); border-radius: var(--radius-full); background: var(--color-text); color: var(--color-bg); font-size: var(--text-sm); font-weight: 500; box-shadow: 0 8px 24px oklch(0.2 0.02 60 / 0.25); }
.cart-fab b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--color-bg); color: var(--color-text); font-size: var(--text-xs); }
.cart { position: fixed; inset: 0; z-index: 90; background: oklch(0.15 0.01 60 / 0.45); display: flex; justify-content: flex-end; }
.cart[hidden] { display: none; }
.cart__panel { width: min(440px, 100%); height: 100%; overflow-y: auto; background: var(--color-bg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.cart__head { display: flex; justify-content: space-between; align-items: center; }
.cart__x { width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.cart__list { list-style: none; border-top: 1px solid var(--color-divider); }
.cart__list li { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); max-width: none; }
.cart__list .qty { display: inline-flex; align-items: center; gap: var(--space-2); }
.cart__list .qty button { width: 32px; height: 32px; border: 1px solid var(--color-border); border-radius: 50%; }
.cart__list .rm { font-size: var(--text-xs); color: var(--color-text-muted); text-decoration: underline; justify-self: end; }
.cart__total { display: flex; justify-content: space-between; font-size: var(--text-base); }
.cart__foot { display: flex; flex-direction: column; gap: var(--space-4); }
.cart__foot[hidden] { display: none; }

@media (max-width: 1180px) { .pgrid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .shop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .shop-teaser { grid-template-columns: 1fr; } .pgrid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop { grid-template-columns: 1fr; } .pgrid, .pgrid--5 { grid-template-columns: 1fr; } .price-tag strong { font-size: var(--text-lg); } .cart-fab { bottom: 84px; right: var(--space-4); } }
.pcard__img--type { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-1); padding: var(--space-5); background: linear-gradient(155deg, var(--color-surface-offset) 0%, var(--color-sand) 100%); }
.pcard__img--type b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1; color: var(--color-text); }
.pcard__img--type span { font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: .04em; }
.pgrid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pcard__img--type b { font-size: var(--text-lg); }
@media (max-width: 560px) {
  .pcard { flex-direction: row; }
  .pcard__img { flex: none; width: 112px; aspect-ratio: auto; }
  .pcard__img--type { display: none; }
  .pcard__body { padding: var(--space-4); }
  .pcard p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard__foot { padding-top: var(--space-3); }
}
.cart-fab[hidden] { display: none; }

/* ===== v3: blog y empleo ===== */
.pgrid--posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card h3 { font-size: var(--text-lg); }
.post-hero { margin: var(--space-10) 0 0; border-radius: var(--radius-md); overflow: hidden; }
.post-hero img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.toc { margin-block: var(--space-8) var(--space-10); padding: var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.toc ol { margin-top: var(--space-3); padding-left: var(--space-5); }
.toc li { font-size: var(--text-sm); margin-top: var(--space-2); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2[id] { scroll-margin-top: 100px; }
.post-box { margin-block: var(--space-12); padding: var(--space-8); border-radius: var(--radius-md); background: var(--color-surface-offset); }
.post-box h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-top: var(--space-2); }
.post-box .btn-row { flex-wrap: wrap; }
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.job { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); scroll-margin-top: 100px; }
.job__head { display: flex; justify-content: space-between; gap: var(--space-4); align-items: flex-start; }
.job h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.1; }
.job__tag { flex: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--color-wa); border: 1px solid currentColor; border-radius: var(--radius-full); padding: 4px 10px; }
.job details summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.job ul { padding-left: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.job li + li { margin-top: var(--space-2); }
.job .btn-row { margin-top: auto; }
@media (max-width: 860px) { .jobs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pgrid--posts .pcard { flex-direction: column; } .pgrid--posts .pcard__img { width: 100%; aspect-ratio: 16/9; } .job__head { flex-direction: column; } .post-box { padding: var(--space-6); } }
.phero h1.post-title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; }

/* ===== v4: equipo ampliado ===== */
.mono { width: 100%; aspect-ratio: 4/5; display: grid; place-items: center; border-radius: var(--radius-md); background: linear-gradient(160deg, #ece3d8 0%, #d9c9b6 100%); color: var(--color-accent, #8a6748); }
.mono span { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 400; letter-spacing: .04em; line-height: 1; }
.mono--sm { width: 120px; height: 120px; aspect-ratio: 1; border-radius: 50%; flex: none; }
.mono--sm span { font-size: 2.6rem; }
.staff { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.staffcard { display: flex; gap: var(--space-6); align-items: flex-start; padding: var(--space-6); background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-divider); }
.staffcard > img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.staffcard h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.1; }
.staffcard__role { font-weight: 600; font-size: var(--text-sm); margin-top: var(--space-1); }
.staffcard .muted { font-size: var(--text-sm); margin-top: var(--space-3); }
@media (max-width: 860px) { .staff { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .staffcard { flex-direction: column; } .mono--sm, .staffcard > img { width: 96px; height: 96px; } .mono--sm span { font-size: 2rem; } }

/* ===== v5: fotos de casos completas ===== */
.pcard__img--wide img { object-fit: contain; }
@media (max-width: 560px) {
  .pcard, .pgrid--posts .pcard { flex-direction: column; }
  .pcard__img, .pgrid--posts .pcard__img { width: 100%; aspect-ratio: var(--ar, 16/9); max-height: 340px; }
  .pcard__img img { object-fit: cover; }
  .pcard__img--wide img { object-fit: cover; }
}

/* ===== v5: vídeos ===== */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.vgrid--1 { grid-template-columns: minmax(0, 340px); }
.vgrid--2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.vcard { margin: 0; }
.vcard__media { aspect-ratio: 9/16; border-radius: var(--radius-md); overflow: hidden; background: var(--color-text); }
.vcard video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard figcaption { margin-top: var(--space-3); display: flex; flex-direction: column; gap: 2px; }
.vcard figcaption b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.1; }
.vcard figcaption span { font-size: var(--text-xs); color: var(--color-text-muted); }
@media (max-width: 860px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .vgrid, .vgrid--2 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: var(--space-3); margin-inline: calc(-1 * var(--gutter, 20px)); padding-inline: var(--gutter, 20px); }
  .vcard { scroll-snap-align: start; }
  .vgrid--1 { grid-template-columns: 1fr; }
}
.vgrid--6 { grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.vgrid--6 .vcard figcaption b { font-size: var(--text-base); }
@media (max-width: 1199px) and (min-width: 861px) { .vgrid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) and (min-width: 561px) { .vgrid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .vgrid--6 { grid-template-columns: none; } }

/* ===== v6: vídeo YouTube bajo demanda ===== */
.yt { margin: var(--space-8) 0; }
.yt__btn, .yt iframe { display: block; position: relative; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--color-text); cursor: pointer; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out, ease); }
.yt__btn:hover img { transform: scale(1.02); }
.yt__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,241,234,.92); color: var(--color-text); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.yt__btn:focus-visible { outline: 2px solid var(--color-accent, #8a6748); outline-offset: 3px; }
.yt figcaption { margin-top: var(--space-3); display: flex; flex-direction: column; gap: 2px; }
.yt figcaption b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); }
.yt figcaption span { font-size: var(--text-xs); color: var(--color-text-muted); }
/* v7 fotos propias: encuadre superior */
img[src*="exomind-sesion"] { object-position: center 20%; }
.post-hero img[src*="exomind-sesion"] { object-position: center 64%; }

.vpair { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.vpair .yt { margin: 0; }
@media (max-width: 760px) { .vpair { grid-template-columns: 1fr; } .vpair .vcard { max-width: 340px; width: 100%; margin-inline: auto; } }
.vpair--3 { grid-template-columns: minmax(0, 260px) minmax(0, 260px) minmax(0, 1fr); gap: var(--space-6); }
@media (max-width: 960px) { .vpair--3 { grid-template-columns: 1fr 1fr; } .vpair--3 .yt { grid-column: 1 / -1; } .vpair--3 .vcard { max-width: none; } }
.vgrid--3 { grid-template-columns: repeat(3, minmax(0, 300px)); }
@media (max-width: 860px) and (min-width: 561px) { .vgrid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .vgrid--3 { grid-template-columns: none; } }
@media (min-width: 1200px) { .vgrid--7 { grid-template-columns: repeat(7, 1fr); gap: var(--space-3); } .vgrid--7 .vcard figcaption b { font-size: var(--text-sm); } }
@media (max-width: 1199px) and (min-width: 561px) { .vgrid--7 { grid-template-columns: repeat(4, 1fr); } }

/* Tienda: buscador, filtros y fichas compactas */
.shop-tools { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-divider); }
.shop-search { max-width: 520px; }
.shop-search input { width: 100%; }
.shop-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 860px) { .shop-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--space-2); margin-inline: calc(-1 * var(--space-5)); padding-inline: var(--space-5); scrollbar-width: none; } .chip { flex: 0 0 auto; width: auto; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding-inline: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); font-size: var(--text-sm); white-space: nowrap; color: var(--color-text); }
.chip span { font-size: var(--text-xs); color: var(--color-text-muted); }
.chip.is-on { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.chip.is-on span { color: inherit; opacity: .75; }
.shop-count { font-size: var(--text-sm); }
.shop__group { grid-column: 1 / -1; font-size: var(--text-xl); margin-top: var(--space-8); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-divider); }
.shop__group:first-child { margin-top: 0; }
.shop__group span { font-family: var(--font-body, inherit); font-size: var(--text-sm); color: var(--color-text-muted); margin-left: var(--space-2); }
.shop__group[hidden], .prod[hidden] { display: none; }
.shop__none { grid-column: 1 / -1; }
.prod--compact .prod__body { padding: var(--space-5); }
.prod__more { font-size: var(--text-sm); border-top: 1px solid var(--color-divider); padding-top: var(--space-2); margin-top: var(--space-2); }
.prod__more summary { cursor: pointer; font-weight: 500; min-height: 32px; display: flex; align-items: center; }
.prod__more p { color: var(--color-text-muted); margin-top: var(--space-2); }
.shop .prod, .shop__group { scroll-margin-top: 100px; }
.prod__more summary { list-style: none; justify-content: space-between; }
.prod__more summary::-webkit-details-marker { display: none; }
.prod__more summary::after { content: "+"; font-size: var(--text-lg); line-height: 1; color: var(--color-text-muted); }
.prod__more[open] summary::after { content: "−"; }
/* Fotos de producto en la tienda */
.prod__media--product { aspect-ratio: 4/3; background: #fff; border-bottom: 1px solid var(--color-divider); display: flex; align-items: center; justify-content: center; }
.prod__media--product img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-3); }
.prod--compact .prod__media--type { aspect-ratio: auto; min-height: 88px; padding: var(--space-4) var(--space-5); }
.prod--compact .prod__media--type span { font-size: var(--text-base); }
.prod--compact .prod__media:not(.prod__media--product):not(.prod__media--type) { aspect-ratio: 16/9; }
.prod__media--nophoto { padding: var(--space-6); text-align: center; background: linear-gradient(160deg, #fff, var(--color-surface-offset)); }
.prod__media--nophoto span { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.15; color: var(--color-text-muted, #6b6159); }

/* ===== Protocolos Leben ===== */
button.link { background: none; border: 0; border-bottom: 1px solid var(--color-border); padding: 0 0 2px; cursor: pointer; color: inherit; font: inherit; font-size: inherit; }
.pro-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.pro-hero__img { margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; background: var(--color-surface-offset); }
.pro-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: var(--space-8) var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); scroll-margin-top: 110px; }
.tier--hi { border-color: var(--color-text); box-shadow: 0 18px 40px oklch(0.2 0.02 60 / 0.10); }
.tier__tag { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.tier--hi .tier__tag { color: var(--color-text); }
.tier h3 { font-size: var(--text-xl); margin-top: var(--space-2); }
.tier__price { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); line-height: 1; margin-top: var(--space-5); }
.tier__value { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.tier__fin { font-size: var(--text-sm); margin-top: var(--space-3); }
.tier h4 { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-top: var(--space-6); font-weight: 600; }
.tier__list { list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.tier__list li { padding: var(--space-2) 0; border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); font-weight: 500; }
.tier__spec { display: grid; gap: var(--space-3); margin: var(--space-5) 0 0; }
.tier__spec div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--space-3); font-size: var(--text-sm); }
.tier__spec dt { color: var(--color-text-muted); }
.tier__spec dd { margin: 0; }
.tier__cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: auto; padding-top: var(--space-6); }
.tier__cta .btn { width: 100%; justify-content: center; padding-inline: var(--space-3); }
.tier__book { display: block; text-align: center; margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 500; }
.tier__up { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--color-surface-offset); font-size: var(--text-xs); color: var(--color-text-muted); }
.ctable-wrap { overflow-x: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.ctable { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 640px; }
.ctable th, .ctable td { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-divider); }
.ctable thead th { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; background: var(--color-surface-offset); }
.ctable thead th span { display: block; font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }
.ctable thead th a { text-decoration: none; border-bottom: 1px solid var(--color-border); }
.ctable tbody th { font-weight: 500; color: var(--color-text-muted); width: 22%; }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }
.addons { display: grid; gap: var(--space-3); }
.addon { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.addon h3 { font-size: var(--text-sm); font-weight: 600; }
.addon p { margin-top: var(--space-1); }
.addon__foot { display: flex; align-items: center; gap: var(--space-3); }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.mini { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-5); border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); text-decoration: none; transition: border-color var(--transition-interactive); }
.mini:hover { border-color: var(--color-text); }
.mini b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.mini > span:last-child { font-size: var(--text-sm); color: var(--color-text-muted); }
.protos { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.proto { display: grid; grid-template-columns: 260px 1fr; border: 1px solid var(--color-divider); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); text-decoration: none; transition: border-color var(--transition-interactive); }
.proto[hidden] { display: none; }
.proto:hover { border-color: var(--color-text); }
.proto__img { background: var(--color-surface-offset); }
.proto__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.proto__body { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.proto__body h3 { font-size: var(--text-xl); }
.proto__body .link { align-self: flex-start; margin-top: auto; }
.ladder { list-style: none; padding: 0; margin: var(--space-2) 0 var(--space-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.ladder li { padding: var(--space-3) var(--space-4); border: 1px solid var(--color-divider); border-radius: var(--radius-sm); display: flex; flex-direction: column; font-size: var(--text-xs); color: var(--color-text-muted); }
.ladder li b { font-size: var(--text-base); color: var(--color-text); font-weight: 600; margin-top: 2px; }
.ladder li:nth-child(2) { border-color: var(--color-text); }
.ladder-all { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-border); }
.ladder-all a { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); text-decoration: none; font-size: var(--text-sm); }
.ladder-all b { font-weight: 600; white-space: nowrap; }
.goal-chips { margin-bottom: var(--space-2); }
.rec { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border: 1px solid var(--color-text); border-radius: var(--radius-md); background: var(--color-surface); font-size: var(--text-sm); }
.rec[hidden] { display: none; }
/* Financiación */
.fin__m { border: 0; padding: 0; margin: var(--space-6) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.fin__m legend { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.fin__m label { position: relative; }
.fin__m input { position: absolute; opacity: 0; }
.fin__m span { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: var(--text-sm); cursor: pointer; }
.fin__m input:checked + span { border-color: var(--color-text); background: var(--color-text); color: var(--color-bg); }
.fin__m input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.fin__out { display: flex; justify-content: space-between; align-items: baseline; margin: var(--space-6) 0 var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.fin__out b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; }
.fin .btn { width: 100%; justify-content: center; margin-top: var(--space-5); }
/* Diagnóstico */
.qz { padding: var(--space-8); border: 1px solid var(--color-divider); border-radius: var(--radius-md); background: var(--color-surface); }
.qz__bar { height: 3px; background: var(--color-divider); border-radius: 2px; overflow: hidden; margin-bottom: var(--space-3); }
.qz__bar span { display: block; height: 100%; background: var(--color-text); transition: width 300ms ease; }
.qz__step { border: 0; padding: 0; margin: var(--space-6) 0 0; }
.qz__step legend { font-size: var(--text-xl); margin-bottom: var(--space-5); }
.opts { display: grid; gap: var(--space-2); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-sm); transition: border-color var(--transition-interactive), background var(--transition-interactive); }
.opt b { font-weight: 500; }
.opt small { color: var(--color-text-muted); font-size: var(--text-xs); }
.opt:hover span { border-color: var(--color-text); }
.opt input:checked + span { border-color: var(--color-text); background: var(--color-surface-offset); box-shadow: inset 3px 0 0 var(--color-text); }
.opt input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.qz__nav { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-8); }
.qz__nav [data-next] { margin-left: auto; }
.qz__nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qz__res { padding: var(--space-8); border: 1px solid var(--color-text); border-radius: var(--radius-md); background: var(--color-surface); scroll-margin-top: 110px; }
.cmp__sel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-6); }
.cmp__sel select { width: 100%; min-height: 48px; }
/* Tienda: protocolos y preocupaciones */
.shop-concerns { margin-top: var(--space-3); }
.shop-label { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; margin: var(--space-5) 0 var(--space-2); }
.prod__up { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.prod__up a { color: var(--color-text); }
.shop-protos { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
@media (max-width: 1100px) { .shop-protos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pro-hero__grid { grid-template-columns: 1fr; }
  .pro-hero__img { aspect-ratio: 16/10; }
  .proto { grid-template-columns: 1fr; }
  .proto__img img { aspect-ratio: 16/9; }
  .cmp__sel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ladder { grid-template-columns: 1fr; }
  .proto__body, .qz, .qz__res { padding: var(--space-5); }
  .tier { padding: var(--space-6) var(--space-5); }
  .shop-protos { grid-template-columns: 1fr 1fr; }
  .addon { grid-template-columns: 1fr; }
  .addon__foot { justify-content: space-between; }
}
.results--3 { grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 760px) { .results--3 { grid-template-columns: 1fr; max-width: 520px; } }

/* Pago a plazos con Alma */
.alma { margin: var(--space-5) 0 var(--space-4); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-text) 4%, transparent); display: grid; gap: var(--space-4); }
.alma__t { display: grid; gap: 2px; margin: 0; }
.alma__t b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.alma__t span { font-size: var(--text-sm); color: var(--color-text-muted); }
.alma__plans { display: grid; gap: var(--space-2); margin: var(--space-5) 0 var(--space-3); }
.alma .alma__plans { margin: 0; }
.alma__plan { position: relative; display: block; }
.alma__plan input { position: absolute; opacity: 0; }
.alma__plan span { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); row-gap: 2px; align-items: baseline; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); cursor: pointer; background: var(--color-bg); }
.alma__plan b { font-size: var(--text-sm); font-weight: 600; }
.alma__plan em { font-style: normal; font-size: var(--text-sm); text-align: right; }
.alma__plan small { grid-column: 1 / -1; font-size: var(--text-xs); color: var(--color-text-muted); }
.alma__plan input:checked + span { border-color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-text); }
.alma__plan input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.alma__who { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.alma__who .field { margin: 0; }
.alma__or { margin: var(--space-2) 0 var(--space-3); }
.fin [data-fin-cart] { width: 100%; margin-top: var(--space-4); }
.fin [data-fin-send] { width: 100%; margin-top: var(--space-2); }
@media (max-width: 480px) { .alma__who { grid-template-columns: 1fr; } .alma { padding: var(--space-4); } }
.sq { margin: var(--space-4) 0 var(--space-2); }
.sq .btn { width: 100%; justify-content: center; }
.sq .small { margin-top: var(--space-2); }
.alma [data-alma-pay] { width: 100%; justify-content: center; }
.alma[hidden], .sq[hidden], [data-alma-min][hidden] { display: none !important; }

/* Métodos del pago alojado de Square; disponibilidad según dispositivo y cuenta. */
.sq-pay{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between!important;gap:10px 14px;text-align:left}
.sq-pay__m{display:inline-flex;gap:6px;flex-wrap:wrap}
.sq-mark{display:inline-flex;align-items:center;gap:3px;height:24px;padding:0 8px;border:1px solid rgba(238,234,227,.45);border-radius:4px;font:500 .75rem/1 var(--font-body,sans-serif);letter-spacing:0;white-space:nowrap}
.sq-mark svg{width:11px;height:13px;margin-top:-2px}
.sq-mark b{font-weight:700}
.sq-pay[disabled] .sq-pay__m{opacity:.5}
@media (max-width:380px){.sq-pay{justify-content:center!important}}
