/* Viralizate.ar - Fuentes Prox */
@font-face {
  font-family: 'Prox';
  src: url('/assets/fonts/prox3.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Prox';
  src: url('/assets/fonts/prox2.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Prox';
  src: url('/assets/fonts/prox1.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Paleta de marca */
:root {
  /* Branding */
  --rosa-viral: #FF2D8D;
  --rosa-hover: #FF4DA1;
  --violeta: #7A3BFF;
  --azul-social: #2A7BFF;
  --gradient-brand: linear-gradient(90deg, #FF2D8D 0%, #7A3BFF 50%, #2A7BFF 100%);

  /* Interfaz */
  --bg: #0F0F13;
  --bg-darker: #08080b;
  --bg-card: #171722;
  --bg-card-light: #1e1e28;
  --bg-card-lighter: #252532;
  --bg-elevated: #2A2A3A;
  --border: #2A2A3A;
  --border-light: #3a3a4a;
  /* Fondos por sección (contraste) */
  --section-bg-1: #0F0F13;
  --section-bg-2: #131318;
  --section-bg-3: #0c0c10;
  --section-bg-4: #16161d;
  --section-bg-5: #101014;

  /* Textos */
  --text: #FFFFFF;
  --text-muted: #B8B8D0;
  --text-disabled: #6B6B85;

  /* Botones */
  --btn-primary: #FF2D8D;
  --btn-primary-hover: #FF4DA1;
  --btn-secondary: #2A7BFF;

  /* Estados */
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Tipografía: Prox - delgada 300, medium 500, bold 700 */
  --font: 'Prox', system-ui, -apple-system, sans-serif;

  /* Radios, sombras y efectos */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(255, 45, 141, 0.2);
  --shadow-glow-violet: 0 0 40px rgba(122, 59, 255, 0.2);
  --gradient-border: linear-gradient(135deg, #FF2D8D, #7A3BFF, #2A7BFF);
  --gradient-subtle: linear-gradient(180deg, rgba(255,45,141,0.06) 0%, rgba(122,59,255,0.04) 50%, rgba(42,123,255,0.06) 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--rosa-viral);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0.5rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Breakpoints: 480, 640, 768, 992, 1200 */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem 1.25rem;
}
.container--narrow { max-width: 640px; }
.container--alert { padding-top: 1rem; }
@media (min-width: 768px) {
  .container { padding: 0 2rem 1.5rem 2rem; }
}
@media (min-width: 1200px) {
  .container { padding: 0 2.5rem 1.5rem 2.5rem; }
}

/* ========== HEADER / BARRA DE MENÚ ========== */
.site-header {
  background: rgba(15, 15, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  min-height: 72px;
  max-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.15);
  overflow: visible;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gradient-border);
  opacity: 0.35;
  pointer-events: none;
}
@media (min-width: 768px) {
  .site-header { min-height: 80px; max-height: 96px; }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 0;
}
.site-header .container {
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  min-height: 0;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { opacity: 0.92; filter: brightness(1.05); }
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .logo-img { height: 40px; max-width: 160px; }
}
.logo-text { display: none; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-toggle:hover { background: var(--bg-elevated); }
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 992px) {
  .nav-toggle { display: none; }
}

/* Overlay del menú móvil (por encima de todo) */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease;
}
body.nav-open .nav-overlay {
  display: block;
  opacity: 1;
}
@media (min-width: 992px) {
  .nav-overlay { display: none !important; }
}

/* Nav: panel móvil (solo < 992px) y escritorio */
.site-header__nav {
  display: none;
}
@media (max-width: 991px) {
  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    max-width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #0c0c10;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 32px rgba(0,0,0,0.5);
    z-index: 9999;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0 1.25rem 2rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header__nav.is-open {
    display: flex;
  }
  .site-header__nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
    padding-right: 1.25rem;
    padding-bottom: 0.5rem;
    padding-left: 1.25rem;
    margin: 0 -1.25rem 0.35rem -1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
  }
  .site-header__nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.3;
    margin: 0;
    padding: 0;
  }
  .site-header__nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header__nav-close:hover,
  .site-header__nav-close:focus {
    background: var(--bg-elevated);
    color: var(--text);
  }
  .site-header__nav-close span {
    display: block;
    margin-top: -0.15em;
  }
  .site-header__nav a {
    text-align: left;
  }
  .site-header__nav .btn--nav {
    margin-top: 0.75rem;
    text-align: center;
  }
}
@media (min-width: 992px) {
  .site-header__nav-header,
  .site-header__nav-label {
    display: none !important;
  }
}
.site-header__nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.site-header__nav a:hover {
  background: var(--bg-elevated);
  color: var(--rosa-viral);
}
.site-header__nav .btn--nav {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}
@media (min-width: 992px) {
  .site-header__nav {
    display: flex;
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    flex-direction: row;
    background: transparent;
    border-left: none;
    box-shadow: none;
    padding: 0;
    gap: 0.15rem;
    overflow: visible;
    z-index: auto;
  }
  .site-header__nav a {
    width: auto;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    position: relative;
  }
  .site-header__nav a::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }
  .site-header__nav a:hover { color: var(--text); }
  .site-header__nav a:hover::after { transform: scaleX(1); }
  .site-header__nav .btn--nav {
    margin-top: 0;
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
  .site-header__nav .btn--nav:hover {
    color: #fff !important;
  }
}
.site-header__nav a.btn-primary.btn--nav {
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header__nav a.btn-primary.btn--nav:hover {
  color: #fff !important;
}
body.nav-open { overflow: hidden; }

.main { min-height: 70vh; padding: 0; }
.main .container { padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 768px) {
  .main .container { padding-top: 2rem; padding-bottom: 2rem; }
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--gradient-border);
  opacity: 0.25;
}
.site-footer__top {
  padding: 2.5rem 0 2rem;
}
@media (min-width: 768px) {
  .site-footer__top { padding: 3rem 0 2.5rem; }
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (min-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.25fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.site-footer__brand {
  max-width: 320px;
}
.site-footer__logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.site-footer__logo:hover { opacity: 0.9; }
.site-footer__logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.site-footer__slogan {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}
.site-footer__text {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.site-footer__col .site-footer__text { margin-bottom: 1rem; }
.site-footer__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 0.5rem; }
.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--rosa-viral); }
.footer-check-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 100%;
}
@media (min-width: 480px) {
  .footer-check-form { max-width: 260px; }
}
.footer-check-form__input {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
}
.footer-check-form__input:focus {
  outline: none;
  border-color: var(--violeta);
}
.footer-check-form__input::placeholder { color: var(--text-disabled); }
.btn--full { width: 100%; }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer__bottom-inner {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }
}
.site-footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-disabled);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .site-footer__legal { justify-content: flex-end; }
}
.site-footer__legal a {
  font-size: 0.85rem;
  color: var(--text-disabled);
  text-decoration: none;
}
.site-footer__legal a:hover { color: var(--text-muted); }

/* Alert */
.alert { padding: 0.75rem 1rem; border-radius: var(--radius-sm); margin: 0; }
.alert--error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Tipografía - Prox: 300 delgada, 500 medium, 700 bold */
h1, h2, h3, h4 { font-weight: 700; }
h1 { font-size: 1.75rem; margin: 0 0 0.5rem; letter-spacing: -0.02em; color: var(--text); }
h2 { font-size: 1.25rem; margin: 0 0 0.75rem; color: var(--text); }
p { margin: 0 0 0.75rem; color: var(--text-muted); font-weight: 500; }
.text-light, .trust-bar__item, .section__lead, .page-lead, .category-desc, .step__text, .cta-block__text, .site-footer__text { font-weight: 300; }
a { color: var(--azul-social); text-decoration: none; }
a:hover { color: var(--rosa-viral); text-decoration: underline; }

/* Botones */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  min-height: 44px;
  line-height: 1.25;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
  .btn { min-height: auto; }
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--btn-primary);
  color: #fff;
  border: 1px solid rgba(255,45,141,0.5);
  box-shadow: 0 2px 12px rgba(255,45,141,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--btn-primary-hover);
  color: #fff;
  border-color: var(--btn-primary-hover);
  box-shadow: 0 4px 20px rgba(255,45,141,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn-secondary { background: var(--btn-secondary); color: #fff; border: 1px solid var(--btn-secondary); }
.btn-secondary:hover { background: #3d8aff; color: #fff; border-color: #3d8aff; }
.btn-sm { padding: 0.35rem 0.65rem; font-size: 0.8rem; }
.btn-danger, .btn--danger { background: #b91c1c; color: #fff; border: 1px solid #b91c1c; }
.btn-danger:hover, .btn--danger:hover { opacity: 0.9; color: #fff; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--text-muted); color: var(--text); background: var(--bg-elevated); }

/* ========== HERO ========== */
.hero--home {
  position: relative;
  padding: 2rem 0 0;
  background: var(--section-bg-1);
  min-height: min(520px, 65vh);
}
/* Hero catálogo/servicios: imagen más chica, texto e imagen bien juntos, línea abajo como en home */
.hero--catalog {
  border-bottom: 1px solid var(--border);
}
.hero--catalog .hero__wrap { gap: 0.25rem; min-height: min(360px, 50vh); }
@media (min-width: 992px) {
  .hero--catalog .hero__wrap { gap: 0.5rem; min-height: min(400px, 52vh); }
}
.hero--catalog .hero__figure {
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 992px) {
  .hero--catalog .hero__figure { justify-content: flex-end; }
}
.hero--catalog .hero__img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  vertical-align: bottom;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 30% 40%, rgba(255, 45, 141, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 80% at 80% 60%, rgba(122, 59, 255, 0.1) 0%, transparent 50%);
}
.hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 5%, transparent 50%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 5%, transparent 50%);
}
.container.hero__wrap {
  padding-bottom: 0;
}
.hero__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  align-items: end;
  min-height: min(420px, 55vh);
  padding-bottom: 0;
}
@media (min-width: 992px) {
  .hero__wrap {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
    align-items: end;
    min-height: min(480px, 58vh);
    padding-bottom: 0;
  }
}
.hero__content {
  text-align: center;
  grid-row: 1;
}
@media (min-width: 992px) {
  .hero__content { text-align: left; align-self: center; grid-row: auto; }
}
.hero__figure {
  position: relative;
  width: 100%;
  line-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  grid-row: 2;
}
@media (min-width: 992px) {
  .hero__figure {
    grid-row: auto;
    align-self: end;
    justify-content: flex-end;
  }
}
.hero__figure::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 20%;
  background: radial-gradient(ellipse at center, rgba(255,45,141,0.08) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  position: relative;
  z-index: 1;
  vertical-align: bottom;
}
@media (min-width: 992px) {
  .hero__img { margin-left: auto; max-width: 100%; }
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rosa-viral);
  margin: 0 0 1rem;
  padding: 0.4rem 1rem;
  background: rgba(255,45,141,0.12);
  border: 1px solid rgba(255,45,141,0.3);
  border-radius: 100px;
}
.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 80px rgba(255,45,141,0.3);
}
@media (min-width: 992px) {
  .hero__title { margin-left: 0; margin-right: 0; margin-bottom: 1.5rem; }
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 2rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
@media (min-width: 992px) {
  .hero__subtitle { margin-left: 0; margin-right: 0; }
}
.hero__actions { margin-top: 1rem; }
.hero__actions .btn { margin-top: 0.75rem; margin-bottom: 1.5rem; }
.hero__stats {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--section-bg-1) 0%, rgba(15,15,19,0.97) 100%);
}
.hero__stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}
@media (min-width: 640px) {
  .hero__stats-inner { gap: 1.5rem 2rem; }
}
.hero__stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  min-width: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  animation: hero-stat-in 0.6s ease backwards;
}
.hero__stat-card:nth-child(1) { animation-delay: 0.1s; }
.hero__stat-card:nth-child(2) { animation-delay: 0.2s; }
.hero__stat-card:nth-child(3) { animation-delay: 0.3s; }
.hero__stat-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hero__stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255,45,141,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hero__stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 40px rgba(255,45,141,0.15);
  border-color: rgba(255,45,141,0.35);
}
.hero__stat-card:hover::before {
  opacity: 0.6;
}
.hero__stat-card:hover::after {
  opacity: 1;
}
.hero__stat-card__highlight {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}
.hero__stat-card:hover .hero__stat-card__highlight {
  transform: scale(1.05);
}
.hero__stat-card__label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.3;
}
@keyframes hero-stat-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn--hero {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-height: 56px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,45,141,0.5);
  box-shadow: 0 4px 24px rgba(255,45,141,0.35), 0 0 0 1px rgba(255,255,255,0.05) inset;
  transition: box-shadow .3s, transform .2s, border-color .2s;
}
.btn--hero:hover {
  box-shadow: 0 8px 32px rgba(255,45,141,0.5), 0 0 40px rgba(255,45,141,0.2), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transform: translateY(-2px);
  border-color: rgba(255,45,141,0.8);
}
.btn--lg { padding: 0.75rem 1.5rem; font-size: 1rem; border-radius: var(--radius); }

/* Trust bar */
.trust-bar {
  background: var(--section-bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  position: relative;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}
.trust-bar__headline {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.trust-bar__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  text-align: center;
}
@media (min-width: 480px) {
  .trust-bar__grid { gap: 1rem; }
}
@media (min-width: 640px) {
  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  padding: 1.15rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.trust-bar__item:hover {
  border-color: rgba(255,45,141,0.35);
  box-shadow: 0 4px 20px rgba(255,45,141,0.12), 0 0 0 1px rgba(255,45,141,0.1);
  transform: translateY(-1px);
}
@media (min-width: 640px) {
  .trust-bar__item { font-size: 0.9rem; padding: 1.25rem 0.85rem; }
}
.trust-bar__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,45,141,0.25) 0%, rgba(122,59,255,0.2) 100%);
  border: 1px solid rgba(255,45,141,0.35);
  box-shadow: 0 0 20px rgba(255,45,141,0.15);
}
.trust-bar__icon { font-size: 1.3rem; }
@media (min-width: 640px) {
  .trust-bar__icon { font-size: 1.4rem; }
}
.trust-bar__label { letter-spacing: 0.03em; }

/* Section: Tu perfil, tu marca (sec1 - selfie) — imagen pegada al fondo de la sección */
.section--brand {
  background: var(--section-bg-3);
  padding: 2.5rem 0 0;
}
.section--brand .container { padding-bottom: 0; }
@media (min-width: 768px) {
  .section--brand { padding: 4rem 0 0; }
}
.section--brand__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  min-height: 420px;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .section--brand__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    min-height: 480px;
  }
  .section--brand__visual { order: 1; }
  .section--brand__text { order: 0; align-self: center; }
}
.section--brand__visual {
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 320px;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .section--brand__visual { min-height: 400px; }
}
@media (min-width: 992px) {
  .section--brand__visual { min-height: 460px; }
}
.section--brand__visual .section-img { margin-bottom: 0 !important; }
.section--brand__text .section__title {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
}
.section--brand__text .section__lead {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .section--brand__text .section__lead { font-size: 1.35rem; }
}
.section--brand__text .btn {
  font-size: 1.05rem;
  padding: 0.65rem 1.35rem;
}

/* Imágenes verticales de sección — CONTRA ABAJO, CERO MARGEN */
.section-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto 0 auto;
  padding: 0;
  object-fit: contain;
  object-position: center bottom;
  vertical-align: bottom;
}
.section-img--portrait {
  max-width: min(380px, 85vw);
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0 !important;
}
@media (min-width: 768px) {
  .section-img--portrait { max-width: min(420px, 42vw); }
}
@media (min-width: 992px) {
  .section-img--portrait { max-width: 480px; }
}

/* Sections */
.section { padding: 2.5rem 0; position: relative; }
@media (min-width: 768px) {
  .section { padding: 3.5rem 0; }
}
.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 3px;
  background: var(--gradient-border);
  border-radius: 2px;
  opacity: 0.5;
}
.section__lead { font-weight: 400; color: var(--text-muted); margin: 0 0 1.75rem; font-size: 1.05rem; max-width: 52ch; line-height: 1.55; }
@media (min-width: 768px) {
  .section__lead { margin-bottom: 2rem; font-size: 1.1rem; }
}
.section__tagline {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 1.5rem 0 0;
}

/* Platform grid (home) - Elegí tu red: sec2 + grid */
.section--platforms {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background: var(--section-bg-4);
}
.section--platforms .section__title {
  color: var(--text);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
}
.section--platforms .section__lead {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .section--platforms .section__lead { font-size: 1.35rem; }
}
.section--platforms .section__title::after { opacity: 0.6; }
@media (min-width: 768px) {
  .section--platforms { padding-top: 3rem; padding-bottom: 3rem; }
}
.section--platforms.section--platforms-unified {
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .section--platforms.section--platforms-unified {
    padding-bottom: 2.5rem;
  }
  .section--platforms-unified__wrap,
  .container.section--platforms-unified__wrap {
    padding-bottom: 2rem;
  }
  .section--platforms-unified__content { order: 0; }
  .section--platforms-unified .section--platforms__visual { order: 1; display: none !important; }
}
@media (min-width: 768px) {
  .section--platforms-unified__wrap,
  .container.section--platforms-unified__wrap {
    padding-bottom: 0;
  }
}
.section--platforms__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
  min-height: 380px;
}
@media (min-width: 768px) {
  .section--platforms__header {
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: end;
    min-height: 420px;
  }
  .section--platforms__visual { order: 0; }
  .section--platforms__head { order: 1; align-self: center; }
}
.section--platforms__visual {
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 320px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.section--platforms__visual .section-img { margin-bottom: 0 !important; }
@media (min-width: 768px) {
  .section--platforms__visual { min-height: 400px; }
}
.section--platforms__head .section__lead { margin-bottom: 0; }

/* Sección unificada: mitad imagen sec2, mitad cuadros (imagen contra abajo) */
.section--platforms-unified__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .section--platforms-unified__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    min-height: 420px;
  }
}
.section--platforms-unified .section--platforms__visual {
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  min-height: 280px;
}
@media (min-width: 768px) {
  .section--platforms-unified .section--platforms__visual {
    min-height: 0;
    padding-bottom: 0;
    padding-top: 1rem;
  }
}
.section--platforms-unified .section--platforms__visual .section-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
  margin-bottom: 0 !important;
}
.section--platforms-unified__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0;
}
@media (min-width: 768px) {
  .section--platforms-unified__content {
    padding-top: 0.25rem;
  }
}
.section--platforms-unified__content .section__title { margin-bottom: 0.5rem; }
.section--platforms-unified__content .section__lead { margin-bottom: 0; }
.section--platforms-cta {
  margin-top: 1rem;
  padding-top: 1.75rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 767px) {
  .section--platforms-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 0;
  }
}
.section--platforms-cta__title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}
.section--platforms-cta__title::after { display: none; }
.section--platforms-cta__sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
}
.section--platforms-cta .btn { margin-bottom: 0; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .platform-grid { gap: 1rem; }
}
@media (min-width: 1200px) {
  .platform-grid { gap: 1.35rem; }
}
/* Grid fijo 2×2 (4 cards: 2 arriba, 2 abajo) */
.platform-grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .platform-grid--2x2 { gap: 1.25rem; }
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 168px;
  padding: 1.5rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color .25s, box-shadow .3s, transform .25s;
  overflow: hidden;
  position: relative;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
@media (min-width: 768px) {
  .platform-card { min-height: 188px; padding: 1.65rem 1.35rem; }
}
.platform-card:hover {
  border-color: rgba(122,59,255,0.4);
  box-shadow: var(--shadow-md), 0 0 30px rgba(122,59,255,0.15);
  transform: translateY(-4px);
  color: var(--text);
  text-decoration: none;
}
.platform-card:hover::before { opacity: 0.7; }
.platform-card__icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.platform-card:hover .platform-card__icon-wrap {
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transform: scale(1.05);
}
.platform-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.platform-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.platform-card__count { font-size: 0.85rem; font-weight: 300; color: var(--text-muted); margin-bottom: 0.5rem; }
.platform-card__cta { font-size: 0.9rem; color: var(--rosa-viral); font-weight: 500; margin-top: auto; }

/* Patrón de fondo para secciones */
.section__bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 50%, rgba(122,59,255,0.06) 0%, transparent 40%), radial-gradient(circle at 80% 50%, rgba(255,45,141,0.05) 0%, transparent 40%);
}
.section--visual { position: relative; }

/* Cómo funciona */
.section--steps {
  background: var(--section-bg-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.section--steps .section__lead {
  margin-left: auto;
  margin-right: auto;
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
@media (min-width: 992px) {
  .steps { gap: 2.25rem; }
}
@keyframes step-bar-shine {
  0%, 100% { opacity: 0.45; background-position: 0% 50%; }
  50% { opacity: 0.75; background-position: 100% 50%; }
}
@keyframes step-num-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,45,141,0.35), inset 0 1px 0 rgba(255,255,255,0.25); transform: scale(1); }
  50% { box-shadow: 0 6px 24px rgba(255,45,141,0.5), inset 0 1px 0 rgba(255,255,255,0.3); transform: scale(1.05); }
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(165deg, var(--bg-card-light) 0%, var(--bg-card) 45%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF2D8D, #7A3BFF, #2A7BFF, #FF2D8D);
  background-size: 200% 100%;
  opacity: 0.5;
  animation: step-bar-shine 4s ease-in-out infinite;
}
.step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(122,59,255,0.18) 0%, transparent 50%);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity .4s ease;
}
.step:hover {
  border-color: rgba(122,59,255,0.45);
  box-shadow: var(--shadow-md), 0 8px 32px rgba(0,0,0,0.3), 0 0 40px rgba(122,59,255,0.12);
  transform: translateY(-4px);
}
.step:hover::after {
  opacity: 1;
}
.step:hover .step__num {
  animation: step-num-pulse 1.5s ease-in-out infinite;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(255,45,141,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step__title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0 0 0.5rem; letter-spacing: -0.02em; position: relative; z-index: 1; }
.step__text { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); margin: 0; line-height: 1.5; position: relative; z-index: 1; }

/* Proof block: sec3 pegada abajo */
.section--proof {
  padding: 2.5rem 0 0;
  padding-bottom: 0;
  background: var(--section-bg-1);
}
@media (max-width: 767px) {
  .section--proof { padding-top: 2.5rem; margin-top: 1.5rem; padding-bottom: 2.5rem; }
  .section--proof .proof-block__visual { display: none !important; }
  .section--proof .proof-block__text .btn { display: block; width: 100%; text-align: center; }
}
@media (min-width: 768px) {
  .section--proof { padding: 4rem 0 0; padding-bottom: 0; }
}
.section--proof .container,
.proof-block.container,
.container.proof-block {
  padding-bottom: 0;
}
.proof-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  min-height: 400px;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .proof-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    min-height: 460px;
  }
  .proof-block__text { order: 0; align-self: center; }
  .proof-block__visual { order: 1; }
}
.proof-block__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .proof-block__visual { min-height: 400px; }
}
@media (min-width: 992px) {
  .proof-block__visual { min-height: 460px; }
}
.proof-block__visual .section-img {
  margin: 0 auto 0 auto !important;
}
.proof-mockup {
  max-width: 320px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.proof-mockup::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
}
.proof-mockup__bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.proof-mockup__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.proof-mockup__bar span:first-child { background: rgba(255,45,141,0.5); }
.proof-mockup__screen {
  padding: 1.5rem;
  min-height: 180px;
}
.proof-mockup__line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,45,141,0.35) 0%, rgba(122,59,255,0.25) 100%);
  margin-bottom: 0.75rem;
  width: 85%;
}
.proof-mockup__line--short { width: 45%; }
.proof-mockup__line--medium { width: 65%; margin-bottom: 1.25rem; }
.proof-mockup__btn {
  display: block;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  width: 100%;
  max-width: 200px;
}
.proof-block__text .section__title { margin-bottom: 0.75rem; }
.proof-block__p {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.proof-block__cta-line {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.25rem;
}

/* CTA block */
.section--cta {
  padding: 2.5rem 0;
  background: var(--section-bg-2);
}
@media (min-width: 768px) {
  .section--cta { padding: 4rem 0; }
}
.cta-block {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-md);
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}
@media (min-width: 768px) {
  .cta-block { padding: 3rem 2rem; }
}
.cta-block__title { font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 700; color: var(--text); margin: 0; letter-spacing: -0.02em; }
.cta-block__sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}
.tagline { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1rem; }
.hero .btn { margin-top: 0.5rem; }
.cta-block .btn--hero { margin-top: 1.25rem; }

/* Formularios */
.form-page { max-width: 100%; padding-top: 1rem; }
@media (min-width: 480px) {
  .form-page { max-width: 480px; }
}
.form-page__tagline { font-size: 1rem; color: var(--text-muted); margin: 0 0 0.5rem; line-height: 1.4; }
.form-page__price { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.form-page__delivery { font-size: 0.95rem; color: var(--rosa-viral); font-weight: 500; margin-bottom: 0.5rem; }
.form-page__desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1rem; }
.form-page__trust { font-size: 0.9rem; font-weight: 300; color: var(--text-muted); margin-bottom: 1rem; }
.form label { display: block; margin-top: 1rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.form label:first-of-type { margin-top: 0; }
.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="url"],
.form input[type="number"],
.form textarea,
.form select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--violeta);
  box-shadow: 0 0 0 2px rgba(122, 59, 255, 0.25);
}
.form textarea { min-height: 80px; resize: vertical; }
.form button[type="submit"] { margin-top: 1.25rem; }
.form fieldset { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.form fieldset legend { padding: 0 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.error { color: var(--danger); font-size: 0.9rem; margin-bottom: 0.5rem; }
.help { font-size: 0.8rem; color: var(--text-disabled); margin-top: 0.2rem; }
.form-help { font-size: 0.9rem; color: var(--text-muted); margin: -0.5rem 0 1rem; line-height: 1.4; }

/* ========== PÁGINA LOGIN / AUTH ========== */
.auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.auth-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--section-bg-2) 0%, var(--bg) 40%, rgba(122,59,255,0.06) 100%);
  pointer-events: none;
}
.auth-page__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}
.auth-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}
.auth-page--register .auth-page__inner {
  max-width: 520px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.auth-card__header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.auth-card__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}
.auth-card__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.auth-card__error {
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #fca5a5;
}
.auth-card__error-item {
  margin: 0 0 0.35em;
}
.auth-card__error-item:last-child {
  margin-bottom: 0;
}
.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.auth-google-btn:hover {
  background: var(--bg-card-light);
  border-color: var(--border-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.auth-google-btn__icon {
  flex-shrink: 0;
}
.auth-card__divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-card__divider::before,
.auth-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-card__divider span {
  padding: 0 1rem;
}
.auth-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.35rem;
}
.auth-form__required {
  color: var(--rosa-viral);
}
.auth-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 400px) {
  .auth-form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.auth-form__field {
  min-width: 0;
}
.auth-form__field .auth-form__label {
  margin-top: 0;
}
.auth-form__field .auth-form__input {
  margin-bottom: 0;
}
.auth-form__row .auth-form__field:last-child .auth-form__input {
  margin-bottom: 0;
}
.auth-form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.auth-form__input:focus {
  outline: none;
  border-color: var(--violeta);
  box-shadow: 0 0 0 2px rgba(122, 59, 255, 0.2);
}
.auth-form__input::placeholder {
  color: var(--text-disabled);
}
.auth-form__phone-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.auth-form__phone-prefix {
  flex-shrink: 0;
  width: 7rem;
  padding: 0.85rem 0.5rem 0.85rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}
.auth-form__phone-prefix:focus {
  outline: none;
  border-color: var(--violeta);
}
.auth-form__phone-number {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.auth-form__recaptcha {
  margin: 1rem 0 0.5rem;
  display: flex;
  justify-content: center;
}
.password-strength {
  margin: 0.5rem 0 1rem;
}
.password-strength__bar-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.password-strength__bar {
  height: 100%;
  width: 0;
  max-width: 100%;
  border-radius: 2px;
  transition: width 0.2s ease, background 0.2s ease;
  background: var(--text-muted);
}
.password-strength__bar[data-strength="weak"] {
  background: #f59e0b;
  width: 50%;
}
.password-strength__bar[data-strength="strong"] {
  background: #22c55e;
  width: 100%;
}
.password-strength__rules {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.password-strength__rule {
  padding: 0.2em 0;
  padding-left: 1.35em;
  position: relative;
}
.password-strength__rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5em;
  height: 0.5em;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.7;
}
.password-strength__rule.is-ok {
  color: #22c55e;
}
.password-strength__rule.is-ok::before {
  border: none;
  background: #22c55e;
  content: '';
}
.auth-form__hint {
  font-size: 0.85rem;
  margin: 0.35rem 0 1rem;
  min-height: 1.25em;
}
.auth-form__hint--ok {
  color: #22c55e;
}
.auth-form__hint--error {
  color: #ef4444;
}
.auth-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.auth-card__footer {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}
.auth-card__link {
  color: var(--rosa-viral);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.auth-card__link:hover {
  color: #ff5fa3;
}

/* ========== PÁGINA ORDENAR ========== */
.page--order { padding-bottom: 3rem; }
.order-content { padding-top: 1rem; }
.order-content__back-top { margin: 0 0 1rem; }
.order-content__back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.order-content__back-link:hover { color: var(--rosa-viral); }
.order-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .order-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}
.order-summary__card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid rgba(122,59,255,0.5);
}
@media (min-width: 768px) {
  .order-summary__card {
    position: sticky;
    top: 1rem;
  }
}
.order-summary__breadcrumb {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-summary__title {
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.order-summary__tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}
.order-summary__price-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: right;
}
.order-summary__price-heading {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}
.order-summary__price {
  display: inline-block;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  background: linear-gradient(90deg, #FF2D8D 0%, #7A3BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}
.order-summary__unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.order-summary__total {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}
.order-summary__total strong { color: var(--text); }
.order-summary__price-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.order-summary__delivery {
  font-size: 0.95rem;
  color: var(--rosa-viral);
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.order-summary__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.order-summary__trust {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
.order-summary__trust-sep { opacity: 0.6; }
.order-summary__trust-item { font-weight: 500; }

.order-form-wrap { min-width: 0; overflow: visible; }
.order-errors {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
}
.order-errors__item {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--danger);
}
.order-errors__item:last-child { margin-bottom: 0; }
.order-form-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  overflow: visible;
}
@media (max-width: 767px) {
  .order-form-card { padding-bottom: 2rem; }
}
.order-form-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.order-form .order-form__label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.order-form .order-form__label:first-of-type { margin-top: 0; }
.order-form__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.order-form__input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  font-size: 1.15rem;
  min-height: 52px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.order-form__input:focus {
  outline: none;
  border-color: var(--violeta);
  box-shadow: 0 0 0 2px rgba(122, 59, 255, 0.2);
}
.order-form__input::placeholder { color: var(--text-disabled); }
.order-form__delivery {
  font-size: 0.95rem;
  color: var(--rosa-viral);
  font-weight: 500;
  margin: 0.75rem 0 0;
  text-align: center;
}
.order-form__required { color: var(--rosa-viral); }
.order-form__section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 1rem;
}
.order-form__section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
}
@media (max-width: 767px) {
  .order-form__section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }
  .order-form__section-title {
    font-size: 1.15rem;
  }
}
.order-form__section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}
.order-form__section--public-confirm {
  border-top: 2px solid var(--violeta, #663399);
  background: #f0ebf5;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding: 1rem 0.75rem;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  color: #1a1a2e;
}
.order-form__section--public-confirm .order-form__checkbox-label {
  gap: 0.9rem;
}
.order-form__section--public-confirm .order-form__checkbox-text {
  margin-left: 0.35rem;
}
.order-form__section--public-confirm .order-form__checkbox-label,
.order-form__section--public-confirm .order-form__checkbox-label span {
  color: #1a1a2e;
  font-size: 0.85rem;
  line-height: 1.4;
}
.order-form__section--public-confirm strong {
  color: #0f0f1a;
}
.order-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
}
.order-form__checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.order-form__section--public-confirm .order-form__checkbox-label input[type="checkbox"] {
  transform: scale(1.45);
  transform-origin: left center;
  margin-top: 0.2rem;
  cursor: pointer;
}
.order-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.order-form__row:first-of-type { margin-top: 0; }
@media (min-width: 480px) {
  .order-form__row { grid-template-columns: 1fr 1fr; }
}
.order-form__field { min-width: 0; }
.order-form__field .order-form__label { margin-top: 0; }
.order-form__phone-row {
  display: flex;
  gap: 0.5rem;
}
.order-form__phone-prefix {
  flex-shrink: 0;
  width: 7rem;
  padding: 0.95rem 0.5rem 0.95rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}
.order-form__phone-prefix:focus {
  outline: none;
  border-color: var(--violeta);
}
.order-form__phone-number {
  flex: 1;
  min-width: 0;
}
.order-form__recaptcha {
  margin: 1.5rem 0 0;
  display: flex;
  justify-content: center;
}
.btn--order-submit {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.order-form__trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.order-form__trust-icon {
  flex-shrink: 0;
  color: var(--rosa-viral);
  opacity: 0.9;
}
.order-content__back {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
}
.order-content__back a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.order-content__back a:hover { color: var(--rosa-viral); }

/* Page header (servicios, etc.) */
.page-header { padding-bottom: 1.25rem; }
.page-header--compact { padding-bottom: 0.75rem; }
.page-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  position: relative;
  padding-bottom: 0.5rem;
}
.page-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-border);
  border-radius: 2px;
  opacity: 0.7;
}
.page-lead { font-size: 1.05rem; font-weight: 400; color: var(--text-muted); margin: 0; line-height: 1.55; }
@media (min-width: 768px) {
  .page-lead { font-size: 1.05rem; }
}

/* Catálogo: hero de la página Servicios */
.catalog-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, var(--section-bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.catalog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 30%, rgba(122,59,255,0.08) 0%, transparent 45%), radial-gradient(circle at 75% 70%, rgba(255,45,141,0.06) 0%, transparent 45%);
  pointer-events: none;
}
.catalog-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.catalog-hero__title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.catalog-hero__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .catalog-hero { padding: 3.5rem 0 3rem; }
}

/* Catálogo: secciones por categoría */
.catalog-content { padding-top: 0.5rem; }
@media (min-width: 768px) {
  .catalog-content { padding-top: 1rem; }
}

/* Paso / etiqueta arriba de tabs */
.catalog-step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.catalog-step-label--categories {
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

/* Intro de plataforma: header ancho, con presencia */
.platform-intro {
  margin-bottom: 2rem;
  padding: 0 0 1rem;
  text-align: center;
  position: relative;
}
.platform-intro::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 32rem);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(122,59,255,0.5), rgba(255,45,141,0.5), transparent);
  border-radius: 1px;
}
.platform-intro__text {
  margin: 0 auto;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.03em;
  max-width: 65ch;
}

/* Tabs por red (página Servicios) */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.catalog-tab:hover {
  color: var(--text);
  background: var(--bg-card-light);
  border-color: var(--border-light);
}
.catalog-tab.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(122,59,255,0.15) 0%, rgba(255,45,141,0.1) 100%);
  border-color: rgba(122,59,255,0.5);
  box-shadow: 0 0 0 1px rgba(122,59,255,0.2);
}
.catalog-tab__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.catalog-tab.is-active .catalog-tab__icon {
  opacity: 1;
}
@media (min-width: 768px) {
  .catalog-tabs {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
  }
  .catalog-tab {
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    gap: 0.65rem;
    border-width: 1.5px;
    border-radius: var(--radius);
  }
  .catalog-tab:hover {
    background: var(--bg-card-light);
    border-color: rgba(122,59,255,0.35);
    box-shadow: 0 2px 12px rgba(122,59,255,0.12);
  }
  .catalog-tab.is-active {
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, rgba(122,59,255,0.2) 0%, rgba(255,45,141,0.15) 100%);
    border-color: rgba(122,59,255,0.6);
    box-shadow: 0 0 0 1px rgba(122,59,255,0.25), 0 4px 16px rgba(122,59,255,0.2);
  }
  .catalog-tab__icon {
    width: 28px;
    height: 28px;
  }
}
.catalog-tab-panel {
  display: none;
}
.catalog-tab-panel.is-active {
  display: block;
}
.catalog-tab-panel .category-section__header {
  margin-top: 0;
}
.catalog-tab-panel .category-section__subtitle:first-of-type {
  margin-top: 0;
}

/* Tabs de categoría (dentro de cada red) */
.catalog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.catalog-category-tab {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.catalog-category-tab:hover {
  color: var(--text);
  background: var(--bg-card-light);
  border-color: var(--border-light);
}
.catalog-category-tab.is-active {
  color: var(--text);
  background: rgba(255,45,141,0.12);
  border-color: rgba(255,45,141,0.4);
}
@media (min-width: 768px) {
  .catalog-step-label--categories {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .catalog-category-tabs {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  .catalog-category-tab {
    padding: 0.75rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-width: 1.5px;
    border-radius: var(--radius);
  }
  .catalog-category-tab:hover {
    background: var(--bg-card-light);
    border-color: rgba(255,45,141,0.35);
    box-shadow: 0 2px 12px rgba(255,45,141,0.12);
  }
  .catalog-category-tab.is-active {
    background: rgba(255,45,141,0.18);
    border-color: rgba(255,45,141,0.55);
    box-shadow: 0 0 0 1px rgba(255,45,141,0.2), 0 4px 16px rgba(255,45,141,0.15);
  }
}
.catalog-category-panel {
  display: none;
}
.catalog-category-panel.is-active {
  display: block;
}
/* Descripción de categoría: header ancho, con presencia */
.catalog-category-panel .category-section__desc--small {
  margin: 0 0 1.75rem;
  padding: 0 0 0.75rem;
  text-align: left;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.025em;
  max-width: 60ch;
  position: relative;
}
.catalog-category-panel .category-section__desc--small::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 28rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(255,45,141,0.45), rgba(122,59,255,0.35));
  border-radius: 1px;
}

/* Móvil: tabs 2 por fila (50%) */
@media (max-width: 767px) {
  .catalog-tabs {
    gap: 0.5rem;
  }
  .catalog-tab {
    flex: 0 0 calc(50% - 0.25rem);
    box-sizing: border-box;
    justify-content: center;
  }
  .catalog-category-tabs {
    gap: 0.5rem;
  }
  .catalog-category-tab {
    flex: 0 0 calc(50% - 0.25rem);
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }
}

.category-section {
  margin-bottom: 3rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
}
.category-section:first-of-type { border-top: none; padding-top: 0; }
@media (min-width: 768px) {
  .category-section { margin-bottom: 3.5rem; }
}
.category-section__header {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: linear-gradient(90deg, rgba(122,59,255,0.08) 0%, transparent 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.category-section__header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-border);
  opacity: 0.8;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.category-section__header::after {
  display: none;
}
.category-section__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}
.category-section__desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  display: block;
}
.category-section__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  display: inline-block;
}
.category-section__subtitle:first-of-type { margin-top: 0; }
/* .category-section__desc--small usado en catálogo se estiliza en .catalog-category-panel */
.category-section__desc--small { font-size: 0.95rem; margin: 0.5rem 0 0.75rem; color: var(--text-muted); display: block; position: relative; z-index: 1; }
.category-section__empty { font-size: 0.95rem; color: var(--text-muted); margin: 0; padding: 1rem 0; }

/* Grid de servicios (cards) */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
}
@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (min-width: 992px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
}
.page--catalog {
  background: var(--bg);
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .page--catalog { padding-bottom: 3rem; }
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(165deg, var(--bg-card-light) 0%, var(--bg-card) 50%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .3s, box-shadow .35s, transform .35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--gradient-border);
  opacity: 0.6;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 60% at 50% -20%, rgba(122,59,255,0.12) 0%, transparent 50%);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity .35s ease;
}
.service-card:hover {
  border-color: rgba(122,59,255,0.4);
  box-shadow: var(--shadow-md), 0 8px 32px rgba(0,0,0,0.25), 0 0 40px rgba(122,59,255,0.1);
  transform: translateY(-4px);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card__name {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  width: 100%;
}
.service-card__tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0.2rem 0 0.5rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  color: var(--rosa-viral);
}
.service-card__description {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
}
.service-card__delivery {
  font-size: 0.8rem;
  color: var(--rosa-viral);
  margin: 0.5rem 0 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-align: center;
}
.service-card__price-block {
  margin-bottom: 0.75rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.service-card__price {
  font-size: clamp(2.35rem, 5.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-card__unit {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
}
.service-card__cta {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  margin-top: auto;
  position: relative;
  z-index: 1;
  transition: transform .2s, box-shadow .25s;
}
.service-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,45,141,0.35);
}
.back-link-wrap { margin-top: 2rem; text-align: center; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.back-link:hover {
  color: var(--rosa-viral);
  border-color: rgba(122,59,255,0.4);
  background: rgba(122,59,255,0.06);
  text-decoration: none;
}
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(165deg, var(--bg-card-light) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.empty-state p { margin: 0 0 1.5rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.5; }
.empty-state .btn { min-height: 48px; padding: 0.65rem 1.5rem; }

/* Legacy: lista de servicios (por si alguna vista antigua) */
.category-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.category-block__title { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 700; color: var(--text); }
.category-desc { font-size: 0.95rem; font-weight: 300; margin-bottom: 1.25rem; color: var(--text-muted); }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.service-item__name { flex: 1 1 100%; font-weight: 700; color: var(--text); font-size: 0.95rem; }
.service-item__price {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.05rem;
}
.service-item__unit { font-weight: 300; color: var(--text-muted); font-size: 0.9rem; }
.service-item .btn { margin-left: auto; }

/* Tablas */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.table { width: 100%; border-collapse: collapse; min-width: 320px; }
@media (min-width: 640px) {
  .table { min-width: 500px; }
}
.table th, .table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.9rem; }
@media (min-width: 768px) {
  .table th, .table td { padding: 0.65rem 1rem; font-size: 1rem; }
}
.table th { font-weight: 700; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; background: var(--bg-elevated); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255,255,255,0.03); }
.table .num { font-variant-numeric: tabular-nums; }
.table .actions { white-space: nowrap; }
.table .actions a, .table .actions .btn { margin-right: 0.35rem; }

/* Orden / pedido */
.order-detail { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; max-width: 100%; }
@media (min-width: 480px) {
  .order-detail { max-width: 480px; }
}
.order-detail dt { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.order-detail dt:first-of-type { margin-top: 0; }
.order-detail dd { margin: 0; color: var(--text); }
.gateway-option { display: block; margin: 0.5rem 0; }
.gateway-option input { margin-right: 0.5rem; }

/* ========== ADMIN ========== */
.admin-layout { display: flex; flex-direction: column; min-height: 80vh; background: var(--bg); }
@media (min-width: 992px) {
  .admin-layout { flex-direction: row; }
}
.admin-sidebar {
  width: 100%;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: none;
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 992px) {
  .admin-sidebar {
    width: 220px;
    flex-direction: column;
    align-items: stretch;
    border-right: 1px solid var(--border);
    border-bottom: none;
    padding: 1rem 0;
  }
}
.admin-sidebar .logo { padding: 0 0.5rem 0.5rem; display: flex; border-bottom: none; margin-bottom: 0; }
@media (min-width: 992px) {
  .admin-sidebar .logo { padding: 0 1rem 1rem; border-bottom: 1px solid var(--border); margin-bottom: 0.5rem; }
}
.admin-sidebar .logo-img { height: 28px; }
.admin-sidebar .logo-text { display: none; }
.admin-sidebar nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
@media (min-width: 992px) {
  .admin-sidebar nav { flex-direction: column; }
}
.admin-sidebar nav a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
}
@media (min-width: 992px) {
  .admin-sidebar nav a { padding: 0.5rem 1rem; font-size: 0.9rem; }
}
.admin-sidebar nav a:hover { color: var(--text); background: var(--bg-elevated); text-decoration: none; }
.admin-sidebar nav a.active { color: var(--rosa-viral); border-left-color: var(--rosa-viral); background: rgba(255,45,141,0.08); }
.admin-content { flex: 1; padding: 1rem 1.25rem; overflow-x: auto; background: var(--bg); }
@media (min-width: 768px) {
  .admin-content { padding: 1.5rem 2rem; }
}
.admin-content h1 { margin-bottom: 1rem; color: var(--text); font-size: 1.5rem; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.admin-stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 480px) {
  .admin-stats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.admin-links { list-style: none; padding: 0; margin: 0; }
.admin-links li { margin-bottom: 0.5rem; }
.admin-links a { color: var(--azul-social); }
.admin-links a:hover { color: var(--rosa-viral); text-decoration: underline; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.admin-card__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.admin-card__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.admin-dl { margin: 0; }
.admin-dl dt { font-weight: 600; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; }
.admin-dl dt:first-of-type { margin-top: 0; }
.admin-dl dd { margin: 0.2rem 0 0; }
.platform-profile-category { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.platform-profile-category:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.platform-profile-category__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.platform-profile-category__name { font-size: 1rem; font-weight: 600; margin: 0; }
.platform-profile-category__meta { display: flex; align-items: center; gap: 0.75rem; }
.platform-profile-category__empty { margin: 0.5rem 0 0; font-size: 0.9rem; }
.table--sm { font-size: 0.9rem; }
.table--sm th, .table--sm td { padding: 0.4rem 0.5rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.admin-stats .stat { background: var(--bg-elevated); border-radius: var(--radius); padding: 1rem; text-align: center; border: 1px solid var(--border); }
.admin-stats .stat .n { font-size: 1.5rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.admin-stats .stat .l { font-size: 0.8rem; font-weight: 300; color: var(--text-muted); }
.admin-flash { padding: 0.65rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.admin-flash--success { background: rgba(34,197,94,0.15); color: var(--success); }
.admin-flash--error { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Admin: label como bloque y Select2 ID proveedor */
.form-label-block { display: block; margin-top: 1rem; margin-bottom: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted, #555); }
.form-label-block:first-of-type { margin-top: 0; }
.form-select-provider-wrap { margin-top: 0; margin-bottom: 0; }
.form-help--after-select { margin-top: 0.5rem; margin-bottom: 1rem; }
/* Select2 en admin: texto oscuro legible */
/* Select2 ID proveedor: tema oscuro */
.admin-card .select2-container .select2-selection--single { height: 2.25rem; padding: 0 0.5rem; background: #1e293b; border: 1px solid #334155; border-radius: 6px; }
.admin-card .select2-container .select2-selection__rendered { color: #e2e8f0; line-height: 2rem; padding-left: 0; }
.admin-card .select2-container .select2-selection__placeholder { color: #94a3b8; }
.admin-card .select2-container--default .select2-selection__arrow { height: 2.1rem; }
.admin-card .select2-container--default .select2-selection__arrow b { border-color: #94a3b8 transparent transparent transparent; }
.select2-dropdown--dark { background: #1e293b; border: 1px solid #334155; border-radius: 6px; }
.select2-dropdown--dark .select2-results__option { color: #e2e8f0; padding: 0.45rem 0.75rem; }
.select2-dropdown--dark .select2-results__option--highlighted[aria-selected] { background: #334155; color: #f1f5f9; }
.select2-dropdown--dark .select2-search--dropdown .select2-search__field { background: #334155; border: 1px solid #475569; color: #e2e8f0; }

/* Badge */
.badge { display: inline-block; padding: 0.2rem 0.5rem; font-size: 0.75rem; border-radius: 4px; font-weight: 500; }
.badge--success { background: rgba(34,197,94,0.2); color: var(--success); }
.badge--muted { background: var(--bg-elevated); color: var(--text-muted); }
.badge--danger { background: rgba(239,68,68,0.2); color: var(--danger); }
.badge--warning { background: rgba(245,158,11,0.2); color: var(--warning); }
.badge--info { background: rgba(59,130,246,0.2); color: #3b82f6; }
.text-muted { color: var(--text-muted); }

/* ========== MI CUENTA ========== */
.account-page {
  position: relative;
  min-height: 60vh;
  padding: 2rem 0 3rem;
}
.account-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--section-bg-2) 0%, var(--bg) 35%, rgba(122,59,255,0.05) 100%);
  pointer-events: none;
}
.account-page__inner {
  position: relative;
  z-index: 1;
}
.account-top {
  margin-bottom: 2rem;
}
.account-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.account-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.account-hero__greeting {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}
.account-hero__greeting strong {
  color: var(--text);
  font-weight: 600;
}
.account-hero__since {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}
.account-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.account-stat {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.account-stat strong {
  color: var(--text);
  font-weight: 600;
}
.account-stat--pending strong {
  color: var(--warning);
}
.account-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .account-quick {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .account-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
  }
  .account-hero {
    text-align: left;
    margin-bottom: 0;
  }
  .account-quick {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    min-width: 280px;
  }
}
.account-quick__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.account-quick__card:hover {
  border-color: var(--violeta);
  box-shadow: 0 8px 24px rgba(122,59,255,0.15);
  transform: translateY(-2px);
}
.account-quick__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(122,59,255,0.15);
  color: var(--violeta);
  margin-bottom: 0.75rem;
}
.account-quick__label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.account-quick__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.account-card--recent {
  margin-bottom: 2rem;
}
.account-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-recent-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.account-recent-item:last-of-type {
  border-bottom: none;
}
.account-recent-item__id {
  font-weight: 600;
  color: var(--text-muted);
}
.account-recent-item__service {
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-recent-item__amount {
  font-weight: 600;
  color: var(--text);
}
.account-recent-item__status {
  font-size: 0.8rem;
  padding: 0.25em 0.6em;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(107,114,128,0.15);
  color: #4b5563;
}
.account-recent-item__status--pending {
  background: rgba(245,158,11,0.25);
  color: #b45309;
}
.account-recent-item__status--paid {
  background: rgba(59,130,246,0.2);
  color: #1d4ed8;
}
.account-recent-item__status--sent {
  background: rgba(99,102,241,0.2);
  color: #4338ca;
}
.account-recent-item__status--processing {
  background: rgba(59,130,246,0.25);
  color: #1d4ed8;
}
.account-recent-item__status--completed {
  background: rgba(34,197,94,0.25);
  color: #15803d;
}
.account-recent-item__status--failed {
  background: rgba(239,68,68,0.2);
  color: #b91c1c;
}
.account-recent-item__status--cancelled {
  background: rgba(107,114,128,0.25);
  color: #4b5563;
}
.account-recent-item__status--refunded {
  background: rgba(168,85,247,0.2);
  color: #6b21a8;
}
.account-recent-item__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--violeta, #663399);
  background: rgba(102,51,153,0.08);
  border: 1px solid rgba(102,51,153,0.35);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.account-recent-item__link:hover {
  background: rgba(102,51,153,0.15);
  border-color: var(--violeta, #663399);
  color: var(--violeta, #663399);
  text-decoration: none;
}
.account-recent-item__link:focus {
  outline: 2px solid var(--violeta, #663399);
  outline-offset: 2px;
}
.account-card__footer-link {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.account-card__footer-link a {
  color: var(--violeta);
  text-decoration: none;
}
.account-card__footer-link a:hover {
  color: var(--rosa-viral);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .account-recent-item {
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
  }
  .account-recent-item__id { grid-column: 1; }
  .account-recent-item__service { grid-column: 2; grid-row: 1 / 3; }
  .account-recent-item__amount { grid-column: 1; }
  .account-recent-item__status { grid-column: 1; }
  .account-recent-item__link { grid-column: 2; align-self: center; }
}
.account-sections {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .account-sections {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.account-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.account-card__message {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.account-card__message--success {
  background: rgba(34,197,94,0.12);
  color: var(--success);
}
.account-card__message--error {
  background: rgba(239,68,68,0.12);
  color: #fca5a5;
}
.account-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.35rem;
}
.account-form__required {
  color: var(--rosa-viral);
}
.account-form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.account-form__input:focus {
  outline: none;
  border-color: var(--violeta);
  box-shadow: 0 0 0 2px rgba(122,59,255,0.2);
}
.account-form__input--readonly {
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: not-allowed;
}
.account-form__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -0.5rem 0 1rem;
}
.account-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.account-form__field {
  min-width: 0;
}
.account-form__field .account-form__label { margin-top: 0; }
.account-form__field .account-form__input { margin-bottom: 0; }
.account-form__phone-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.account-form__phone-prefix {
  flex-shrink: 0;
  width: 7rem;
  padding: 0.85rem 0.5rem 0.85rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}
.account-form__phone-prefix:focus {
  outline: none;
  border-color: var(--violeta);
}
.account-form__phone-number {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.account-form__submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}
@media (max-width: 520px) {
  .account-quick { grid-template-columns: 1fr; }
  .account-form__row { grid-template-columns: 1fr; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .account-quick { min-width: 300px; }
}

/* ========== MIS PEDIDOS ========== */
.orders-page {
  position: relative;
  min-height: 50vh;
  padding: 2rem 0 3rem;
}
.orders-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--section-bg-2) 0%, var(--bg) 40%, rgba(122,59,255,0.04) 100%);
  pointer-events: none;
}
.orders-page__inner {
  position: relative;
  z-index: 1;
}
.orders-hero {
  margin-bottom: 2rem;
}
.orders-hero__back {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.orders-hero__back a {
  color: var(--text-muted);
  text-decoration: none;
}
.orders-hero__back a:hover {
  color: var(--violeta);
  text-decoration: underline;
}
.orders-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.orders-hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}
.orders-empty {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.orders-empty__card {
  text-align: center;
  max-width: 420px;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.orders-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: rgba(122,59,255,0.12);
  color: var(--violeta);
}
.orders-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.orders-empty__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.orders-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.orders-table-wrap {
  margin-top: 0.5rem;
}
.orders-search-card {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-width: 100%;
}
.orders-search-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.orders-search {
  width: 100%;
  min-width: 260px;
  max-width: 360px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0;
  box-sizing: border-box;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.orders-search:focus {
  outline: none;
  border-color: var(--violeta);
  box-shadow: 0 0 0 2px rgba(122,59,255,0.2);
}
.orders-search::placeholder {
  color: var(--text-disabled);
}
.orders-search-card .orders-search {
  background: var(--bg);
}
.orders-table-none {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.orders-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.orders-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.orders-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.orders-table th:first-child { padding-left: 1.25rem; }
.orders-table th:last-child { padding-right: 1.25rem; text-align: right; }
.orders-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.orders-table td:first-child { padding-left: 1.25rem; }
.orders-table td:last-child { padding-right: 1.25rem; text-align: right; }
.orders-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}
.orders-table tbody tr:last-child td {
  border-bottom: none;
}
.orders-table__id {
  font-weight: 600;
  color: var(--text-muted);
}
.orders-table__service {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orders-table__amount {
  font-weight: 600;
}
.orders-table__status .orders-badge {
  margin-left: 0;
}
.orders-table__date {
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .orders-table-scroll {
    overflow-x: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }
  .orders-table {
    min-width: 0;
    font-size: 0.9rem;
  }
  .orders-table thead {
    display: none;
  }
  .orders-table tbody tr {
    display: block;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
  }
  .orders-table tbody tr:hover {
    background: var(--bg-card);
    border-color: var(--border-light);
  }
  .orders-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .orders-table td {
    display: block;
    padding: 0.4rem 0;
    border-bottom: none;
    text-align: left;
  }
  .orders-table td:first-child,
  .orders-table td:last-child {
    padding-left: 0;
    padding-right: 0;
  }
  .orders-table td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 5.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
    vertical-align: top;
  }
  .orders-table td.orders-table__action::before {
    display: none;
  }
  .orders-table td.orders-table__action {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
    text-align: left;
  }
  .orders-table td.orders-table__action .btn {
    display: inline-block;
  }
  .orders-table__service {
    max-width: none;
    white-space: normal;
    word-break: break-word;
  }
  .orders-table__date {
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .orders-search-card {
    width: 100%;
    box-sizing: border-box;
  }
  .orders-search-card .orders-search {
    max-width: none;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.orders-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25em 0.6em;
  border-radius: 6px;
}
.orders-badge--pending {
  background: rgba(245,158,11,0.2);
  color: var(--warning);
}
.orders-badge--paid {
  background: rgba(139,92,246,0.2);
  color: #a78bfa;
}
.orders-badge--sent {
  background: rgba(42,123,255,0.2);
  color: var(--azul-social);
}
.orders-badge--processing {
  background: rgba(42,123,255,0.25);
  color: #60a5fa;
}
.orders-badge--completed {
  background: rgba(34,197,94,0.2);
  color: var(--success);
}
.orders-badge--failed,
.orders-badge--cancelled {
  background: rgba(239,68,68,0.2);
  color: #fca5a5;
}
.orders-badge--refunded {
  background: rgba(139,92,246,0.2);
  color: #a78bfa;
}
.orders-card__service {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.orders-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.orders-card__meta strong {
  color: var(--text);
}
.orders-card__amount {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}
.orders-card__link {
  font-size: 0.8rem;
  color: var(--text-disabled);
  margin: 0 0 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orders-card__action {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.orders-card__action .btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ========== DETALLE PEDIDO (pedido/id o pedido/t/token) ========== */
.order-view-page {
  position: relative;
  min-height: 50vh;
  padding: 2rem 0 3rem;
}
.order-view-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--section-bg-2) 0%, var(--bg) 40%, rgba(122,59,255,0.04) 100%);
  pointer-events: none;
}
.order-view-page__inner {
  position: relative;
  z-index: 1;
}
.order-view-page__back {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.order-view-page__back a {
  color: var(--text-muted);
  text-decoration: none;
}
.order-view-page__back a:hover {
  color: var(--violeta);
  text-decoration: underline;
}
.order-view-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}
.order-view-header__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}
.order-view-header__badge {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35em 0.75em;
  border-radius: 8px;
}
.order-view-badge--pending {
  background: rgba(245,158,11,0.2);
  color: var(--warning);
}
.order-view-badge--paid {
  background: rgba(139,92,246,0.2);
  color: #a78bfa;
}
.order-view-badge--sent {
  background: rgba(42,123,255,0.2);
  color: var(--azul-social);
}
.order-view-badge--processing {
  background: rgba(42,123,255,0.25);
  color: #60a5fa;
}
.order-view-badge--completed {
  background: rgba(34,197,94,0.2);
  color: var(--success);
}
.order-view-badge--failed,
.order-view-badge--cancelled {
  background: rgba(239,68,68,0.2);
  color: #fca5a5;
}
.order-view-badge--refunded {
  background: rgba(139,92,246,0.2);
  color: #a78bfa;
}
.order-view-alert {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid;
}
.order-view-alert--success {
  background: rgba(34,197,94,0.12);
  border-left-color: var(--success);
  color: var(--text);
}
.order-view-alert--warning {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.35);
}
.order-view-alert__text {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
}
.order-view-alert__text:last-child { margin-bottom: 0; }
.order-view-alert .btn { margin-top: 0; }
.order-view-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.order-view-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.order-view-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.order-view-dl {
  margin: 0;
}
.order-view-dl__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.order-view-dl__row:last-child {
  border-bottom: none;
}
.order-view-dl dt {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}
.order-view-dl dd {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}
.order-view-dl__amount {
  font-weight: 700;
  font-size: 1.05rem;
}
.order-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--violeta);
  word-break: break-all;
  text-decoration: none;
}
.order-view-link:hover {
  color: var(--rosa-viral);
  text-decoration: underline;
}
.order-view-link__icon {
  flex-shrink: 0;
}
.order-view-tracking__desc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.order-view-tracking__url-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.order-view-tracking__url {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  word-break: break-all;
  display: block;
}
.order-view-copy-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.order-view-copy-btn:hover {
  background: var(--border-light);
  border-color: var(--border-light);
}
.order-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.order-view-actions .btn:first-child {
  margin-right: 0;
}

/* ========== PAGAR PEDIDO (/pagar/orden/id) ========== */
.payment-page {
  position: relative;
  min-height: 50vh;
  padding: 2rem 0 3rem;
}
.payment-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--section-bg-2) 0%, var(--bg) 40%, rgba(122,59,255,0.04) 100%);
  pointer-events: none;
}
.payment-page__inner {
  position: relative;
  z-index: 1;
}
.payment-page__back {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.payment-page__back a {
  color: var(--text-muted);
  text-decoration: none;
}
.payment-page__back a:hover {
  color: var(--violeta);
  text-decoration: underline;
}
.payment-header {
  margin-bottom: 2rem;
}
.payment-header__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.payment-header__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}
.payment-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .payment-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
}
.payment-summary__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 1.5rem;
}
.payment-summary__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.payment-summary__service {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}
.payment-summary__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}
.payment-summary__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}
.payment-main {
  min-width: 0;
}
.payment-alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.payment-alert--error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}
.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.payment-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.payment-card__message {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.payment-form__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.payment-option {
  display: block;
  cursor: pointer;
  margin: 0;
}
.payment-option__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.payment-option__box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.payment-option:hover .payment-option__box {
  border-color: var(--border-light);
  background: var(--bg-elevated);
}
.payment-option__input:focus + .payment-option__box {
  box-shadow: 0 0 0 2px rgba(122,59,255,0.3);
}
.payment-option__input:checked + .payment-option__box,
.payment-option--checked .payment-option__box {
  border-color: var(--violeta);
  background: rgba(122,59,255,0.08);
}
.payment-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--violeta);
}
.payment-option__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.payment-option__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
}
@media (max-width: 480px) {
  .payment-option__desc {
    display: none;
  }
}
.payment-form__submit {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}
