/* rg-theme: componentes. Tokens en theme.json. */

:root {
  --ink: var(--wp--preset--color--ink); --surface: var(--wp--preset--color--surface); --surface-2: var(--wp--preset--color--surface-2);
  --paper: var(--wp--preset--color--paper); --text-2: var(--wp--preset--color--text-2); --muted: var(--wp--preset--color--muted);
  --accent: var(--wp--preset--color--accent); --on-accent: var(--wp--preset--color--ink);
  --line: var(--wp--custom--line); --line-2: var(--wp--custom--line-2); --error: #ff8a7a;
  --gutter: clamp(20px, 4vw, 56px); --max: 1320px; --sec: clamp(72px, 9vw, 128px);
  --ease: var(--wp--custom--ease); --nav-h: var(--wp--custom--nav-h);
  --display: var(--wp--preset--font-family--display); --body: var(--wp--preset--font-family--body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: #34342f var(--ink); -webkit-text-size-adjust: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #34342f; border: 3px solid var(--ink); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: fixed; left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 12px 16px; font-weight: 700; transform: translateY(calc(-100% - 40px)); transition: transform 0.2s var(--ease); }
.skip:focus { transform: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-top: var(--sec); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--first { padding-top: calc(var(--nav-h) + 40px); }
main > :last-child:not(.band) { padding-bottom: var(--sec); }

/* ---------- type ---------- */
.display, .hero__title, .plan__name, .forma__title, .pdp__num, .product__num, .countdown span, .menu a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.92; letter-spacing: 0; margin: 0; text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 5.5vw, 4.75rem); }
.display--m { font-size: clamp(2.1rem, 3.8vw, 3.25rem); }
.display--s { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 1.2rem; color: var(--text-2); }
.label { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.label--accent { color: var(--accent); }
.subhead { margin: 32px 0 6px; font-family: var(--display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.price { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.need { display: inline-block; padding: 2px 10px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: transparent; --fg: var(--paper); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--bd); border-radius: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --bg: var(--accent); --fg: var(--on-accent); }
.btn--primary:hover { --bg: #e4fb5c; }
.btn--ghost { --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--paper); }
.btn--line { --bd: var(--line-2); }
.btn--line:hover { --bd: var(--paper); --bg: var(--paper); --fg: var(--ink); }
.btn--block { width: 100%; }
.btn.is-added { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-2); transition: border-color 0.2s var(--ease); }
.link-arrow:hover { border-color: var(--paper); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.text-btn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); cursor: pointer; color: var(--paper); text-decoration: none; transition: border-color 0.2s var(--ease); }
.icon-btn:hover { border-color: var(--paper); }
.icon-btn--bare { border-color: transparent; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); border-bottom: 1px solid var(--line); background: rgba(11, 11, 10, 0.92); }
.home .nav { margin-bottom: calc(var(--nav-h) * -1); background: transparent; border-color: transparent; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.home .nav[data-scrolled] { background: rgba(11, 11, 10, 0.94); border-color: var(--line); }
.nav__inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 10px 0; cursor: pointer; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-2); }
.nav__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__link:hover, .nav__link[aria-current], .nav__link.is-current { color: var(--paper); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__link[aria-current]::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 12px); left: -18px; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); display: grid; animation: drop 0.25s var(--ease); }
.dropdown[hidden] { display: none; }
.dropdown a { padding: 10px 12px; text-decoration: none; color: var(--text-2); }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--surface-2); color: var(--paper); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; margin-right: 6px; }
.lang a, .lang span { padding: 6px 7px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--paper); }
.lang span { color: var(--paper); border-bottom: 2px solid var(--accent); }
.cart-btn__count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; transform: scale(0); transition: transform 0.35s var(--ease); }
.cart-btn.has-items .cart-btn__count { transform: scale(1); }
.cart-btn.bump .cart-btn__count { animation: bump 0.45s var(--ease); }
@keyframes bump { 35% { transform: scale(1.4); } }
.menu-btn { display: none; }
.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 39; background: var(--ink); padding: 24px var(--gutter) 40px; overflow-y: auto; display: grid; align-content: start; gap: 24px; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { font-size: 2rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu .btn { font-size: 15px; }
.menu__group { margin: 18px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- breadcrumbs / page head ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text-2); }
.pagehead { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.pagehead .display { font-size: clamp(3rem, 7vw, 6rem); }
.pagehead__lede { max-width: 56ch; margin: 20px 0 0; font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem); color: var(--text-2); }
.section--first { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- hero ---------- */
.hero { --hp: 0; position: relative; min-height: max(620px, 100svh); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(calc(1.03 + var(--hp) * 0.12)) translateY(calc(var(--hp) * 4%)); filter: brightness(calc(0.9 - var(--hp) * 0.4)) saturate(0.85); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 11, 10, 0.97) 0%, rgba(11, 11, 10, 0.55) 40%, rgba(11, 11, 10, 0.2) 72%, rgba(11, 11, 10, 0.6) 100%), linear-gradient(to right, rgba(11, 11, 10, 0.65), rgba(11, 11, 10, 0) 60%); }
.hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero__content { max-width: 720px; opacity: calc(1 - var(--hp) * 1.4); transform: translateY(calc(var(--hp) * -50px)); }
.hero__title { font-size: clamp(3.75rem, 10vw, 6rem); line-height: 0.88; }
.hero__title .line { display: block; overflow: hidden; padding-top: 0.12em; margin-top: -0.12em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--accent); }
.hero__lede { max-width: 50ch; margin: 24px 0 0; font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem); color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.quickbuy { width: 340px; background: rgba(19, 19, 17, 0.95); border: 1px solid var(--line); padding: 22px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8); opacity: calc(1 - var(--hp) * 1.4); }
.quickbuy__title { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); padding: 3px; }
.seg button { position: relative; z-index: 1; min-height: 40px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); transition: color 0.25s var(--ease); }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: var(--paper); transition: transform 0.4s var(--ease); }
.seg[data-active="online"] .seg__thumb { transform: translateX(100%); }
.quickbuy__plan { padding: 18px 0 16px; }
.quickbuy__name { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; line-height: 1; }
.quickbuy__desc { margin: 6px 0 0; color: var(--muted); font-size: 15px; min-height: 3em; }
.quickbuy__price { margin: 10px 0 0; font-size: 1.9rem; }
.quickbuy__price small, .plan__price small, .compare small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.quickbuy__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.quickbuy__plan.is-swapping > * { animation: swap 0.45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* ---------- layout blocks ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__aside .display { margin-bottom: 18px; }
.split__aside p { max-width: 40ch; }
.sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
.wide-img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; filter: saturate(0.85); }

.formas { display: flex; gap: 12px; margin-top: clamp(28px, 4vw, 48px); height: clamp(460px, 64vh, 600px); }
.forma { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; text-decoration: none; background: var(--surface); border: 1px solid var(--line); transition: flex-grow 0.7s var(--ease), border-color 0.3s var(--ease); }
.forma:hover { border-color: var(--line-2); }
.forma__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: saturate(0.8); transition: transform 1.1s var(--ease); }
.forma:not(.forma--plain)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 11, 10, 0.95) 12%, rgba(11, 11, 10, 0.3) 75%); }
.forma__big { position: absolute; top: -0.1em; right: -0.03em; z-index: -1; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(7rem, 18vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: transform 1.1s var(--ease); }
.forma__body { display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); max-width: 480px; }
.forma__title { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.forma__lede { color: var(--text-2); }
.forma .link-arrow { justify-self: start; }
@media (hover: hover) and (min-width: 900px) {
  .formas:hover .forma { flex-grow: 0.85; }
  .formas .forma:hover, .formas .forma:focus-visible { flex-grow: 1.3; }
  .forma:hover .forma__bg { transform: scale(1.05); }
  .forma--plain:hover .forma__big { transform: translateX(-3%); }
}

.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; padding: clamp(24px, 3.5vw, 40px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 3.5rem; line-height: 0.85; color: var(--muted); transition: color 0.5s var(--ease); }
.step h3 { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.step p { margin: 8px 0 0; max-width: 48ch; color: var(--text-2); }
.js .step.is-active .step__n { color: var(--accent); }
.rail { height: 2px; background: var(--line); max-width: 280px; margin-top: 28px; }
.rail span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--rail, 0)); }

.plan-list { list-style: none; margin: 0; padding: 0; }
.plan { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2.4fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 2.6vw, 32px) 0; border-top: 1px solid var(--line); transition: background-color 0.3s var(--ease); }
.plan:last-child { border-bottom: 1px solid var(--line); }
.plan__name { font-size: clamp(2.6rem, 5vw, 4.25rem); }
.plan__what { margin: 0; color: var(--text-2); max-width: 44ch; }
.plan__price { margin: 0; font-size: clamp(1.6rem, 2.2vw, 2rem); white-space: nowrap; }
@media (hover: hover) { .plan:hover { background: linear-gradient(to right, var(--surface), transparent); } }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s var(--ease); }
.product:hover { border-color: var(--line-2); }
.product[hidden] { display: none; }
.product__cover { position: relative; aspect-ratio: 16 / 11; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface-2); border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.product__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.product__num { display: flex; align-items: baseline; gap: 10px; font-size: clamp(5.5rem, 9vw, 8rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s var(--ease), transform 0.6s var(--ease); transform-origin: left bottom; }
.product__num small { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); -webkit-text-stroke: 0; }
.product:hover .product__num { color: var(--paper); -webkit-text-stroke-color: var(--paper); transform: scale(1.04); }
.product__info { padding: 18px 20px 20px; display: grid; gap: 6px; flex: 1; }
.product__name { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.product__name a { text-decoration: none; }
.product__name a:hover { text-decoration: underline; }
.product__desc { margin: 0; color: var(--text-2); font-size: 15px; }
.product__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 14px; }
.product__row .price { font-size: 1.5rem; }
.product .btn { min-height: 42px; padding: 0 16px; }

.reto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding: clamp(28px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); }
.reto .muted { max-width: 44ch; margin: 16px 0 20px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); margin-bottom: 16px; }
.countdown > div { padding: 14px 8px 10px; border-right: 1px solid var(--line-2); text-align: center; overflow: hidden; }
.countdown > div:last-child { border-right: 0; }
.countdown span { display: block; font-size: clamp(2.6rem, 4.5vw, 3.75rem); font-variant-numeric: tabular-nums; line-height: 0.9; }
.countdown small { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.countdown span.tick { animation: tick 0.4s var(--ease); }
@keyframes tick { from { transform: translateY(-25%); opacity: 0.3; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0 0 24px; max-width: 64ch; color: var(--text-2); }

.band { margin-top: var(--sec); border-top: 1px solid var(--line); background: var(--surface); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.band p { margin: 14px 0 0; color: var(--text-2); max-width: 48ch; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 21px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 7px; background: var(--accent); }
.ticks strong { color: var(--paper); font-weight: 600; }
.ticks--lg li { font-size: 1.1rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: start; }
.info-grid p { margin: 0; }
.info-grid--1 { grid-template-columns: 1fr; }
.map-ph { grid-column: 1 / -1; aspect-ratio: 16 / 7; display: grid; place-items: center; background: var(--surface); border: 1px dashed var(--line-2); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow li { padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.flow__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.flow h2, .flow h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.flow p { margin: 0; color: var(--text-2); font-size: 15px; }
.flow--v { grid-template-columns: 1fr; margin: 32px 0; }
.flow--v li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
.flow--v .flow__n { grid-row: span 2; margin: 0; }

/* ---------- planes table ---------- */
.table-wrap { overflow-x: auto; margin-top: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text-2); }
.compare thead th { font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; vertical-align: bottom; }
.compare thead th .price { display: block; font-size: 1.2rem; color: var(--text-2); margin-top: 4px; }
.compare td svg { color: var(--accent); }
.compare td svg path[d="M6 12h12"] { stroke: var(--muted); }
.compare__actions td, .compare__actions th { border-bottom: 0; }

/* ---------- tienda ---------- */
.shopbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.cat-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.cat-tabs a { position: relative; padding: 14px 16px; text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap; }
.cat-tabs a:hover { color: var(--paper); }
.cat-tabs a[aria-current] { color: var(--paper); }
.cat-tabs a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.filters { display: flex; gap: 16px; padding-bottom: 10px; }
.filters label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.filters select, .field select { min-height: 44px; padding: 0 36px 0 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efeee6' stroke-width='1.75'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; border: 1px solid var(--line-2); border-radius: 0; appearance: none; cursor: pointer; color: var(--paper); }
.shop-count { margin: 20px 0; font-size: 15px; }
.empty { padding: 40px 0; color: var(--text-2); }

/* ---------- producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pdp__cover { aspect-ratio: 1; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); }
.pdp__num { display: flex; align-items: baseline; gap: 14px; font-size: clamp(9rem, 20vw, 17rem); line-height: 0.78; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.pdp__num small { font-family: var(--body); font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); -webkit-text-stroke: 0; }
.pdp__price { margin: 14px 0 0; font-size: 2.4rem; }
.pdp__desc { color: var(--text-2); font-size: 1.1rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.buy { display: flex; gap: 12px; margin-bottom: 14px; }
.buy .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); }
.qty output { min-width: 3ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty-btn { width: 44px; height: 46px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--paper); }
.qty-btn:hover { background: var(--surface-2); }
.qty-btn svg { width: 16px; height: 16px; }

/* ---------- carrito / checkout ---------- */
.cart, .checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 32px; }
.cart[hidden] { display: none; }
.cart__items { border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 6px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-item__thumb { grid-row: span 2; aspect-ratio: 1; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--paper); }
.line-item__name { font-weight: 600; text-decoration: none; }
.line-item__name:hover { text-decoration: underline; }
.line-item__meta { font-size: 14px; color: var(--muted); }
.line-item .price { font-size: 1.4rem; text-align: right; }
.line-item__ctrl { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.line-item__ctrl .qty-btn { height: 38px; width: 38px; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 8px 0; }
.remove:hover { color: var(--paper); }
.summary { position: sticky; top: calc(var(--nav-h) + 24px); padding: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.summary--flat { position: static; margin-bottom: 28px; }
.summary__title { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; }
.summary__rows { margin: 0; display: grid; gap: 8px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary__rows dt { color: var(--text-2); }
.summary__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.summary__total { padding-top: 12px; border-top: 1px solid var(--line); }
.summary__total dd { font-family: var(--display); font-weight: 700; font-size: 1.9rem; }
.summary__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary__items li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text-2); }
.summary .link-arrow { justify-self: start; }
.empty-state { padding: 48px 0; font-size: 1.2rem; }
.empty-state[hidden] { display: none; }

.progress { list-style: none; display: flex; gap: 8px; margin: 0 0 24px; padding: 0; font-size: 14px; color: var(--muted); counter-reset: s; flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.progress li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-2); font-weight: 600; font-size: 13px; }
.progress li + li { padding-left: 32px; position: relative; }
.progress li + li::after { content: ""; position: absolute; left: 4px; top: 50%; width: 20px; height: 1px; background: var(--line-2); }
.progress .is-done::before { content: ""; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0a' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--paper); }
.progress [aria-current] { color: var(--paper); }
.progress [aria-current]::before { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.form { display: grid; gap: 24px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 16px; }
.form legend { padding: 0; margin-bottom: 14px; font-family: var(--display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.panel { padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .inline-form input { min-height: 48px; padding: 10px 14px; width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: 0; color: var(--paper); }
.field textarea { resize: vertical; }
.field select { width: 100%; min-height: 48px; background-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder, .inline-form input::placeholder { color: #8d8c83; }
.field input:focus, .field textarea:focus, .field select:focus, .inline-form input:focus { outline: none; border-color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); }
.field__help { margin: 0; font-size: 13px; color: var(--muted); }
.field__err { display: none; margin: 0; font-size: 14px; font-weight: 600; color: var(--error); }
.field.is-invalid .field__err, .form.terms-invalid .field__err--terms { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.choices { display: grid; gap: 10px; }
.choices--row { grid-template-columns: 1fr 1fr; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.choice:hover { border-color: var(--paper); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--surface-2); }
.choice span { display: grid; gap: 2px; }
.choice small { color: var(--muted); font-size: 14px; }
.choice input, .check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1.5px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.choice input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.2s var(--ease); }
.choice input:checked { border-color: var(--accent); }
.choice input:checked::after { transform: scale(1); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--text-2); }
.check input { border-radius: 0; }
.check input:checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.form-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.form.is-done .field, .form.is-done fieldset, .form.is-done .btn { display: none; }
.form.is-done .form-msg { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 12px; }
.inline-form input { flex: 1 1 240px; }
.inline-form .form-msg { flex-basis: 100%; }
.btn.is-loading { pointer-events: none; opacity: 0.7; }

.photo-ph { margin: 0; aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 12px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.photo-ph img { opacity: 0.5; }
.app-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 30%; border: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__top { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand p { margin: 0; max-width: 32ch; color: var(--text-2); }
.footer__brand .link-arrow { justify-self: start; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols h2 { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.footer__cols a { text-decoration: none; color: var(--text-2); }
.footer__cols a:hover { color: var(--paper); text-decoration: underline; }
.footer__legal { margin: 0; padding: 20px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; translate: -50% 0; display: flex; gap: 16px; align-items: center; padding: 14px 18px; background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6); transform: translateY(160%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.toast.is-on { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.toast a { font-weight: 700; }

/* ---------- motion ---------- */
.js .reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); }
.js .reveal.is-in { clip-path: inset(-10% -2% -10% -2%); }
.js .hero__title .line > span { transform: translateY(105%); }
.js.is-loaded .hero__title .line > span { animation: rise-line 1.1s var(--ease) forwards; }
.js.is-loaded .hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
@keyframes rise-line { to { transform: none; } }
.js .hero__lede, .js .hero__ctas, .js .quickbuy { animation: fade-up 0.9s var(--ease) both; }
.js .hero__lede { animation-delay: 0.3s; }
.js .hero__ctas { animation-delay: 0.4s; }
.js .quickbuy { animation-delay: 0.55s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { clip-path: none; }
  .js .hero__title .line > span { transform: none; }
  .hero { --hp: 0 !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 16px; }
  .nav__actions > .lang { display: none; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .quickbuy { width: min(100%, 420px); }
  .plan { grid-template-columns: minmax(0, 1fr) auto; }
  .plan__what { grid-column: 1 / -1; grid-row: 2; }
  .plan .btn { grid-column: 2; grid-row: 1; }
  .plan__price { grid-column: 1; grid-row: 3; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav__links, .nav__actions > .btn, .nav__actions > .icon-btn--bare { display: none; }
  .menu-btn { display: grid; }
  .split, .reto, .pdp, .cart, .checkout { grid-template-columns: 1fr; }
  .sticky, .summary { position: static; }
  .formas { flex-direction: column; height: auto; }
  .forma { min-height: 400px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .brand__word { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 34vh); }
  .hero__media { bottom: auto; height: 62vh; }
  .hero__media img { object-position: 50% 42%; }
  .hero__shade { background: linear-gradient(to top, var(--ink) 0%, rgba(11, 11, 10, 0.85) 45%, rgba(11, 11, 10, 0.15) 80%, rgba(11, 11, 10, 0.5) 100%); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .quickbuy { width: 100%; }
  .plan { grid-template-columns: 1fr; gap: 10px; }
  .plan .btn, .plan__price, .plan__what { grid-column: 1; grid-row: auto; }
  .plan .btn { width: 100%; }
  .products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .products[data-grid] { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; }
  .product { scroll-snap-align: start; }
  .flow { grid-template-columns: 1fr; }
  .form-grid, .info-grid, .choices--row, .specs { grid-template-columns: 1fr; }
  .shopbar { align-items: start; flex-direction: column; }
  .cat-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .filters { width: 100%; }
  .filters label { flex: 1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .line-item { grid-template-columns: 64px 1fr auto; }
  .toast { left: 16px; right: 16px; translate: none; justify-content: space-between; }
  .wide-img { aspect-ratio: 4 / 3; }
}

.split--media { align-items: center; }

/* ---------- tarjetas de planes ---------- */
.tag { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 3px 8px; background: var(--accent); color: var(--on-accent); font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
.price-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.price-cards--1 { grid-template-columns: minmax(0, 420px); }
.price-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 28px); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s var(--ease), transform 0.4s var(--ease); }
.price-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.price-card--popular { border-color: var(--accent); }
.price-card__name { margin: 0; font-family: var(--display); font-size: clamp(2rem, 2.6vw, 2.6rem); font-weight: 700; text-transform: uppercase; line-height: 1; }
.price-card__price { margin: 0; font-size: 2.2rem; }
.price-card__price small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-card__lede { margin: 0; color: var(--text-2); font-size: 15px; min-height: 3.2em; }
.price-card .ticks { flex: 1; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.remote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.remote .muted { max-width: 48ch; margin: 14px 0 18px; }
.remote__buy { display: grid; gap: 14px; justify-items: end; }
@media (max-width: 1080px) { .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .price-cards { grid-template-columns: 1fr; }
  .remote { grid-template-columns: 1fr; }
  .remote__buy { justify-items: start; }
  .compare { min-width: 760px; }
}
.compare thead th { white-space: nowrap; }

/* ---------- puentes con bloques ---------- */
.wp-site-blocks { padding: 0; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
img { max-width: 100%; height: auto; }
.rg-main > .wp-block-post-content > * { margin-block: 0; }
.rg-section { padding-top: var(--sec); }
.rg-section--tight { padding-top: clamp(40px, 5vw, 64px); }
.rg-main > .wp-block-post-content > :last-child, .rg-main > :last-child { padding-bottom: var(--sec); }
.rg-main > .wp-block-post-content > .band:last-child { padding-bottom: 0; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid var(--line-2); background: transparent; color: var(--paper); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--paper); }
.wp-block-buttons { gap: 12px; }
.wp-block-heading mark, .hero__title mark { background: none; color: var(--accent); }
.wp-block-details.faq-item { border-bottom: 1px solid var(--line); }
.wp-block-details.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 600; line-height: 1.3; }
.wp-block-details.faq-item summary::-webkit-details-marker { display: none; }
.wp-block-details.faq-item summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.4s var(--ease); }
.wp-block-details.faq-item[open] summary::after { transform: rotate(135deg); }
.wp-block-details.faq-item summary:hover { color: var(--accent); }
.wp-block-details.faq-item > :not(summary) { margin: 0 0 24px; color: var(--text-2); max-width: 64ch; }
.faq-list { border-top: 1px solid var(--line); }

/* ---------- WooCommerce clásico ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--accent); color: var(--on-accent); border-radius: 0; font-family: var(--body); font-weight: 600; padding: 13px 22px; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: #e4fb5c; color: var(--on-accent); }
.woocommerce .button.alt, .woocommerce button.button.alt { background: var(--accent); color: var(--on-accent); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { background: var(--ink); border: 1px solid var(--line-2); border-radius: 0; color: var(--paper); min-height: 48px; padding: 10px 14px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce-checkout #payment, .woocommerce-checkout #payment ul.payment_methods { background: var(--surface); border-radius: 0; border-color: var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--surface-2); color: var(--text-2); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--surface); color: var(--paper); border-top-color: var(--accent); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }
.woocommerce a.added_to_cart { display: none; }
.woocommerce .quantity .qty { background: var(--ink); color: var(--paper); border: 1px solid var(--line-2); }
.btn.loading { opacity: .6; pointer-events: none; }
.btn.added { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }

/* ---------- header de bloques ---------- */
.rg-header-wrap { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 40; }
.rg-header-wrap .nav { position: static; margin: 0; }
.home .rg-header-wrap { margin-bottom: calc(var(--nav-h) * -1); }
.home .rg-header-wrap .nav { background: transparent; border-color: transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.home .rg-header-wrap .nav[data-scrolled] { background: rgba(11, 11, 10, .94); border-color: var(--line); }
.rg-header .nav__inner { gap: 24px; }
.rg-header .brand { gap: 10px; }
.rg-header .wp-block-site-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.rg-header .wp-block-site-title a { text-decoration: none; color: var(--paper); }
.rg-header .wp-block-navigation { gap: clamp(14px, 2vw, 30px); font-size: 15px; font-weight: 500; margin-left: auto; }
.rg-header .wp-block-navigation-item__content { color: var(--text-2); padding: 10px 0; text-decoration: none; }
.rg-header .wp-block-navigation-item__content:hover, .rg-header .current-menu-item > .wp-block-navigation-item__content { color: var(--paper); }
.rg-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--surface); border: 1px solid var(--line); padding: 8px; min-width: 240px; color: var(--text-2); }
.rg-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 12px; }
.rg-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--ink); color: var(--paper); padding: 24px var(--gutter); }
.rg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--display); font-size: 2rem; font-weight: 700; text-transform: uppercase; color: var(--paper); }
.rg-header .wp-block-navigation__responsive-container-open, .rg-header .wp-block-navigation__responsive-container-close { color: var(--paper); }
.rg-header .nav__actions { gap: 10px; }
.rg-header .nav__cta .wp-block-button__link { padding: 12px 18px; }
.rg-main { padding: 0; }
.footer__cols p, .footer__brand p { margin: 0; }
.footer__h { margin: 0 0 6px; font-family: var(--body) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.footer__cols a { text-decoration: none; color: var(--text-2); }
.footer__cols .wp-block-group { display: grid; gap: 10px; align-content: start; }
.pagehead { padding-top: clamp(40px, 5vw, 64px); }
.pagehead .wp-block-post-title, .pagehead .wp-block-query-title { font-size: clamp(3rem, 7vw, 6rem); margin: 0; }
.wp-block-term-description p { margin: 20px 0 0; max-width: 56ch; color: var(--text-2); font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); }
/* Encabezado y contenido de plantillas (page, tienda, categoría, 404): borde a todo el
   ancho y contenido alineado con el header, igual que .wrap del prototipo. */
.rg-main > .pagehead, .rg-main > .rg-prose {
  max-width: none !important; margin-inline: 0 !important;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) !important;
}
.rg-main > .pagehead > * { max-width: none !important; margin-inline: 0 !important; }
.rg-main > .pagehead > .pagehead__lede, .rg-main > .pagehead > .wp-block-term-description { max-width: 56ch !important; }
.rg-main.is-layout-constrained > :not(.pagehead):not(.rg-prose):not(.alignfull) {
  max-width: min(var(--wp--style--global--content-size), calc(100% - 2 * var(--gutter))) !important;
}
.rg-prose > *, .rg-prose .wp-block-post-content > * { max-width: 760px !important; margin-left: 0 !important; }
.rg-prose .wp-block-post-content > .alignwide, .rg-prose .wp-block-post-content > .alignfull { max-width: none !important; }
/* Login de Mi cuenta (wp-gym-system): un solo título, el de la tarjeta, y la tarjeta centrada. */
body.woocommerce-account:not(.logged-in) .rg-main > .pagehead { display: none; }
body.woocommerce-account:not(.logged-in) .rg-prose > .wp-block-post-content { max-width: none !important; }
body.woocommerce-account:not(.logged-in) .rg-main > .rg-prose { padding-top: clamp(40px, 6vw, 88px); }
.footer__cols > *, .footer__top > * { margin-block: 0 !important; }
/* Márgenes propios del prototipo que el reseteo de bloques de arriba anulaba. */
.rg-main .wp-block-group > .formas { margin-top: 48px; }
.rg-main .wp-block-group > p.lead { margin-block: 1.2em; }
.rg-main .wp-block-group > p.muted { margin-block: 1em; }
.rg-main .pagehead p.pagehead__lede { margin-top: 20px !important; }
.rg-main .wp-block-group > form.inline-form, .rg-main form.inline-form { margin: 24px 0 12px; }
.rg-main > .wp-block-post-content > .band { margin-top: var(--sec); }
.rg-main > .wp-block-post-content:has(> .band:last-child) { padding-bottom: 0; }
.pdp__price { font-size: 2.4rem; margin: 14px 0 0; }
.pdp__price .woocommerce-Price-amount { font-family: var(--display); font-weight: 700; }
.pdp__desc { color: var(--text-2); font-size: 1.1rem; }
.pdp .wp-block-add-to-cart-form .single_add_to_cart_button { width: 100%; }
.pdp .wp-block-add-to-cart-form .quantity { display: none !important; }
.pdp .wp-block-add-to-cart-form form.cart { display: block !important; }
.pdp .wp-block-add-to-cart-form .single_add_to_cart_button { width: 100% !important; margin: 0 !important; }
@media (max-width: 960px) {
  .rg-header .nav__actions .rg-account, .rg-header .nav__actions .nav__cta, .rg-header .nav__actions .lang { display: none; }
  .rg-header .brand__word { display: none; }
}

/* ---------- estructuras de bloques (patrones) ---------- */
.rg-main .wp-block-group, .rg-main .wp-block-group > * { margin-block-start: 0; }
.wrap > * + *, .split__aside > * + *, .split__main > * + *, .hero__content > * + * { margin-top: 20px; }
.hero__content > .hero__lede { margin-top: 24px; }
.hero__content > .hero__ctas { margin-top: 28px; }
.hero__media { position: absolute; inset: 0; z-index: -2; margin: 0 !important; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,11,10,.97) 0%, rgba(11,11,10,.55) 40%, rgba(11,11,10,.2) 72%, rgba(11,11,10,.6) 100%), linear-gradient(to right, rgba(11,11,10,.65), rgba(11,11,10,0) 60%); }
.hero__title mark { display: block; background: none; color: var(--accent); }
.js .hero__title { animation: fade-up 1.1s var(--ease) both; }
.hero__grid { margin-top: 0 !important; }
.wp-block-buttons.hero__ctas { gap: 12px; }
.formas .forma { margin: 0 !important; }
.forma__bg { position: absolute; inset: 0; z-index: -2; margin: 0 !important; }
.forma__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: saturate(.8); transition: transform 1.1s var(--ease); }
.forma:hover .forma__bg img { transform: scale(1.05); }
.forma__body > * { margin: 0; }
.forma__body .link-arrow { justify-self: start; }
.forma--plain::after { content: "Online"; position: absolute; top: -0.1em; right: -0.03em; z-index: -1; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(7rem, 18vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: transform 1.1s var(--ease); pointer-events: none; }
.forma--plain:hover::after { transform: translateX(-3%); }
.forma__title { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.steps .step { margin: 0 !important; }
.steps .step > p.step__n { margin: 0; }
.steps .step > h3 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.steps .step > p:not(.step__n) { margin: 8px 0 0; max-width: 48ch; color: var(--text-2); }
.flow > .flow__item { padding: 24px; background: var(--surface); border: 1px solid var(--line); margin: 0 !important; }
.flow > .flow__item > p.flow__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 0 0 18px; }
.flow > .flow__item > h3 { margin: 0 0 6px; font-size: 1.4rem; line-height: 1.1; }
.flow > .flow__item > p:not(.flow__n) { margin: 0; color: var(--text-2); font-size: 15px; }
p.link-arrow { border: 0; padding: 0; display: block; }
p.link-arrow a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
p.link-arrow a::after { content: "\2192"; transition: transform .3s var(--ease); }
p.link-arrow a:hover { border-color: var(--paper); }
p.link-arrow a:hover::after { transform: translateX(4px); }
.sec-head > * { margin: 0 !important; }
.split--media { align-items: center; }
.split--media > figure { margin: 0; }
.app-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 30%; border: 1px solid var(--line); }
.wide-img { margin: 0; }
.wide-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; filter: saturate(.85); }
.remote { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.remote .price-cards--1 { grid-template-columns: 1fr; }
.remote__copy > * + * { margin-top: 14px; }
.reto > div > * + * { margin-top: 16px; }
.reto .wp-block-buttons, .reto .wp-block-button, .reto .wp-block-button__link { width: 100%; }
.reto .wp-block-button__link { display: block; text-align: center; }
.band__inner > div > * { margin: 0; }
.band__inner > div > p { margin-top: 14px; color: var(--text-2); max-width: 48ch; }
.pagehead .wrap > * + * { margin-top: 0; }
.pagehead .crumbs { margin-bottom: 28px; }
.pagehead .wp-block-post-title { font-size: clamp(3rem, 7vw, 6rem); }
.info-grid > div > p { margin: 0; }
.map-ph { display: grid; place-items: center; text-align: center; padding: 24px; }
.photo-ph { padding: 24px; text-align: center; }
.is-sticky-aside > .split__aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.choices legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 14px; }
.rg-pay { margin-top: 12px; }
@media (max-width: 960px) { .remote { grid-template-columns: 1fr; } .is-sticky-aside > .split__aside { position: static; } }

/* Celular: botones a todo el ancho como en el prototipo y menú con área táctil de 44 px. */
.rg-header .wp-block-navigation__responsive-container-open {
  width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-2);
}
.rg-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 760px) {
  .rg-main .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .rg-main .wp-block-buttons > .wp-block-button { width: 100%; }
  .rg-main .wp-block-buttons > .wp-block-button > .wp-block-button__link { width: 100%; justify-content: center; text-align: center; }
  .rg-main .band .wp-block-buttons { align-items: flex-start; }
  .rg-main .band .wp-block-buttons > .wp-block-button, .rg-main .band .wp-block-button__link { width: auto; }
}
