:root {
  color-scheme: light;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: #f8f4fb;
  --surface: #ffffff;
  --soft: #f0e8f4;
  --accent-surface: #edf8f6;
  --text: #21172a;
  --muted: #675b6f;
  --border: #ded2e5;
  --brand: #64307d;
  --brand-strong: #4b1f62;
  --brand-soft: #eadcf0;
  --teal: #0b6b61;
  --teal-strong: #075249;
  --gold: #a8640d;
  --gold-soft: #f7e3bd;
  --danger: #8c2d38;
  --radius-sm: .75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 10px 28px rgb(42 23 52 / .08);
  --shadow-md: 0 22px 55px rgb(42 23 52 / .14);
  --wrap: 72rem;
  --header: 4.75rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #160f1d;
    --surface: #22182b;
    --soft: #2d2037;
    --accent-surface: #162b29;
    --text: #f8f2fa;
    --muted: #c9bdcf;
    --border: #47384f;
    --brand: #b983d3;
    --brand-strong: #e1beef;
    --brand-soft: #3b2548;
    --teal: #78d6c9;
    --teal-strong: #a7eee4;
    --gold: #f1c46f;
    --gold-soft: #4b3619;
    --danger: #f0a1aa;
    --shadow-sm: 0 10px 28px rgb(0 0 0 / .25);
    --shadow-md: 0 22px 55px rgb(0 0 0 / .38);
  }
  .brand-text { color: #e7be5d; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1rem);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img,
picture,
svg,
iframe { display: block; max-width: 100%; }
img { height: auto; }
button,
input { font: inherit; }
a {
  color: var(--brand-strong);
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}
a:hover { text-decoration-thickness: .14em; }
button { color: inherit; }

h1,
h2,
h3,
p,
ul,
ol,
figure { margin-top: 0; }

h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.55rem, 7vw, 5.35rem);
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  letter-spacing: -.035em;
}

h3 {
  margin-bottom: .75rem;
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  letter-spacing: -.015em;
}

p:last-child,
ul:last-child,
ol:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid #e2a93b;
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--surface { background: var(--surface); }
.section--soft { background: var(--soft); }

.section-heading {
  max-width: 47rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.eyebrow {
  margin-bottom: .8rem;
  color: var(--teal);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow--light { color: #b8f5e7; }
.muted { color: var(--muted); }
.center { text-align: center; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: .75rem;
  left: .75rem;
  transform: translateY(-170%);
  padding: .75rem 1rem;
  border-radius: .6rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  font-weight: 850;
}
.skip-link:focus { transform: translateY(0); }

.no-js-note {
  padding: .75rem 1rem;
  background: var(--gold-soft);
  color: var(--text);
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgb(34 20 43 / .18);
  text-decoration: none;
}
.button:active { transform: translateY(0); }
.button--large { min-height: 3.45rem; padding-inline: 1.55rem; font-size: 1.05rem; }
.button--whatsapp { background: #0b6b55; }
.button--whatsapp:hover { background: #075040; }
.button--paypal { background: #003087; color: #fff; }
.button--secondary { border-color: currentColor; background: transparent; color: var(--brand-strong); }
.button--secondary:hover { background: var(--brand-soft); }
.button--light { border-color: rgb(255 255 255 / .72); background: rgb(255 255 255 / .12); color: #fff; backdrop-filter: blur(8px); }
.button--light:hover { background: rgb(255 255 255 / .22); }
.button--danger-ghost { border-color: var(--border); background: transparent; color: var(--text); }
.text-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 850; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .72rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

/* Identidad visual original de Tarot Patri, adaptada al header compacto. */
.brand-logo { min-width: max-content; }
.logo-wrap {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 3.55rem;
  height: 3.55rem;
  flex: 0 0 3.55rem;
  place-items: center;
}
.logo-img {
  position: relative;
  z-index: 3;
  width: 3.05rem;
  height: 3.05rem;
  border: 3px solid #b58b3d;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 18px rgb(54 31 63 / .24);
}
.logo-glow,
.logo-ping,
.logo-dot,
.logo-star { position: absolute; pointer-events: none; }
.logo-glow { z-index: 1; border-radius: 50%; }
.logo-glow.g1 {
  width: 3.55rem;
  height: 3.55rem;
  background: rgb(232 197 93 / .22);
  box-shadow: 0 0 22px rgb(157 112 187 / .24);
}
.logo-glow.g2 {
  width: 2.8rem;
  height: 2.8rem;
  background: rgb(255 239 154 / .18);
  filter: blur(7px);
}
.logo-ping {
  z-index: 2;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgb(232 197 93 / .42);
  border-radius: 50%;
}
.logo-dot { z-index: 4; width: .48rem; height: .48rem; border-radius: 50%; box-shadow: 0 2px 8px rgb(0 0 0 / .18); }
.dot-purple { top: -.05rem; right: -.15rem; background: #8f75b8; }
.dot-green { right: auto; bottom: .12rem; left: -.12rem; background: #39aa6a; }
.logo-star { z-index: 4; color: #b89444; line-height: 1; text-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.logo-star.s1 { top: .7rem; right: -.5rem; font-size: .84rem; }
.logo-star.s2 { bottom: .62rem; left: -.55rem; font-size: .72rem; }
.brand-text {
  color: #915c0b;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1;
  text-shadow: 0 1px 0 rgb(255 255 255 / .22);
}
.brand-logo:hover .logo-img { transform: translateY(-1px); }
.brand-logo:hover .logo-ping { transform: scale(1.03); }
.logo-img,
.logo-ping { transition: transform .18s ease; }

.site-nav,
.legal-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-nav > a:not(.button),
.legal-nav > a:not(.button) {
  color: var(--text);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}
.site-nav > a:not(.button):hover,
.legal-nav > a:not(.button):hover { color: var(--brand-strong); }
.site-nav .button,
.legal-nav .button { min-height: 2.65rem; padding: .65rem 1rem; font-size: .84rem; }

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: .55rem;
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 850;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before { position: absolute; top: -.36rem; }
.nav-toggle__icon::after { position: absolute; top: .36rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: clamp(38rem, calc(100svh - var(--header)), 48rem);
  isolation: isolate;
  overflow: clip;
  color: #fff;
}
.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center; }
.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgb(100 48 125 / .25), transparent 38%),
    linear-gradient(90deg, rgb(23 10 31 / .94) 0%, rgb(31 14 41 / .80) 43%, rgb(20 11 26 / .34) 75%, rgb(20 11 26 / .22) 100%);
}
.hero-content {
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.hero-copy { max-width: 48rem; }
.hero .lead { max-width: 43rem; margin-bottom: 1.7rem; color: rgb(255 255 255 / .91); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.45rem; }
.hero-actions--center { justify-content: center; margin-bottom: 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0 0 1.25rem; list-style: none; }
.hero-facts li { padding: .45rem .72rem; border: 1px solid rgb(255 255 255 / .26); border-radius: 999px; background: rgb(22 9 29 / .32); font-size: .86rem; font-weight: 750; backdrop-filter: blur(6px); }
.hero-note { width: fit-content; max-width: 43rem; padding: .75rem .9rem; border-left: 3px solid #b8f5e7; background: rgb(22 9 29 / .46); color: rgb(255 255 255 / .9); font-size: .92rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.service-card--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.service-badge { position: absolute; z-index: 2; top: .8rem; right: .8rem; padding: .35rem .65rem; border-radius: 999px; background: var(--gold-soft); color: #65400f; font-size: .74rem; font-weight: 900; }
.service-media { aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.service-card:hover .service-media img { transform: scale(1.025); }
.service-content { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.service-meta { margin-bottom: .45rem; color: var(--teal); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-description { flex: 1; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.price strong { color: var(--brand-strong); font-size: 1.9rem; line-height: 1; }
.price span { color: var(--muted); font-size: .82rem; }
.service-content .button { width: 100%; }
.card-note { margin: .7rem 0 0; color: var(--muted); font-size: .76rem; text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  padding: 0;
  margin: 0;
  counter-reset: step;
  list-style: none;
}
.step {
  position: relative;
  min-height: 13rem;
  padding: 3.3rem 1.2rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  counter-increment: step;
}
.step::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  content: counter(step);
  font-size: .78rem;
  font-weight: 900;
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.split { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(20rem, .9fr); gap: clamp(2rem, 6vw, 5rem); }
.split-media { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.check-list { display: grid; gap: .65rem; padding: 0; margin-block: 1.4rem; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 950; }

.notice { max-width: 63rem; padding: .95rem 1.1rem; margin: 0 auto 1.35rem; border: 1px solid #d4932e; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--text); font-size: .92rem; }
.payment-gate { max-width: 63rem; margin-inline: auto; }
.confirm-row { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; }
.confirm-row input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-top: .18rem; accent-color: var(--teal); }
.confirm-row span { font-size: .92rem; }
.payment-options { padding: 1rem; margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-md); }
.payment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.payment-card { display: flex; flex-direction: column; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.payment-card h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.payment-card p { flex: 1; color: var(--muted); font-size: .84rem; }
.payment-card .button { width: 100%; min-height: 2.7rem; padding-inline: .8rem; font-size: .84rem; }
.bizum-box { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem; margin-top: .75rem; border-radius: var(--radius-sm); background: var(--accent-surface); }
.bizum-box h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.bizum-box p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.bizum-number { margin-bottom: .35rem !important; white-space: nowrap; font-size: 1.15rem !important; font-weight: 900; }
.bizum-box .button { min-height: 2.4rem; padding: .55rem .85rem; font-size: .8rem; }
.payment-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.25rem; margin-top: 1rem; color: var(--muted); font-size: .8rem; }
.payment-logos { width: 300px; margin: .9rem auto 0; }

.faq-list { display: grid; max-width: 58rem; gap: .55rem; margin-inline: auto; }
.faq-list details { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.faq-list summary { position: relative; padding: 1rem 3.3rem 1rem 1.2rem; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 1.2rem; width: .7rem; height: .7rem; transform: translateY(-65%) rotate(45deg); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transition: transform 160ms ease; }
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq-answer { padding: 0 1.2rem 1.2rem; color: var(--muted); }

.video-wrap { max-width: 54rem; margin-inline: auto; }
.video-player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #0c0710; box-shadow: var(--shadow-md); }
.video-player iframe { width: 100%; height: 100%; border: 0; }
.video-trigger { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #0c0710; cursor: pointer; }
.video-trigger picture,
.video-trigger img { width: 100%; height: 100%; }
.video-trigger img { object-fit: cover; opacity: .82; transition: opacity 180ms ease, transform 260ms ease; }
.video-trigger:hover img { opacity: .68; transform: scale(1.015); }
.play-button { position: absolute; top: 50%; left: 50%; display: grid; width: 4rem; height: 4rem; transform: translate(-50%, -50%); place-items: center; border: 2px solid rgb(255 255 255 / .82); border-radius: 50%; background: rgb(100 48 125 / .88); color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .32); font-size: 1.25rem; }
.video-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; color: var(--muted); font-size: .84rem; }

.cta-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: radial-gradient(circle at 15% 20%, rgb(255 255 255 / .13), transparent 28%), linear-gradient(125deg, #51216a, #0a6158); color: #fff; }
.cta-band .section-heading { margin-bottom: 1.7rem; }
.cta-band p { color: rgb(255 255 255 / .85); }

.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(10rem, .85fr)); gap: 2rem; }
.footer-title { margin-bottom: .65rem; font-weight: 900; }
.footer-copy { max-width: 34rem; color: var(--muted); font-size: .9rem; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a,
.footer-links button { width: fit-content; padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: .92rem; text-align: left; text-decoration: underline; text-decoration-color: rgb(100 48 125 / .35); text-underline-offset: .2em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }

.legal-hero { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--soft); }
.legal-hero .wrap,
.legal-content .wrap { max-width: 55rem; }
.legal-content { padding-block: clamp(3rem, 6vw, 5rem); background: var(--surface); }
.legal-content h2 { margin-top: 2.6rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.legal-content h3 { margin-top: 2rem; font-size: 1.2rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-size: .92rem; }
.legal-content th,
.legal-content td { padding: .8rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-content th { background: var(--soft); }
.legal-content code { overflow-wrap: anywhere; }
.hero-actions--center-spaced { justify-content: center; margin-top: 2rem; }

.cookie-banner { position: fixed; z-index: 3000; right: 1rem; bottom: 1rem; left: 1rem; max-width: 72rem; padding: 1.2rem; margin-inline: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 22px 70px rgb(0 0 0 / .28); }
.cookie-banner__grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem; }
.cookie-banner h2 { margin-bottom: .45rem; font-size: 1.15rem; letter-spacing: 0; }
.cookie-banner p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.cookie-actions .button { min-height: 2.75rem; padding-inline: 1rem; font-size: .88rem; }

.cookie-dialog { width: min(calc(100% - 2rem), 36rem); padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.cookie-dialog::backdrop { background: rgb(15 9 18 / .72); backdrop-filter: blur(4px); }
.cookie-dialog__body { padding: 1.5rem; }
.cookie-dialog h2 { margin-bottom: .6rem; font-size: 1.45rem; }
.cookie-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--border); }
.cookie-category:first-of-type { margin-top: 1rem; }
.cookie-category h3 { margin-bottom: .2rem; font-size: 1rem; }
.cookie-category p { margin: 0; color: var(--muted); font-size: .86rem; }
.cookie-state { align-self: start; padding: .25rem .55rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .78rem; font-weight: 850; }
.switch { position: relative; display: inline-flex; width: 3rem; height: 1.7rem; align-items: center; }
.switch input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { position: relative; width: 100%; height: 100%; border: 1px solid var(--border); border-radius: 999px; background: var(--soft); pointer-events: none; transition: background-color 160ms ease; }
.switch-track::after { position: absolute; top: .2rem; left: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 7px rgb(0 0 0 / .25); content: ""; transition: transform 160ms ease; }
.switch input:checked + .switch-track { border-color: var(--teal); background: var(--teal); }
.switch input:checked + .switch-track::after { transform: translateX(1.3rem); }
.switch input:focus-visible + .switch-track { outline: 3px solid #e2a93b; outline-offset: 3px; }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--soft); }

.copy-helper { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (prefers-color-scheme: dark) {
  .service-badge { color: #fff3d8; }
  .button--whatsapp { background: #0c735f; }
  .button--whatsapp:hover { background: #0a5c4c; }
}

@media (max-width: 64rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: 1 / -1; width: min(100%, calc(50% - .675rem)); justify-self: center; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-grid { grid-template-columns: 1fr; }
  .payment-card { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; }
  .payment-card h3,
  .payment-card p { grid-column: 1; }
  .payment-card .button { grid-column: 2; grid-row: 1 / 3; width: auto; }
}

@media (max-width: 53.75rem) {
  :root { --header: 4.25rem; }
  .header-inner { flex-wrap: wrap; gap: .5rem; padding-block: .55rem; }
  .logo-wrap { width: 3.05rem; height: 3.05rem; flex-basis: 3.05rem; }
  .logo-img { width: 2.65rem; height: 2.65rem; }
  .logo-glow.g1 { width: 3.05rem; height: 3.05rem; }
  .logo-glow.g2 { width: 2.4rem; height: 2.4rem; }
  .logo-ping { width: 2.92rem; height: 2.92rem; }
  .brand-text { font-size: 1.08rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; align-items: stretch; flex-direction: column; padding: .5rem 0 .75rem; }
  .js .site-nav[data-open="false"] { display: none; }
  .site-nav > a:not(.button) { padding: .72rem .8rem; }
  .site-nav .button { width: 100%; margin: .45rem 0 0; }
  .hero { min-height: 44rem; }
  .hero-overlay { background: linear-gradient(90deg, rgb(23 10 31 / .93), rgb(31 14 41 / .65)); }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cookie-banner__grid { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 42rem) {
  .wrap { width: min(calc(100% - 1.25rem), var(--wrap)); }
  .section { padding-block: 3.75rem; }
  .hero { min-height: 40rem; }
  .hero-content { padding-block: 4.25rem; }
  .hero-actions,
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: .45rem; }
  .hero-facts li { font-size: .8rem; }
  .service-grid,
  .steps { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; width: 100%; }
  .step { min-height: auto; }
  .payment-card { display: flex; }
  .payment-card .button { width: 100%; }
  .bizum-box { grid-template-columns: 1fr; }
  .bizum-number { white-space: normal; }
  .video-caption { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .legal-nav .button { display: none; }
  .cookie-banner { right: .5rem; bottom: .5rem; left: .5rem; max-height: calc(100svh - 1rem); overflow-y: auto; }
  .cookie-actions,
  .cookie-actions .button { width: 100%; }
  .cookie-dialog__actions,
  .cookie-dialog__actions .button { width: 100%; }
  .legal-content table,
  .legal-content thead,
  .legal-content tbody,
  .legal-content tr,
  .legal-content th,
  .legal-content td { display: block; }
  .legal-content th { border-bottom: 0; }
  .legal-content td { margin-bottom: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header,
  .cookie-banner,
  .cookie-dialog,
  .cta-band,
  .site-footer,
  .button,
  .video-wrap { display: none !important; }
  body,
  .legal-content,
  .section { background: #fff !important; color: #000 !important; }
  a { color: #000 !important; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-img, .logo-ping { transition: none; }
}
