﻿/* ============================================
   Manuel Navarro â€” Estilo inspirado U. de Lima
   Colores PerÃº: rojo + blanco, sin saturar
   ============================================ */

:root {
  --red-peru: #C8102E;
  --red-peru-dark: #A00D25;
  --red-peru-light: #E8233F;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-100: #F7F7F7;
  --gray-200: #E8E8E8;
  --gray-400: #9A9A9A;
  --gray-600: #5C5C5C;
  --sidebar-width: 43px;
  --header-height: 72px;
  --auth-sidebar-width: 480px;
  --slider-offset-left: 5rem;
  --site-max-width: 1280px; /* Solo para contenido interno (.site-content). Header, slider y footer = ancho completo */
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --barrita-width: 11px;
  --barrita-gap: 18px;
  --barrita-teal: #2EC4B6;
  --line: #e2e8f0;
  --line-strong: #d5dde8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --card-border: 1px solid var(--line-strong);
  --shadow-card: var(--shadow-sm);
  --shadow-card-hover: var(--shadow-md);
  --border-on-dark: 1px solid rgba(255, 255, 255, 0.45);
  --shadow-cta: 0 4px 16px rgba(0, 0, 0, 0.18);
  --shadow-cta-hover: 0 6px 22px rgba(0, 0, 0, 0.22);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  min-height: 100vh;
  padding-left: var(--sidebar-width);
  padding-top: var(--header-height);
  overflow-x: hidden;
  transition: padding-top var(--transition), padding-left var(--transition);
  --franja-color: var(--black);
}

.page-tienda {
  --site-max-width: 1440px;
}

.page-legal {
  --site-max-width: 1500px;
}

/* â”€â”€ Franja lateral (roja en home, negra en el resto) â”€â”€ */
.sidebar-social {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--franja-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: width var(--transition);
}

.sidebar-social__toggle {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 30px;
  height: 30px;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0.95;
  transition: opacity var(--transition);
}

.sidebar-social__toggle:hover {
  opacity: 1;
}

.sidebar-social__icons {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 2rem;
  margin-top: auto;
  width: 100%;
  align-items: center;
}

html.sidebar-expanded .sidebar-social__toggle {
  align-self: center;
}

html.sidebar-expanded .sidebar-social__icons {
  align-items: stretch;
  padding-left: 0.5rem;
  padding-right: 0.625rem;
}

.sidebar-social__btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.9;
  transition: opacity var(--transition), transform var(--transition);
}

html.sidebar-expanded .sidebar-social__btn--labeled {
  width: 100%;
  height: auto;
  min-height: 30px;
  justify-content: flex-start;
  padding: 0.25rem 0;
}

html.sidebar-expanded .sidebar-social__btn:not(.sidebar-social__btn--labeled) {
  align-self: center;
}

.sidebar-social__btn--discord {
  font-size: 13px;
  width: 27px;
  height: 27px;
}

html.sidebar-expanded .sidebar-social__btn--discord {
  width: 100%;
  height: auto;
  min-height: 30px;
  font-size: 16px;
}

.sidebar-social__btn--discord i {
  width: 1rem;
  text-align: center;
}

.sidebar-social__btn--tiktok {
  font-size: 14px;
}

html.sidebar-expanded .sidebar-social__btn--tiktok {
  width: 100%;
  height: auto;
  min-height: 30px;
  font-size: 16px;
}

.sidebar-social__label {
  display: none;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}

html.sidebar-expanded .sidebar-social__btn--labeled .sidebar-social__label {
  display: inline;
}

.sidebar-social__btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

html.sidebar-expanded .sidebar-social__btn--labeled:hover {
  transform: none;
}

/* â”€â”€ Barra flotante derecha (Discord / WhatsApp) â”€â”€ */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
}

.social-float__btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 10px 0 0 10px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: -2px 4px 14px rgba(15, 23, 42, 0.18);
  transition:
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease;
}

.social-float__btn:hover,
.social-float__btn:focus-visible {
  width: 10.5rem;
  box-shadow: -4px 6px 18px rgba(15, 23, 42, 0.22);
}

.social-float__btn i {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-float__label {
  flex: 0 1 auto;
  min-width: 0;
  padding-right: 0.85rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-float__btn:hover .social-float__label,
.social-float__btn:focus-visible .social-float__label {
  opacity: 1;
  transform: translateX(0);
}

.social-float__btn--youtube {
  background: #ff0033;
}

.social-float__btn--youtube:hover,
.social-float__btn--youtube:focus-visible {
  background: #e0002d;
}

.social-float__btn--discord {
  background: #5865f2;
}

.social-float__btn--discord:hover,
.social-float__btn--discord:focus-visible {
  background: #4752c4;
}

.social-float__btn--whatsapp {
  background: #25d366;
}

.social-float__btn--whatsapp:hover,
.social-float__btn--whatsapp:focus-visible {
  background: #1ebe57;
}

@media (max-width: 768px) {
  .social-float {
    top: auto;
    bottom: 6.5rem;
    transform: none;
    gap: 0.4rem;
  }

  .social-float__btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-float__btn i {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }

  .social-float__btn:hover,
  .social-float__btn:focus-visible {
    width: 9.5rem;
  }
}

/* â”€â”€ Header â”€â”€ */
.header {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
  transition: transform var(--transition), left var(--transition), box-shadow var(--transition);
}

html.is-scrolled .header {
  --header-logo-size: 34px;
  --header-logo-text: 0.9375rem;
  --header-logo-tagline: 0.625rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

body.page-home {
  padding-top: 0;
  --franja-color: var(--red-peru);
}

body.page-home .header {
  transform: translateY(-100%);
  pointer-events: none;
}

html.is-scrolled body.page-home .header {
  transform: translateY(0);
  pointer-events: auto;
}

.header__inner {
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem 0 1.5rem;
  gap: 1rem;
  transition: height var(--transition);
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.header__logo:hover {
  opacity: 0.88;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
}

.brand-logo--header {
  height: clamp(3rem, 5.2vw, 4rem);
  transition: height var(--transition);
}

html.is-scrolled .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

body.page-tienda .brand-logo--header,
html.is-scrolled body.page-tienda .brand-logo--header,
body.page-legal .brand-logo--header,
html.is-scrolled body.page-legal .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

.brand-logo--auth {
  height: 5.5rem;
}

.auth-sidebar__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0 1.75rem 0.35rem;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Separador línea + círculo entre logo y form */
.auth-sidebar__brand::after {
  content: '';
  display: block;
  width: 100%;
  height: 12px;
  margin: 1.15rem 0 1.35rem;
  background:
    radial-gradient(circle, transparent 3px, #c8ced6 3.25px, #c8ced6 4px, transparent 4.25px) center / 12px 12px no-repeat,
    linear-gradient(#c8ced6, #c8ced6) left center / calc(50% - 9px) 1px no-repeat,
    linear-gradient(#c8ced6, #c8ced6) right center / calc(50% - 9px) 1px no-repeat;
}

.mn-separator {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: 12px;
  margin: 2.25rem auto 0;
  background:
    radial-gradient(circle, transparent 3px, #c8ced6 3.25px, #c8ced6 4px, transparent 4.25px) center / 12px 12px no-repeat,
    linear-gradient(#c8ced6, #c8ced6) left center / calc(50% - 9px) 1px no-repeat,
    linear-gradient(#c8ced6, #c8ced6) right center / calc(50% - 9px) 1px no-repeat;
}

.header__logo-mark {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  background: var(--franja-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: width var(--transition), height var(--transition), transform 0.25s ease;
}

.header__logo:hover .header__logo-mark {
  transform: scale(1.06);
}

.header__logo-mark::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 13px solid var(--white);
  margin-top: -3px;
  transition: border-width var(--transition), margin var(--transition);
}

.header--scrolled .header__logo-mark::before {
  border-left-width: 7px;
  border-right-width: 7px;
  border-bottom-width: 11px;
  margin-top: -3px;
}

.header__logo-tagline {
  font-size: var(--header-logo-tagline);
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: font-size var(--transition);
}

html.is-scrolled body.page-legal .header {
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
}

html.is-scrolled body.page-legal {
  --header-height: 72px;
}

html.is-scrolled {
  --header-height: 62px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  min-width: 0;
}

.header__divider {
  flex-shrink: 0;
  width: 1px;
  height: 1.35rem;
  background: #c8cdd3;
  border-radius: 1px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--black);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header__burger:hover,
.header__burger[aria-expanded="true"] {
  border-color: rgba(200, 16, 46, 0.35);
  color: var(--red-peru);
  background: rgba(200, 16, 46, 0.04);
}

/* Mobile nav drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1401;
  width: min(20.5rem, 88vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 8px 0 32px rgba(15, 23, 42, 0.18);
  transform: translateX(-105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gray-600);
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-nav__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.75rem 1.5rem 1rem;
  flex-shrink: 0;
}

.mobile-nav__brand img {
  display: block;
  height: 3.25rem;
  width: auto;
}

.mobile-nav__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem 1.25rem;
  overflow-y: auto;
  min-height: 0;
}

.mobile-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.mobile-nav__link,
.mobile-nav__cursos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__cursos-btn:hover {
  background: rgba(200, 16, 46, 0.06);
  color: var(--red-peru);
}

.mobile-nav__cursos-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.mobile-nav__cursos.is-open .mobile-nav__cursos-btn i {
  transform: rotate(180deg);
}

.mobile-nav__cursos-panel {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.35rem;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav__cursos.is-open .mobile-nav__cursos-panel {
  display: flex;
}

.mobile-nav__course {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav__course:hover {
  background: var(--gray-100);
  color: var(--red-peru);
}

.mobile-nav__course.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.mobile-nav__course em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-nav__foot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem 1.35rem;
  gap: 0.95rem;
}

.mobile-nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(12.5rem, 70%);
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--red-peru);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-nav__login:hover {
  background: var(--red-peru-dark);
  transform: translateY(-1px);
}

.mobile-nav__sep {
  display: block;
  width: 100%;
  max-width: 14rem;
  height: 1px;
  background: #d7dce2;
}

.mobile-nav__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mobile-nav__social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: #fff;
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mobile-nav__social-btn:hover {
  color: var(--red-peru);
  border-color: rgba(200, 16, 46, 0.35);
  background: rgba(200, 16, 46, 0.04);
}

.mobile-nav__copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
}

html.mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .header__right {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }

  .header__inner {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .header__logo {
    margin-right: 0;
  }
}

/* Nav horizontal */
.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  overflow: visible;
  padding: 0 0.25rem;
}

.header__nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--black);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 8px;
  transition:
    background var(--transition),
    color var(--transition),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  background: var(--gray-100);
  color: var(--red-peru);
  transform: translateY(-1px);
}

.nav-item--active {
  background: rgba(200, 16, 46, 0.08);
  color: var(--red-peru);
  font-weight: 600;
}

.nav-item--disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

.nav-item--disabled:hover {
  background: transparent;
  color: var(--black);
  transform: none;
}

.nav-item--disabled:hover .nav-item__icon {
  transform: none;
}

.nav-item__icon {
  font-size: 1.125rem;
  width: 1.125rem;
  text-align: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .nav-item__icon {
  transform: scale(1.15);
}

.nav-item__label {
  line-height: 1;
}

.nav-item--logica {
  gap: 0.7rem;
}

button.nav-item--btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
}

/* Dropdown Cursos */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  gap: 0.45rem;
}

.nav-dropdown__chevron {
  font-size: 0.65rem;
  opacity: 0.55;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown__trigger {
  background: var(--gray-100);
  color: var(--red-peru);
}

.nav-dropdown.is-open .nav-dropdown__chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 15.5rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid rgba(18, 20, 24, 0.08);
  border-radius: 10px;
  box-shadow:
    0 18px 40px rgba(18, 20, 24, 0.1),
    0 2px 6px rgba(18, 20, 24, 0.04);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__panel[hidden] {
  display: block !important;
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 7px;
  color: var(--black);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown__link:hover {
  background: rgba(200, 16, 46, 0.06);
  color: var(--red-peru);
}

.nav-dropdown__link.is-active {
  background: rgba(200, 16, 46, 0.08);
  color: var(--red-peru);
  font-weight: 600;
}

.nav-dropdown__link.is-disabled {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

.nav-dropdown__link em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500, #8a939c);
}

.nav-dropdown__icon {
  width: 1.05rem;
  text-align: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.nav-dropdown__icon.logic-icon {
  font-size: 0.95rem;
  width: 1.05rem;
}

@media (max-width: 720px) {
  .nav-dropdown__panel {
    left: 0;
    right: auto;
    transform: translateY(-6px);
    min-width: 14.5rem;
  }

  .nav-dropdown.is-open .nav-dropdown__panel {
    transform: translateY(0);
  }
}

/* BotÃ³n Login */
.header__login-btn {
  flex-shrink: 0;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 0.625rem 1.5rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}

.header__login-btn:hover {
  background: var(--red-peru);
  border-color: var(--red-peru);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header__login-btn:active {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* â”€â”€ Hero Slider (ancho completo) â”€â”€ */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  overflow: hidden;
  background: var(--black);
}

body.page-home .hero-slider {
  height: 100vh;
  height: 100dvh;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
}

.hero-slider__slide.is-active {
  opacity: 1;
}

.hero-slider__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  will-change: transform;
}

.hero-slider__slide-bg--low {
  background-position: center 30%;
}

.hero-slider__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.9) 18%,
    rgba(0, 0, 0, 0.78) 32%,
    rgba(0, 0, 0, 0.58) 44%,
    rgba(0, 0, 0, 0.38) 54%,
    rgba(0, 0, 0, 0.18) 62%,
    transparent 70%
  );
}

.hero-slider__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-slider__copy {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem 0 var(--slider-offset-left);
  max-width: 60%;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 12px));
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slider__copy.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transform: translateY(-50%);
}

.hero-slider__desc {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.hero-slider__line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  margin: 0.625rem 0;
}

.hero-slider__title {
  font-size: 43px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none;
  white-space: nowrap;
}

.hero-slider__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 0.25rem;
  width: max-content;
  max-width: 100%;
}

.hero-slider__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  margin-top: 0;
  background: var(--red-peru);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-cta);
  padding: 1.05rem 2rem;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease, gap var(--transition);
}

.hero-slider__cta-whatsapp {
  display: inline-block;
  font-size: 22px;
  max-width: 1.25rem;
  opacity: 1;
  overflow: hidden;
  transition:
    max-width 0.35s ease,
    opacity 0.3s ease;
}

.hero-slider__cta-arrow {
  display: inline-block;
  font-size: 22px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: rotate(-180deg);
  transition:
    max-width 0.35s ease,
    opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.hero-slider__cta:hover {
  background: var(--red-peru-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
}

.hero-slider__cta:hover .hero-slider__cta-whatsapp {
  max-width: 0;
  opacity: 0;
}

.hero-slider__cta:hover .hero-slider__cta-arrow {
  max-width: 1.25rem;
  opacity: 1;
  transform: rotate(0deg);
}

.hero-slider__cta:active {
  transform: none;
  box-shadow: var(--shadow-cta);
}

.hero-slider__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 1.05rem 2rem;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  color: var(--red-peru);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hero-slider__cta-secondary:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
}

.hero-slider__cta-secondary:active {
  transform: none;
  box-shadow: var(--shadow-cta);
}

.hero-slider__cta--discord i {
  font-size: 22px;
}

/* â”€â”€ Slider controls â”€â”€ */
.hero-slider__controls {
  position: absolute;
  bottom: 2.5rem;
  left: var(--slider-offset-left);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.hero-slider__btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.625rem;
  line-height: 1;
  padding: 0.25rem;
  opacity: 1;
  transition: opacity var(--transition);
}

.hero-slider__btn:hover {
  opacity: 0.75;
}

.hero-slider__counter {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-slider__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1.5;
}

.hero-slider__ring-progress {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 38px 38px;
}

.hero-slider__counter-text {
  position: relative;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* â”€â”€ Auth overlay + sidebar â”€â”€ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1600;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}

.auth-overlay.is-visible {
  opacity: 1;
}

.auth-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--auth-sidebar-width);
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 1610;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.auth-sidebar.is-visible {
  transform: translateX(0);
}

.auth-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 1.75rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.auth-sidebar__close {
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--black);
  transition: background var(--transition);
}

.auth-sidebar__close:hover {
  background: var(--gray-200);
}

.auth-sidebar__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.auth-sidebar__content {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 1.25rem;
  box-sizing: border-box;
  max-width: 100%;
}

/* Forms */
.auth-form {
  padding: 0 1.75rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.auth-form.is-active {
  display: flex;
}

.auth-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.auth-form__field {
  position: relative;
  min-width: 0;
}

.auth-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.auth-form__row > .auth-form__group {
  min-width: 0;
}

/* Honeypot anti-bot: oculto para humanos, visible para bots que rellenan todo */
.form-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.auth-form__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--gray-600);
  cursor: pointer;
}

.auth-form__terms input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--red-peru);
  cursor: pointer;
}

.auth-form__terms a {
  color: var(--red-peru);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form__terms a:hover {
  color: var(--red-peru-dark);
}

.auth-form__required {
  color: var(--red-peru);
  margin-left: 0.125rem;
  font-weight: 700;
}

.auth-form__group input,
.auth-form__group select {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  outline: none;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-form__group input:focus,
.auth-form__group select:focus {
  border-color: var(--red-peru);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.auth-form__group input::placeholder {
  color: var(--gray-400);
}

.auth-form__select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.auth-select {
  position: relative;
}

.auth-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-select__value {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-select__value.is-placeholder {
  color: var(--gray-400);
}

.auth-select__chevron {
  font-size: 0.6875rem;
  color: var(--gray-400);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.auth-select.is-open .auth-select__trigger {
  border-color: var(--red-peru);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.auth-select.is-open .auth-select__chevron {
  transform: rotate(180deg);
  color: var(--red-peru);
}

.auth-select.is-disabled .auth-select__trigger {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
}

.auth-select__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
  pointer-events: none;
}

.auth-select.is-open .auth-select__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.auth-select__list {
  list-style: none;
  max-height: 11rem;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  padding: 0.35rem 0;
}

.auth-select__option {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--black);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.auth-select__option:hover,
.auth-select__option.is-selected {
  background: rgba(200, 16, 46, 0.08);
  color: var(--red-peru);
}

.auth-form__group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
}

.auth-form__submit {
  margin-top: 0.5rem;
  background: var(--red-peru);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 0.875rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.auth-form__submit:hover {
  background: var(--red-peru-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-form__submit:active {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.auth-form__switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.auth-form__link {
  background: none;
  border: none;
  color: var(--red-peru);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form__link:hover {
  color: var(--red-peru-dark);
}

.auth-sidebar__footer {
  flex-shrink: 0;
  padding: 1.25rem 1.75rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.auth-sidebar__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.auth-sidebar__social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.auth-sidebar__social-btn:hover {
  color: var(--red-peru);
  border-color: rgba(200, 16, 46, 0.35);
  background: rgba(200, 16, 46, 0.04);
}

.auth-sidebar__copy {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 0;
}

/* â”€â”€ Toast â”€â”€ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: calc(var(--sidebar-width) + 2rem);
  background: var(--black);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast__icon {
  color: var(--red-peru-light);
}

/* â”€â”€ PrÃ³ximamente (popover junto al clic) â”€â”€ */
.coming-soon-pop {
  position: fixed;
  z-index: 1620;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.coming-soon-pop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.coming-soon-pop::before {
  content: '';
  position: absolute;
  left: var(--arrow-x, 50%);
  width: 10px;
  height: 10px;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
  transform: translateX(-50%) rotate(45deg);
  top: -6px;
}

.coming-soon-pop.is-above::before {
  top: auto;
  bottom: -6px;
  transform: translateX(-50%) rotate(225deg);
}

.coming-soon-pop__icon {
  color: var(--red-peru);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.coming-soon-pop__text {
  white-space: nowrap;
}

/* â”€â”€ Modal: contenido no descargable â”€â”€ */
.download-block-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.download-block-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.download-block-modal {
  width: min(500px, calc(100vw - 2rem));
  min-height: 440px;
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.9rem;
  padding: 2.65rem 2.35rem 2.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
  position: relative;
  overflow: visible;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.26s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.download-block-overlay.is-visible .download-block-modal {
  transform: translateY(0) scale(1);
}

.download-block-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.download-block-modal__close:hover {
  background: var(--gray-200);
  color: var(--black);
}

.download-block-modal__icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  aspect-ratio: 1 / 1;
  flex: 0 0 72px;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(200, 16, 46, 0.12);
  color: var(--red-peru);
  font-size: 1.65rem;
  margin: 0 auto 0.45rem;
  line-height: 0;
  box-sizing: border-box;
}

.download-block-modal__icon i {
  display: grid;
  place-items: center;
  line-height: 1;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
}

.download-block-modal__face {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
  border: 1px solid #cbd5e1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-content: center;
  gap: 0.35rem 0.7rem;
  padding: 0.85rem 0.7rem 0.65rem;
}

.download-block-modal__eye {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
}

.download-block-modal__mouth {
  grid-column: 1 / -1;
  width: 16px;
  height: 9px;
  border: 2px solid #94a3b8;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  margin-top: 0.1rem;
}

.download-block-modal__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-peru);
}

.download-block-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 22rem;
  line-height: 1.3;
}

.download-block-modal__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--gray-600);
  max-width: 22rem;
}

.download-block-modal__resource {
  margin: 0.25rem 0 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  max-width: 24rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.download-block-modal__btn {
  margin-top: 0.65rem;
  flex-shrink: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.download-block-modal__btn:hover {
  background: #2d3748;
  transform: translateY(-1px);
}

@media (max-width: 540px) {
  .download-block-modal {
    width: min(500px, calc(100vw - 1.5rem));
    min-height: 380px;
    padding: 2.15rem 1.35rem 1.75rem;
  }

  .download-block-modal__title {
    font-size: 1.05rem;
  }
}


/* â”€â”€ Navi (bot-capaz Â· esquina inferior) â”€â”€ */
.mascot-assistant {
  position: fixed;
  top: auto;
  right: clamp(10px, 2vw, 24px);
  bottom: clamp(12px, 2.2vw, 24px);
  z-index: 1500;
  display: flex;
  align-items: flex-end;
  gap: 0.72rem;
  pointer-events: none;
  overflow: visible;
}

.mascot-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  overflow: visible;
}

.mascot-quip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  top: auto;
  max-width: 9rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #0b1020;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(4, 9, 18, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 6;
  white-space: nowrap;
}

.mascot-assistant.is-quip .mascot-quip {
  opacity: 1;
  transform: translateY(0);
}

.mascot-bubble {
  display: none !important;
}

.mascot-bubble-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mascot-label {
  margin: 0;
  font-size: 0.83rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9dc5ff;
}

.mascot-close {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(232, 243, 255, 0.92);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.mascot-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.mascot-text {
  margin: 0.62rem 0 0;
  font-size: 0.9rem;
  color: #d8e9f2;
  line-height: 1.4;
}

.mascot-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.mascot-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(20, 45, 86, 0.4);
  color: #e2ecff;
  padding: 0.44rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
}

.mascot-action:hover {
  background: rgba(32, 70, 130, 0.52);
}

.mascot-figure {
  position: relative;
  width: 66px;
  height: 66px;
  overflow: visible;
}

.mascot-trigger {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle at 30% 28%, #d9d9d9 0%, #d0d0d0 58%, #111111 100%);
  box-shadow:
    0 12px 30px rgba(4, 9, 18, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  pointer-events: auto;
  overflow: visible;
  will-change: transform, box-shadow;
  animation: mascotFloat 4.6s ease-in-out infinite;
  padding: 0;
}

.mascot-assistant.is-pinned .mascot-trigger {
  box-shadow:
    0 12px 30px rgba(4, 9, 18, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.mascot-trigger:focus-visible,
.mascot-action:focus-visible,
.mascot-close:focus-visible {
  outline: 2px solid rgba(100, 116, 139, 0.9);
  outline-offset: 2px;
}

.mascot-face {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(18, 44, 84, 0.3), rgba(9, 24, 55, 0.62));
  border: 1px solid rgba(200, 225, 255, 0.32);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
  column-gap: 0.22rem;
  padding: 0.7rem 0.7rem 0.42rem;
  row-gap: 0.28rem;
}

.mascot-eye {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8f1ff;
  box-shadow: 0 0 8px rgba(196, 220, 255, 0.75);
  animation: mascotBlink 4.2s ease-in-out infinite;
  transform-origin: center;
}

.mascot-smile {
  grid-column: 1 / -1;
  width: 14px;
  height: 5px;
  border: 1.5px solid rgba(232, 241, 255, 0.7);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  margin-top: 0.02rem;
}

.mascot-hand {
  position: absolute;
  left: -14px;
  top: 4px;
  width: 26px;
  height: 34px;
  opacity: 0;
  transform: rotate(-12deg) translate(0, 0);
  transform-origin: 85% 90%;
  pointer-events: none;
  z-index: 5;
}

.mascot-hand__arm {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 11px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c4c9d1 0%, #9ca3af 100%);
  border: 1.5px solid #6b7280;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.mascot-hand__palm {
  position: absolute;
  left: 4px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e5e7eb 0%, #d1d5db 100%);
  border: 1.5px solid #6b7280;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mascot-assistant.is-waving .mascot-hand {
  animation: mascotWaveHello 2.4s ease-in-out forwards;
}

.mascot-assistant.is-ouch .mascot-hand {
  opacity: 0 !important;
  animation: none !important;
}

.mascot-assistant.is-ouch .mascot-trigger {
  animation: mascotOuch 0.35s ease-out;
}

.mascot-assistant.is-ouch .mascot-eye {
  animation: none;
  transform: scaleY(0.18) scaleX(1.15);
  opacity: 0.95;
  box-shadow: 0 0 5px rgba(196, 220, 255, 0.45);
}

.mascot-assistant.is-ouch .mascot-smile {
  width: 12px;
  height: 4px;
  border-color: rgba(232, 241, 255, 0.45);
  transform: scaleY(-1);
}

.mascot-assistant.is-key .mascot-trigger {
  animation: mascotKey 0.1s ease-out;
}

@keyframes mascotKey {
  0% { transform: scale(1); }
  40% { transform: scale(0.94) translateY(2px); }
  100% { transform: scale(1); }
}

@keyframes mascotOuch {
  0% { transform: scale(1) rotate(0); }
  25% { transform: scale(0.92) rotate(-4deg); }
  50% { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.5deg);
    box-shadow:
      0 10px 22px rgba(4, 9, 18, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  25% {
    transform: translate3d(3px, -10px, 0) rotate(0.8deg);
    box-shadow:
      0 18px 34px rgba(4, 9, 18, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.14);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotate(1.6deg);
    box-shadow:
      0 24px 40px rgba(4, 9, 18, 0.18),
      0 0 0 1px rgba(255, 255, 255, 0.16);
  }
  75% {
    transform: translate3d(-3px, -9px, 0) rotate(-0.6deg);
    box-shadow:
      0 16px 30px rgba(4, 9, 18, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.14);
  }
}

@keyframes mascotBlink {
  0%,
  46%,
  54%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.15);
    opacity: 0.8;
  }
}

@keyframes mascotWaveHello {
  0% {
    opacity: 0;
    transform: rotate(24deg) translate(-2px, 6px) scale(0.9);
  }
  12% {
    opacity: 1;
    transform: rotate(-22deg) translate(0, -2px) scale(1);
  }
  24% { transform: rotate(16deg) translate(0, -4px) scale(1); }
  36% { transform: rotate(-20deg) translate(0, -2px) scale(1); }
  48% { transform: rotate(14deg) translate(0, -4px) scale(1); }
  60% { transform: rotate(-16deg) translate(0, -2px) scale(1); }
  78% {
    opacity: 1;
    transform: rotate(8deg) translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(20deg) translate(-2px, 4px) scale(0.9);
  }
}

@media (max-width: 768px) {
  .mascot-assistant {
    top: auto;
    right: 0.75rem;
    bottom: 11.5rem;
  }

  .mascot-trigger,
  .mascot-figure {
    width: 56px;
    height: 56px;
  }

  .mascot-face {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-trigger,
  .mascot-eye,
  .mascot-assistant.is-waving .mascot-hand {
    animation: none;
  }
}

/* â”€â”€ Barrita parada (acento lateral) â”€â”€ */
.barrita-parada {
  position: relative;
  padding-left: calc(var(--barrita-width) + var(--barrita-gap));
  margin-left: calc(-1 * (var(--barrita-width) + var(--barrita-gap)));
}

.barrita-parada::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: var(--barrita-width);
  height: 1.05em;
  background: var(--barrita-color, var(--red-peru));
}

.barrita-parada--teal {
  --barrita-color: var(--barrita-teal);
}

.barrita-parada--red {
  --barrita-color: var(--red-peru);
}

.barrita-parada--blue {
  --barrita-color: var(--sql-accent);
}

.barrita-parada--wp {
  --barrita-color: var(--wp-accent);
}

/* â”€â”€ CategorÃ­as (home) â€” carrusel minimal V3 â”€â”€ */
.home-categories {
  background: var(--white);
  padding: 4rem 1.5rem 5rem;
}

.community-message__categories.home-categories {
  padding: 0;
  background: transparent;
}

.community-message__categories .home-categories__inner {
  max-width: 100%;
}

.home-categories__inner {
  max-width: calc(
    var(--home-cat-w) * var(--home-cat-visible) +
    var(--home-cat-gap) * (var(--home-cat-visible) - 1) +
    7rem
  );
}

.home-categories__header {
  margin-bottom: 2.25rem;
}

.home-categories__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.45rem;
}

.home-categories__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
}

.home-categories__carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-categories__viewport {
  flex: 0 0 auto;
  width: calc(
    var(--home-cat-w) * var(--home-cat-visible) +
    var(--home-cat-gap) * (var(--home-cat-visible) - 1)
  );
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.home-categories__track {
  display: flex;
  gap: var(--home-cat-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-categories__track::-webkit-scrollbar {
  display: none;
}

.home-cat-card {
  position: relative;
  flex: 0 0 var(--home-cat-w);
  width: var(--home-cat-w);
  height: var(--home-cat-h);
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: none;
  box-shadow: none;
}

.home-cat-card.is-synced {
  box-shadow: 0 0 0 2px var(--red-peru-light);
}

.home-cat-card:focus-visible {
  outline: 2px solid var(--red-peru-light);
  outline-offset: 2px;
}

.home-cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-cat-card:hover .home-cat-card__img {
  transform: scale(1.1);
}

.home-cat-card__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 8, 10, 0.58);
  transition: background 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.home-cat-card:hover .home-cat-card__veil,
.home-cat-card.is-synced .home-cat-card__veil {
  background: rgba(8, 8, 10, 0.45);
}

.home-cat-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 14px;
  background: rgba(18, 18, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 4px 14px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 1.4375rem;
  line-height: 1;
  pointer-events: none;
}

.home-cat-card__badge i {
  color: #fff;
}

.home-cat-card__badge .logic-icon {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: #fff;
}

.home-cat-card__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.15rem 1.45rem;
}

.home-cat-card__name {
  font-size: 1.4375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.home-cat-card__line {
  display: block;
  width: 50px;
  height: 1px;
  margin: 0.85rem 0 0.75rem;
  background: #fff;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width;
}

.home-cat-card:hover .home-cat-card__line {
  width: 100%;
}

.home-cat-card__concept {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #fff;
  margin: 0;
  transition: color 0.4s ease;
}

.home-cat-card:hover .home-cat-card__concept {
  color: #fff;
}

.home-categories__nav {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--red-peru);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.25s ease;
}

.home-categories__nav i {
  color: #fff;
  transition: color 0.2s ease;
}

.home-categories__nav:hover:not(:disabled):not(.is-disabled) {
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.home-categories__nav:hover:not(:disabled):not(.is-disabled) i {
  color: var(--red-peru);
}

.home-categories__nav.is-disabled,
.home-categories__nav:disabled {
  opacity: 0.38;
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}

.home-categories__nav.is-disabled:hover,
.home-categories__nav:disabled:hover {
  background: var(--red-peru);
  box-shadow: none;
}

@media (max-width: 1500px) {
  .community-message,
  .home-categories {
    --home-cat-visible: 4;
  }
}

@media (max-width: 1200px) {
  .community-message,
  .home-categories {
    --home-cat-visible: 3;
  }
}

@media (max-width: 900px) {
  .community-message,
  .home-categories {
    --home-cat-visible: 2;
  }
}

@media (max-width: 620px) {
  .community-message,
  .home-categories {
    --home-cat-visible: 1;
  }

  .home-categories:not(.community-message__categories) {
    padding: 3rem 1rem 3.5rem;
  }

  .home-categories__inner {
    max-width: calc(var(--home-cat-w) + 7rem);
  }
}

/* â”€â”€ Escuelas (cards tipo referencia) â”€â”€ */
.home-escuelas {
  background: #0b1120;
  padding: 4.5rem 1.5rem 5rem;
}

.home-escuelas__inner {
  max-width: 1120px;
}

.home-escuelas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.home-school-card {
  --school-accent: #3b82f6;
  --school-glow: rgba(59, 130, 246, 0.55);
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 20px;
  background: linear-gradient(180deg, #1a2030 0%, #141820 48%, #10141c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: visible;
  min-height: 430px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-school-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 52px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.home-school-card--green {
  --school-accent: #22c55e;
  --school-glow: rgba(34, 197, 94, 0.55);
}

.home-school-card--rose {
  --school-accent: #ec4899;
  --school-glow: rgba(236, 72, 153, 0.55);
}

.home-school-card__visual {
  position: relative;
  height: 230px;
  margin-top: -28px;
  overflow: visible;
  pointer-events: none;
}

.home-school-card__portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: auto;
  height: 300px;
  max-width: 92%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.home-school-card__visual-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 20, 28, 0) 35%,
    rgba(16, 20, 28, 0.55) 72%,
    #10141c 100%
  );
}

.home-school-card__shield {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 52px;
  height: 62px;
  color: var(--school-accent);
  pointer-events: none;
}

.home-school-card__shield-shape {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.home-school-card__shield-icon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.home-school-card__shield-icon .logic-icon {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.home-school-card__body {
  position: relative;
  z-index: 2;
  padding: 0.35rem 1.35rem 1.65rem;
}

.home-school-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem 0.28rem 0.35rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--school-accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}

.home-school-card__label-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.home-school-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: #fff;
  margin: 0 0 0.7rem;
}

.home-school-card__desc {
  font-size: 0.8125rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.52);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-school-card__glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -6px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--school-glow) 0%, transparent 72%);
  opacity: 0.75;
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1024px) {
  .home-escuelas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin: 0 auto;
  }

  .home-escuelas__grid .home-school-card:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-escuelas {
    padding: 3.5rem 1rem 4rem;
  }

  .home-escuelas__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .home-escuelas__grid .home-school-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .home-school-card {
    min-height: 400px;
  }
}

/* â”€â”€ Programas (cards con cap rojo zigzag Â· 300Ã—450) â”€â”€ */
.home-programas {
  --program-card-w: 300px;
  --program-card-h: 450px;
  --program-cap-h: 191px;
  background: var(--gray-100);
  padding: 4rem 1.5rem 4.5rem;
  border-top: 1px solid var(--line);
}

.home-programas__inner {
  max-width: 1120px;
}

.home-programas__header {
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.home-programas__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 0.55rem;
}

.home-programas__lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.home-programas__grid {
  display: grid;
  grid-template-columns: repeat(3, var(--program-card-w));
  gap: 1.25rem;
  justify-content: center;
}

.home-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--program-card-w);
  height: var(--program-card-h);
  min-height: var(--program-card-h);
  max-height: var(--program-card-h);
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.home-program-card__cap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--program-cap-h);
  flex-shrink: 0;
  pointer-events: none;
}

.home-program-card__cap-head {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.45rem 1.35rem 0;
  pointer-events: none;
}

.home-program-card__cap-head:not(:has(.home-program-card__cap-label)) {
  justify-content: flex-end;
}

.home-program-card__cap-label {
  flex: 1;
  min-width: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.home-program-card__icon-badge {
  position: relative;
  flex-shrink: 0;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(18, 18, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 4px 14px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.home-program-card__icon-badge i {
  color: #fff;
}

.home-program-card__icon-badge .logic-icon {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: #fff;
}

.home-program-card__cap-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-program-card__cap-fill {
  fill: var(--red-peru);
}

.home-program-card__cap-line {
  stroke: var(--red-peru-dark);
  stroke-width: 2.5;
  stroke-linejoin: miter;
  stroke-miterlimit: 4;
  stroke-linecap: butt;
}

.home-program-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 1;
  padding: 0.85rem 1.1rem 1.15rem;
  background: var(--white);
}

.home-program-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--black);
  margin: 0 0 0.55rem;
}

.home-program-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: #fce7f3;
  color: #db2777;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.home-program-card__concept {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--black);
  margin: 0 0 0.85rem;
  flex: 1;
  min-height: 0;
}

.home-program-card__concept i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #ec4899;
  font-size: 0.9rem;
}

.home-program-card__btn {
  display: block;
  width: 100%;
  flex-shrink: 0;
  padding: 0.75rem 0.85rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #f472b6 0%, #c084fc 52%, #818cf8 100%);
  color: var(--black);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.home-program-card__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(236, 72, 153, 0.34);
  filter: brightness(1.03);
}

.home-program-card__btn:active {
  transform: translateY(0);
}

@media (max-width: 920px) {
  .home-programas__grid {
    grid-template-columns: repeat(2, var(--program-card-w));
  }
}

@media (max-width: 640px) {
  .home-programas {
    padding: 3.25rem 1rem 3.75rem;
  }

  .home-programas__grid {
    grid-template-columns: var(--program-card-w);
  }
}

/* â”€â”€ Mensaje para la comunidad â”€â”€ */
.community-message {
  --home-cat-w: 270px;
  --home-cat-h: 350px;
  --home-cat-gap: calc(1.25rem + 10px);
  --home-cat-visible: 4;
  background: var(--white);
  padding: 5rem 2rem 5rem 1.5rem;
}

.community-message__inner {
  max-width: 48rem;
  margin-bottom: 60px;
}

.community-message__content {
  min-width: 0;
}

.community-message__categories-wrap {
  max-width: calc(
    var(--home-cat-w) * var(--home-cat-visible) +
    var(--home-cat-gap) * (var(--home-cat-visible) - 1) +
    7rem
  );
  margin-top: 60px;
  padding-top: 60px;
}

.community-message__title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 2.5rem;
}

.community-message__body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.community-message__body p:last-child {
  margin-bottom: 0;
}

.community-message__body strong {
  font-weight: 700;
}

/* â”€â”€ Pilares â”€â”€ */
.pillars {
  background: var(--black);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 2rem 4.5rem 1.5rem;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
}

.pillars__item {
  text-align: center;
  padding: 0 1.25rem;
}

.pillars__icon {
  font-size: 2.75rem;
  color: var(--red-peru-light);
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(200, 16, 46, 0.35));
}

.pillars__title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.5rem 0 0.875rem;
}

.pillars__text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (max-width: 640px) {
  .pillars {
    padding: 3rem 1rem 3rem 0.75rem;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillars__item {
    padding: 0;
  }

  .pillars__icon {
    font-size: 2.25rem;
  }

  .pillars__title {
    margin-top: 1.25rem;
  }
}

/* â”€â”€ Crece con nosotros â”€â”€ */
.grow-banner {
  position: relative;
  overflow: hidden;
  background: var(--red-peru);
  padding: 4.5rem 2rem 4.5rem 1.5rem;
}

.grow-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 85% at 40% 50%, #000 45%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.grow-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grow-banner__icon {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.grow-banner__title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}

.grow-banner__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.grow-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.grow-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 13.5rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.grow-banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.grow-banner__btn:active {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.grow-banner__btn--whatsapp {
  background: var(--black);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-md);
}

.grow-banner__btn--whatsapp:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
}

.grow-banner__btn--whatsapp:active {
  transform: none;
  box-shadow: var(--shadow-cta);
}

.grow-banner__btn--discord {
  background: var(--white);
  color: var(--red-peru);
}

.grow-banner__btn--discord:hover {
  background: var(--gray-100);
}

.grow-banner__visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 0;
}

.grow-banner__image {
  display: block;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  position: relative;
  z-index: 0;
}

/* Temporal: ocultar secciones de cursos/precios */
.tutoring,
.python-course,
.sql-course,
.wp-course {
  display: none !important;
}

/* â”€â”€ AsesorÃ­a personalizada â”€â”€ */
.tutoring {
  background: var(--black);
  padding: 4.5rem 2rem 5rem 1.5rem;
}

.tutoring-switch {
  margin: 0 auto 2.75rem;
  text-align: center;
}

.tutoring-switch__intro {
  margin-bottom: 1.5rem;
}

.tutoring-switch__tabs {
  max-width: 32rem;
  margin: 0 auto;
}

.tutoring-switch__heading {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.tutoring-switch__lead {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  white-space: nowrap;
}

.tutoring-switch__track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: none;
  background: transparent;
  padding: 0;
  gap: 0.5rem;
}

.tutoring-switch__glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc((100% - 0.5rem) / 2);
  background: var(--red-peru);
  z-index: 0;
  border-radius: 6px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.tutoring-switch__glow.is-right {
  transform: translateX(calc(100% + 0.5rem));
}

.tutoring-switch__btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.35s ease, background 0.35s ease;
}

.tutoring-switch__btn i {
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s ease;
}

.tutoring-switch__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  text-align: left;
}

.tutoring-switch__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}

.tutoring-switch__btn small {
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.85;
}

.tutoring-switch__btn:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.tutoring-switch__btn:hover:not(.is-active) i {
  transform: scale(1.08);
}

.tutoring-switch__btn.is-active {
  color: var(--white);
}

.tutoring-switch__btn.is-active i {
  transform: scale(1.12);
}

.tutoring-panel[hidden] {
  display: none;
}

.tutoring-panel.is-active {
  animation: tutoringPanelIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tutoringPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tutoring__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 375px));
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
}

.tutoring__grid--duo {
  grid-template-columns: repeat(2, minmax(0, 375px));
  justify-content: center;
}

.tutoring-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--white);
  border: none;
  border-radius: 14px;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.tutoring-card:hover {
  transform: translateY(-4px);
}

.tutoring-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.375rem 0.875rem 0.625rem;
  border-radius: 14px;
  overflow: hidden;
}

.tutoring-card--featured {
  box-shadow: none;
}

.tutoring-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  margin: 0 0 0.625rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: 8px;
}

.tutoring-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--black);
  line-height: 1;
}

.tutoring-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.logic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  color: inherit;
}

.tutoring-card__icon.logic-icon {
  font-size: 1.05rem;
  color: var(--black);
}

.nav-item__icon.logic-icon {
  width: auto;
  min-width: 1.125rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.tutoring-card__desc {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.625rem;
  padding-top: 5px;
  padding-bottom: 5px;
}

.tutoring-card__features-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.625rem;
}

.tutoring-card__features {
  list-style: none;
  margin-bottom: 0.25rem;
}

.tutoring-card__features li {
  position: relative;
  padding-left: 0.875rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.5rem;
}

.tutoring-card__features li:last-child {
  margin-bottom: 0;
}

.tutoring-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--red-peru);
  border-radius: 50%;
}

.tutoring-card__features li.is-extra {
  display: none;
}

.tutoring-card__features.is-expanded li.is-extra {
  display: list-item;
}

.tutoring-card__mastery {
  margin-top: auto;
  margin-bottom: 0.625rem;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 92%;
}

.tutoring-card__mastery strong {
  color: var(--red-peru-light);
  font-weight: 700;
}

.tutoring-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.625rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red-peru-light);
  cursor: pointer;
  transition: color var(--transition), opacity var(--transition);
}

.tutoring-card__toggle::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.625rem;
  transition: transform var(--transition);
}

.tutoring-card__toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.tutoring-card__toggle:hover {
  color: var(--white);
}

.tutoring-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
}

.tutoring-card__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

.tutoring-card__chips i {
  font-size: 0.625rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.tutoring-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tutoring-card__price {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.tutoring-card__price-main {
  font-size: 1.4375rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.tutoring-card__price-alt {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.tutoring-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.625rem 0.75rem;
  background: var(--red-peru);
  color: var(--white);
  border: none;
  border-radius: 999px;
  box-shadow: none;
  font-family: var(--font);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.tutoring-card__btn i {
  font-size: 0.9375rem;
}

.tutoring-card__btn:hover {
  background: var(--red-peru-light);
  transform: translateY(-1px);
}

.tutoring-card--featured .tutoring-card__footer {
  position: relative;
  z-index: 2;
}

.tutoring-card__btn:active {
  transform: translateY(0);
}

/* â”€â”€ QuÃ© encontrarÃ¡s en la comunidad â”€â”€ */
.community-perks {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 4.5rem 2rem 5rem 1.5rem;
}

.community-perks__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: stretch;
}

.community-perks__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100%;
}

.community-perks__title {
  display: inline-block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.02em;
  max-width: none;
  text-align: left;
}

.community-perks__title-lines {
  display: flex;
  flex-direction: column;
}

.community-perks__title-first {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.375rem;
}

.community-perks__title-deco {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.community-perks__square {
  position: absolute;
  width: 7px;
  height: 7px;
}

.community-perks__square--red {
  top: 0;
  left: 0;
  background: var(--red-peru);
}

.community-perks__square--black {
  top: 7px;
  left: 7px;
  background: var(--black);
}

.community-perks__lead {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 22rem;
}

.community-perks__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.community-perks__item {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.25s ease;
}

.community-perks__item:hover {
  transform: scale(1.02);
}

.community-perks__item.is-open {
  border-color: rgba(200, 16, 46, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.community-perks__trigger {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}

.community-perks__marker {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--red-peru);
}

.community-perks__trigger-text {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}

.community-perks__chevron {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--gray-400);
  transition: transform var(--transition), color var(--transition);
}

.community-perks__item.is-open .community-perks__chevron {
  transform: rotate(180deg);
  color: var(--red-peru);
}

.community-perks__panel {
  overflow: hidden;
  transition: height 0.3s ease;
}

.community-perks__panel[hidden] {
  display: block;
  height: 0;
}

.community-perks__panel p {
  padding: 0 1rem 1rem 2.125rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-600);
}

/* â”€â”€ Testimonios â”€â”€ */
.testimonials {
  background: var(--white);
  padding: 4.5rem 2rem 5rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.testimonials__header {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.testimonials__title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.testimonials__title-accent {
  position: relative;
  white-space: nowrap;
}

.testimonials__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 3px;
  background: var(--red-peru);
  border-radius: 2px;
}

.testimonials__tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.875rem;
}

.testimonials__intro {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.testimonials__prompt {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--red-peru);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.testimonials__prompt:hover {
  color: var(--red-peru-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonials__carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}

.testimonials__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.testimonials__pages {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials__page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
}

.testimonials__page--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(200, 16, 46, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(200, 16, 46, 0.15);
}

.testimonial-card__meta {
  min-width: 0;
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.2rem;
  color: #F5A623;
  font-size: 0.625rem;
}

.testimonial-card__role {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--red-peru);
  letter-spacing: 0.02em;
}

.testimonial-card__quote {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.testimonials__nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.testimonials__nav:hover:not(:disabled) {
  border-color: var(--red-peru);
  color: var(--red-peru);
  background: rgba(200, 16, 46, 0.04);
}

.testimonials__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.testimonials__dot.is-active {
  background: var(--red-peru);
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  .grow-banner__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grow-banner__visual {
    order: -1;
  }

  .grow-banner__image {
    max-width: 20rem;
    margin: 0 auto;
  }

  .tutoring__grid,
  .tutoring__grid--duo {
    grid-template-columns: minmax(0, 375px);
    justify-content: center;
    margin: 0 auto;
  }

  .tutoring-switch__btn {
    padding: 0.4375rem 0.5rem;
    gap: 0.4375rem;
  }

  .tutoring-switch__label {
    font-size: 0.75rem;
  }

  .community-perks__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .community-perks__intro {
    min-height: auto;
    padding-bottom: 0.5rem;
  }

  .community-perks__title,
  .community-perks__lead {
    max-width: none;
  }

  .testimonials__carousel {
    gap: 0.625rem;
  }

  .testimonials__nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .grow-banner {
    padding: 3rem 1rem 3rem 0.75rem;
  }

  .grow-banner__actions {
    flex-direction: column;
  }

  .grow-banner__btn {
    width: 100%;
    min-width: 0;
  }

  .tutoring {
    padding: 3rem 1rem 4rem 0.75rem;
  }

  .community-perks {
    padding: 3rem 1rem 4rem 0.75rem;
  }

  .community-perks__trigger {
    padding: 0.75rem 0.875rem;
    gap: 0.75rem;
  }

  .community-perks__trigger-text {
    font-size: 0.875rem;
  }

  .community-perks__panel p {
    padding: 0 0.875rem 0.875rem 1.875rem;
    font-size: 0.8125rem;
  }

  .testimonials {
    padding: 3rem 1rem 4rem 0.75rem;
  }

  .testimonials__carousel {
    display: block;
  }

  .testimonials__viewport {
    overflow: visible;
  }

  .testimonials__pages {
    flex-direction: column;
    gap: 1rem;
    transform: none !important;
  }

  .testimonials__page,
  .testimonials__page--duo {
    flex: none;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .testimonials__nav,
  .testimonials__dots {
    display: none;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .tutoring-switch__lead {
    font-size: 0.875rem;
    white-space: normal;
  }

  .tutoring-switch__btn small {
    font-size: 0.625rem;
  }

  .tutoring__grid,
  .tutoring__grid--duo {
    grid-template-columns: minmax(0, 375px);
    justify-content: center;
    margin: 0 auto;
  }

  .tutoring-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tutoring-card__btn {
    width: 100%;
  }
}

/* â”€â”€ Contacto â”€â”€ */
.contact {
  background: var(--black);
  padding: 4.5rem 2rem 3.5rem 1.5rem;
  color: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.contact__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.75rem;
}

.contact__title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact__title-accent {
  color: rgba(255, 255, 255, 0.92);
}

.contact__lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form__field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.75rem 0.875rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 16, 46, 0.65);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.55;
}

.contact-form__select-wrap {
  position: relative;
}

.contact-form__field select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.25rem;
}

.contact-form__field select option {
  color: var(--black);
  background: var(--white);
}

.contact-form__select-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.contact-form__submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.75rem 1.375rem;
  background: var(--red-peru);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-form__submit:hover {
  background: var(--red-peru-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
}

.contact-form__submit:active {
  transform: translateY(0);
}

/* â”€â”€ Footer â”€â”€ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 0.625rem 2rem 0.75rem 1.5rem;
}

.site-footer__inner {
  text-align: center;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--black);
}

@media (max-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .contact {
    padding: 3rem 1rem 2.5rem 0.75rem;
  }

  .site-footer {
    padding: 0.5rem 1rem 0.625rem 0.75rem;
  }
}

/* â”€â”€ Tienda (contenido con max-width oficial) â”€â”€ */
.site-content {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
}

.tienda {
  padding: 2.5rem 2rem 4rem 1.5rem;
}

.tienda-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: stretch;
  margin-bottom: 2.25rem;
}

.tienda-intro__left {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tienda-intro__media {
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
}

.tienda-intro__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.tienda__header {
  margin-bottom: 1.25rem;
  max-width: none;
}

.tienda__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.tienda__subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.tienda-filters-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tienda-filters-group {
  display: grid;
  grid-template-columns: 3.75rem 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0;
}

.tienda-filters-group + .tienda-filters-group {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  background: transparent;
}

.tienda-filters-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0;
  min-width: 0;
}

.tienda-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.28rem;
  background: #eef2f7;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.tienda-filter {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  color: var(--gray-600);
  padding: 0.42rem 0.8rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tienda-filter:hover {
  color: var(--black);
  background: rgba(255, 255, 255, 0.7);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.tienda-filter:active {
  transform: none;
  box-shadow: none;
}

.tienda-filter.is-active {
  background: var(--white);
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  color: var(--black);
}

.tienda-filter.is-active:hover {
  background: var(--white);
  border-color: transparent;
  color: var(--black);
  transform: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

@media (max-width: 900px) {
  .tienda-intro {
    grid-template-columns: 1fr;
  }

  .tienda-intro__media {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .tienda-filters-wrap {
    padding: 1rem;
  }

  .tienda-filters-group {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .tienda-intro__media {
    min-height: 140px;
  }
}

.tienda-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.tienda-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tienda-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.tienda-card.is-hidden {
  display: none;
}

.tienda-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(1.75rem + 15px);
  color: var(--black);
  border-bottom: 1px solid var(--line);
}

.tienda-card__thumb > i {
  font-size: inherit;
  line-height: 1;
}

.tienda-card[data-category="python"] .tienda-card__thumb {
  color: #2563eb;
  background: linear-gradient(145deg, #eff6ff 0%, #e8f0fe 100%);
}

.tienda-card[data-category="sql"] .tienda-card__thumb {
  color: #0f766e;
  background: linear-gradient(145deg, #ecfdf5 0%, #e6f7f2 100%);
}

.tienda-card[data-category="plantillas"] .tienda-card__thumb {
  color: #7c3aed;
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
}

.tienda-card[data-category="libros"] .tienda-card__thumb {
  color: #b45309;
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
}

.tienda-card[data-category="excel"] .tienda-card__thumb {
  color: #15803d;
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
}

.tienda-card[data-category="logica"] .tienda-card__thumb {
  color: #0369a1;
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
}

.tienda-card[data-category="analytics"] .tienda-card__thumb {
  color: #b45309;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
}

.tienda-card__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: var(--red-peru);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.35);
}

.tienda-card__badge--gold {
  background: #b45309;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.35);
}

.tienda-card__badge--dark {
  background: var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tienda-card__body {
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0.35rem;
}

.tienda-card__title {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
  min-height: calc(0.9rem * 1.4 * 2);
}

.tienda-card__cat {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tienda-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-600);
  display: none;
}

.tienda-empty.is-visible {
  display: block;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1200px) {
  .tienda-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-item__label {
    display: none;
  }

  .nav-item {
    padding: 0.5rem;
  }

  .nav-item__icon {
    font-size: 1.25rem;
    width: 1.25rem;
  }

  .tienda-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tienda-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --sidebar-width: 35px;
    --header-height: 58px;
  }

  .header {
    --header-logo-size: 38px;
    --header-logo-text: 1.25rem;
    --header-logo-tagline: 0.625rem;
  }

  html.is-scrolled {
    --header-height: 48px;
  }

  html.is-scrolled .header {
    --header-logo-size: 28px;
    --header-logo-text: 0.8125rem;
    --header-logo-tagline: 0.5625rem;
  }

  .header__inner {
    padding: 0 1rem 0 0.75rem;
  }

  .header__logo-mark::before {
    border-left-width: 5px;
    border-right-width: 5px;
    border-bottom-width: 8px;
    margin-top: -2px;
  }

  .header__login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .hero-slider__copy {
    max-width: 80%;
    padding-left: 3rem;
  }

  .hero-slider__cta,
  .hero-slider__cta-secondary {
    padding: 0.9rem 1.4rem;
    font-size: 15px;
  }

  .hero-slider__desc {
    font-size: 14px;
  }

  .hero-slider__title {
    font-size: 28px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero-slider__controls {
    bottom: 1.5rem;
    left: 2.5rem;
    gap: 1.25rem;
  }

  .hero-slider__counter {
    width: 60px;
    height: 60px;
  }

  .hero-slider__btn {
    font-size: 1.25rem;
  }

  .hero-slider__counter-text {
    font-size: 1rem;
  }

  .community-message {
    padding: 3rem 1rem 3rem 0.75rem;
  }

  .community-message__inner {
    max-width: none;
    margin-bottom: 48px;
  }

  .community-message__categories-wrap {
    max-width: none;
    margin-top: 60px;
    padding-top: 48px;
  }

  .community-message__title {
    margin-bottom: 1.75rem;
  }

  .community-message__body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .auth-sidebar {
    width: 100vw;
  }

  .auth-form__row {
    grid-template-columns: 1fr;
  }

  .toast {
    left: calc(var(--sidebar-width) + 1rem);
    right: 1rem;
  }

  .tienda {
    padding: 1.5rem 1rem 3rem 0.75rem;
  }

  .tienda-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* â”€â”€ TÃ©rminos y condiciones â”€â”€ */
.legal-page {
  padding: 3rem 2rem 4rem 1.5rem;
}

.legal-page__layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 2.5rem;
  align-items: start;
}

.legal-page__main {
  min-width: 0;
}

.legal-page__aside {
  position: sticky;
  top: 1.25rem;
  align-self: start;
  padding-bottom: 2.5rem;
}

html.is-scrolled .legal-page__aside {
  top: calc(var(--header-height) + 1.25rem);
}

.legal-page__figure {
  margin: 0;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  line-height: 0;
  background: var(--black);
}

.legal-page__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius-md) - 1px);
  margin: 0;
}

html.is-scrolled .legal-page__image {
  max-height: calc(100vh - var(--header-height) - 2.5rem);
  max-height: calc(100dvh - var(--header-height) - 2.5rem);
}

.legal-page__header {
  margin-bottom: 2rem;
}

.legal-page__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.75rem;
}

.legal-page__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.legal-page__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

.legal-page__section {
  margin-bottom: 2rem;
}

.legal-page__section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.legal-page__section p,
.legal-page__section li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.legal-page__section p + p {
  margin-top: 0.75rem;
}

.legal-page__section ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

.legal-page__section li + li {
  margin-top: 0.5rem;
}

.legal-page__proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.legal-page__proscons-card {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.legal-page__proscons-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.legal-page__proscons-card--pro {
  border-color: rgba(200, 16, 46, 0.2);
  background: rgba(200, 16, 46, 0.04);
}

.legal-page__proscons-card--pro h3 {
  color: var(--red-peru);
}

.legal-page__proscons-card--con h3 {
  color: var(--black);
}

.legal-page__proscons-card ul {
  list-style: none;
  padding-left: 0;
}

.legal-page__proscons-card li {
  position: relative;
  padding-left: 1rem;
}

.legal-page__proscons-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-peru);
}

.legal-page__proscons-card--con li::before {
  background: var(--gray-400);
}

.legal-page__back {
  margin-top: 2.5rem;
}

.legal-page__back a {
  color: var(--red-peru);
  font-weight: 600;
  text-decoration: none;
}

.legal-page__back a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .legal-page__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-page__aside {
    position: static;
    max-width: 22rem;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .legal-page__proscons {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 2.5rem 1rem 3rem 0.75rem;
  }

  .legal-page__aside {
    max-width: 100%;
  }
}

/* â”€â”€ PÃ¡gina Python â”€â”€ */
.page-python {
  --python-accent: #ffd43b;
  --sqlvid-ink: #121212;
  --sqlvid-panel: #1a1a1a;
  --sqlvid-line: #2e2e2e;
  --sqlvid-mist: #a3a3a3;
  --sqlvid-paper: #f6f6f6;
  --sqlvid-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.page-python .sqlvid-series__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-python .sqlvid-series__head .sqlvid-title,
.page-python .sqlvid-series__head .sqlvid-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-python .sqlvid-series__head .sqlvid-lead {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

body.page-python .brand-logo--header,
html.is-scrolled body.page-python .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

html.is-scrolled body.page-python .header {
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
}

html.is-scrolled body.page-python {
  --header-height: 72px;
}

.python-hero {
  position: relative;
  min-height: clamp(22rem, 52vh, 32rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.python-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.python-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.45) 100%);
}

.python-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 2rem 3.5rem 1.5rem;
}

.python-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--python-accent);
  margin-bottom: 1rem;
}

.python-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.python-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.python-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.python-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

.python-hero__btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.python-hero__btn:active {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.python-hero__btn--primary {
  background: var(--red-peru);
  color: var(--white);
}

.python-hero__btn--primary:hover {
  background: var(--red-peru-dark);
}

.python-hero__btn--whatsapp {
  background: var(--white);
  color: var(--black);
}

.python-hero__terminal {
  border: var(--border-on-dark);
  box-shadow: var(--shadow-cta);
  background: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
}

.python-hero__terminal-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: #2d2d2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.python-hero__terminal-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.python-hero__terminal-bar span:first-child {
  background: #ff5f57;
}

.python-hero__terminal-bar span:nth-child(2) {
  background: #febc2e;
}

.python-hero__terminal-bar span:nth-child(3) {
  background: #28c840;
}

.python-hero__code {
  margin: 0;
  padding: 1.25rem 1.35rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #e8e8e8;
  overflow-x: auto;
}

.python-hero__code-kw {
  color: #ff79c6;
}

.python-hero__code-str {
  color: #f1fa8c;
}

.python-hero__code-fn {
  color: #8be9fd;
}

.python-sticky-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 800;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(8px);
}

.python-sticky-nav__link {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.python-sticky-nav__link:hover,
.python-sticky-nav__link.is-active {
  color: var(--red-peru);
  border-color: rgba(200, 16, 46, 0.25);
  background: rgba(200, 16, 46, 0.06);
}

.python-section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.python-section-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.python-why {
  padding: 4rem 2rem 4rem 1.5rem;
}

.python-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.python-why__card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.python-why__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--black);
  background: var(--python-accent);
  border: 1px solid var(--line-strong);
  margin-bottom: 1rem;
}

.python-why__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.python-why__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.python-route {
  padding: 4rem 2rem 4.5rem 1.5rem;
  background: var(--gray-100);
}

.python-route__progress {
  height: 4px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  max-width: 20rem;
}

.python-route__progress-fill {
  height: 100%;
  width: 0;
  background: var(--red-peru);
  border-radius: 999px;
  transition: width 0.15s ease-out;
}

.python-route__timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.python-route__timeline::before {
  content: '';
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--gray-200);
}

.python-route__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.python-route__step.is-active {
  opacity: 1;
}

.python-route__marker {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.python-route__step.is-active .python-route__marker {
  background: var(--red-peru);
  color: var(--white);
}

.python-route__name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.python-route__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.python-route__meta {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 0.65rem;
}

.python-route__meta i {
  margin-right: 0.35rem;
}

.python-route__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--red-peru);
  text-decoration: none;
}

.python-route__link:hover {
  text-decoration: underline;
}

.python-bridge {
  padding: 3.5rem 2rem 3.5rem 1.5rem;
}

.python-bridge__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.python-bridge__card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.python-bridge__card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.python-bridge__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.python-bridge__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.python-bridge__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 1rem;
}

.python-bridge__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--red-peru);
}

.python-bridge__card--logic .python-bridge__cta {
  color: var(--black);
}

.python-stack {
  padding: 4rem 2rem 4rem 1.5rem;
  background: var(--black);
}

.python-stack .python-section-title,
.python-stack .python-section-lead {
  color: var(--white);
}

.python-stack .python-section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.python-stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.python-stack__item {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.python-stack__icon {
  font-size: 1.5rem;
  color: var(--python-accent);
  margin-bottom: 0.75rem;
}

.python-stack__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.python-stack__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.python-faq {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.python-resources {
  padding: 4rem 2rem 4rem 1.5rem;
}

.python-resources__grid {
  margin-bottom: 2rem;
  grid-template-columns: repeat(5, 1fr);
}

.python-resources__grid .tienda-card:nth-child(n + 6) {
  display: none;
}

@media (max-width: 1100px) {
  .python-resources__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .python-resources__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .python-resources__grid {
    grid-template-columns: 1fr;
  }
}

.python-resources__footer {
  text-align: center;
}

.python-course {
  padding: 4rem 2rem 4.5rem 1.5rem;
  background: var(--black);
}

.python-course .python-section-title,
.python-course .python-section-lead {
  color: var(--white);
}

.python-course .python-section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.python-course__card {
  max-width: 375px;
  margin: 0 auto;
}

.python-live {
  padding: 3.5rem 2rem;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.python-live__inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.python-live__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.75rem;
}

.python-live__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.python-live__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.python-live__btn {
  margin: 0 auto;
}

.page-home .home-live {
  background: var(--white);
  border-top: none;
  border-bottom: 1px solid var(--gray-200);
  padding-top: 0;
}

.python-cta {
  padding: 4.5rem 2rem 5rem 1.5rem;
  background: var(--white);
}

.python-cta__inner {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.python-cta__title {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.python-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .python-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .python-why__grid,
  .python-stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .python-bridge__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .python-hero__inner {
    padding: 2.5rem 1rem 2.5rem 0.75rem;
  }

  .python-why,
  .python-route,
  .python-bridge,
  .python-stack,
  .python-resources,
  .python-course,
  .python-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .python-why__grid,
  .python-stack__grid {
    grid-template-columns: 1fr;
  }

  .python-sticky-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .python-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .python-cta__actions .grow-banner__btn,
  .python-cta__actions .python-hero__btn {
    width: 100%;
  }
}

/* â”€â”€ PÃ¡gina LÃ³gica / PSeInt â”€â”€ */
.page-logica {
  --python-accent: var(--barrita-teal);
  --sqlvid-ink: #121212;
  --sqlvid-panel: #1a1a1a;
  --sqlvid-line: #2e2e2e;
  --sqlvid-mist: #a3a3a3;
  --sqlvid-paper: #f6f6f6;
  --sqlvid-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.page-logica .sqlvid-series__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-logica .sqlvid-series__head .sqlvid-title,
.page-logica .sqlvid-series__head .sqlvid-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-logica .sqlvid-series__head .sqlvid-lead {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.page-logica .sqlvid-ep__thumb::before {
  background: radial-gradient(circle at 70% 30%, rgba(45, 212, 191, 0.45), transparent 55%);
}

.page-logica .sqlvid-ep__cta:hover {
  border-color: var(--barrita-teal);
  color: var(--barrita-teal);
  background: rgba(45, 212, 191, 0.08);
}

body.page-logica .brand-logo--header,
html.is-scrolled body.page-logica .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

html.is-scrolled body.page-logica .header {
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
}

html.is-scrolled body.page-logica {
  --header-height: 72px;
}

.page-logica .python-hero__eyebrow {
  color: var(--barrita-teal);
}

.page-logica .python-hero__btn--primary {
  background: var(--barrita-teal);
}

.page-logica .python-hero__btn--primary:hover {
  background: #25a89c;
}

.page-logica .python-route__progress-fill {
  background: var(--barrita-teal);
}

.page-logica .python-route__step.is-active .python-route__marker {
  background: var(--barrita-teal);
}

.page-logica .python-route__link {
  color: var(--barrita-teal);
}

.page-logica .python-live__eyebrow {
  color: var(--barrita-teal);
}

.page-logica .python-stack__icon,
.logic-icon--stack {
  font-size: 1.5rem;
  color: var(--barrita-teal);
  margin-bottom: 0.75rem;
}

.logic-icon--hero {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.logic-icon--stack {
  display: block;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.python-hero__code--pseint {
  font-size: 0.75rem;
}

.page-logica .community-perks__marker {
  background: var(--barrita-teal);
}

.page-logica .community-perks__item.is-open {
  border-color: rgba(46, 196, 182, 0.35);
}

.page-logica .community-perks__item.is-open .community-perks__chevron {
  color: var(--barrita-teal);
}

/* â”€â”€ PÃ¡gina SQL â”€â”€ */
.page-sql {
  --python-accent: var(--sql-accent);
  --sql-accent: #2563eb;
  --pseint-teal: #2563eb;
  --pseint-ink: #121418;
  --pseint-muted: #5c6570;
  --sqlvid-ink: #121212;
  --sqlvid-panel: #1a1a1a;
  --sqlvid-line: #2e2e2e;
  --sqlvid-mist: #a3a3a3;
  --sqlvid-paper: #f6f6f6;
  --sqlvid-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Borrador Python con estructura SQL (python-v2.html) */
.page-python-v2 {
  --sql-accent: var(--red-peru);
  --pseint-teal: var(--red-peru);
  --python-accent: #ffd43b;
}

.page-python-v2 .python-hero__eyebrow {
  color: var(--red-peru);
}

.page-python-v2 .python-hero__btn--primary {
  background: var(--red-peru);
}

.page-python-v2 .python-hero__btn--primary:hover {
  background: var(--red-peru-dark, #a50d24);
}

.page-python-v2 .python-sticky-nav__link:hover,
.page-python-v2 .python-sticky-nav__link.is-active {
  color: var(--red-peru);
  border-color: rgba(200, 16, 46, 0.25);
  background: rgba(200, 16, 46, 0.06);
}

.page-python-v2 .sqlvid-ep__thumb::before {
  background: radial-gradient(circle at 70% 30%, rgba(200, 16, 46, 0.45), transparent 55%);
}

.page-python-v2 .sqlvid-ep__cta:hover {
  border-color: var(--red-peru);
  color: var(--red-peru);
  background: rgba(200, 16, 46, 0.05);
}

.page-python-v2 .pseint-faq__more {
  color: var(--red-peru);
  border-color: rgba(200, 16, 46, 0.28);
}

.page-python-v2 .pseint-faq__more:hover {
  border-color: rgba(200, 16, 46, 0.5);
  background: rgba(200, 16, 46, 0.04);
  color: var(--red-peru);
}

.page-python-v2 .pseint-start {
  background:
    linear-gradient(145deg, #c8102e 0%, #9f0d24 45%, #6b0818 100%);
}

.page-python-v2 .pseint-start__steps li::before {
  color: #fda4af;
}

.page-sql .pseint-start {
  background:
    linear-gradient(145deg, #2563eb 0%, #1d4ed8 45%, #1e3a8a 100%);
}

.page-sql:not(.page-python-v2) .pseint-start__steps li::before {
  color: #93c5fd;
}

.page-sql.page-python-v2 .pseint-start {
  background:
    linear-gradient(145deg, #c8102e 0%, #9f0d24 45%, #6b0818 100%);
}

.page-sql.page-python-v2 .pseint-start__steps li::before {
  color: #fda4af;
}

.page-sql .sqlvid-now {
  background: #121212;
  color: #f5f5f5;
}

.page-sql .sqlvid-now .sqlvid-title,
.page-sql .sqlvid-now .sqlvid-title--light {
  color: #fff;
}

.page-sql .sqlvid-now .sqlvid-lead,
.page-sql .sqlvid-now .sqlvid-lead--light {
  color: #fff;
}

.page-sql .sqlvid-now .sqlvid-now__eyebrow {
  color: #fff;
}

.page-sql .sqlvid-ep__thumb {
  background: #121212;
}

.page-sql .sqlvid-ep__thumb::before {
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.5), transparent 55%);
}

.page-sql .sqlvid-ep__cta:hover {
  border-color: var(--sql-accent);
  color: var(--sql-accent);
  background: rgba(37, 99, 235, 0.06);
}

.page-sql .sql-que-es {
  background: #fff;
}

.page-sql .sql-que-es__inner {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

.page-sql .sql-que-es__inner .pseint-section-title {
  text-align: center;
}

.page-sql .sql-que-es__inner p {
  color: var(--pseint-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.page-sql .sql-que-es__inner p + p {
  margin-top: 0.95rem;
}

.page-sql .sql-aplica {
  background: #f3f5f7;
}

.page-sql .sql-aplica__head {
  text-align: center;
  margin-bottom: 2rem;
}

.page-sql .sql-aplica__head .pseint-section-title {
  text-align: center;
}

.page-sql .sql-aplica__head .pseint-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.page-sql .sql-aplica__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.page-sql .sql-aplica__grid li {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  padding: 1.35rem 1.2rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.page-sql .sql-aplica__num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sql-accent);
  margin-bottom: 0.15rem;
}

.page-sql .sql-aplica__grid h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--pseint-ink);
}

.page-sql .sql-aplica__grid p {
  margin: 0;
  color: var(--pseint-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

@media (max-width: 1000px) {
  .page-sql .sql-aplica__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-sql .sql-aplica__grid {
    grid-template-columns: 1fr;
  }
}

.page-sql .sql-casos {
  background: #fff;
  padding: 4.5rem 0;
}

.page-sql .sql-casos__head {
  text-align: center;
  margin-bottom: 2rem;
}

.page-sql .sql-casos__head .pseint-section-title {
  text-align: center;
}

.page-sql .sql-casos__head .pseint-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.page-sql .sql-casos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.page-sql .sql-casos__card {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  padding: 1.35rem 1.2rem 1.45rem;
  text-align: center;
}

.page-sql .sql-casos__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--pseint-ink);
}

.page-sql .sql-casos__card p {
  margin: 0;
  color: var(--pseint-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.page-sql .sql-outcome {
  background: #fff;
  padding: 4.5rem 0;
}

.page-sql .sql-outcome__head {
  text-align: center;
  margin-bottom: 2rem;
}

.page-sql .sql-outcome__head .pseint-section-title {
  text-align: center;
}

.page-sql .sql-outcome__head .pseint-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.page-sql .sql-outcome__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.page-sql .sql-outcome__grid li {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  padding: 1.35rem 1.2rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.page-sql .sql-outcome__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--sql-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.page-sql .sql-outcome__grid h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--pseint-ink);
}

.page-sql .sql-outcome__grid p {
  margin: 0;
  color: var(--pseint-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

@media (max-width: 1000px) {
  .page-sql .sql-outcome__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-sql .sql-outcome__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .page-sql .sql-casos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-sql .sql-casos__grid {
    grid-template-columns: 1fr;
  }
}

body.page-sql .brand-logo--header,
html.is-scrolled body.page-sql .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

html.is-scrolled body.page-sql .header {
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
}

html.is-scrolled body.page-sql {
  --header-height: 72px;
}

.page-sql .python-hero__eyebrow {
  color: var(--sql-accent);
}

.page-sql .python-hero__btn--primary {
  background: var(--sql-accent);
}

.page-sql .python-hero__btn--primary:hover {
  background: #1d4ed8;
}

.page-sql .python-sticky-nav__link:hover,
.page-sql .python-sticky-nav__link.is-active {
  color: var(--sql-accent);
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.06);
}

.page-sql .python-live__eyebrow {
  color: var(--sql-accent);
}

.page-sql .pseint-learn__num {
  color: var(--sql-accent);
}

.page-sql .sql-info-outcome__icon,
.page-sql .sql-outcome__icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--sql-accent);
}

.page-sql .pseint-faq__intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-sql .pseint-faq__intro .pseint-section-title {
  text-align: center;
}

.page-sql .pseint-faq__intro .pseint-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.page-sql .sqlvid-series__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-sql .sqlvid-series__head .sqlvid-title,
.page-sql .sqlvid-series__head .sqlvid-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-sql .sqlvid-series__head .sqlvid-lead {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.page-sql .pseint-start__inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.page-sql .pseint-start__inner .pseint-section-title {
  text-align: center;
}

.page-sql .pseint-start__steps {
  text-align: left;
}

.page-sql .pseint-faq .community-perks__marker,
.page-sql .community-perks__marker {
  background: var(--sql-accent);
}

.page-sql .community-perks__item.is-open {
  border-color: rgba(37, 99, 235, 0.35);
}

.page-sql .community-perks__item.is-open .community-perks__chevron {
  color: var(--sql-accent);
}

.sql-schema {
  padding: 4rem 2rem 4rem 1.5rem;
}

.sql-schema__bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.sql-schema__table {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.sql-schema__table--main {
  grid-row: span 2;
  background: var(--gray-100);
}

.sql-schema__table-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}

.sql-schema__table-head i {
  color: var(--sql-accent);
}

.sql-schema__table-head h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Consolas', 'Monaco', monospace;
}

.sql-schema__cols {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sql-schema__cols li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--gray-200);
}

.sql-schema__cols li span {
  font-family: 'Consolas', 'Monaco', monospace;
  font-weight: 600;
}

.sql-schema__cols li em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
}

.sql-schema__rel {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sql-accent);
}

.sql-schema__rel i {
  margin-right: 0.35rem;
}

.sql-schema__note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.sql-schema__note-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sql-accent);
  width: 100%;
}

.sql-schema__note-text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  min-width: 12rem;
}

.sql-schema__note-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.sql-schema__note-link:hover {
  color: var(--sql-accent);
}

.sql-compare {
  padding: 0 2rem 4rem 1.5rem;
}

.sql-compare__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.sql-compare__panel {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.sql-compare__panel--before {
  background: var(--gray-100);
}

.sql-compare__panel--after {
  background: var(--white);
  border-color: var(--sql-accent);
}

.sql-compare__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.sql-compare__panel--before .sql-compare__tag {
  color: var(--gray-400);
}

.sql-compare__panel--after .sql-compare__tag {
  color: var(--sql-accent);
}

.sql-compare__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.sql-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sql-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.sql-compare__panel--before .sql-compare__list i {
  color: var(--red-peru);
  margin-top: 0.15rem;
}

.sql-compare__panel--after .sql-compare__list i {
  color: var(--sql-accent);
  margin-top: 0.15rem;
}

.sql-compare__divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sql-compare__divider span {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.sql-levels {
  padding: 4rem 2rem 4.5rem 1.5rem;
  background: var(--gray-100);
}

.sql-levels__track {
  height: 4px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.sql-levels__track-fill {
  height: 100%;
  width: 0;
  background: var(--sql-accent);
  border-radius: 999px;
  transition: width 0.15s ease-out;
}

.sql-levels__pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sql-levels__step {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sql-levels__step.is-active {
  opacity: 1;
  transform: translateY(-4px);
}

.sql-levels__badge {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gray-100);
  border: 1px solid var(--line-strong);
  margin-bottom: 0.75rem;
}

.sql-levels__step.is-active .sql-levels__badge {
  background: var(--sql-accent);
  color: var(--white);
  border-color: var(--black);
}

.sql-levels__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sql-levels__desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.sql-levels__snippet {
  display: block;
  padding: 0.5rem 0.65rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.6875rem;
  line-height: 1.5;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
  white-space: nowrap;
}

.sql-cheat {
  padding: 2rem 2rem 2.5rem 1.5rem;
  background: var(--black);
}

.sql-cheat__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.sql-cheat__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sql-cheat__chip {
  padding: 0.35rem 0.75rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sql-scenarios {
  padding: 4rem 2rem 4rem 1.5rem;
}

.sql-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.sql-scenarios__card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.sql-scenarios__card--featured {
  background: var(--sql-accent);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sql-scenarios__num {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.sql-scenarios__name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sql-scenarios__question {
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.sql-scenarios__card:not(.sql-scenarios__card--featured) .sql-scenarios__question {
  color: var(--gray-600);
}

.sql-scenarios__skills {
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.sql-scenarios__card--featured .sql-scenarios__skills {
  opacity: 0.95;
}

.sql-scenarios__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.sql-scenarios__card:not(.sql-scenarios__card--featured) .sql-scenarios__link {
  color: var(--sql-accent);
}

.sql-scenarios__link:hover {
  text-decoration: underline;
}

.sql-tools {
  padding: 4rem 2rem 4rem 1.5rem;
  background: var(--gray-100);
}

.sql-tools__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.sql-tools__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sql-tools__item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.sql-tools__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--sql-accent);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--line-strong);
}

.sql-tools__item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sql-tools__item p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-600);
}

.sql-faq {
  padding: 4rem 2rem 4rem 1.5rem;
}

.sql-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sql-faq__card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.sql-faq__card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--sql-accent);
}

.sql-faq__card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.sql-resources {
  padding: 4rem 2rem 4rem 1.5rem;
  background: var(--black);
}

.sql-resources__layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.sql-resources__featured {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.sql-resources__featured-thumb {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sql-accent);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--line-strong);
}

.sql-resources__featured-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sql-accent);
  margin-bottom: 0.35rem;
}

.sql-resources__featured-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sql-resources__featured-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.sql-resources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sql-resources__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sql-resources__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(37, 99, 235, 0.4);
}

.sql-resources__item-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sql-accent);
}

.sql-resources__item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.sql-resources__item i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.sql-banner {
  padding: 2.5rem 2rem 2.5rem 1.5rem;
}

.sql-banner__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.sql-banner__link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.sql-banner__label {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.sql-banner__title {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 700;
  min-width: 12rem;
}

.sql-banner__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sql-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sql-course {
  padding: 4rem 2rem 4.5rem 1.5rem;
  background: var(--gray-100);
}

.sql-course__grid {
  display: grid;
  grid-template-columns: 1fr 375px;
  gap: 2.5rem;
  align-items: start;
}

.sql-course__perks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sql-course__perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.sql-course__perks i {
  color: var(--sql-accent);
}

.sql-course__card {
  max-width: none;
}

@media (max-width: 1024px) {
  .sql-schema__bento {
    grid-template-columns: 1fr 1fr;
  }

  .sql-schema__table--main {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .sql-compare__grid {
    grid-template-columns: 1fr;
  }

  .sql-compare__divider {
    padding: 0.5rem 0;
  }

  .sql-levels__pipeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .sql-scenarios__grid {
    grid-template-columns: 1fr;
  }

  .sql-scenarios__card--featured {
    transform: none;
  }

  .sql-tools__inner,
  .sql-resources__layout,
  .sql-course__grid {
    grid-template-columns: 1fr;
  }

  .sql-faq__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sql-schema,
  .sql-compare,
  .sql-levels,
  .sql-scenarios,
  .sql-tools,
  .sql-faq,
  .sql-resources,
  .sql-banner,
  .sql-course {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sql-schema__bento {
    grid-template-columns: 1fr;
  }

  .sql-levels__pipeline {
    grid-template-columns: 1fr;
  }

  .sql-resources__featured {
    flex-direction: column;
  }

  .sql-course__card {
    max-width: 375px;
    margin: 0 auto;
  }
}

/* â”€â”€ PÃ¡gina WordPress â”€â”€ */
.page-wordpress {
  --python-accent: var(--wp-accent);
  --wp-accent: #21759b;
}

body.page-wordpress .brand-logo--header,
html.is-scrolled body.page-wordpress .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

html.is-scrolled body.page-wordpress .header {
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
}

html.is-scrolled body.page-wordpress {
  --header-height: 72px;
}

.page-wordpress .python-hero__eyebrow {
  color: var(--wp-accent);
}

.page-wordpress .python-hero__btn--primary {
  background: var(--wp-accent);
}

.page-wordpress .python-hero__btn--primary:hover {
  background: #1a5f80;
}

.page-wordpress .python-sticky-nav__link:hover,
.page-wordpress .python-sticky-nav__link.is-active {
  color: var(--wp-accent);
  border-color: rgba(33, 117, 155, 0.25);
  background: rgba(33, 117, 155, 0.06);
}

.page-wordpress .python-live__eyebrow {
  color: var(--wp-accent);
}

.wp-layers {
  padding: 4rem 2rem 4rem 1.5rem;
}

.wp-layers__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.wp-layers__stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wp-layers__layer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.wp-layers__layer:hover {
  transform: translateX(6px);
}

.wp-layers__layer--base {
  background: var(--wp-accent);
  color: var(--white);
}

.wp-layers__layer--base .wp-layers__layer-num {
  background: var(--white);
  color: var(--wp-accent);
}

.wp-layers__layer-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gray-100);
  border: 1px solid var(--line-strong);
}

.wp-layers__layer h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.wp-layers__layer p {
  font-size: 0.8125rem;
  line-height: 1.55;
  opacity: 0.88;
}

.wp-layers__layer:not(.wp-layers__layer--base) p {
  color: var(--gray-600);
}

.wp-duo {
  padding: 0 2rem 4rem 1.5rem;
}

.wp-duo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.wp-duo__panel {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.wp-duo__panel--theme {
  background: var(--gray-100);
}

.wp-duo__panel--plugin {
  background: var(--white);
  border-color: var(--wp-accent);
}

.wp-duo__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--wp-accent);
  background: rgba(33, 117, 155, 0.12);
  border: 1px solid var(--line-strong);
  margin-bottom: 1rem;
}

.wp-duo__name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.wp-duo__tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.wp-duo__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.wp-duo__list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 0.35rem;
}

.wp-duo__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--wp-accent);
}

.wp-duo__when {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-600);
}

.wp-checklist {
  padding: 4rem 2rem 4.5rem 1.5rem;
  background: var(--black);
}

.wp-checklist .python-section-title,
.wp-checklist .python-section-lead {
  color: var(--white);
}

.wp-checklist .python-section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.wp-checklist__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.wp-checklist__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wp-accent);
  text-decoration: none;
}

.wp-checklist__cta:hover {
  text-decoration: underline;
}

.wp-checklist__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wp-checklist__step {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wp-checklist__check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border: 2px solid var(--wp-accent);
  background: rgba(33, 117, 155, 0.2);
  position: relative;
}

.wp-checklist__check::after {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.1rem;
  width: 0.35rem;
  height: 0.6rem;
  border: solid var(--wp-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wp-checklist__step h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.wp-checklist__step p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.wp-build {
  padding: 4rem 2rem 4rem 1.5rem;
  background: var(--gray-100);
}

.wp-build__zigzag {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.wp-build__step {
  max-width: 28rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  opacity: 0.45;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wp-build__step.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.wp-build__step--left {
  align-self: flex-start;
  transform: translateX(-12px);
}

.wp-build__step--right {
  align-self: flex-end;
  transform: translateX(12px);
}

.wp-build__phase {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wp-accent);
  margin-bottom: 0.35rem;
}

.wp-build__step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.wp-build__step p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.wp-cases {
  padding: 4rem 2rem 4rem 1.5rem;
}

.wp-cases__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.wp-cases__tile {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.wp-cases__tile--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gray-100);
}

.wp-cases__tile--accent {
  background: var(--wp-accent);
  color: var(--white);
}

.wp-cases__tile i {
  font-size: 1.35rem;
  color: var(--wp-accent);
  margin-bottom: 0.75rem;
}

.wp-cases__tile--accent i {
  color: var(--white);
}

.wp-cases__tile h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.wp-cases__tile p {
  font-size: 0.8125rem;
  line-height: 1.55;
}

.wp-cases__tile:not(.wp-cases__tile--accent) p {
  color: var(--gray-600);
}

.wp-pitfalls {
  padding: 3.5rem 2rem 3.5rem 1.5rem;
  background: var(--gray-100);
}

.wp-pitfalls__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wp-pitfalls__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-left: 4px solid var(--red-peru);
  border: var(--card-border);
  border-left-width: 4px;
  border-left-color: var(--red-peru);
  box-shadow: var(--shadow-card);
}

.wp-pitfalls__item i {
  color: var(--red-peru);
  margin-top: 0.15rem;
}

.wp-pitfalls__item strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.wp-pitfalls__item p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-600);
}

.wp-ecosystem {
  padding: 2rem 2rem 2.5rem 1.5rem;
  background: var(--black);
}

.wp-ecosystem__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.85rem;
}

.wp-ecosystem__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wp-ecosystem__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.wp-ecosystem__pill i {
  color: var(--wp-accent);
}

.wp-faq {
  padding: 4rem 2rem 4rem 1.5rem;
}

.wp-faq__layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.5rem;
  align-items: start;
}

.wp-faq__pairs {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wp-faq__pair {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.wp-faq__pair:first-child {
  padding-top: 0;
}

.wp-faq__pair dt {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--wp-accent);
  margin-bottom: 0.35rem;
}

.wp-faq__pair dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.wp-resources {
  padding: 4rem 2rem 4rem 1.5rem;
  background: var(--gray-100);
}

.wp-resources__triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.wp-resources__card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.wp-resources__card--highlight {
  background: var(--wp-accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wp-resources__thumb {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(33, 117, 155, 0.12);
  color: var(--wp-accent);
}

.wp-resources__card--highlight .wp-resources__thumb {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.wp-resources__card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wp-resources__card p {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.wp-resources__card:not(.wp-resources__card--highlight) p {
  color: var(--gray-600);
}

.wp-resources__card a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wp-resources__card:not(.wp-resources__card--highlight) a {
  color: var(--wp-accent);
}

.wp-resources__card a:hover {
  text-decoration: underline;
}

.wp-connect {
  padding: 3rem 2rem 3rem 1.5rem;
}

.wp-connect__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--card-border);
  box-shadow: var(--shadow-card);
}

.wp-connect__copy {
  flex: 1;
  min-width: 14rem;
}

.wp-connect__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}

.wp-connect__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wp-connect__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.wp-connect__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wp-connect__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  background: var(--gray-100);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.wp-connect__chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.wp-course {
  padding: 4rem 2rem 4.5rem 1.5rem;
  background: var(--black);
}

.wp-course .python-section-title,
.wp-course .python-section-lead {
  color: var(--white);
}

.wp-course .python-section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.wp-course__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.wp-course__header {
  text-align: center;
  max-width: 36rem;
}

.wp-course__card {
  max-width: 375px;
  width: 100%;
}

@media (max-width: 1024px) {
  .wp-layers__inner,
  .wp-checklist__grid,
  .wp-faq__layout {
    grid-template-columns: 1fr;
  }

  .wp-duo__grid,
  .wp-resources__triad {
    grid-template-columns: 1fr;
  }

  .wp-cases__mosaic {
    grid-template-columns: 1fr;
  }

  .wp-cases__tile--wide {
    grid-column: auto;
  }

  .wp-resources__card--highlight {
    transform: none;
  }

  .wp-build__step--left,
  .wp-build__step--right {
    align-self: stretch;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .wp-layers,
  .wp-duo,
  .wp-checklist,
  .wp-build,
  .wp-cases,
  .wp-pitfalls,
  .wp-faq,
  .wp-resources,
  .wp-connect,
  .wp-course {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .wp-connect__inner {
    padding: 1.25rem;
  }
}

/* ============================================
   Utilidad: apariciÃ³n al hacer scroll
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   PÃ¡gina "Sobre mÃ­" â€” prueba-rafael.html
   ============================================ */
.page-rafael,
.page-sobre-mi {
  --site-max-width: 1200px;
}

body.page-rafael .brand-logo--header,
html.is-scrolled body.page-rafael .brand-logo--header,
body.page-sobre-mi .brand-logo--header,
html.is-scrolled body.page-sobre-mi .brand-logo--header,
body.page-rafaelv2 .brand-logo--header,
html.is-scrolled body.page-rafaelv2 .brand-logo--header {
  height: clamp(2.35rem, 3.8vw, 3rem);
}

html.is-scrolled body.page-rafael .header,
html.is-scrolled body.page-sobre-mi .header,
html.is-scrolled body.page-rafaelv2 .header {
  --header-logo-size: 44px;
  --header-logo-text: 1.5625rem;
  --header-logo-tagline: 0.6875rem;
}

html.is-scrolled body.page-rafael,
html.is-scrolled body.page-sobre-mi,
html.is-scrolled body.page-rafaelv2 {
  --header-height: 72px;
}

.rafael-page {
  padding: 3rem 2rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.rafael-page--after-hero {
  padding-top: 4rem;
}

.rafael-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.rafael-btn--primary {
  background: var(--red-peru);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.rafael-btn--primary:hover {
  background: var(--red-peru-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

.rafael-btn--dark {
  background: var(--black);
  color: var(--white);
}

.rafael-btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
}

.rafael-btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}

.rafael-btn--ghost:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

/* â”€â”€ Hero â”€â”€ */
.rafael-hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  padding: 1rem 0 0;
}

.rafael-hero__glow {
  position: absolute;
  top: -4rem;
  left: -6rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.14) 0%, rgba(200, 16, 46, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.rafael-hero__photo-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 19rem;
}

.rafael-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.3);
}

.rafael-hero__live {
  position: absolute;
  left: 50%;
  bottom: -1.1rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--black);
  color: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}

.rafael-hero__live i {
  color: var(--red-peru-light);
  font-size: 0.55rem;
  animation: rafael-pulse 1.8s ease-in-out infinite;
}

@keyframes rafael-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.rafael-hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.75rem;
}

.rafael-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.rafael-hero__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.rafael-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.rafael-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
}

.rafael-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* â”€â”€ Stats â”€â”€ */
.rafael-stats {
  background: var(--black);
  border-radius: 1.75rem;
  padding: 2.75rem 2rem;
}

.rafael-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.rafael-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rafael-stat__num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.rafael-stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* â”€â”€ Secciones genÃ©ricas â”€â”€ */
.rafael-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.rafael-section__head--wide {
  max-width: none;
  margin-bottom: 2.75rem;
}

.rafael-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rafael-section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.6rem;
}

.rafael-section__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rafael-section--historia .rafael-section__head {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rafael-section--historia .rafael-section__title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.rafael-story {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.rafael-story--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 72rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.rafael-story--wide p {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  text-align: left;
}

.rafael-story strong {
  color: var(--black);
}

/* â”€â”€ Frase / quote â”€â”€ */
.rafael-quote {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 1.5rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
}

.rafael-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
}

.rafael-quote__text,
.rafael-quote__sign {
  position: relative;
  z-index: 1;
}

.rafael-quote__text {
  margin: 0 auto;
  max-width: 40rem;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.rafael-quote__text span {
  color: var(--red-peru-light);
}

.rafael-quote__sign {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* â”€â”€ Cards "lo que hago" â”€â”€ */
.rafael-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rafael-card {
  background: var(--white);
  border: var(--card-border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.rafael-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--red-peru);
}

.rafael-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: rgba(200, 16, 46, 0.1);
  color: var(--red-peru);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.rafael-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.rafael-card__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* â”€â”€ Skills â”€â”€ */
.rafael-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rafael-skill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border-radius: 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.rafael-skill:hover {
  transform: translateY(-3px);
  border-color: var(--red-peru);
  background: var(--white);
}

.rafael-skill__icon {
  font-size: 1.1rem;
  color: var(--red-peru);
  width: 1.5rem;
  text-align: center;
}

/* â”€â”€ SecciÃ³n oscura "lo que busco" â”€â”€ */
.rafael-section--dark {
  background: var(--black);
  border-radius: 1.75rem;
  padding: 3rem 2.5rem;
  margin: 0 -0.01px;
}

.rafael-section--dark .rafael-section__title,
.rafael-section--dark .rafael-goal__title {
  color: var(--white);
}

.rafael-section--dark .rafael-section__eyebrow {
  color: var(--red-peru-light);
}

.rafael-goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
}

.rafael-goals--row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}

.rafael-goals--row .rafael-goal {
  flex-direction: column;
  gap: 0.75rem;
}

.rafael-goal {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.rafael-goal__num {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red-peru-light);
  letter-spacing: -0.02em;
}

.rafael-goal__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.rafael-goal__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

/* â”€â”€ CTA final â”€â”€ */
.rafael-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: 1.75rem;
  background: var(--black);
  border: 0;
}

.rafael-cta::before {
  content: '';
  position: absolute;
  top: -6rem;
  right: -4rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 70%);
  pointer-events: none;
}

.rafael-cta__title,
.rafael-cta__text,
.rafael-cta__actions {
  position: relative;
  z-index: 1;
}

.rafael-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.rafael-cta__text {
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.rafael-btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.rafael-btn--ghost-light:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.rafael-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

@media (max-width: 1024px) {
  .rafael-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rafael-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .rafael-hero__tags,
  .rafael-hero__actions {
    justify-content: center;
  }

  .rafael-hero__photo-wrap {
    order: -1;
  }

  .rafael-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .rafael-goals {
    grid-template-columns: 1fr;
  }

  .rafael-goals--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  .rafael-page {
    padding: 2rem 1.15rem 3.5rem 0.85rem;
    gap: 4rem;
  }

  .rafael-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .rafael-cards {
    grid-template-columns: 1fr;
  }

  .rafael-goals--row {
    grid-template-columns: 1fr;
  }

  .rafael-quote {
    padding: 3.25rem 1.25rem;
  }

  .rafael-section--dark {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .rafael-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================
   PÃ¡gina "Rafael V2" â€” rafaelv2.html
   Estructura distinta: hero oscuro a sangre completa,
   marquesina, timeline y panel asimÃ©trico.
   ============================================ */
.page-rafaelv2 {
  --site-max-width: 1200px;
}

.rv2-page {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  padding-bottom: 5rem;
}

/* â”€â”€ Hero â”€â”€ */
.rv2-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
}

.rv2-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 40%, transparent 100%);
}

.rv2-hero::after {
  content: '';
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 70%);
  pointer-events: none;
}

.rv2-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.rv2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-peru-light);
  margin-bottom: 1.1rem;
}

.rv2-hero__title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.35rem;
}

.rv2-hero__desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
  margin-bottom: 1.35rem;
}

.rv2-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.rv2-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rv2-hero__tag i {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.rv2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.rv2-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.15rem;
  transition: color var(--transition), border-color var(--transition);
}

.rv2-hero__link:hover {
  color: var(--white);
  border-color: var(--white);
}

.rv2-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rv2-hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 16rem;
  padding: 0.8rem 0.8rem 1.4rem;
  background: var(--white);
  border-radius: 0.9rem;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.55);
  transform: rotate(6deg);
  transition: transform var(--transition);
}

.rv2-hero__visual:hover .rv2-hero__photo-frame {
  transform: rotate(2deg);
}

.rv2-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}

.rv2-hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
  animation: rv2-float 4.5s ease-in-out infinite;
}

.rv2-hero__chip i,
.rv2-hero__chip .logic-icon {
  color: var(--red-peru);
}

.rv2-hero__chip .logic-icon {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
}

.rv2-hero__chip--top {
  top: 6%;
  left: -2%;
  --rv2-chip-rot: -8deg;
}

.rv2-hero__chip--top-right {
  top: 18%;
  right: -10%;
  --rv2-chip-rot: 7deg;
  animation-delay: 0.35s;
}

.rv2-hero__chip--mid {
  top: 46%;
  right: -8%;
  --rv2-chip-rot: 4deg;
  animation-delay: 0.7s;
}

.rv2-hero__chip--bottom {
  bottom: 8%;
  left: -6%;
  --rv2-chip-rot: 6deg;
  animation-delay: 1.4s;
}

.rv2-hero__chip--bottom-right {
  bottom: 14%;
  right: -6%;
  --rv2-chip-rot: -5deg;
  animation-delay: 1.8s;
}

@keyframes rv2-float {
  0%, 100% { transform: translateY(0) rotate(var(--rv2-chip-rot, -8deg)); }
  50% { transform: translateY(-10px) rotate(var(--rv2-chip-rot, -8deg)); }
}

/* â”€â”€ Marquesina â”€â”€ */
.rv2-marquee {
  overflow: hidden;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.1rem 0;
}

.rv2-marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  animation: rv2-marquee 28s linear infinite;
}

.rv2-marquee__track span:nth-child(2n) {
  color: var(--red-peru);
}

@keyframes rv2-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .rv2-marquee__track {
    animation: none;
  }
}

/* â”€â”€ Encabezados de secciÃ³n compartidos â”€â”€ */
.rv2-section-head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.rv2-section-head__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.6rem;
}

.rv2-section-head__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* â”€â”€ Timeline â”€â”€ */
.rv2-timeline {
  position: relative;
  padding-top: 2rem;
}

.rv2-timeline__line {
  position: absolute;
  top: 8rem;
  bottom: 2rem;
  left: 50%;
  width: 2px;
  background: linear-gradient(var(--gray-200), var(--gray-200));
  transform: translateX(-50%);
}

.rv2-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  align-items: center;
  gap: 0 2rem;
  margin-bottom: 2.5rem;
}

.rv2-step__marker {
  grid-column: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
}

.rv2-step__card {
  grid-column: 1;
  background: var(--white);
  border: var(--card-border);
  border-radius: 1.1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.rv2-step__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.rv2-step--right .rv2-step__card {
  grid-column: 3;
}

.rv2-step__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.5rem;
}

.rv2-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.rv2-step__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.rv2-step__text strong {
  color: var(--black);
}

/* â”€â”€ Frase / misiÃ³n â”€â”€ */
.rv2-statement {
  background: var(--black);
  padding: 5rem 1.5rem;
  text-align: center;
}

.rv2-statement__text {
  font-family: var(--font);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  max-width: 46rem;
  margin: 0 auto 1.25rem;
}

.rv2-statement__text span {
  color: var(--red-peru-light);
  font-style: italic;
}

.rv2-statement__sign {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.95rem;
}

/* â”€â”€ Panel asimÃ©trico â”€â”€ */
.rv2-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.rv2-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.rv2-panel__stat {
  background: var(--gray-100);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

.rv2-panel__stat-num {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.rv2-panel__stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
}

.rv2-panel__goals {
  background: var(--black);
  border-radius: 1.5rem;
  padding: 2.25rem;
}

.rv2-panel__goals .rv2-section-head__eyebrow {
  color: var(--red-peru-light);
}

.rv2-goal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.rv2-goal-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
}

.rv2-goal-list i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--red-peru);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* â”€â”€ CTA final â”€â”€ */
.rv2-cta {
  background: linear-gradient(135deg, var(--black) 0%, #2a0912 100%);
}

.rv2-cta__inner {
  text-align: center;
  padding: 4rem 1.5rem;
}

.rv2-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.rv2-cta__text {
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.rv2-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.rv2-cta__ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.rv2-cta__ghost:hover {
  border-color: var(--white);
}

@media (max-width: 1024px) {
  .rv2-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rv2-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .rv2-hero__actions {
    justify-content: center;
  }

  .rv2-hero__visual {
    margin-top: 2.5rem;
  }

  .rv2-step,
  .rv2-step--right {
    grid-template-columns: 3rem 1fr;
    gap: 0 1.25rem;
  }

  .rv2-step__marker,
  .rv2-step--right .rv2-step__marker {
    grid-column: 1;
    grid-row: 1;
  }

  .rv2-step__card,
  .rv2-step--right .rv2-step__card {
    grid-column: 2;
    grid-row: 1;
  }

  .rv2-timeline__line {
    left: 1.5rem;
  }

  .rv2-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rv2-page {
    gap: 4rem;
  }

  .rv2-hero {
    padding-bottom: 4rem;
  }

  .rv2-panel__stats {
    grid-template-columns: 1fr;
  }

  .rv2-panel__goals {
    padding: 1.75rem;
  }

  .rv2-hero__chip {
    display: none;
  }
}

@media (max-width: 480px) {
  .rv2-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rv2-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* â”€â”€ Landing PSeInt (sin embudo) â”€â”€ */
.page-pseint {
  --pseint-teal: #0f766e;
  --pseint-teal-soft: #14b8a6;
  --pseint-ink: #121418;
  --pseint-muted: #5c6570;
  background: #f3f5f4;
}

.page-pseint .header {
  background: rgba(255, 255, 255, 0.92);
}

.pseint-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.pseint-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: pseintHeroZoom 18s ease-out forwards;
}

@keyframes pseintHeroZoom {
  to { transform: scale(1); }
}

.pseint-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 18, 16, 0.88) 0%, rgba(8, 18, 16, 0.55) 48%, rgba(15, 118, 110, 0.35) 100%),
    linear-gradient(to top, rgba(8, 18, 16, 0.75) 0%, transparent 45%);
}

.pseint-hero__inner {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
  max-width: 40rem;
  animation: pseintRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pseintRise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pseint-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pseint-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.pseint-hero__desc {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.pseint-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pseint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pseint-btn:hover {
  transform: translateY(-1px);
}

.pseint-btn--primary {
  background: var(--pseint-teal-soft);
  color: #062a27;
}

.pseint-btn--primary:hover {
  background: #2dd4bf;
}

.pseint-btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.pseint-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pseint-btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.pseint-btn--discord {
  background: #5865f2;
  color: #fff;
}

.pseint-btn--light {
  background: #fff;
  color: var(--pseint-ink);
}

.pseint-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--pseint-ink);
  line-height: 1.15;
}

.pseint-section-title--light {
  color: #fff;
}

.pseint-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--pseint-muted);
}

.pseint-about {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(20, 184, 166, 0.12), transparent 55%),
    #fff;
}

.pseint-about__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.pseint-about__copy p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--pseint-muted);
}

.pseint-about__copy p:last-child {
  margin-bottom: 0;
}

.pseint-about__code {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: #0f1716;
  color: #d7ebe7;
  font-size: 0.9rem;
  line-height: 1.65;
  overflow-x: auto;
  box-shadow: 0 24px 48px rgba(15, 23, 22, 0.18);
  animation: pseintRise 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pseint-kw { color: #5eead4; font-weight: 600; }
.pseint-fn { color: #fcd34d; }
.pseint-str { color: #fda4af; }

.pseint-learn {
  padding: 5rem 0;
}

.pseint-learn__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(18, 20, 24, 0.12);
}

.pseint-learn__list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(18, 20, 24, 0.12);
}

.pseint-learn__num {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--pseint-teal);
}

.pseint-learn__list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--pseint-ink);
}

.pseint-learn__list p {
  margin: 0;
  color: var(--pseint-muted);
  line-height: 1.55;
}

.pseint-start {
  padding: 5rem 0;
  background:
    linear-gradient(145deg, #0f766e 0%, #115e59 45%, #0b3d3a 100%);
  color: #fff;
}

.pseint-start__inner {
  max-width: 52rem;
}

.pseint-start__steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: pseint-step;
}

.pseint-start__steps li {
  position: relative;
  padding-left: 3.5rem;
  counter-increment: pseint-step;
  animation: pseintRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pseint-start__steps li:nth-child(2) { animation-delay: 0.08s; }
.pseint-start__steps li:nth-child(3) { animation-delay: 0.16s; }

.pseint-start__steps li::before {
  content: counter(pseint-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #5eead4;
}

.pseint-start__steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.pseint-start__steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.pseint-start__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: #99f6e4;
  font-weight: 600;
  text-decoration: none;
}

.pseint-start__link:hover {
  color: #fff;
}

.pseint-faq {
  padding: 5rem 0;
  background: #fff;
}

.pseint-faq .community-perks__trigger-text {
  color: var(--pseint-ink);
}

.pseint-faq .community-perks__marker {
  background: var(--pseint-teal);
}

.pseint-faq__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--pseint-ink, #0f172a);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pseint-faq__more i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.pseint-faq__more:hover {
  border-color: rgba(15, 23, 42, 0.28);
  background: #f8fafc;
}

.pseint-faq__more[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.pseint-faq__extra {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pseint-faq__extra[hidden] {
  display: none;
}

.page-sql .pseint-faq__more {
  color: var(--sql-accent, #2563eb);
  border-color: rgba(37, 99, 235, 0.28);
}

.page-sql .pseint-faq__more:hover {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(37, 99, 235, 0.04);
  color: var(--sql-accent, #2563eb);
}

.pseint-close {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 100%, rgba(20, 184, 166, 0.18), transparent 50%),
    #121418;
  color: #fff;
}

.pseint-close__inner {
  max-width: 40rem;
}

.pseint-close__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pseint-close__desc {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.pseint-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .pseint-about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .pseint-hero__inner {
    padding: 6.5rem 0 3.25rem;
  }

  .pseint-hero__actions,
  .pseint-close__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pseint-learn__list li {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .pseint-about,
  .pseint-learn,
  .pseint-start,
  .pseint-faq,
  .pseint-close {
    padding: 3.5rem 0;
  }
}


/* ============================================
   SQL v2 â€” estructura laboratorio (sql-v2.html)
   ============================================ */
.page-sql-v2 {
  --sql2-ink: #07111f;
  --sql2-panel: #0d1b2e;
  --sql2-line: #243447;
  --sql2-mist: #8ba3bc;
  --sql2-accent: #3ea8ff;
  --sql2-accent-hot: #5ec8ff;
  --sql2-paper: #f4f7fb;
  --sql2-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body.page-sql-v2 .brand-logo--header,
html.is-scrolled body.page-sql-v2 .brand-logo--header {
  width: 210px;
  max-width: 210px;
}

html.is-scrolled body.page-sql-v2 .header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.sql2-section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.sql2-section-title--light { color: #f5f8fc; }

.sql2-section-lead {
  max-width: 36rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.sql2-section-lead--light {
  color: var(--sql2-mist);
}

.sql2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.sql2-btn:hover { transform: translateY(-2px); }

.sql2-btn--primary {
  background: var(--sql2-accent);
  color: var(--sql2-ink);
}

.sql2-btn--primary:hover { background: var(--sql2-accent-hot); }

.sql2-btn--ghost {
  background: transparent;
  color: #f5f8fc;
  border-color: rgba(255, 255, 255, 0.28);
}

.sql2-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.sql2-btn--whatsapp {
  background: #25d366;
  color: #062814;
}

.sql2-btn--discord {
  background: #5865f2;
  color: #fff;
}

.sql2-btn--light {
  background: #fff;
  color: var(--sql2-ink);
}

/* Hero */
.sql2-hero {
  position: relative;
  min-height: min(92vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sql2-ink);
  color: #f5f8fc;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.sql2-hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 20%, rgba(62, 168, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(200, 16, 46, 0.12), transparent 55%),
    linear-gradient(180deg, #0a1628 0%, var(--sql2-ink) 100%);
}

.sql2-hero__atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

.sql2-hero__query {
  position: absolute;
  right: clamp(1rem, 8vw, 6rem);
  top: 52%;
  transform: translateY(-40%);
  width: min(34rem, 46vw);
  opacity: 0.18;
  pointer-events: none;
  animation: sql2-drift 9s ease-in-out infinite;
}

.sql2-hero__query pre {
  font-family: var(--sql2-mono);
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  line-height: 1.7;
  color: var(--sql2-accent-hot);
  white-space: pre-wrap;
}

.sql2-hero__inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4.75rem;
  max-width: 40rem;
  animation: sql2-rise 0.9s ease both;
}

.sql2-hero__brand {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 1rem;
  color: #fff;
}

.sql2-hero__title {
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.sql2-hero__desc {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--sql2-mist);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.sql2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes sql2-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sql2-drift {
  0%, 100% { transform: translateY(-40%) translateX(0); }
  50% { transform: translateY(calc(-40% - 12px)) translateX(-6px); }
}

/* QuÃ© vas a poder hacer */
.sql2-can {
  padding: 5rem 0;
  background: var(--sql2-paper);
}

.sql2-can__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.sql2-can__list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}

.sql2-can__num {
  font-family: var(--sql2-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red-peru);
  padding-top: 0.2rem;
}

.sql2-can__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.sql2-can__list p {
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 40rem;
}

/* Lab */
.sql2-lab {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(62, 168, 255, 0.14), transparent 55%),
    var(--sql2-ink);
  color: #f5f8fc;
}

.sql2-lab__header { margin-bottom: 0.5rem; }

.sql2-lab__shell {
  margin-top: 1.5rem;
  border: 1px solid var(--sql2-line);
  border-radius: 1rem;
  background: var(--sql2-panel);
  overflow: hidden;
}

.sql2-lab__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--sql2-line);
  background: rgba(0, 0, 0, 0.25);
}

.sql2-lab__tab {
  flex: 1;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--sql2-mist);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.sql2-lab__tab:hover { color: #fff; }

.sql2-lab__tab.is-active {
  color: var(--sql2-ink);
  background: var(--sql2-accent);
}

.sql2-lab__panel {
  padding: 1.6rem 1.5rem 1.75rem;
  animation: sql2-panel-in 0.35s ease both;
}

.sql2-lab__panel[hidden] { display: none; }

@keyframes sql2-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sql2-lab__explain {
  color: var(--sql2-mist);
  margin-bottom: 1.1rem;
  line-height: 1.55;
  max-width: 40rem;
}

.sql2-lab__code {
  font-family: var(--sql2-mono);
  font-size: 0.92rem;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--sql2-line);
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.sql2-kw { color: #7dd3fc; font-weight: 600; }
.sql2-num { color: #fbbf24; }

.sql2-lab__result {
  font-size: 0.92rem;
  color: #d7e4f2;
  line-height: 1.5;
}

.sql2-lab__result span {
  display: inline-block;
  margin-right: 0.55rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(62, 168, 255, 0.18);
  color: var(--sql2-accent-hot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.sql2-lab__result code {
  font-family: var(--sql2-mono);
  font-size: 0.88em;
  color: var(--sql2-accent-hot);
}

/* Retos */
.sql2-challenges {
  padding: 5rem 0;
  background: var(--white);
}

.sql2-challenges__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.sql2-challenges__list li {
  padding: 1.5rem 1.35rem 1.5rem 0;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.sql2-challenges__list li + li {
  padding-left: 1.35rem;
  border-left: 1px solid var(--line-strong);
}

.sql2-challenges__tag {
  font-family: var(--sql2-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-peru);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sql2-challenges__list p {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  flex: 1;
}

.sql2-challenges__hint {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-peru);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sql2-challenges__hint:hover { color: var(--red-peru-dark); }

/* FAQ */
.sql2-faq {
  padding: 5rem 0;
  background: var(--sql2-paper);
}

.sql2-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.sql2-faq .community-perks__item {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.sql2-faq .community-perks__trigger {
  width: 100%;
  text-align: left;
}

/* Close */
.sql2-close {
  padding: 5rem 0;
  background: var(--sql2-ink);
  color: #f5f8fc;
  text-align: center;
}

.sql2-close__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.sql2-close__desc {
  color: var(--sql2-mist);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.sql2-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.sql2-close__alt a {
  color: var(--sql2-mist);
  font-size: 0.9rem;
}

.sql2-close__alt a:hover { color: #fff; }

@media (max-width: 900px) {
  .sql2-hero__query { display: none; }

  .sql2-challenges__list {
    grid-template-columns: 1fr;
  }

  .sql2-challenges__list li,
  .sql2-challenges__list li + li {
    padding-left: 0;
    border-left: 0;
  }

  .sql2-faq__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .sql2-hero__inner { padding: 5.5rem 0 3.5rem; }

  .sql2-hero__actions,
  .sql2-close__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sql2-can__list li {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .sql2-lab__tabs { flex-direction: column; }

  .sql2-can,
  .sql2-lab,
  .sql2-challenges,
  .sql2-faq,
  .sql2-close {
    padding: 3.5rem 0;
  }
}

/* ============================================
   SQL Videos — página ambientada a serie (sql-videos.html)
   ============================================ */
.page-sql-videos {
  --sqlvid-ink: #121212;
  --sqlvid-panel: #1a1a1a;
  --sqlvid-line: #2e2e2e;
  --sqlvid-mist: #a3a3a3;
  --sqlvid-paper: #f6f6f6;
  --sqlvid-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body.page-sql-videos .brand-logo--header,
html.is-scrolled body.page-sql-videos .brand-logo--header {
  width: 210px;
  max-width: 210px;
}

.sqlvid-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.sqlvid-title--light { color: #f5f5f5; }

.sqlvid-lead {
  max-width: 36rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.sqlvid-lead--light { color: var(--sqlvid-mist); }

.sqlvid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sqlvid-btn:hover { transform: translateY(-2px); }

.sqlvid-btn--yt {
  background: #ff0033;
  color: #fff;
}

.sqlvid-btn--tt {
  background: #fff;
  color: #111;
}

.sqlvid-btn--wa {
  background: #25d366;
  color: #062814;
}

/* Hero */
.sqlvid-hero {
  position: relative;
  min-height: min(88vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sqlvid-ink);
  color: #f5f5f5;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.sqlvid-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 75% 35%, rgba(200, 16, 46, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, #1c1c1c 0%, var(--sqlvid-ink) 100%);
}

.sqlvid-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 14px,
    rgba(255, 255, 255, 0.07) 14px,
    rgba(255, 255, 255, 0.07) 16px
  );
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  animation: sqlvid-scan 12s linear infinite;
}

.sqlvid-hero__inner {
  position: relative;
  z-index: 1;
  padding: 4.25rem 0 4.5rem;
  max-width: 40rem;
  animation: sqlvid-rise 0.85s ease both;
}

.sqlvid-hero__brand {
  font-size: clamp(2.8rem, 8vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 0.85rem;
}

.sqlvid-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb3bf;
  margin-bottom: 0.85rem;
}

.sqlvid-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red-peru);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55);
  animation: sqlvid-pulse 1.8s ease-in-out infinite;
}

.sqlvid-hero__title {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.sqlvid-hero__desc {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--sqlvid-mist);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.sqlvid-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes sqlvid-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sqlvid-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0); }
}

@keyframes sqlvid-scan {
  from { background-position: 0 0; }
  to { background-position: 64px 0; }
}

/* Cómo se ve */
.sqlvid-watch {
  padding: 4.5rem 0;
  background: var(--sqlvid-paper);
}

.sqlvid-watch__row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.sqlvid-watch__row li {
  padding: 1.35rem 1.25rem 1.35rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.sqlvid-watch__row li + li {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line-strong);
}

.sqlvid-watch__label {
  display: block;
  font-family: var(--sqlvid-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-peru);
  margin-bottom: 0.45rem;
}

.sqlvid-watch__row strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* Playlist */
.sqlvid-series {
  padding: 4.75rem 0 5rem;
  background: #fff;
}

.sqlvid-series__head { margin-bottom: 0.5rem; }

.sqlvid-playlist {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.sqlvid-ep {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.2s ease;
}

.sqlvid-ep:hover {
  background: rgba(0, 0, 0, 0.02);
}

.sqlvid-ep__thumb {
  width: 5.5rem;
  height: 3.5rem;
  border-radius: 0.45rem;
  background: var(--sqlvid-ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-family: var(--sqlvid-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transform-origin: center center;
}

.sqlvid-ep__thumb.is-mini-zoom,
.mascot-trigger.is-mini-zoom {
  animation: miniZoomPulse 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes miniZoomPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.sqlvid-ep__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200, 16, 46, 0.45), transparent 55%);
}

.sqlvid-ep__thumb i,
.sqlvid-ep__thumb span {
  position: relative;
  z-index: 1;
}

.sqlvid-ep__thumb i {
  font-size: 0.85rem;
  opacity: 0.9;
}

.sqlvid-ep__title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.sqlvid-ep__meta {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.sqlvid-ep__cta {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--gray-600);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sqlvid-ep__cta:hover {
  border-color: var(--red-peru);
  color: var(--red-peru);
  background: rgba(200, 16, 46, 0.05);
}

/* Ahora */
.sqlvid-now {
  padding: 4.75rem 0;
  background: var(--sqlvid-ink);
  color: #f5f5f5;
  text-align: center;
}

.sqlvid-now__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff0033;
  margin: 0 0 0.85rem;
}

.sqlvid-now__inner .sqlvid-lead {
  margin-left: auto;
  margin-right: auto;
}

.sqlvid-now__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sqlvid-foot {
  padding: 1.25rem 0;
  background: var(--sqlvid-paper);
}

.sqlvid-foot__inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.sqlvid-foot a {
  color: var(--red-peru);
  font-weight: 700;
}

@media (max-width: 900px) {
  .sqlvid-watch__row {
    grid-template-columns: 1fr;
  }

  .sqlvid-watch__row li,
  .sqlvid-watch__row li + li {
    padding-left: 0;
    border-left: 0;
  }

  .sqlvid-ep {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .sqlvid-ep__cta {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .sqlvid-hero__inner { padding: 5.5rem 0 3.25rem; }

  .sqlvid-hero__actions,
  .sqlvid-now__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sqlvid-watch,
  .sqlvid-series,
  .sqlvid-now {
    padding: 3.5rem 0;
  }
}

/* ============================================
   SQL Aprender — contenido real + slots video (sql-aprender.html)
   ============================================ */
.page-sql-aprender {
  --sqla-ink: #0f1720;
  --sqla-mist: #6b7280;
  --sqla-paper: #f3f5f7;
  --sqla-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body.page-sql-aprender .brand-logo--header,
html.is-scrolled body.page-sql-aprender .brand-logo--header {
  width: 210px;
  max-width: 210px;
}

.sqla-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.sqla-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.sqla-btn:hover { transform: translateY(-2px); }

.sqla-btn--primary {
  background: var(--red-peru);
  color: #fff;
}

.sqla-btn--primary:hover { background: var(--red-peru-dark); }

.sqla-btn--ghost {
  background: transparent;
  color: #f5f5f5;
  border-color: rgba(255, 255, 255, 0.3);
}

.sqla-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.sqla-btn--yt { background: #ff0033; color: #fff; border: 0; }
.sqla-btn--tt { background: #fff; color: #111; border: 0; }
.sqla-btn--wa { background: #25d366; color: #062814; border: 0; }

.sqla-hero {
  position: relative;
  min-height: min(78vh, 580px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sqla-ink);
  color: #f5f5f5;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.sqla-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(200, 16, 46, 0.28), transparent 58%),
    linear-gradient(180deg, #1a2430 0%, var(--sqla-ink) 100%);
}

.sqla-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
}

.sqla-hero__inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0 4.25rem;
  max-width: 38rem;
  animation: sqla-rise 0.85s ease both;
}

.sqla-hero__brand {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 0.85rem;
}

.sqla-hero__title {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.sqla-hero__desc {
  color: #a8b0ba;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.6rem;
  max-width: 32rem;
}

.sqla-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes sqla-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.sqla-section {
  padding: 4.25rem 0;
  background: #fff;
}

.sqla-section--alt {
  background: var(--sqla-paper);
}

.sqla-section__inner {
  max-width: 44rem;
}

.sqla-prose {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.7;
}

.sqla-prose p + p,
.sqla-prose p + ul,
.sqla-prose p + ol,
.sqla-prose ul + p,
.sqla-prose ol + p {
  margin-top: 0.95rem;
}

.sqla-prose ul,
.sqla-prose ol {
  padding-left: 1.25rem;
}

.sqla-prose li + li { margin-top: 0.4rem; }

.sqla-prose code {
  font-family: var(--sqla-mono);
  font-size: 0.9em;
  background: rgba(15, 23, 32, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
}

.sqla-code {
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.2rem;
  border-radius: 0.75rem;
  background: var(--sqla-ink);
  color: #e5e7eb;
  font-family: var(--sqla-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-x: auto;
}

.sqla-kw { color: #7dd3fc; font-weight: 600; }
.sqla-fn { color: #c4b5fd; }
.sqla-num { color: #fbbf24; }

/* Slot de video: vacío listo para embed */
.sqla-video-slot {
  margin-top: 1.75rem;
}

.sqla-video-slot__frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 40rem;
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 16, 46, 0.2), transparent 45%),
    #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.sqla-video-slot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-top: 0.65rem;
  font-size: 0.92rem;
}

.sqla-video-slot figcaption strong {
  font-weight: 800;
  color: var(--black);
}

.sqla-video-slot figcaption span {
  color: var(--red-peru);
  font-weight: 700;
  font-size: 0.82rem;
}

.sqla-close {
  padding: 4.5rem 0;
  background: var(--sqla-ink);
  color: #f5f5f5;
  text-align: center;
}

.sqla-close__title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.sqla-close__desc {
  color: #a8b0ba;
  max-width: 32rem;
  margin: 0 auto 1.6rem;
  line-height: 1.55;
}

.sqla-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .sqla-hero__inner { padding: 5.25rem 0 3.25rem; }

  .sqla-hero__actions,
  .sqla-close__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sqla-section,
  .sqla-close {
    padding: 3.25rem 0;
  }
}

/* ============================================
   SQL Guía — panel temas + contenido (sql-guia.html)
   ============================================ */
.page-sql-guia {
  --sqlg-ink: #111827;
  --sqlg-line: #e5e7eb;
  --sqlg-soft: #f8fafc;
  --sqlg-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--sqlg-soft);
}

body.page-sql-guia .brand-logo--header,
html.is-scrolled body.page-sql-guia .brand-logo--header {
  width: 210px;
  max-width: 210px;
}

.sqlg-main {
  padding-bottom: 0;
}

.sqlg-top {
  background: var(--sqlg-ink);
  color: #f9fafb;
  padding: 2.75rem 0 2.5rem;
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 2.25rem);
}

.sqlg-top__brand {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 0.35rem;
}

.sqlg-top__title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.sqlg-top__desc {
  color: #9ca3af;
  max-width: 34rem;
  line-height: 1.55;
  font-size: 1.02rem;
}

.sqlg-shell {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  gap: 0;
  margin: 1.5rem auto 2.5rem;
  background: #fff;
  border: 1px solid var(--sqlg-line);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 28rem;
}

.sqlg-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.65rem;
  background: #f3f4f6;
  border-right: 1px solid var(--sqlg-line);
}

.sqlg-nav__btn {
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #4b5563;
  padding: 0.7rem 0.75rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sqlg-nav__btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #111;
}

.sqlg-nav__btn.is-active {
  background: #fff;
  color: var(--red-peru);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sqlg-panels {
  padding: 1.5rem 1.6rem 1.75rem;
}

.sqlg-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
  animation: sqlg-in 0.3s ease both;
}

.sqlg-panel[hidden] { display: none; }

@keyframes sqlg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sqlg-panel__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.sqlg-panel__copy p,
.sqlg-panel__copy li {
  color: #374151;
  line-height: 1.65;
  font-size: 1.02rem;
}

.sqlg-panel__copy p + p,
.sqlg-panel__copy p + ul {
  margin-top: 0.85rem;
}

.sqlg-panel__copy ul {
  padding-left: 1.15rem;
}

.sqlg-panel__copy li + li { margin-top: 0.35rem; }

.sqlg-panel__copy code {
  font-family: var(--sqlg-mono);
  font-size: 0.88em;
  background: #f3f4f6;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
}

.sqlg-panel__side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sqlg-video__frame {
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 16, 46, 0.22), transparent 50%),
    #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.sqlg-video__cap {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red-peru);
}

.sqlg-code {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 0.7rem;
  background: var(--sqlg-ink);
  color: #e5e7eb;
  font-family: var(--sqlg-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  overflow-x: auto;
}

.sqlg-kw { color: #7dd3fc; font-weight: 600; }
.sqlg-fn { color: #c4b5fd; }
.sqlg-num { color: #fbbf24; }

.sqlg-help {
  background: #fff;
  border-top: 1px solid var(--sqlg-line);
  padding: 1.75rem 0 2.25rem;
}

.sqlg-help__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sqlg-help__inner p {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sqlg-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sqlg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.sqlg-btn--wa { background: #25d366; color: #062814; }
.sqlg-btn--dc { background: #5865f2; color: #fff; }
.sqlg-btn--yt { background: #ff0033; color: #fff; }

@media (max-width: 900px) {
  .sqlg-shell {
    grid-template-columns: 1fr;
  }

  .sqlg-nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--sqlg-line);
  }

  .sqlg-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sqlg-help__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .sqlg-help__actions {
    flex-direction: column;
  }

  .sqlg-btn { justify-content: center; }
}

/* SQL claro — info que vende valor + slot video */
.sql-info-compare {
  padding: 4.5rem 0;
  background: #fff;
}

.sql-info-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 52rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  overflow: hidden;
}

.sql-info-compare__panel {
  padding: 1.75rem 1.5rem;
}

.sql-info-compare__panel--before {
  background: #f3f4f6;
  border-right: 1px solid var(--line-strong);
}

.sql-info-compare__panel--after {
  background: #fff;
}

.sql-info-compare__tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.sql-info-compare__panel--before .sql-info-compare__tag {
  color: #9ca3af;
}

.sql-info-compare__panel--after .sql-info-compare__tag {
  color: var(--red-peru);
}

.sql-info-compare__title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.sql-info-compare__panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sql-info-compare__panel li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--gray-600);
  line-height: 1.5;
  font-size: 1.02rem;
}

.sql-info-compare__panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #d1d5db;
}

.sql-info-compare__panel--after li::before {
  background: var(--red-peru);
}

.sql-info-casos {
  padding: 4.5rem 0;
  background: #f7f7f7;
}

.sql-info-outcome {
  padding: 4.5rem 0;
  background: #fff;
}

.sql-info-outcome__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 44rem;
  border-top: 1px solid var(--line-strong);
}

.sql-info-outcome__list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.sql-info-outcome__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red-peru);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sql-info-outcome__list h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.sql-info-outcome__list p {
  color: var(--gray-600);
  line-height: 1.55;
  font-size: 1.02rem;
}

.sql-info-casos__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  max-width: 52rem;
}

.sql-info-caso {
  padding: 1.5rem 1.35rem 1.5rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.sql-info-caso:nth-child(even) {
  padding-left: 1.35rem;
  border-left: 1px solid var(--line-strong);
}

.sql-info-caso h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.sql-info-caso p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 1.02rem;
}

.sql-claro-video {
  padding: 4rem 0;
  background: #f7f7f7;
}

@media (max-width: 800px) {
  .sql-info-compare__grid {
    grid-template-columns: 1fr;
  }

  .sql-info-compare__panel--before {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .sql-info-casos__list {
    grid-template-columns: 1fr;
  }

  .sql-info-caso,
  .sql-info-caso:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .sql-info-compare,
  .sql-info-casos,
  .sql-info-outcome {
    padding: 3.5rem 0;
  }
}

.sql-claro-video__slot {
  margin-top: 0.5rem;
  aspect-ratio: 16 / 9;
  max-width: 52rem;
  border-radius: 1rem;
  background: #111827;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.sql-claro-video__slot i {
  font-size: 2rem;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .sql-claro-video {
    padding: 3.25rem 0;
  }
}

/* ============================================
   SQL Consulta — una query que crece (sql-consulta.html)
   ============================================ */
.page-sql-consulta {
  --sqlc-ink: #0c1222;
  --sqlc-paper: #f7f8fa;
  --sqlc-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body.page-sql-consulta .brand-logo--header,
html.is-scrolled body.page-sql-consulta .brand-logo--header {
  width: 210px;
  max-width: 210px;
}

.sqlc-hero {
  background: var(--sqlc-ink);
  color: #f8fafc;
  margin-top: calc(-1 * var(--header-height));
  padding: calc(var(--header-height) + 3.5rem) 0 3.75rem;
}

.sqlc-hero__brand {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 0.65rem;
}

.sqlc-hero__title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.sqlc-hero__desc {
  color: #94a3b8;
  max-width: 34rem;
  line-height: 1.55;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.sqlc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.55rem;
  border: 0;
  background: var(--red-peru);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sqlc-btn:hover {
  transform: translateY(-2px);
  background: var(--red-peru-dark);
}

.sqlc-btn--wa { background: #25d366; color: #062814; }
.sqlc-btn--dc { background: #5865f2; color: #fff; }
.sqlc-btn--yt { background: #ff0033; color: #fff; }

.sqlc-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.sqlc-title--light { color: #f8fafc; }

.sqlc-lead {
  color: #64748b;
  max-width: 34rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  font-size: 1.02rem;
}

.sqlc-lead--light { color: #94a3b8; }

.sqlc-build {
  padding: 4.25rem 0;
  background: #fff;
}

.sqlc-step {
  max-width: 42rem;
  padding: 1.75rem 0;
  border-top: 1px solid #e2e8f0;
}

.sqlc-step:last-child { border-bottom: 1px solid #e2e8f0; }

.sqlc-step__head {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 1rem;
}

.sqlc-step__n {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: var(--red-peru);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.sqlc-step__title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.sqlc-step__head p {
  color: #64748b;
  line-height: 1.5;
}

.sqlc-step__head code {
  font-family: var(--sqlc-mono);
  font-size: 0.88em;
  background: #f1f5f9;
  padding: 0.05em 0.3em;
  border-radius: 0.25rem;
}

.sqlc-code {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 0.75rem;
  background: var(--sqlc-ink);
  color: #e2e8f0;
  font-family: var(--sqlc-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-x: auto;
}

.sqlc-kw { color: #7dd3fc; font-weight: 600; }
.sqlc-num { color: #fbbf24; }

.sqlc-video {
  padding: 4rem 0;
  background: var(--sqlc-ink);
}

.sqlc-video__slot {
  aspect-ratio: 16 / 9;
  max-width: 48rem;
  border-radius: 1rem;
  background: #111827;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
}

.sqlc-video__slot i { font-size: 1.75rem; opacity: 0.7; }

.sqlc-why {
  padding: 4rem 0;
  background: var(--sqlc-paper);
}

.sqlc-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 52rem;
}

.sqlc-why__grid p {
  color: #475569;
  line-height: 1.6;
  font-size: 1.02rem;
}

.sqlc-why__grid strong {
  color: var(--black);
  font-weight: 800;
}

.sqlc-close {
  padding: 3.5rem 0;
  background: #fff;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.sqlc-close__title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.sqlc-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.sqlc-close__alt a {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.sqlc-close__alt a:hover { color: var(--red-peru); }

@media (max-width: 800px) {
  .sqlc-why__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .sqlc-hero { padding: calc(var(--header-height) + 2.75rem) 0 3rem; }
  .sqlc-build,
  .sqlc-video,
  .sqlc-why { padding: 3.25rem 0; }
  .sqlc-close__actions { flex-direction: column; align-items: stretch; }
  .sqlc-btn { justify-content: center; }
}

/* ── Links hub (tipo Linktree) ── */
.page-links {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200, 16, 46, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(26, 26, 26, 0.06), transparent 50%),
    linear-gradient(165deg, #fafafa 0%, #f3f4f6 45%, #eceef2 100%);
  color: var(--black);
  overflow-x: hidden;
}

.page-links .sidebar-social,
.page-links .header,
.page-links .social-float,
.page-links .mascot-assistant {
  display: none !important;
}

.mn-links {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) 1.15rem;
  position: relative;
}

.mn-links::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26, 26, 26, 0.045) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.mn-links__panel {
  width: 100%;
  max-width: 26.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.75rem;
  animation: mnLinksIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mnLinksIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mn-links__brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.mn-links__avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border: 2px solid rgba(200, 16, 46, 0.18);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.mn-links__logo {
  width: min(100%, 17.5rem);
  height: auto;
  display: block;
}

.mn-links__tagline {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 18rem;
}

.mn-links__nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mn-links__btn {
  display: grid;
  grid-template-columns: 2.65rem 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: var(--black);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  animation: mnLinksItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mn-links__btn:nth-child(1) { animation-delay: 0.06s; }
.mn-links__btn:nth-child(2) { animation-delay: 0.12s; }
.mn-links__btn:nth-child(3) { animation-delay: 0.18s; }
.mn-links__btn:nth-child(4) { animation-delay: 0.24s; }
.mn-links__btn:nth-child(5) { animation-delay: 0.3s; }

@keyframes mnLinksItemIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mn-links__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  border-color: rgba(200, 16, 46, 0.22);
  background: #fff;
}

.mn-links__btn:focus-visible {
  outline: 2px solid var(--red-peru);
  outline-offset: 3px;
}

.mn-links__btn:active {
  transform: translateY(0);
}

.mn-links__icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.mn-links__btn--whatsapp .mn-links__icon { background: #25D366; }
.mn-links__btn--youtube .mn-links__icon { background: #FF0000; }
.mn-links__btn--discord .mn-links__icon { background: #5865F2; }
.mn-links__btn--tiktok .mn-links__icon { background: #111111; }
.mn-links__btn--web .mn-links__icon { background: var(--red-peru); }

.mn-links__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  text-align: left;
}

.mn-links__text strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.mn-links__text small {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.3;
}

.mn-links__external {
  font-size: 0.78rem;
  color: var(--gray-400);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mn-links__btn:hover .mn-links__external {
  color: var(--red-peru);
  transform: translateX(2px);
}

.mn-links__btn--web {
  background: linear-gradient(135deg, var(--red-peru) 0%, var(--red-peru-dark) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28);
}

.mn-links__btn--web .mn-links__text small,
.mn-links__btn--web .mn-links__external {
  color: rgba(255, 255, 255, 0.82);
}

.mn-links__btn--web:hover {
  background: linear-gradient(135deg, var(--red-peru-light) 0%, var(--red-peru) 100%);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(200, 16, 46, 0.34);
}

.mn-links__btn--web:hover .mn-links__external {
  color: #fff;
}

.mn-links__btn--web .mn-links__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.mn-links__foot {
  text-align: center;
  padding-top: 0.25rem;
}

.mn-links__foot p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

@media (max-width: 420px) {
  .mn-links {
    padding: 1.25rem 0.9rem 1.75rem;
  }

  .mn-links__avatar {
    width: 5.75rem;
    height: 5.75rem;
  }

  .mn-links__logo {
    width: min(100%, 15rem);
  }

  .mn-links__btn {
    gap: 0.7rem;
    padding: 0.78rem 0.85rem;
  }

  .mn-links__text strong {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mn-links__panel,
  .mn-links__btn {
    animation: none;
  }

  .mn-links__btn,
  .mn-links__external {
    transition: none;
  }
}
