/* ============================================================
   WellCore — Hero "dossier cover" + enriched Planes + FAQ
   ============================================================ */

/* ============================================================
   HERO — full-height cover
   ============================================================ */
.hero {
  min-height: calc(100svh - 77px);
  display: flex;
  flex-direction: column;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 0;
}
.hero-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero > .wrap { width: 100%; }
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: clamp(32px, 6vw, 64px);
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--c-text-2);
}
.hero-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse 2.4s var(--ease-glide) infinite;
}

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero h1 {
  font-size: clamp(54px, 10vw, 132px);
  margin-bottom: clamp(24px, 3vw, 38px);
}
.hero h1 .ln { display: block; }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--c-text-2);
  max-width: 44ch;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.6;
}
.hero-sub strong { color: var(--c-text); font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Credential ribbon (replaces the boxy side card) */
.hero-ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--c-border-bright);
  border-bottom: 1px solid var(--c-border);
}
.rib {
  padding: 22px 0;
  padding-right: 24px;
  border-left: 1px solid var(--c-border);
  padding-left: 24px;
}
.rib:first-child { border-left: 0; padding-left: 0; }
.rib .rk {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 9px;
}
.rib .rv {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-text);
  line-height: 1.4;
}
.rib--cap .rv { color: var(--c-accent); }
.rib--cap .seal {
  display: inline-block;
  margin-top: 4px;
}
.hero[data-cap="off"] .rib--cap { display: none; }

@media (max-width: 920px) {
  .hero-center { max-width: none; }
  .hero-ribbon { grid-template-columns: repeat(2, 1fr); }
  .rib { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-border); padding-top: 16px; padding-bottom: 16px; }
  .rib:first-child, .rib:nth-child(2) { border-top: 0; }
  .rib:nth-child(odd) { padding-right: 16px; }
  .rib:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--c-border); }
}
@media (max-width: 480px) {
  .hero-meta .hero-status { display: none; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 20px 0;
  margin-bottom: clamp(32px, 4vw, 48px);
  border-block: 1px solid var(--c-border);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-text-2);
}
.trust-item { display: inline-flex; align-items: center; gap: 10px; }
.trust-item strong { color: var(--c-text); font-weight: 600; }
.trust-item .gdot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); }
.trust-item .stack { display: inline-flex; }
.trust-item .stack i {
  width: 18px; height: 18px; border-radius: 50%; margin-left: -6px;
  border: 1.5px solid var(--c-bg); font-style: normal;
}
.trust-item .stack i:first-child { margin-left: 0; }
.trust-divider { width: 1px; height: 22px; background: var(--c-border-bright); }
.trust-item svg { width: 15px; height: 15px; color: var(--c-success); }

/* ============================================================
   BILLING TOGGLE
   ============================================================ */
.billing {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  gap: 4px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--c-text-2);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color 0.2s, background 0.25s var(--ease-glide);
  min-height: 42px;
}
.billing button .off { color: var(--c-accent); font-size: 11px; }
.billing button.active { background: var(--c-surface-3); color: var(--c-text); }
.billing button.active .off { color: var(--c-accent); }

/* Elite capacity badge */
.plan-cap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--c-border-bright);
  border-radius: var(--r-sm);
  margin-bottom: 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-2);
  line-height: 1.4;
}
.plan-cap .ring {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--c-accent-line);
  display: grid; place-items: center;
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 600;
}
.plan-cap strong { color: var(--c-text); }
.price-save { font-family: var(--ff-mono); font-size: 11px; color: var(--c-success); letter-spacing: 0.06em; margin-top: 8px; min-height: 14px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare { margin-top: clamp(72px, 9vw, 120px); }
.compare-head { margin-bottom: clamp(36px, 5vw, 56px); }
.compare-head h3 { font-family: var(--ff-display); text-transform: uppercase; font-weight: 700; font-size: clamp(34px, 4.5vw, 60px); letter-spacing: -0.02em; line-height: 1; margin-bottom: 16px; }
.compare-head p { color: var(--c-text-2); font-weight: 300; font-style: italic; font-size: 15px; }
.ctable { width: 100%; }
.ctable-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--c-border);
  padding: 18px 0;
}
.ctable-row:first-child { border-top: 0; }
.ctable-row .label { font-size: 15px; color: var(--c-text); font-weight: 400; }
.ctable-row .cell {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--c-text-2);
  padding: 0 8px;
}
.ctable-row .cell.feat { color: var(--c-accent); }
.ctable-row .cell.muted { color: var(--c-text-3); }
.ctable-row .cell.on { color: var(--c-success); }
.ctable-colhead {
  border-top: 0;
  border-bottom: 1px solid var(--c-border-bright);
  padding-bottom: 16px;
}
.ctable-colhead .cell {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
.ctable-colhead .cell.feat { color: var(--c-accent); }

@media (max-width: 760px) {
  .compare { overflow-x: auto; }
  .ctable { min-width: 640px; }
}

/* ============================================================
   FEATURES GRID — "en todos los planes"
   ============================================================ */
.features { margin-top: clamp(72px, 9vw, 120px); }
.features-head { margin-bottom: clamp(40px, 5vw, 60px); }
.features-head .kicker { margin-bottom: 22px; display: block; }
.features-head h3 { font-family: var(--ff-display); text-transform: uppercase; font-weight: 700; font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.02em; line-height: 0.98; }
.features-head p { color: var(--c-text-2); font-weight: 300; font-size: 16px; margin-top: 18px; max-width: 46ch; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.feat-card {
  background: var(--c-bg);
  padding: 30px 26px 32px;
  position: relative;
  transition: background 0.3s var(--ease-glide);
}
.feat-card:hover { background: var(--c-surface); }
[data-theme="light"] .feat-card:hover { background: var(--c-surface-2); }
.feat-card .ic {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border-bright);
  display: grid; place-items: center;
  color: var(--c-text);
  margin-bottom: 22px;
}
.feat-card.lead .ic { color: var(--c-accent); border-color: var(--c-accent-line); }
.feat-card .ic svg { width: 19px; height: 19px; }
.feat-card h4 { font-family: var(--ff-display); text-transform: uppercase; font-weight: 600; font-size: 17px; letter-spacing: 0.03em; margin-bottom: 10px; }
.feat-card p { color: var(--c-text-2); font-size: 13.5px; font-weight: 300; line-height: 1.55; }
.feat-tag {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid var(--c-accent-line);
  border-radius: var(--r-pill);
  padding: 4px 9px;
}
@media (max-width: 1000px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECONDARY PLANS — "¿Solo necesitas una?"
   ============================================================ */
.single { margin-top: clamp(72px, 9vw, 120px); }
.single-head { text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.single-head .kicker { display: block; margin-bottom: 20px; }
.single-head h3 { font-family: var(--ff-display); text-transform: uppercase; font-weight: 700; font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.02em; }
.single-head p { color: var(--c-text-2); font-weight: 300; font-style: italic; font-size: 16px; margin: 16px auto 0; max-width: 52ch; line-height: 1.6; }
.single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .single-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq h2 { font-size: clamp(40px, 5.4vw, 76px); margin-bottom: 14px; }
.faq-sub { color: var(--c-accent); font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.06em; font-style: italic; margin-bottom: clamp(40px, 5vw, 56px); }
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--c-border-bright); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--c-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.faq-item summary .pm::before,
.faq-item summary .pm::after {
  content: "";
  position: absolute;
  background: var(--c-text-2);
  transition: transform 0.3s var(--ease-glide), background 0.2s;
}
.faq-item summary .pm::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-item summary .pm::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item[open] summary .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-item[open] summary .pm::before { background: var(--c-accent); }
.faq-item .ans {
  padding: 0 26px 24px;
  color: var(--c-text-2);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 70ch;
}
.faq-item[open] summary { color: var(--c-text); }
