:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --ink: #0e1a33;
  --ink-2: #4a5670;
  --line: #e2dccd;
  --brand: #01329d;
  --brand-ink: #ffffff;
  --sun: #fdc307;
  --sun-soft: #fff4cc;
  --chip: #efeadf;
  --glow: rgba(1, 50, 157, 0.18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080808;
    --surface: #131313;
    --ink: #ffffff;
    --ink-2: #a6a6a6;
    --line: #2a2a2a;
    --brand: #fdc307;
    --brand-ink: #0b0b0b;
    --sun: #fdc307;
    --sun-soft: #2a2300;
    --chip: #1a1a1a;
    --glow: rgba(255, 255, 255, 0.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #080808;
  --surface: #131313;
  --ink: #ffffff;
  --ink-2: #a6a6a6;
  --line: #2a2a2a;
  --brand: #fdc307;
  --brand-ink: #0b0b0b;
  --sun: #fdc307;
  --sun-soft: #2a2300;
  --chip: #1a1a1a;
  --glow: rgba(255, 255, 255, 0.07);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --ink: #0e1a33;
  --ink-2: #4a5670;
  --line: #e2dccd;
  --brand: #01329d;
  --brand-ink: #ffffff;
  --sun: #fdc307;
  --sun-soft: #fff4cc;
  --chip: #efeadf;
  --glow: rgba(1, 50, 157, 0.18);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.55 "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
  min-height: 100svh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
}
h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
}
.lead {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 58ch;
  margin: 14px 0 0;
}

.aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.orb.a {
  width: 46vw;
  height: 46vw;
  background: var(--glow);
  top: -12vw;
  left: -10vw;
  animation: flota 18s ease-in-out infinite;
}
.orb.b {
  width: 36vw;
  height: 36vw;
  background: var(--sun-soft);
  right: -8vw;
  top: 30vh;
  animation: flota 22s ease-in-out infinite reverse;
}
.orb.c {
  width: 28vw;
  height: 28vw;
  background: var(--glow);
  left: 40vw;
  bottom: -10vw;
  animation: flota 26s ease-in-out infinite;
}
@keyframes flota {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4vw, 3vw);
  }
}
.halo {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--glow), transparent 62%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.puntero .halo {
  opacity: 1;
}
main,
header,
footer {
  position: relative;
  z-index: 1;
}

header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}
.logo img {
  height: 38px;
  width: auto;
}
.logo .lg-dark {
  display: none;
}
:root[data-theme="dark"] .logo .lg-dark {
  display: block;
}
:root[data-theme="dark"] .logo .lg-light {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .lg-dark {
    display: block;
  }
  :root:not([data-theme="light"]) .logo .lg-light {
    display: none;
  }
}
nav.links {
  display: flex;
  gap: 4px;
}
nav.links a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-2);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
nav.links a:hover {
  color: var(--ink);
  background: var(--chip);
}
nav.links a[aria-current="page"] {
  color: var(--brand);
  background: var(--chip);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font:
    600 15px/1 "Inter",
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s ease,
    box-shadow 0.25s ease;
  position: relative;
}
.btn:hover {
  box-shadow: 0 14px 30px -12px var(--glow);
}
.btn-main {
  background: var(--sun);
  border-color: var(--sun);
  color: #0e1a33;
}
.theme {
  width: 46px;
  padding: 0;
  font-size: 18px;
}

.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.rv.visto {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orb {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  align-content: center;
  padding: 72px 0;
}
.hero .mono {
  color: var(--brand);
}
.hero h1 span {
  color: var(--brand);
  font-style: normal;
}
.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--brand);
}
.hero h1 span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
  transform-origin: left;
  animation: subraya 1.2s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes subraya {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

section.bloque {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.head {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.mods {
  columns: 2 300px;
  column-gap: 14px;
}
details.mod {
  break-inside: avoid;
  margin: 0 0 14px;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
details.mod[open] {
  border-color: var(--brand);
  box-shadow: 0 24px 50px -28px var(--glow);
}
details.mod summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
}
details.mod summary::-webkit-details-marker {
  display: none;
}
.ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sun-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
details.mod:hover .ico {
  transform: rotate(-8deg) scale(1.08);
}
.mod h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mod .desc {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 2px;
  display: block;
}
.plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--chip);
  display: grid;
  place-items: center;
  font-weight: 700;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s ease;
}
details.mod[open] .plus {
  transform: rotate(45deg);
  background: var(--brand);
  color: var(--brand-ink);
}
.feats {
  list-style: none;
  margin: 0;
  padding: 0 18px 16px;
  border-top: 1px solid var(--line);
  animation: entra 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feats li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.feats li:last-child {
  border-bottom: 0;
}
.feats .ok {
  color: var(--brand);
  font-weight: 700;
}
@keyframes entra {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 48px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.stat b {
  display: block;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.stat span {
  color: var(--ink-2);
  font-size: 14px;
}

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
  margin-top: 40px;
  scrollbar-width: thin;
}
.shots figure {
  margin: 0;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
}
.shots figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px var(--glow);
}
.shots img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.shots figcaption {
  font-size: 14px;
  color: var(--ink-2);
  padding: 10px 4px 2px;
}

.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease;
}
.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px var(--glow);
}
.plan.hot {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.plan h3 {
  font-size: 20px;
}
.price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price small {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0;
}
.plan .btn {
  margin-top: auto;
}
.plan {
  position: relative;
}
.plan .tag {
  position: absolute;
  top: -12px;
  left: 26px;
}
.inc {
  display: grid;
  gap: 10px;
  margin: 8px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.inc-t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.inc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.inc li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.inc li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
}
.tag {
  align-self: flex-start;
  background: var(--sun);
  color: #0e1a33;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.note {
  color: var(--ink-2);
  font-size: 14px;
  margin: 16px 0 0;
}
.cmp {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}
.cmp details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.cmp summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cmp summary::-webkit-details-marker {
  display: none;
}
.cmp summary:after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--chip);
  display: grid;
  place-items: center;
  transition: transform 0.35s ease;
}
.cmp details[open] summary:after {
  transform: rotate(45deg);
}
.tbl {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 14px;
}
th,
td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  text-align: left;
}
th {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 700;
}
td.ok {
  color: var(--brand);
  font-weight: 700;
}
td.no {
  color: var(--ink-2);
  opacity: 0.5;
}

.cmp table {
  table-layout: fixed;
  min-width: 620px;
}
.cmp th:first-child,
.cmp td:first-child {
  width: 36%;
  padding-left: 20px;
}
.cmp th:not(:first-child),
.cmp td:not(:first-child) {
  width: 16%;
  text-align: center;
  vertical-align: middle;
}
.cmp td {
  vertical-align: middle;
  line-height: 1.4;
}
.cmp summary {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  gap: 16px;
}
.cmp summary .mono {
  text-align: right;
  color: var(--ink-2);
}

.sup {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 760px) {
  .sup {
    grid-template-columns: 1fr;
  }
  nav.links a {
    padding: 8px 9px;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  color: var(--ink-2);
}
.faq {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq p {
  color: var(--ink-2);
  margin: 8px 0 0;
}
form.contacto {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
form.contacto label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
form.contacto input,
form.contacto textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 46px;
  width: 100%;
}
form.contacto textarea {
  min-height: 100px;
  resize: vertical;
}
#enviado {
  display: none;
  color: var(--brand);
  font-weight: 700;
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--ink-2);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 8px;
}
@media (max-width: 640px) {
  header.top .wrap {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  .logo {
    margin-right: auto;
  }
  .logo img {
    height: 32px;
  }
  nav.links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  nav.links a {
    padding: 8px 10px;
    font-size: 15px;
  }
  header.top .btn-main {
    display: none;
  }
  section.bloque {
    padding: 64px 0;
  }
}

.mgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px) {
  .mgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .mgrid {
    grid-template-columns: 1fr;
  }
}
.mcard {
  all: unset;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.45s ease;
  --mx: 50%;
  --my: 50%;
}
.mcard:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.mcard:hover:after {
  opacity: 1;
}
.mcard:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 28px 50px -26px var(--glow);
  border-color: var(--brand);
}
.mcard:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}
.mcard.on {
  border-color: var(--sun);
  background: linear-gradient(180deg, var(--sun-soft), var(--surface) 70%);
}
.mico {
  flex: 0 0 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--chip);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 20px -12px var(--glow);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mico span {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mcard:hover .mico {
  transform: translateZ(24px) rotate(-6deg);
}
.mcard:hover .mico span {
  transform: scale(1.15) rotate(-6deg);
}
.mtxt {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.mtxt b {
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mtxt small {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.35;
}
.mcount {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-2);
  background: var(--chip);
  border-radius: 999px;
  padding: 3px 8px;
}
.mcard.rv {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.45s ease;
}
.mcard.rv.visto {
  opacity: 1;
  transform: none;
}
.mpanel {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  animation: subePanel 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes subePanel {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mpanel h3 {
  font-size: clamp(24px, 3vw, 34px);
}
.mpanel p {
  margin: 8px 0 0;
  color: var(--ink-2);
}
.mpanel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mpanel li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  animation: liAparece 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--k, 0) * 45ms + 120ms);
}
.mpanel li:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px var(--sun-soft);
}
@keyframes liAparece {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .mpanel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .mpanel ul {
    grid-template-columns: 1fr;
  }
}

.hero h1 span,
.s-hero h1 .w {
  will-change: transform;
}
.lead,
.mono {
  transition: letter-spacing 0.6s ease;
}
.btn-main {
  position: relative;
  overflow: hidden;
}
.btn-main:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: none;
}
.btn-main:hover:after {
  animation: brillo 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes brillo {
  from {
    left: -60%;
  }
  to {
    left: 130%;
  }
}
.stat {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px var(--glow);
}
.card {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px var(--glow);
}
@media (prefers-reduced-motion: reduce) {
  .mcard,
  .mcard.rv,
  .mpanel,
  .mpanel li,
  .btn-main:after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.mtxt {
  padding-right: 34px;
}

.halo {
  display: none !important;
}
.cur-ring,
.cur-dot {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cur-ring {
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 1px solid #fff;
  mix-blend-mode: difference;
  z-index: 211;
  transition:
    width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.25s ease;
}
.cur-ring.grande {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
}
.cur-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #fdc307;
  z-index: 212;
}
html.cur-on .cur-ring,
html.cur-on .cur-dot {
  opacity: 1;
}
html.cur-on,
html.cur-on * {
  cursor: none !important;
}
html.cur-on input,
html.cur-on textarea {
  cursor: text !important;
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cur-ring,
  .cur-dot {
    display: none;
  }
}

.cmp-fija {
  position: sticky;
  top: var(--hdr, 69px);
  z-index: 20;
  display: grid;
  grid-template-columns: 36% repeat(4, 16%);
  align-items: center;
  padding: 10px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cmp-fija.on {
  opacity: 1;
  transform: none;
}
.cmp-fija:before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 100%;
  height: 24px;
  background: var(--bg);
}
.cmp-fija .cf-lbl {
  padding-left: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cmp-fija .cf-lbl.cambia {
  animation: cfCambia 0.45s ease;
}
@keyframes cfCambia {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cmp-fija .cf {
  display: grid;
  justify-items: center;
  gap: 1px;
  line-height: 1.15;
}
.cmp-fija b {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.cmp-fija em {
  font-style: normal;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cmp-fija em small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  margin-left: 2px;
}
.cmp-fija .cf.hot b {
  color: var(--brand);
}
.cmp-fija .cf.hot em {
  box-shadow: inset 0 -2px 0 var(--sun);
}
@media (max-width: 700px) {
  .cmp-fija {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 8px;
  }
  .cmp-fija .cf-lbl {
    grid-column: 1/-1;
    padding: 0 14px;
    font-size: 14px;
  }
  .cmp-fija em {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-fija {
    transition: opacity 0.2s;
  }
}

.wa {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow:
    0 14px 34px -14px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
.wa svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.wa:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px -16px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.wa:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .wa {
    height: 54px;
    width: 54px;
    padding: 0;
    justify-content: center;
  }
  .wa span {
    display: none;
  }
}
.contacto-directo {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.contacto-directo a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.contacto-directo a:hover {
  border-color: var(--sun);
  background: var(--chip);
}
.contacto-directo small {
  display: block;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 13px;
}
.contacto-directo svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Botón para volver a Kibhu */
.volver {
  width: 46px;
  padding: 0;
  font-size: 20px;
  flex-shrink: 0;
}

/* Tarjeta Premium: brillo intermitente que invita a elegirla */
.plan.hot {
  animation: plan-latido 2.4s ease-in-out infinite;
}
.plan.hot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  border: 2px solid var(--brand);
  pointer-events: none;
  animation: plan-anillo 2.4s ease-out infinite;
}
.plan.hot .btn-main {
  animation: plan-boton 2.4s ease-in-out infinite;
}
.plan.hot:hover,
.plan.hot:hover::after,
.plan.hot:hover .btn-main {
  animation-play-state: paused;
}
@keyframes plan-latido {
  0%,
  100% {
    box-shadow:
      0 0 0 1px var(--brand) inset,
      0 0 0 0 color-mix(in srgb, var(--brand) 0%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px var(--brand) inset,
      0 0 34px 6px color-mix(in srgb, var(--brand) 38%, transparent);
  }
}
@keyframes plan-anillo {
  0% {
    opacity: 0.85;
    inset: -2px;
  }
  70%,
  100% {
    opacity: 0;
    inset: -12px;
  }
}
@keyframes plan-boton {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
    box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--sun) 80%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan.hot,
  .plan.hot::after,
  .plan.hot .btn-main {
    animation: none;
  }
}
