/* LEXPOL — Design system */
:root {
  --navy: #1B3A5C;
  --navy-dark: #122740;
  --navy-light: #2a527e;
  --red: #8A1538;
  --red-dark: #6E0F2C;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --gray-50: #f6f7f9;
  --gray-100: #eceff3;
  --gray-200: #d9dee5;
  --gray-500: #6b7480;
  --gray-700: #3a4250;
  --shadow-sm: 0 2px 8px rgba(13,13,13,.06);
  --shadow-md: 0 8px 24px rgba(13,13,13,.10);
  --shadow-lg: 0 20px 50px rgba(13,13,13,.18);
  --radius: 10px;
  --container: 1180px;
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Roboto", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--gray-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 90px;
  width: auto;
  display: block;
  margin: -20px 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.logo { position: relative; z-index: 2; }
@media (max-width: 720px) {
  .logo img { height: 70px; margin: -15px 0; }
}
.footer .logo img {
  height: 110px;
  width: auto;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: .95;
  pointer-events: none;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 70px), -50%);
  display: flex;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: 6px;
  transition: all .2s ease;
}
.nav-links a:hover { color: var(--navy-dark); background: var(--gray-50); }
.nav-links a.active { color: var(--red); }
.nav-links .nav-cta a { color: var(--white); }
.nav-links .nav-cta a:hover { color: var(--white); background: var(--red-dark); }
.nav-cta {
  margin-left: 10px;
}
@media (min-width: 1181px) {
  .site-header .nav { position: relative; width: max-content; transform: translateX(70px); }
  .site-header .nav-links { position: static; transform: none; }
  .site-header .nav > .logo { position: absolute; left: -16px; top: 50%; transform: translate(-100%, -50%); }
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
  transition: transform .25s ease;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--navy-dark); color: var(--white); }
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-dark); }
.btn-ghost { background: transparent; color: var(--navy-dark); border-color: var(--navy-dark); }
.btn-ghost:hover { background: var(--navy-dark); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* HERO */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(18,39,64,.92), rgba(27,58,92,.88)),
    radial-gradient(circle at 80% 20%, rgba(138,21,56,.35), transparent 50%),
    #122740;
  color: var(--white);
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero--photo {
  background:
    linear-gradient(90deg, rgba(18,39,64,.92) 0%, rgba(18,39,64,.78) 50%, rgba(18,39,64,.55) 100%),
    url("/__l5e/assets-v1/74301ad7-eee2-4dd0-b1db-76cb15adae37/hero-inicio.png") center / cover no-repeat,
    #122740;
}
.hero--photo::before { display: none; }
.hero-inner { position: relative; max-width: 820px; }
.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: #ff4d6b; }
.hero p.lead {
  font-size: 0.92rem;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-bottom: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* SECTIONS */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-head p { font-size: 1.05rem; color: var(--gray-500); }
.bg-alt { background: var(--gray-50); }
.bg-navy { background: var(--navy-dark); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.8); }

/* GRID + CARDS */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.card.red .icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

/* Team card */
.team-card { text-align: center; }
.team-photo {
  width: 110px; height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--gray-200);
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--red); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.team-card .promo { font-size: .9rem; color: var(--gray-500); margin-top: 6px; }

/* Steps */
.steps { counter-reset: step; }
.step .num {
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* Testimonios */
.testimonial { background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.testimonial p { font-style: italic; color: var(--gray-700); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--navy));
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
}
.testimonial .meta strong { display: block; color: var(--navy-dark); }
.testimonial .meta span { font-size: .85rem; color: var(--gray-500); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, max-content));
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--red);
  line-height: 1;
}
.stat .label { color: rgba(255,255,255,.8); margin-top: 8px; font-size: .95rem; letter-spacing: .04em; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
  border-radius: 14px;
  margin: 60px auto;
  max-width: var(--container);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 24px; }
.cta-band--compact { padding: 34px 20px; margin: 44px auto; border-radius: 12px; }
.cta-band--compact h2 { font-size: 1.35rem; }
.cta-band--compact p { font-size: .9rem; margin-bottom: 16px; max-width: 480px; }
.cta-band--compact .btn-lg { padding: 12px 24px; font-size: .9rem; }
.cta-band--compact .hero-actions { gap: 10px; }

/* Biblioteca (temario) */
.library-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 28px;
}
.library-bar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-dark);
}
.library-bar-note { color: var(--gray-500); font-size: .9rem; }
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.product-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 60%, var(--gray-100) 100%);
  border: 1px dashed var(--gray-200);
  margin-bottom: 4px;
}
.product-line {
  height: 10px;
  width: 90%;
  border-radius: 999px;
  background: var(--gray-100);
}
.product-line--title { height: 13px; width: 70%; background: var(--gray-200); }
.product-line--short { width: 45%; }
.product-card .badge { margin-top: auto; }
.library-empty {
  text-align: center;
  margin: 36px auto 0;
  max-width: 520px;
  color: var(--gray-700);
}
.library-empty p { margin-bottom: 18px; }
.product-card h3 { font-size: 1.05rem; margin: 0; }
.product-card .product-cover { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 6px; }
.product-card--boxed .product-cover-box { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; }
.product-card--boxed .product-cover { margin: 0 auto; display: block; }
.product-card .product-price { font-size: 1.3rem; font-weight: 800; color: var(--red); margin: 0; }
.product-card .product-summary { font-size: .85rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .btn { width: 100%; padding: 10px; }
.lexpol-shop { --primary: var(--red); --primary-foreground: var(--white); font-family: var(--font-body); color: var(--black); background: var(--white); }
.lexpol-shop button { font-family: var(--font-body); }
.shop-menu { display: none; }
.shop-detail { padding-top: 28px; padding-bottom: 60px; }
.shop-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: .85rem; }
.shop-breadcrumb > button { margin-left: auto; flex-shrink: 0; }
.shop-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.shop-product-image { background: var(--gray-50); display: flex; justify-content: center; }
.shop-product-image img { width: 100%; aspect-ratio: 4 / 5; max-height: 630px; object-fit: contain; }
.shop-product-image--fit { background: none; }
.shop-product-image--fit img { width: auto; max-width: 100%; max-height: 500px; }
.shop-product-info h1 { font-size: 2.2rem; margin: 18px 0; letter-spacing: 0; }
.shop-price { color: var(--red); font-weight: 800; font-size: 2rem; }
.shop-format { display: flex; gap: 10px; align-items: center; padding: 18px 0; border-top: 1px solid var(--gray-200); margin-bottom: 14px; }
.shop-quantity { display: flex; gap: 8px; align-items: center; margin: 10px 0 20px; }
.shop-quantity span { width: 40px; text-align: center; }
.shop-add { width: 100%; height: 50px; }
.shop-shipping { font-size: .85rem; margin: 14px 0; color: var(--gray-500); }
.shop-product-details { margin-top: 48px; border-top: 1px solid var(--gray-200); }
.shop-tabs { display: flex; gap: 12px; margin: 18px 0 30px; }
.shop-tabs [aria-selected="true"] { color: var(--red); border-bottom: 2px solid var(--red); border-radius: 0; }
.shop-product-details [role="tabpanel"] { max-width: none; min-height: 140px; }
.shop-product-details [role="tabpanel"] p { text-align: justify; hyphens: auto; }
.shop-desc-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.shop-desc-list li { font-weight: 700; }
.shop-desc-incluye { margin-top: 22px; padding: 14px 18px; background: rgba(138,21,56,.05); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; text-align: left !important; }
.shop-product-details h2 { font-size: 1.4rem; }
.shop-empty-stars { display: flex; gap: 6px; color: var(--gray-500); margin: 18px 0; }
.shop-cart-backdrop { position: fixed; inset: 0; z-index: 100; background: var(--shop-overlay); display: flex; justify-content: flex-end; }
:root { --shop-overlay: rgba(13,13,13,.45); }
.shop-cart { width: min(100%, 460px); height: 100%; background: var(--white); padding: 28px; display: flex; flex-direction: column; overflow: auto; box-shadow: var(--shadow-lg); }
.shop-cart-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.shop-cart-heading h2 { font-size: 1.5rem; margin: 0; }
.shop-cart-lines { flex: 1; }
.shop-cart-line { display: grid; grid-template-columns: 80px 1fr; gap: 16px; margin-bottom: 20px; }
.shop-cart-line img { width: 80px; aspect-ratio: 4 / 5; object-fit: contain; }
.shop-cart-line h3 { font-size: 1rem; }
.shop-cart-total { display: flex; justify-content: space-between; border-top: 1px solid var(--gray-200); padding: 20px 0; }
.price-tax { font-size: .75rem; font-weight: 400; color: var(--gray-500); display: inline-block; vertical-align: middle; }
.shop-course-notice { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; padding: 14px; margin-top: 14px; font-size: .85rem; line-height: 1.6; }
.shop-consents { display: grid; gap: 16px; margin: 10px 0 16px; flex-shrink: 0; }
.shop-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .85rem; line-height: 1.6; }
.shop-consent > button { margin-top: 4px; }
.shop-consents a, .shop-course-notice a, .shop-shipping a { color: var(--red); text-decoration: underline; }
.shop-cart-small { font-size: .75rem; color: var(--gray-700); margin: 0; line-height: 1.6; }
.shop-cart > * { flex-shrink: 0; }
.shop-cart .shop-cart-lines { flex: 1 0 auto; }
.shop-cart [role="alert"] { color: var(--red); }
.shop-cart .btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 760px) {
  .shop-product-grid { grid-template-columns: 1fr; gap: 28px; }
  .shop-product-info h1 { font-size: 1.7rem; }
  .shop-product-image img { max-height: 440px; }
  .shop-product-image--fit img { max-height: 350px; }
  .shop-breadcrumb { flex-wrap: wrap; }
  .shop-cart { padding: 20px; }
}

/* FOOTER */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 32px 0 14px;
  font-size: .8rem;
}
.footer h4 { color: var(--white); font-size: .82rem; margin-bottom: 10px; font-family: var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.footer a { color: rgba(255,255,255,.7); display: block; padding: 2px 0; }
.footer a:hover { color: var(--red); }
.footer p { color: var(--white); }
.footer .grid { gap: 24px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 20px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .74rem;
}
.footer-legal-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 4px 8px; max-width: 100%; }
.footer-legal-links a { overflow-wrap: anywhere; }
.footer-claims { margin-top: 10px; font-size: .7rem; }
.footer-contact a { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-contact svg { width: 14px; height: 14px; flex: none; fill: currentColor; }

@media (max-width: 760px) {
  .footer-legal-links { justify-content: flex-start; }
}

/* Accordion (temario) */
.accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-dark);
}
.accordion-trigger:hover { background: var(--gray-50); }
.accordion-trigger .chev { transition: transform .25s ease; color: var(--red); font-size: 1.4rem; }
.accordion-item.open .accordion-trigger .chev { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-item.open .accordion-content { max-height: 1200px; }
.accordion-inner { padding: 0 26px 26px; }
.accordion-inner ol { padding-left: 22px; color: var(--gray-700); }
.accordion-inner li { padding: 4px 0; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-available { background: rgba(27,58,92,.1); color: var(--navy-dark); }
.badge-soon { background: rgba(138,21,56,.1); color: var(--red); }

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* Lists */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 12px;
  width: 24px; height: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem;
  font-weight: 800;
}
.check-list.red li::before { background: var(--red); }

/* Form */
.form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: .9rem;
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color .2s ease;
  background: var(--white);
}
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--navy); }
.form textarea { min-height: 150px; resize: vertical; }
.form-small { font-size: .75rem; line-height: 1.7; margin: 16px 0; overflow-wrap: anywhere; }
.form-small a, .form-consent a { color: var(--red); text-decoration: underline; }
.form .form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-weight: 400; }
.form .form-consent input, .form .form-radio input { width: 18px; height: 18px; padding: 0; margin: 4px 0 0; flex-shrink: 0; accent-color: var(--red); }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { margin-top: 18px; font-size: .9rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.form-error { color: var(--red); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.withdrawal-page { max-width: 960px; overflow-wrap: anywhere; }
.withdrawal-page [hidden], .form [hidden] { display: none !important; }
.withdrawal-cards { margin-bottom: 32px; }
.withdrawal-cards .card { border-radius: 6px; }
.withdrawal-cards .card:hover { transform: none; }
.withdrawal-cards h2 { font-size: 1.3rem; }
.withdrawal-start { display: flex; justify-content: center; margin-bottom: 40px; }
.withdrawal-form-region { scroll-margin-top: 110px; margin-bottom: 48px; }
.withdrawal-step { scroll-margin-top: 110px; }
.withdrawal-step h2 { font-size: 1.5rem; letter-spacing: 0; }
.withdrawal-step fieldset { border: 0; padding: 0; margin: 12px 0 20px; }
.withdrawal-step legend { font-size: .9rem; font-weight: 600; color: var(--navy-dark); margin-bottom: 10px; }
.form .form-radio { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.form-help { font-size: .8rem; margin: -12px 0 18px; color: var(--gray-500); }
.withdrawal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.withdrawal-summary { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr); gap: 12px 24px; margin: 24px 0; }
.withdrawal-summary dt { font-weight: 600; color: var(--navy-dark); }
.withdrawal-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.withdrawal-confirmation { padding: 24px 0; border-top: 3px solid var(--red); }
.withdrawal-confirmation h3 { margin-top: 30px; }
.withdrawal-confirmation li { margin: 12px 0; }
.withdrawal-other { border-top: 1px solid var(--gray-200); padding-top: 36px; }
.withdrawal-other h2 { font-size: 1.4rem; }
@media (max-width: 760px) {
  .withdrawal-summary { grid-template-columns: 1fr; gap: 4px; }
  .withdrawal-summary dd { margin-bottom: 12px; }
  .withdrawal-actions .btn, .withdrawal-start .btn { width: 100%; }
}

/* Animations on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Soon block */
.soon-block {
  text-align: center;
  padding: 100px 24px;
}
.soon-block .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--navy-dark);
  margin-bottom: 16px;
}
.soon-block .pulse-dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}

/* Platform highlight */
.platform-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 60px;
  border-radius: 14px;
  text-align: center;
  margin: 50px 0;
  border: 1px solid rgba(255,255,255,.1);
}
.platform-cta h2 { color: var(--white); }
.platform-cta p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 28px; }

/* Community links */
.community-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding: 36px 28px;
}
.community-card .ico {
  width: 64px; height: 64px;
  margin: 0 auto;
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--white);
}
.community-card .ico svg {
  width: 34px; height: 34px;
  fill: currentColor;
  display: block;
}
.community-card.telegram .ico { background: linear-gradient(135deg, #229ED9, #1a7fb0); }
.community-card.whatsapp .ico { background: linear-gradient(135deg, #25D366, #128C7E); }
.community-card.instagram .ico { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .shop-menu { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    transform: none;
    width: auto;
    white-space: normal;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 14px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }
  .platform-cta, .cta-band { padding: 44px 22px; }
  .cta-band--compact { padding: 28px 16px; margin: 32px auto; }
  .cta-band--compact h2 { font-size: 1.2rem; }
  .form { padding: 24px; }
}

/* Páginas legales */
.legal-page { max-width: 780px; }
.legal-page h2 { font-size: 1.25rem; margin: 34px 0 10px; color: var(--red); }
.legal-page p, .legal-page li { color: var(--gray); line-height: 1.7; font-size: .98rem; }
.legal-page ul { padding-left: 20px; margin: 10px 0; }
.legal-page li { margin: 4px 0; }
.legal-page a { color: var(--red); font-weight: 600; }
.legal-page { overflow-wrap: anywhere; }
.legal-page h2, .legal-page h3 { scroll-margin-top: 110px; letter-spacing: 0; }
.legal-page h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-page ol { padding-left: 24px; margin: 10px 0; }
.legal-form-model { padding: 20px; border: 1px solid var(--gray-200); background: var(--gray-50); border-radius: 6px; }
.legal-copy { font-size: .8rem; padding: 8px 12px; }
#copy-form-status { display: inline-block; margin: 8px; font-size: .85rem; color: var(--gray-700); }

/* CURSO ZERO (Cursos) */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 16px auto 0;
}
.course-feature {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  transition: all .25s ease;
}
.course-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.course-feature-media { display: flex; justify-content: center; padding: 0; }
.course-feature-media img { width: auto; max-width: 100%; max-height: 380px; object-fit: contain; display: block; border-radius: 8px; box-shadow: var(--shadow-md); }
.course-feature-info { display: flex; flex-direction: column; flex: 1; }
.course-feature-info .badge { align-self: flex-start; }
.course-feature-info h2 { font-size: 1.6rem; margin: 14px 0 4px; }
.course-feature-sub { font-weight: 700; color: var(--red); letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; margin: 0 0 10px; }
.course-feature-info > p:not(.course-feature-sub):not(.course-feature-price):not(.course-fit) {
  font-size: .92rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-feature-price { font-size: 1.35rem; font-weight: 800; color: var(--red); margin: 14px 0 14px; }
.course-feature-info .hero-actions { margin-top: auto; gap: 10px; }
.course-feature-info .btn-lg { padding: 10px 18px; font-size: .88rem; flex: 1; text-align: center; }
.course-fit { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 9px 13px; font-size: .88rem; font-weight: 700; color: var(--navy); background: rgba(138,21,56,.06); border-left: 3px solid var(--red); border-radius: 0 7px 7px 0; }
.course-fit::before { content: "\2192"; color: var(--red); font-weight: 800; }
@media (max-width: 900px) {
  .course-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* Área táctil mínima de 44 px en móvil sin cambiar el aspecto: se amplía la zona pulsable con un pseudo-elemento invisible. */
@media (max-width: 768px) {
  .footer a, .site-header .logo, .nav-toggle, .legal-copy { position: relative; }
  .footer a::after, .site-header .logo::after, .nav-toggle::after, .legal-copy::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(44px, 100%); transform: translateY(-50%);
  }
  .nav-toggle span { pointer-events: none; }
}
