@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700;9..144,800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&display=swap');

/* RESPONSIVE SYSTEM
   Desktop-first with only three viewport tiers; everything else is fluid
   (clamp(), auto-fit grids, container queries):
     ≤1100px  compact laptop / tablet landscape → hero + carousel stack
     ≤900px   tablet portrait                    → 2-col layouts collapse, mobile nav
     ≤480px   phones                             → tightest spacing
   @media can't read custom properties, so those numbers are repeated in the
   RESPONSIVE block at the end of the file. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
/* break-word only wraps a word that can't fit on its own line; unlike
   `anywhere` it never lets a layout shrink a box below its longest word, so
   tight components must be given room (see the auto-fit grids below). */
body {
  overflow-wrap: break-word;
}
img,
svg {
  max-width: 100%;
}
:root {
  --y: #f5c400;
  --y2: #e0b000;
  --k: #0a0a0a;
  --k2: #1a1a1a;
  --g1: #f7f7f5;
  --g2: #efefed;
  --g3: #d4d4d0;
  --g4: #8a8a85;
  --w: #ffffff;
  --r: 12px;
  --r2: 20px;
  /* page gutter: 5vw, growing once the viewport is wider than --page-max
     plus both gutters so content stops stretching on large/ultrawide screens.
     The % resolves against the containing block when used as padding. */
  --page-max: 1600px;
  --pad-x: max(5vw, calc((100% - var(--page-max)) / 2));
}
body {
  background: var(--w);
  color: var(--k);
  /* font-family: 'Inter', sans-serif; */
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--g2);
}
.n-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--k);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.n-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--y);
  display: inline-block;
}
.n-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}
.n-links a {
  color: var(--g4);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
.n-links a:hover {
  color: var(--k);
}
.n-links a.active {
  color: var(--y);
  font-weight: 700;
}
.n-btn {
  background: var(--k);
  color: var(--w);
  border: none;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.15s;
  letter-spacing: 0.01em;
}
.n-btn:hover {
  background: var(--k2);
  transform: translateY(-1px);
}
/* hamburger: only visible in the ≤900px tier (see RESPONSIVE block) */
.n-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.n-toggle:hover {
  background: var(--g1);
}
.n-toggle-bar,
.n-toggle-bar::before,
.n-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--k);
  transition:
    transform 0.2s,
    background 0.2s;
}
.n-toggle-bar {
  position: relative;
}
.n-toggle-bar::before,
.n-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
}
.n-toggle-bar::before {
  top: -6px;
}
.n-toggle-bar::after {
  top: 6px;
}
nav.open .n-toggle-bar {
  background: transparent;
}
nav.open .n-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}
nav.open .n-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* HERO */
#inicio {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
  padding: 80px var(--pad-x) 60px;
  /* the illustration hugs the viewport's right edge up to --page-max; beyond
     that it is inset by the extra gutter so it stays next to the text column */
  background: var(--w) url('./assets/image_home.png') no-repeat right
    max(0px, calc((100vw - var(--page-max)) / 2 - 5vw)) center;
  background-size: clamp(450px, 50vw, 760px) auto;
  /* lets the level strip (a full-width child) adapt to the room it has */
  container: herosec / inline-size;
}
/* the hero text column is a size container: the stats row below asks how
   much room it actually has instead of guessing from the viewport width */
.hero-left {
  container: hero / inline-size;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--y);
  padding: 5px 14px 5px 6px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--k);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--k);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-dot svg {
  width: 10px;
  height: 10px;
  fill: var(--y);
}
h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.04;
  font-weight: 900;
  color: var(--k);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
h1 .hl {
  color: var(--k);
  background: var(--y);
  border-radius: 6px;
  padding: 0 6px;
  display: inline;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--g4);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-y {
  background: var(--y);
  color: var(--k);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background 0.18s,
    transform 0.15s;
}
.btn-y:hover {
  background: var(--y2);
  transform: translateY(-2px);
}
.btn-k {
  background: transparent;
  color: var(--k);
  border: 1.5px solid var(--g3);
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
}
.btn-k:hover {
  border-color: var(--k);
  background: var(--k);
  color: var(--w);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--g2);
  border-radius: var(--r2);
  overflow: hidden;
  background-color: #ffffffce;
}
/* the widest unbreakable stat ("Actualización" + icon) needs ~120px of
   content (~152px with padding), so four columns only start once the
   container can hold them */
@container hero (min-width: 39rem) {
  .hero-stats,
  .hero-stats.stats-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat {
  padding: 1.25rem 1rem;
  text-align: left;
}
.stat-n {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.125rem, 0.85rem + 1.4vw, 1.5rem);
  font-weight: 900;
  color: var(--k);
  line-height: 1;
  min-width: 0;
}
.stat-l {
  font-size: 0.75rem;
  color: var(--g4);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.stat-icon {
  width: 24px;
  height: 24px;
  display: flex;
  flex-shrink: 0;
  color: #f5a623;
}
.stat-icon svg {
  width: 100%;
  height: 100%;
}
.stat-n.txt {
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.25;
}
.creators-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.creators-avatars {
  display: flex;
  flex-shrink: 0;
}
.c-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--y);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--k);
  border: 2px solid var(--w);
  margin-left: -10px;
}
.c-avatar:first-child {
  margin-left: 0;
}
.creators-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.creators-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--k);
}
.creators-text span {
  font-size: 0.8rem;
  color: var(--g4);
}
.creators-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--y2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.creators-badge svg {
  width: 18px;
  height: 18px;
}
.pepitas-level-strip {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--g2);
  display: flex;
  align-items: stretch;
  gap: 1.75rem;
}
.pls-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 290px;
  flex-shrink: 0;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: var(--r);
  padding: 1.3rem;
}
.pls-head-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pls-head-icon {
  width: 26px;
  height: 26px;
  color: var(--k);
  flex-shrink: 0;
}
.pls-head-icon svg {
  width: 100%;
  height: 100%;
}
.pls-head strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--k);
  line-height: 1.3;
}
.pls-head span {
  font-size: 0.88rem;
  color: var(--g4);
  line-height: 1.6;
}
.pls-head-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--y2);
  text-decoration: none;
  margin-top: 18px;
}
.pls-head-link:hover {
  text-decoration: underline;
}
.pls-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
  min-width: 0;
}
/* the head card sits beside the grid only when there is room for both;
   below that it stacks on top and the cards flow 4 → 2 → 1 per row */
@container herosec (max-width: 1099px) {
  .pepitas-level-strip {
    flex-direction: column;
  }
  .pls-head {
    width: auto;
  }
}
@container herosec (max-width: 759px) {
  .pls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container herosec (max-width: 479px) {
  .pls-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pls-card {
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: var(--r);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
}
.pls-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.pls-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.pls-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.pls-top-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.pls-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--k);
  line-height: 1.1;
}
.pls-oro .pls-name {
  color: #c9860a;
}
.pls-bronce .pls-name {
  color: #b3401f;
}
.pls-tag {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.pls-oro .pls-tag {
  background: #fef3c7;
  color: #92620a;
}
.pls-plata .pls-tag {
  background: #f1f2f4;
  color: #55595e;
}
.pls-bronce .pls-tag {
  background: #fbe3d0;
  color: #8a4a1c;
}
.pls-uranio .pls-tag {
  background: #ede9fe;
  color: #6d28d9;
}
.pls-desc {
  font-size: 0.88rem;
  color: var(--g4);
  line-height: 1.55;
  margin-bottom: 0.7rem;
  flex: 1;
}
.pls-sub {
  font-size: 0.85rem;
  font-weight: 700;
}
.pls-oro .pls-sub {
  color: #b8860b;
}
.pls-plata .pls-sub {
  color: #6b7280;
}
.pls-bronce .pls-sub {
  color: #b3541e;
}
.pls-uranio .pls-sub {
  color: #6d28d9;
}
.hero-card {
  background: var(--g1);
  border-radius: var(--r2);
  padding: 1.75rem;
  border: 1px solid var(--g2);
}
.hero-card.accent {
  background: var(--k);
  color: var(--w);
}
.hc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g4);
  margin-bottom: 0.5rem;
}
.hero-card.accent .hc-tag {
  color: rgba(255, 255, 255, 0.45);
}
.hc-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.hc-sub {
  font-size: 0.85rem;
  color: var(--g4);
  line-height: 1.5;
}
.hero-card.accent .hc-sub {
  color: rgba(255, 255, 255, 0.5);
}
.hc-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--y);
  color: var(--k);
}
.chip.w {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}
.hero-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* CAROUSEL */
.carousel-section {
  /* the fixed 60px nav would cover the top edge when jumping to #carousel */
  scroll-margin-top: 76px;
  padding: 0 var(--pad-x) clamp(2rem, 4vw, 3rem);
  background: var(--w);
}
.carousel-wrap {
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--g2);
}
.c-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.c-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 320px;
}
.c-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 4vw, 3rem);
}
.c-slide-text {
  padding: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background: var(--g1); */
  /* border-left: 1px solid var(--g2); */
}
.c-slide-container-num {
  /* margin-bottom: 0.75rem; */
  background: #fff6e4;
  border-radius: 10px;
  text-align: center;
  width: 60px;
}
.c-slide-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--y);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.c-slide-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--k);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.c-slide-desc {
  font-size: 0.9rem;
  color: var(--g4);
  line-height: 1.65;
}
.c-slide.cs4 {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  min-height: 480px;
}
.cs4-visual,
.cs1-visual,
.cs2-visual,
.cs3-visual {
  position: relative;
  align-items: stretch;
  justify-content: center;
}
.cs4-mockup {
  width: 100%;
  border-radius: var(--r2);
  border: 1.5px dashed var(--g3);
  background: var(--w);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.cs4-mockup .hvp-icon {
  font-size: 2.5rem;
}
.cs4-mockup .hvp-text {
  font-size: 0.78rem;
  color: var(--g4);
  line-height: 1.5;
}
.carousel-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.carousel-card {
  /* display: flex; */
  /* align-items: flex-start; */
  gap: 8px;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-width: 190px;
  font-size: 1.2rem;
  height: 180px;
}
.carousel-card strong {
  font-size: 1.3rem;
  color: var(--k);
}
.carousel-card span {
  font-size: 1rem;
  color: var(--k);
}

/* --- cs1-only layout fixes: position the floating stat cards over the
   device screenshot and restore compact card proportions, matching the
   reference mock. Everything below is scoped to .c-slide.cs1 so no other
   slide is affected. --- */
.c-slide.cs1 {
  min-height: 640px;
}
.c-slide.cs1 .cdv-tablet {
  height: 520px;
}
.c-slide.cs1 .cs1-visual {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
}
.c-slide.cs1 .carousel-container {
  position: static;
  flex: 0 0 auto;
  width: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  z-index: auto;
}
.c-slide.cs1 .carousel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  max-width: none;
  width: 100%;
  padding: 1.1rem 1.2rem 1.2rem;
}
.c-slide.cs1 .cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fef3c7;
  color: #92620a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.c-slide.cs1 .cc-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.c-slide.cs1 .cc-icon svg {
  width: 26px;
  height: 26px;
}
.c-slide.cs1 .cc-icon-purple {
  background: #ebd1f9;
  color: #8b5cf6;
}
.c-slide.cs1 .cc-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--k);
  line-height: 1.1;
}
.c-slide.cs1 .cc-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--k);
  margin-top: 2px;
}
.c-slide.cs1 .cc-desc {
  font-size: 0.85rem;
  color: var(--g4);
  line-height: 1.5;
  margin-top: 0.6rem;
}
.c-slide.cs1 .cs1-visual > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-slide.cs1 .image_carousel {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.cs4-float {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-width: 190px;
  font-size: 1rem;
}
.cs4-float strong {
  display: block;
  font-size: 0.75rem;
  color: var(--k);
  margin-bottom: 2px;
}
.cs4-float span {
  font-size: 0.68rem;
  color: var(--g4);
  line-height: 1.4;
}
.cs4f-icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.cs4-float-1 {
  top: 14px;
  left: 14px;
}
.cs4-float-2 {
  bottom: 44px;
  left: 24px;
}
.cs4-float-3 {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

/* =========================================================================
   .c-slide.cs2 — full three-zone rebuild (cards | phone | text).
   Everything below is scoped to .c-slide.cs2 so cs1/cs3/cs4 are untouched.
   ========================================================================= */
.c-slide.cs2 {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.15fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  min-height: 760px;
}

/* left zone: a 2x2 grid of info cards (icon badge + title + description). */
.c-slide.cs2 .cs2-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  align-self: center;
}
.c-slide.cs2 .cs2-card {
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.3rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.c-slide.cs2 .cs2-card:nth-child(2n) {
  transform: translateY(22px);
}
.c-slide.cs2 .cs2-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.65rem;
}
.c-slide.cs2 .cs2-card-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.c-slide.cs2 .cs2-card strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--k);
}
.c-slide.cs2 .cs2-card span {
  font-size: 0.8rem;
  color: var(--g4);
  line-height: 1.45;
}
.c-slide.cs2 .cs2-card-dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.c-slide.cs2 .cs2-card-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.c-slide.cs2 .dot-oro {
  background: #f5c400;
}
.c-slide.cs2 .dot-plata {
  background: #b9bcc2;
}
.c-slide.cs2 .dot-bronce {
  background: #c47a3c;
}
.c-slide.cs2 .dot-uranio {
  background: #8b5cf6;
}

/* center zone: the phone mockup, in its own column so it can never
   crowd the text column. */
.c-slide.cs2 .cs2-phone-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* right zone: the text block now lives in its own grid column, so drop
   the padding it uses when it's sharing a 1fr/1fr slide. */
.c-slide.cs2 .c-slide-text {
  padding: 0;
  height: 100%;
  justify-content: center;
}
.c-slide.cs2 .c-slide-container-num {
  padding: 6px 4px;
}
.c-slide.cs2 .c-slide-num {
  margin-bottom: 0;
}
.c-slide.cs2 .cs2-title-bar {
  width: 48px;
  height: 4px;
  background: var(--y);
  border-radius: 999px;
  margin: 1rem 0 1.15rem;
}

/* feature list: real icon-in-circle art instead of the emoji-in-square
   badge the shared .cs4-fi uses for cs3/cs4, plus hairline dividers. */
.c-slide.cs2 .cs4-features {
  gap: 0;
  margin-top: 1.4rem;
}
.c-slide.cs2 .cs4-features li {
  padding: 0.9rem 0;
  gap: 16px;
}
.c-slide.cs2 .cs4-features li + li {
  border-top: 1px solid var(--g2);
}
.c-slide.cs2 .cs4-fi {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: none;
  border: none;
}
.c-slide.cs2 .cs4-fi img {
  width: 100%;
  height: 100%;
  display: block;
}
.c-slide.cs2 .cs4-features strong {
  font-size: 0.92rem;
}
.c-slide.cs2 .cs4-features span {
  font-size: 0.8rem;
}

.c-slide.cs2 .c-plat-wifi,
.c-slide.cs3 .c-plat-wifi {
  width: 13px;
  height: 13px;
  fill: var(--g4);
  flex-shrink: 0;
}

/* =========================================================================
   .c-slide.cs3 — full three-zone rebuild (cards | tablet | text), mirroring
   the cs2 pattern. Everything below is scoped to .c-slide.cs3 so cs1/cs2/cs4
   are untouched.
   ========================================================================= */
.c-slide.cs3 {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.7fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 1.75rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  min-height: 560px;
}

/* left zone: three stacked stat cards (icon badge + big title + optional
   subtitle + description). */
.c-slide.cs3 .cs3-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  height: 100%;
  /* the card titles size themselves from this column, not from the viewport */
  container-type: inline-size;
}
.c-slide.cs3 .cs3-card {
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 20px;
  padding: 1.1rem clamp(1rem, 8cqw, 1.5rem);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 260px;
}
.c-slide.cs3 .cs3-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 0.75rem;
}
.c-slide.cs3 .cs3-card-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.c-slide.cs3 .cs3-card-title {
  font-size: clamp(1.1rem, 11cqw, 1.6rem);
  font-weight: 800;
  color: var(--k);
  line-height: 1.15;
}
.c-slide.cs3 .cs3-card-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--k2);
  margin-top: 2px;
}
.c-slide.cs3 .cs3-card-desc {
  font-size: 0.8rem;
  color: var(--g4);
  line-height: 1.5;
  margin-top: 0.85rem;
}

/* center zone: the tablet, in its own column so it can never crowd the
   text column. Same aspect ratio as the shared .cdv-tablet (420 / 348),
   just scaled up so it reads as the visual centerpiece. */
.c-slide.cs3 .cs3-tablet-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.c-slide.cs3 .cdv-tablet {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  height: auto;
}

/* right zone: the text block now lives in its own grid column, so drop
   the padding it uses when it's sharing a 1fr/1fr slide. */
.c-slide.cs3 .c-slide-text {
  padding: 0;
  height: 100%;
  justify-content: center;
}
.c-slide.cs3 .c-slide-container-num {
  padding: 6px 4px;
}
.c-slide.cs3 .c-slide-num {
  margin-bottom: 0;
}
.c-slide.cs3 .cs3-title-bar {
  width: 48px;
  height: 4px;
  background: var(--y);
  border-radius: 999px;
  margin: 1rem 0 1.15rem;
}
.c-slide.cs3 .cs4-features {
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.c-slide.cs3 .cs4-fi {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: none;
  border: none;
}
.c-slide.cs3 .cs4-fi img {
  width: 100%;
  height: 100%;
  display: block;
}
.c-slide.cs3 .cs4-features strong {
  font-size: 0.92rem;
}
.c-slide.cs3 .cs4-features span {
  font-size: 0.8rem;
}

.c-slide-title .hl {
  background: var(--y);
  color: var(--k);
  border-radius: 6px;
  padding: 0 6px;
  display: inline;
}
.cs4-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cs4-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cs4-fi {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--w);
  border: 1px solid var(--g2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cs4-features strong {
  display: block;
  font-size: 0.85rem;
  color: var(--k);
  margin-bottom: 2px;
}
.cs4-features span {
  font-size: 0.78rem;
  color: var(--g4);
  line-height: 1.5;
}

/* --- cs4-only: float-1/-2 are now the tall "icon on top" cards from the
   reference. Column layout, and still capped short of where the phone
   (z-index:1) starts so the text never gets painted over. --- */
.c-slide.cs4 .cs4-float-1,
.c-slide.cs4 .cs4-float-2 {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 168px;
  padding: 1.3rem 1.25rem 1.5rem;
  border-radius: 20px;
}
.c-slide.cs4 .cs4-float-2 {
  left: 14px;
}
.c-slide.cs4 .cs4f-icon-lg {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.c-slide.cs4 .cs4-float-1 .cs4f-icon-lg {
  color: #f97316;
}
.c-slide.cs4 .cs4-float-2 .cs4f-icon-lg {
  color: #8b5cf6;
}
.c-slide.cs4 .cs4-float-1 strong,
.c-slide.cs4 .cs4-float-2 strong {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.c-slide.cs4 .cs4-float-1 span,
.c-slide.cs4 .cs4-float-2 span {
  font-size: 0.85rem;
  line-height: 1.55;
}
.c-slide.cs4 .cs4f-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.c-slide.cs4 .cs4f-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--k2);
}
.c-slide.cs4 .cs4f-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8b5cf6;
  color: var(--w);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- cs4-only: uniform cream rounded-square badges with black line-icon
   SVGs for the feature list, matching the reference. --- */
.c-slide.cs4 .cs4-fi {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: none;
  background: #fef3c7;
  color: var(--k);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c-slide.cs4 .cs4-fi svg {
  width: 24px;
  height: 24px;
}
/* --- cs4-only: float-3 ("Estudia con foco") sits to the phone's right,
   so keep it in the same tall column layout as float-1/-2, capped short
   of where the phone (z-index:1) starts on its left side. --- */
.c-slide.cs4 .cs4-float-3 {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 168px;
  padding: 1.3rem 1.25rem 1.5rem;
  border-radius: 20px;
}
.c-slide.cs4 .cs4f-icon-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #22c55e;
  margin-bottom: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-slide.cs4 .cs4f-icon-check svg {
  width: 28px;
  height: 28px;
}
.c-slide.cs4 .cs4-float-3 strong {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.c-slide.cs4 .cs4-float-3 span {
  font-size: 0.85rem;
  line-height: 1.55;
}
.c-slide.cs4 .c-slide-container-num {
  padding: 6px 4px;
}
.c-slide.cs4 .c-slide-num {
  margin-bottom: 0;
}
.c-slide.cs4 .c-slide-title .hl {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 12px;
  margin-top: 4px;
}
.c-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--w);
  border-top: 1px solid var(--g2);
}
.c-dots {
  display: flex;
  gap: 6px;
}
.cdot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g3);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  padding: 0;
}
/* the dot stays 6px, its clickable area is 44px tall */
.cdot::before {
  content: '';
  position: absolute;
  inset: -19px -3px;
}
.cdot.on {
  background: var(--k);
  width: 20px;
  border-radius: 3px;
}
.c-btns {
  display: flex;
  gap: 8px;
}
.cbtn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--g2);
  background: var(--w);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.18s;
  color: var(--k);
}
.cbtn:hover {
  background: var(--y);
  border-color: var(--y);
}

.c-slide.cs1,
.c-slide.cs2,
.c-slide.cs3 {
  min-height: 480px;
}

/* carousel level list (cs1) */
.c-levels {
  /* list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem; */
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-around;
}
.c-levels img {
  width: 60px;
  /* height: 20px; */
}
.c-levels .c-score {
  width: 90px;
}
.c-level {
  /* display: flex; */
  /* align-items: flex-start; */
  gap: 10px;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--g2);
  background: var(--w);
  width: 45%;
}
.c-level-dot {
  font-size: 1rem;
  flex-shrink: 0;
}
.c-level strong {
  display: block;
  font-size: 0.8rem;
  color: var(--k);
  margin-bottom: 1px;
}
.c-level span {
  font-size: 0.9rem;
  color: var(--k2);
  line-height: 1.4;
}
.c-level.plv-oro {
  /* border-color: #f5d78a; */
  background: #fffdf5;
}
.c-level.plv-plata {
  /* border-color: #dcdde0; */
  background: #f0f0f0;
}
.c-level.plv-bronce {
  /* border-color: #edc7a4; */
  background: #fcf7f1;
}
.c-level.plv-uranio {
  /* border-color: #d8cef9; */
  background: #fbfaff;
}

.c-level-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
}

/* --- cs1-only: 2x2 level grid + compact header row, matching the reference --- */
.c-slide.cs1 .c-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  gap: 14px 16px;
}
.c-slide.cs1 .c-level {
  width: auto;
  padding: 0.85rem 1rem;
}
.c-slide.cs1 .c-levels img {
  width: 38px;
}
.c-slide.cs1 .c-levels .c-score {
  width: 82px;
  display: block;
}
.c-slide.cs1 .c-level-header {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}
.c-slide.cs1 .c-level-header > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.c-slide.cs1 .c-level strong {
  margin-bottom: 0;
  font-size: 1rem;
}
.c-slide.cs1 .c-level span {
  font-size: 0.8rem;
  color: var(--g4);
}

/* platform row */
.c-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--g2);
}
.c-plat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--k2);
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 999px;
  padding: 5px 12px 5px 9px;
}
.c-plat img {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.c-plat-offline {
  color: var(--g4);
}

.image_carousel {
  width: 350px;
}

/* device mockup shell reused across cs1-cs3 */
.cdv {
  position: relative;
  z-index: 1;
  background: var(--w);
  border: 6px solid var(--k);
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
}
.cdv-tablet {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 420 / 348;
  height: auto;
}
.cdv-phone {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 230 / 420;
  height: auto;
  border-radius: 30px;
  border-width: 7px;
}

/* --- mockup fitting ---
   Each device mockup is drawn at a fixed "design" width (--fit-w, in px) so its
   rem-sized text, rails and gaps keep their proportions. index.js measures the
   room the mockup's column really has (and its optional --fit-max-h height
   cap, which keeps the carousel from growing taller than ~700px) and sets
   --fit-scale (≤ 1); the whole
   thing is then shrunk with transform: scale() instead of being clipped by
   overflow:hidden. (transform rather than `zoom`: browsers enforce a ~6px
   minimum font size on zoomed text, which would break the proportions.)
   Without JS the fluid width:100% / max-width rules above remain as fallback. --- */
.cs1-visual {
  --fit-w: 760;
  --fit-max-h: 640;
}
.cs4-visual {
  --fit-w: 780;
  --fit-max-h: 640;
}
.c-slide.cs2 .cdv-phone {
  --fit-w: 280;
  --fit-max-h: 580;
}
.c-slide.cs3 .cdv-tablet {
  --fit-w: 440;
}
.js-fit .cs1-visual,
.js-fit .cs4-visual,
.js-fit .c-slide.cs2 .cdv-phone,
.js-fit .c-slide.cs3 .cdv-tablet {
  width: calc(var(--fit-w) * 1px);
  max-width: none;
  flex-shrink: 0;
  transform: scale(var(--fit-scale, 1));
}
/* compositions keep their designed height and sit centered in their column
   (the box overflows it equally on both sides before the scale pulls it in) */
.js-fit .cs1-visual,
.js-fit .cs4-visual {
  align-self: center;
  justify-self: center;
}

/* tablet topbar */
.cdv-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--g2);
  flex-shrink: 0;
}
.cdv-brand {
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--k);
  white-space: nowrap;
}
.cdv-chip {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 700;
  color: #92620a;
  background: #fef3c7;
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 5px;
}
.cdv-topbar-sub {
  font-size: 0.68rem;
  color: var(--g4);
  margin-right: auto;
}
.cdv-search {
  flex: 1;
  background: var(--g1);
  border: 1px solid var(--g2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.6rem;
  color: var(--g4);
}
.cdv-ico {
  font-size: 0.88rem;
  color: var(--g4);
}
.cdv-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--k);
  color: var(--w);
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cdv-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* icon rail (cs1) */
.cdv-rail {
  width: 62px;
  flex-shrink: 0;
  border-right: 1px solid var(--g2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.35rem;
}
.cdv-r-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.85rem;
  color: var(--g4);
}
.cdv-r-item em {
  font-style: normal;
  font-size: 0.46rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.cdv-r-item.on {
  color: var(--k);
}
.cdv-r-item.on em {
  color: var(--k);
  font-weight: 700;
}

.cdv-content {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  overflow: hidden;
}
.cdv-c-title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--k);
  margin-bottom: 2px;
}
.cdv-c-sub {
  font-size: 0.7rem;
  color: var(--g4);
  line-height: 1.4;
  margin-bottom: 0.55rem;
}
.cdv-c-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.cdv-level-filter {
  flex-shrink: 0;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--k2);
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.cdv-col-header {
  display: flex;
  justify-content: space-between;
  padding: 0 8px 3px;
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--g4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cdv-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 0.55rem;
}
.cdv-tab {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--g1);
  color: var(--g4);
  border: 1px solid var(--g2);
}
.cdv-tab.on {
  background: var(--k);
  color: var(--w);
  border-color: var(--k);
}
.cdv-tab.plv-oro {
  color: #92620a;
}
.cdv-tab.plv-plata {
  color: #55595e;
}
.cdv-tab.plv-bronce {
  color: #8a4a1c;
}
.cdv-tab.plv-uranio {
  color: #6d28d9;
}

.cdv-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cdv-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.cdv-row.featured {
  background: #fffbeb;
  border-color: #f5d78a;
}
.cdv-row-star {
  font-size: 0.65rem;
  flex-shrink: 0;
}
.cdv-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.cdv-row-text strong {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--k);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cdv-row-text span {
  font-size: 0.53rem;
  color: var(--g4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cdv-badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
.cdv-badge.plv-oro {
  background: #fef3c7;
  color: #92620a;
}
.cdv-badge.plv-plata {
  background: #f1f2f4;
  color: #55595e;
}
.cdv-badge.plv-bronce {
  background: #fbe3d0;
  color: #8a4a1c;
}
.cdv-badge.plv-uranio {
  background: #ede9fe;
  color: #6d28d9;
}
.cdv-stars {
  font-size: 0.55rem;
  color: var(--y2);
  flex-shrink: 0;
}
.cdv-row-chevron {
  font-size: 0.8rem;
  color: var(--g3);
  flex-shrink: 0;
  line-height: 1;
}

/* =========================================================================
   phone quiz mockup — shared by .c-slide.cs2 and .c-slide.cs4 (cs4 reuses
   the same real-iPhone frame: dynamic island, side buttons, status bar).
   ========================================================================= */
.c-slide.cs2 .cdv-phone,
.c-slide.cs4 .cdv-phone {
  position: relative;
  overflow: visible;
  max-width: 280px;
  aspect-ratio: 280 / 660;
  height: auto;
  border-radius: 46px;
  border-width: 10px;
  background: var(--k);
}

/* side buttons: small dark protrusions on the bezel */
.c-slide.cs2 .cdv-p-btn,
.c-slide.cs4 .cdv-p-btn {
  position: absolute;
  background: var(--k2);
  z-index: 0;
}
.c-slide.cs2 .cdv-p-btn-mute,
.c-slide.cs4 .cdv-p-btn-mute {
  left: -3px;
  top: 100px;
  width: 3px;
  height: 22px;
  border-radius: 2px 0 0 2px;
}
.c-slide.cs2 .cdv-p-btn-vol-up,
.c-slide.cs4 .cdv-p-btn-vol-up {
  left: -3px;
  top: 148px;
  width: 3px;
  height: 40px;
  border-radius: 2px 0 0 2px;
}
.c-slide.cs2 .cdv-p-btn-vol-down,
.c-slide.cs4 .cdv-p-btn-vol-down {
  left: -3px;
  top: 196px;
  width: 3px;
  height: 40px;
  border-radius: 2px 0 0 2px;
}
.c-slide.cs2 .cdv-p-btn-side,
.c-slide.cs4 .cdv-p-btn-side {
  right: -3px;
  top: 160px;
  width: 3px;
  height: 72px;
  border-radius: 0 2px 2px 0;
}

/* the actual screen: clips all quiz content to the rounded corners while
   the frame above stays overflow:visible so the buttons can poke out. */
.c-slide.cs2 .cdv-p-screen,
.c-slide.cs4 .cdv-p-screen {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: var(--w);
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
}

.c-slide.cs2 .cdv-p-island,
.c-slide.cs4 .cdv-p-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: var(--k);
  border-radius: 999px;
  z-index: 2;
}
.c-slide.cs2 .cdv-p-statusbar,
.c-slide.cs4 .cdv-p-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 4px;
  flex-shrink: 0;
}
.c-slide.cs2 .cdv-p-time,
.c-slide.cs4 .cdv-p-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--k);
}
.c-slide.cs2 .cdv-p-status-icons,
.c-slide.cs4 .cdv-p-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.c-slide.cs2 .cdv-p-status-icons svg,
.c-slide.cs4 .cdv-p-status-icons svg {
  fill: var(--k);
  height: 9px;
}
.c-slide.cs2 .cdv-p-signal,
.c-slide.cs4 .cdv-p-signal {
  width: 13px;
}
.c-slide.cs2 .cdv-p-wifi,
.c-slide.cs4 .cdv-p-wifi {
  width: 12px;
}
.c-slide.cs2 .cdv-p-battery,
.c-slide.cs4 .cdv-p-battery {
  width: 19px;
}
.c-slide.cs2 .cdv-p-battery-fill,
.c-slide.cs4 .cdv-p-battery-fill {
  fill: var(--k);
}

.c-slide.cs2 .cdv-p-topbar,
.c-slide.cs4 .cdv-p-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.1rem 0.6rem;
  flex-shrink: 0;
}
.c-slide.cs2 .cdv-p-back,
.c-slide.cs4 .cdv-p-back {
  color: var(--g4);
  font-size: 1rem;
}
.c-slide.cs2 .cdv-p-title,
.c-slide.cs4 .cdv-p-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--k);
}
.c-slide.cs2 .cdv-p-tag,
.c-slide.cs4 .cdv-p-tag {
  font-size: 0.62rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92620a;
  border-radius: 999px;
  padding: 3px 10px;
}
.c-slide.cs2 .cdv-p-bookmark,
.c-slide.cs4 .cdv-p-bookmark {
  margin-left: auto;
  font-size: 0.85rem;
}
.c-slide.cs2 .cdv-p-progress,
.c-slide.cs4 .cdv-p-progress {
  height: 6px;
  background: var(--g2);
  border-radius: 999px;
  margin: 0 1.1rem;
  overflow: hidden;
}
.c-slide.cs2 .cdv-p-progress span,
.c-slide.cs4 .cdv-p-progress span {
  display: block;
  width: 46%;
  height: 100%;
  background: #22c55e;
}
.c-slide.cs2 .cdv-p-count,
.c-slide.cs4 .cdv-p-count {
  font-size: 0.66rem;
  color: var(--g4);
  padding: 6px 1.1rem 0;
}
.c-slide.cs2 .cdv-p-question,
.c-slide.cs4 .cdv-p-question {
  font-size: 0.82rem;
  color: var(--k);
  line-height: 1.55;
  padding: 0.8rem 1.1rem;
}
.c-slide.cs2 .cdv-p-options,
.c-slide.cs4 .cdv-p-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 1.1rem;
}
.c-slide.cs2 .cdv-p-opt,
.c-slide.cs4 .cdv-p-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--k2);
  border: 1.5px solid var(--g2);
  border-radius: 12px;
  padding: 9px 12px;
}
.c-slide.cs2 .cdv-p-opt-letter,
.c-slide.cs4 .cdv-p-opt-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--g3);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--g4);
}
.c-slide.cs2 .cdv-p-opt.correct,
.c-slide.cs4 .cdv-p-opt.correct {
  border-color: #22c55e;
  background: #f0fdf4;
  color: #166534;
  font-weight: 600;
}
.c-slide.cs2 .cdv-p-opt.correct .cdv-p-opt-letter,
.c-slide.cs4 .cdv-p-opt.correct .cdv-p-opt-letter {
  border-color: #22c55e;
  color: #16a34a;
}
.c-slide.cs2 .cdv-p-opt-check,
.c-slide.cs4 .cdv-p-opt-check {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: var(--w);
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c-slide.cs2 .cdv-p-feedback,
.c-slide.cs4 .cdv-p-feedback {
  margin: 0.85rem 1.1rem 0;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.c-slide.cs2 .cdv-p-feedback strong,
.c-slide.cs4 .cdv-p-feedback strong {
  font-size: 0.78rem;
  color: #166534;
}
.c-slide.cs2 .cdv-p-feedback span,
.c-slide.cs4 .cdv-p-feedback span {
  font-size: 0.68rem;
  color: #15803d;
  line-height: 1.45;
}
.c-slide.cs2 .cdv-p-source,
.c-slide.cs4 .cdv-p-source {
  font-size: 0.6rem;
  color: var(--g4);
  padding: 0.6rem 1.1rem 0;
}
.c-slide.cs2 .cdv-p-navbar,
.c-slide.cs4 .cdv-p-navbar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--g2);
  flex-shrink: 0;
}
.c-slide.cs2 .cdv-p-nav-btn,
.c-slide.cs4 .cdv-p-nav-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--k2);
}
.c-slide.cs2 .cdv-p-nav-count,
.c-slide.cs4 .cdv-p-nav-count {
  font-size: 0.68rem;
  color: var(--g4);
}

/* Demo video mockup (cs5) */
.c-slide.cs5 {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  min-height: 480px;
}
.c-slide.cs5 .cs5-visual {
  background: linear-gradient(180deg, #fafafa 0%, #efefed 100%);
}
.cs5-player {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.cs5-laptop-img {
  width: 100%;
  height: auto;
  display: block;
}
.cs5-play-btn {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--w);
  border: none;
  color: var(--k);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow:
    0 0 0 10px rgba(245, 196, 0, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.18);
}
.cs5-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.cs5-scrubber {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.cs5-scrub-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--k);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.cs5-scrub-btn svg {
  width: 16px;
  height: 16px;
}
.cs5-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--g2);
  overflow: hidden;
}
.cs5-progress span {
  display: block;
  width: 12%;
  height: 100%;
  background: var(--k);
}
.cs5-time {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--k);
  white-space: nowrap;
}
.cs5-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #fdf3d9;
  color: var(--k);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.cs5-demo-badge svg {
  width: 13px;
  height: 13px;
}
.c-slide.cs5 .c-slide-title .hl {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
}
.cs5-fi {
  border-radius: 50%;
  background: #fef3c7;
  border: none;
  width: 44px;
  height: 44px;
}
.cs5-fi svg {
  width: 20px;
  height: 20px;
}
.cs5-features .cs5-fi {
  color: var(--k);
}
.cs5-features .cs5-fi-accent {
  color: #d97706;
}

/* GPC manual mockup (cs3) */
.cdv-toc {
  width: 130px;
  flex-shrink: 0;
  border-right: 1px solid var(--g2);
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  gap: 2px;
  overflow: hidden;
}
.cdv-toc-item {
  font-size: 0.63rem;
  color: var(--g4);
  padding: 4px 7px;
  border-radius: 6px;
  line-height: 1.3;
}
.cdv-toc-item.on {
  background: var(--w);
  color: var(--k);
  font-weight: 700;
  border-left: 2px solid #22c55e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.cdv-toc-item.current {
  color: #16a34a;
  font-weight: 700;
}
.cdv-gpc {
  padding: 0.6rem 0.75rem;
}
.cdv-algo-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.4rem;
}
.cdv-algo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0.65rem;
}
.cdv-algo-root {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--w);
  background: #16a34a;
  border-radius: 7px;
  padding: 5px 10px;
  text-align: center;
  line-height: 1.25;
}
.cdv-algo-branches {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-top: 12px;
  position: relative;
}
.cdv-algo-branches::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 1px;
  height: 12px;
  background: var(--g3);
}
.cdv-algo-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 4px 3px;
  text-align: center;
}
.cdv-algo-node strong {
  font-size: 0.6rem;
  color: #166534;
}
.cdv-algo-node span {
  font-size: 0.5rem;
  color: #15803d;
}
.cdv-algo-treatments {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-top: 10px;
}
.cdv-algo-tx {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 10px;
  text-align: center;
}
.cdv-algo-tx::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 10px;
  background: var(--g3);
}
.cdv-algo-tx span {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--k2);
  line-height: 1.25;
}
.cdv-algo-tx em {
  font-style: normal;
  font-size: 0.48rem;
  color: var(--g4);
  line-height: 1.3;
}
.cdv-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.cdv-curb {
  border: 1px solid var(--g2);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
}
.cdv-curb-title {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--k);
  margin-bottom: 3px;
}
.cdv-curb-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2.5px 0;
  border-top: 1px solid var(--g2);
}
.cdv-curb-row:first-of-type {
  border-top: none;
}
.cdv-curb-row span {
  width: 17px;
  flex-shrink: 0;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--k);
}
.cdv-curb-row em {
  font-style: normal;
  font-size: 0.48rem;
  color: var(--g4);
  line-height: 1.25;
}
.cdv-side-boxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cdv-callout {
  flex: 1;
  background: #fffbeb;
  border: 1px solid #f5d78a;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cdv-callout strong {
  font-size: 0.64rem;
  color: #92620a;
}
.cdv-callout em {
  font-style: normal;
  font-size: 0.48rem;
  font-weight: 700;
  color: #b8860b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cdv-callout span {
  font-size: 0.5rem;
  color: #8a6410;
  line-height: 1.35;
}
.cdv-reference {
  flex: 1;
  background: var(--g1);
  border: 1px solid var(--g2);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cdv-reference strong {
  font-size: 0.58rem;
  color: var(--k);
}
.cdv-reference span {
  font-size: 0.48rem;
  color: var(--g4);
  line-height: 1.3;
}
.cdv-reference span:first-of-type {
  color: #166534;
  font-weight: 700;
}
.cdv-footbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--g2);
  font-size: 0.56rem;
  color: var(--g4);
  flex-shrink: 0;
}

/* SECTION SHARED */
section {
  padding: clamp(3.5rem, 9vw, 5.625rem) var(--pad-x);
}
.sec-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g4);
  margin-bottom: 0.75rem;
}
.sec-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--k);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.sec-sub {
  font-size: 1rem;
  color: var(--g4);
  line-height: 1.75;
  max-width: 520px;
}
.sec-title .hl {
  color: var(--k);
  background: var(--y);
  border-radius: 6px;
  padding: 0 6px;
  display: inline;
}
.sec-title .ul {
  display: inline;
  border-bottom: 4px solid var(--y);
  padding-bottom: 2px;
}
.sec-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
/* --- #quienes-somos-only: mustard eyebrow + short accent dash above the
   title, matching the reference. Scoped so other sections' eyebrows
   (Bases ENARM, Planes, Contacto) keep their current gray style. --- */
#quienes-somos .sec-eyebrow {
  color: var(--y2);
}
/* .qs-eyebrow-bar {
  width: 28px;
  height: 2px;
  background: var(--k);
  margin-bottom: 1rem;
} */
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* QUIÉNES SOMOS */
#quienes-somos {
  background: var(--g1);
}
.qs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.qs-head-row {
  align-items: flex-start;
}

.qs-body p {
  font-size: 0.95rem;
  color: var(--g4);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.qs-features {
  display: grid;
  /* two across when each card gets at least 12.5rem, otherwise one */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(12.5rem, calc((100% - 11px) / 2))), 1fr));
  gap: 10px;
  margin-top: 2rem;
}
.qs-feat {
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: var(--r);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.qs-feat:hover {
  border-color: var(--y);
  transform: translateY(-2px);
}
.qs-feat-icon {
  width: 40px;
  height: 40px;
  /* background: var(--y); */
  /* color: var(--k); */
  /* border-radius: 10px; */
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
  /* flex-shrink: 0; */
}
/* .qs-feat-icon svg {
  width: 20px;
  height: 20px;
} */
.qs-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--k);
  margin-bottom: 0.25rem;
}
.qs-feat-desc {
  font-size: 0.9rem;
  color: var(--g4);
  line-height: 1.5;
}
.qs-residents {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--g2);
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--g2);
}
.qs-r-head {
  padding: 1.1rem 1.5rem;
  background: var(--k);
  color: var(--w);
  display: flex;
  align-items: center;
}
.qs-r-head img {
  margin-right: 12px;
  width: 36px;
}
.qs-r-head-title {
  font-size: 0.92rem;
  font-weight: 700;
}
.qs-r-head-sub {
  font-size: 0.75rem;
  /* color: rgba(255, 255, 255, 0.45); */
  margin-top: 2px;
}
.qs-r-head-sub strong {
  font-weight: 700;
  color: var(--y);
}
.resident {
  --r-avatar: 34px;
  --r-gap: 12px;
  display: flex;
  align-items: center;
  gap: var(--r-gap);
  padding: 0.9rem clamp(1rem, 4vw, 1.5rem);
  background: var(--w);
  transition: background 0.15s;
}
.resident:hover {
  background: var(--g1);
}
.r-avatar {
  width: var(--r-avatar);
  height: var(--r-avatar);
  border-radius: 50%;
  background: var(--y);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--k);
  flex-shrink: 0;
}
.r-info {
  /* a real basis (not 0) so that, once the row wraps, the specialty drops to
     its own line instead of squeezing the name into a few pixels */
  flex: 1 1 11rem;
  min-width: 0;
}
.r-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--k);
}
.r-info-sub {
  font-size: 0.72rem;
  color: var(--g4);
  line-height: 1.4;
  margin-top: 1px;
}
.r-specialty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--g4);
  white-space: nowrap;
  flex-shrink: 0;
}
.r-spec-icon {
  flex-shrink: 0;
  display: flex;
}
.r-spec-icon img {
  width: 26px;
  height: 26px;
}

/* BASES */
#bases {
  background: var(--w);
}
.bases-grid {
  display: grid;
  /* three across when each card gets at least 16.5rem, otherwise 2 → 1 */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(16.5rem, calc((100% - 37px) / 3))), 1fr));
  gap: 18px;
  margin-bottom: 3rem;
}
.base-card {
  border: 1px solid var(--g2);
  border-radius: var(--r2);
  padding: 1.3rem;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  background: var(--w);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.base-card:hover {
  border-color: var(--g3);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
}
.bc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.bc-icon svg {
  width: 27px;
  height: 27px;
}
.bc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.1rem;
}
.bc-head > div {
  min-width: 0;
}
.bc-head .bc-icon {
  margin-bottom: 0;
}
.bc-head h3 {
  margin-bottom: 0;
  min-width: 0;
}
.bc-1 .bc-icon {
  background: #fef3c7;
  color: #d97706;
}
.bc-2 .bc-icon {
  background: #dbeafe;
  color: #2563eb;
}
.bc-3 .bc-icon {
  background: #dcfce7;
  color: #16a34a;
}
.bc-4 .bc-icon {
  background: #ede9fe;
  color: #7c3aed;
}
.bc-5 .bc-icon {
  background: #fee2e2;
  color: #dc2626;
}
.bc-6 .bc-icon {
  background: #ffedd5;
  color: #d97706;
}
.base-card-n {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--g3);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.base-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--k);
  margin-bottom: 0.85rem;
  font-family: 'Fraunces', serif;
}
.base-card p {
  font-size: 0.92rem;
  color: var(--g4);
  line-height: 1.6;
}
.bc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bc-list li {
  font-size: 0.92rem;
  color: var(--g4);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.bc-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--g3);
}
.bc-1 .bc-ico {
  color: #d97706;
}
.bc-3 .bc-ico {
  color: #16a34a;
}
.bc-highlight {
  color: var(--k2);
  font-weight: 500;
}

/* simple colored-dot / check / x bullets, for lists whose every item
   shares the same marker (no per-item icon needed). */
.bc-list-dot li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
  margin-top: 7px;
}
.bc-list-x li::before,
.bc-list-check li::before,
.bc-list-check-purple li::before {
  content: '✕';
  width: 19px;
  height: 19px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--w);
}
.bc-list-x li::before {
  background: #dc2626;
}
.bc-list-check li::before,
.bc-list-check-purple li::before {
  content: '✓';
}
.bc-list-check li::before {
  background: #d97706;
}
.bc-list-check-purple li::before {
  background: #7c3aed;
}
.enarm-box {
  background: var(--k);
  border-radius: var(--r2);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.enarm-box-3 {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
}
.enarm-box-3 .eb-col {
  padding: 0 clamp(1rem, 2.4vw, 2rem);
}
.enarm-box-3 .eb-col:first-child {
  padding-left: 0;
}
.enarm-box-3 .eb-col:last-child {
  padding-right: 0;
}
.enarm-box-3 .eb-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.eb-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
}
.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-center {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--k);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-center strong {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--w);
  line-height: 1;
}
.donut-center span {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
}
.eb-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.25rem;
}
.prog {
  margin-bottom: 1rem;
}
.prog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.prog-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--w);
}
.prog-pct {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}
.prog-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--y);
}
.diff-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}
.diff-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.df-f {
  background: #bbf7d0;
  color: #14532d;
}
.df-m {
  background: var(--y);
  color: var(--k);
}
.df-h {
  background: #fecaca;
  color: #7f1d1d;
}
.df-v {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}
.diff-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.pepitas-row {
  display: grid;
  /* four across when each card gets at least 11rem, otherwise 2 → 1 */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(11rem, calc((100% - 37px) / 4))), 1fr));
  gap: 12px;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.pep {
  background: var(--g1);
  border: 1px solid var(--g2);
  border-radius: var(--r2);
  padding: 1.5rem;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.pep:hover {
  transform: translateY(-3px);
  border-color: var(--g3);
}
.pep.p-oro {
  border-top: 3px solid #f5c400;
}
.pep.p-plata {
  border-top: 3px solid #c0c0c0;
}
.pep.p-bronce {
  border-top: 3px solid #cd7f32;
}
.pep.p-uranio {
  border-top: 3px solid #22c55e;
}
.pep-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}
.pep-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--k);
  margin-bottom: 0.3rem;
}
.pep-desc {
  font-size: 0.78rem;
  color: var(--g4);
  line-height: 1.5;
}

/* PLANES */
#planes {
  background: var(--g1);
  container: planes / inline-size;
}
.planes-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--k);
  max-width: 280px;
  line-height: 1.5;
}
.planes-tagline strong {
  font-weight: 800;
}
.pt-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.pt-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.share-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fdf3d9;
  border-radius: var(--r2);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--k);
  margin-bottom: 1.5rem;
}
.share-banner strong {
  font-weight: 800;
}
.sb-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--y);
  color: var(--k);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sb-icon svg {
  width: 19px;
  height: 19px;
}
.included-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 20px;
  /* border-radius: 999px; */
  padding: 1rem 1.75rem;
  margin-bottom: 2.5rem;
}
.incl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--k);
  white-space: nowrap;
  padding: 0 1rem;
  position: relative;
}
.incl-item:first-child {
  padding-left: 0;
}
.incl-item:last-child {
  padding-right: 0;
}
.incl-item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: var(--g2);
}
.incl-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}
.incl-item small {
  font-weight: 500;
  color: var(--g4);
  font-size: 0.68rem;
}
.incl-ic {
  width: 19px;
  height: 19px;
  color: var(--k);
  flex-shrink: 0;
  display: flex;
}
.incl-ic svg {
  width: 100%;
  height: 100%;
}
.incl-star {
  font-weight: 800;
}
.incl-star .incl-ic {
  color: var(--y2);
}
/* the nowrap row needs ~1120px of content width; below that it wraps and
   drops its divider lines */
@container planes (max-width: 1139px) {
  .included-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: var(--r2);
    row-gap: 0.9rem;
  }
  .incl-item:not(:first-child)::before {
    display: none;
  }
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: var(--r2);
  padding: 1.75rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.plan.featured {
  border: 2px solid var(--k);
  background: var(--k);
}
.plan-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
}
.plan-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--y);
  color: var(--k);
  margin-bottom: 1.25rem;
}
.plan-badges-row .plan-badge {
  margin-bottom: 0;
}
.plan-rec {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--y);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--k);
  line-height: 1;
  margin: 0 0 0.3rem;
  font-family: 'Fraunces', serif;
  letter-spacing: -0.02em;
}
.plan-currency {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--g4);
}
.plan.featured .plan-price {
  color: var(--y);
}
.plan.featured .plan-currency {
  color: rgba(255, 255, 255, 0.35);
}
.plan-period {
  font-size: 0.78rem;
  color: var(--g4);
  margin-bottom: 0.6rem;
}
.plan.featured .plan-period {
  color: rgba(255, 255, 255, 0.4);
}
.plan-permonth {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--g4);
  background: var(--g1);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.plan.featured .plan-permonth {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}
.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.75rem;
}
.plan-features li {
  font-size: 0.83rem;
  color: var(--g4);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan.featured .plan-features li {
  color: rgba(255, 255, 255, 0.55);
}
.li-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--y);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.6rem;
  font-weight: 800;
}
.plan.featured .li-check {
  background: rgba(245, 196, 0, 0.2);
  color: var(--y);
}
.plan-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s;
  letter-spacing: 0.01em;
}
.pb-outline {
  background: transparent;
  color: var(--k);
  border: 1.5px solid var(--g3);
}
.pb-outline:hover {
  border-color: var(--k);
  background: var(--k);
  color: var(--w);
}
.pb-y {
  background: var(--y);
  color: var(--k);
}
.pb-y:hover {
  background: var(--y2);
  transform: translateY(-1px);
}
.pb-k {
  background: var(--k);
  color: var(--w);
}
.pb-k:hover {
  background: #000;
  transform: translateY(-1px);
}
/* ESENCIAL plan card */
.plan.plan-esencial .plan-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 8px;
}
.plan.plan-esencial .plan-features li {
  color: var(--k);
}
.plan.plan-esencial .li-check {
  color: var(--w);
}
.plan.plan-esencial .pb-outline {
  border-color: var(--k);
}
/* TODO INCLUIDO plan card */
.plan.plan-premium .plan-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 8px;
}
.planes-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--g4);
  margin-top: 2rem;
}

/* CONTACTO */
#contacto {
  background: var(--w);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-desc {
  font-size: 0.95rem;
  color: var(--g4);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.clink {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: var(--r);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--k);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.clink:hover {
  border-color: var(--y);
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}
.clink:hover .clink-arrow {
  transform: translateX(4px);
}
.clink-icon {
  width: 36px;
  height: 36px;
  border-radius: 20px;
  background: var(--g1);
  border: 1px solid var(--g2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.clink-t {
  flex: 1;
  min-width: 0;
}
.clink-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1px;
}
.clink-t strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}
.clink-t span {
  font-size: 0.75rem;
  color: var(--g4);
  overflow-wrap: anywhere; /* long addresses may break; nothing else needs to */
}
.clink-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.badge-green {
  background: #dcfce7;
  color: #15803d;
}
.badge-purple {
  background: #f3e8ff;
  color: #7e22ce;
}
.badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.badge-orange {
  background: #ffedd5;
  color: #c2410c;
}
.clink-arrow {
  font-size: 1rem;
  color: var(--g3);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.plan-help-box {
  background: var(--y);
  border-radius: var(--r2);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.php-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.php-text {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.php-text strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--k);
}
.php-text span {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.55);
}
.php-btn {
  background: var(--k);
  color: var(--w);
  border: none;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}
.php-btn:hover {
  background: var(--k2);
}
.contact-form {
  background: var(--g1);
  border: 1px solid var(--g2);
  border-radius: var(--r2);
  padding: clamp(1.25rem, 5vw, 2.25rem);
}
.form-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.75rem;
}
.form-head-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--w);
  border: 1px solid var(--g2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.form-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--k);
  letter-spacing: -0.01em;
}
.form-sub {
  font-size: 0.78rem;
  color: var(--g4);
  margin-top: 2px;
}
.fg {
  margin-bottom: 1.35rem;
}
.fg label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--g4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 19px;
  padding: 0.75rem 1.05rem;
  color: var(--k);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  min-height: 2.75rem;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
}
.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--g3);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--k);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.2);
}
.fg textarea {
  min-height: 95px;
  border-radius: 20px;
  resize: vertical;
}
.fg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.contact-submit {
  width: 100%;
  padding: 1rem;
}
.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.fg-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.cf-status {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.9rem;
  min-height: 1.2em;
}
.cf-status.ok {
  color: #16a34a;
}
.cf-status.err {
  color: #dc2626;
}
.form-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--g4);
  margin-top: 1rem;
}
.contact-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--g4);
  margin-top: 2.5rem;
}

/* FOOTER */
footer {
  background: var(--k);
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad-x) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}
.f-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.f-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--y);
}
.f-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  max-width: 220px;
}
.f-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}
.f-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.f-col-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.18s;
}
.f-col-links a:hover {
  color: var(--y);
}
.social_logo {
  width: 30px;
  border-radius: 20px;
}

/* WHATSAPP */
.wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wa:hover {
  transform: scale(1.1);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  animation: fadeUp 0.6s ease both;
}
h1 {
  animation: fadeUp 0.6s 0.08s ease both;
}
.hero-sub {
  animation: fadeUp 0.6s 0.16s ease both;
}
.hero-actions {
  animation: fadeUp 0.6s 0.24s ease both;
}
.hero-stats {
  animation: fadeUp 0.6s 0.32s ease both;
}

/* RESPONSIVE
   The three viewport tiers documented at the top of the file. Component-level
   reflow (hero stats, level strip, "included" strip) lives in container
   queries next to those components; grids use auto-fit/minmax. */

/* ≤1100px — compact laptop / tablet landscape.
   The hero illustration is a background sized in vw, so the hero's own switch
   to one column stays viewport-driven. The carousel stacks at the same point:
   its mockup zones need the room, so below it they drop to text-only. */
@media (max-width: 1100px) {
  #inicio {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 90px;
    background-image: none;
  }
  .c-slide,
  .c-slide.cs1,
  .c-slide.cs2,
  .c-slide.cs3,
  .c-slide.cs4,
  .c-slide.cs5 {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .c-slide.cs2,
  .c-slide.cs3 {
    padding: clamp(1.5rem, 5vw, 2rem);
  }
  .c-slide-visual,
  .c-slide.cs1 .cs1-visual,
  .c-slide.cs2 .cs2-cards,
  .c-slide.cs2 .cs2-phone-col,
  .c-slide.cs3 .cs3-cards,
  .c-slide.cs3 .cs3-tablet-col {
    display: none;
  }
}

/* ≤900px — tablet portrait: two-column layouts collapse, links move into
   the hamburger panel. */
@media (max-width: 900px) {
  .n-toggle {
    display: inline-flex;
  }
  .n-btn {
    margin-left: auto;
    min-height: 44px;
  }
  .n-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.25rem var(--pad-x) 1rem;
    background: var(--w);
    border-bottom: 1px solid var(--g2);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  nav.open .n-links {
    display: flex;
    animation: navDrop 0.2s ease both;
  }
  .n-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1rem;
  }
  .n-links li + li {
    border-top: 1px solid var(--g2);
  }
  .qs-layout,
  .contact-grid,
  .planes-grid,
  .enarm-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* stacked ENARM columns: no side padding, dividers go horizontal */
  .enarm-box-3 {
    gap: 1.5rem;
  }
  .enarm-box-3 .eb-col,
  .enarm-box-3 .eb-col:first-child,
  .enarm-box-3 .eb-col:last-child {
    padding: 0;
  }
  .enarm-box-3 .eb-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
  }
  .resident {
    flex-wrap: wrap;
  }
  .r-specialty {
    margin-left: calc(var(--r-avatar) + var(--r-gap));
  }
}

/* touch: hit areas of at least 44px for anything tappable that is smaller */
@media (max-width: 900px), (pointer: coarse) {
  .cbtn {
    width: 44px;
    height: 44px;
  }
  .php-btn {
    min-height: 44px;
  }
  .pls-head-link {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .f-col-links {
    gap: 0;
  }
  .f-col-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 900px), (pointer: coarse) {
  .c-dots {
    gap: 14px;
  }
  .cdot {
    width: 10px;
    height: 10px;
  }
  .cdot.on {
    width: 26px;
  }
  .cdot::before {
    inset: -17px -7px;
  }
}

/* ≤480px — phones: tighter chrome, labels no smaller than 12px */
@media (max-width: 480px) {
  nav {
    padding-inline: 4vw;
  }
  .n-logo {
    font-size: 1.05rem;
    gap: 6px;
  }
  .n-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.76rem;
  }
  .hero-badge,
  .pls-tag,
  .c-plat,
  .sec-eyebrow,
  .r-info-sub,
  .eb-col-title,
  .c-avatar,
  .diff-badge,
  .plan-permonth,
  .f-col-title,
  .form-secure,
  .incl-item small {
    font-size: 0.75rem;
  }
  .plan-badge,
  .plan-rec,
  .donut-center span {
    font-size: 0.7rem;
  }
  /* two stat columns at 320px leave ~120px of content: trim the padding and
     the long label so "Actualización" fits on one line */
  .stat {
    padding: 1rem 0.7rem;
  }
  .stat-n.txt {
    font-size: clamp(0.75rem, 0.45rem + 1.4vw, 0.8125rem);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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