/* Jaque · portada */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(244, 246, 250, 0.86); backdrop-filter: blur(12px);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img, .cta img { border-radius: 23%; }
.logo span { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.top-links { display: flex; gap: 24px; }
.top-links a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.top-links a:hover { color: var(--ink); }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px); max-width: 1160px; margin: 0 auto;
}
.hero-text { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); letter-spacing: -0.04em; text-wrap: balance; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 52ch; }
.center { text-align: center; margin-inline: auto; }

.phone {
  justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 17; border-radius: 44px; padding: 12px;
  background: var(--ink); box-shadow: 0 30px 60px rgba(11, 16, 32, 0.25); transform: rotate(3deg);
  transition: transform 0.4s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-screen { height: 100%; border-radius: 34px; background: var(--bg); padding: 18px 14px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.phone-card { background: linear-gradient(135deg, var(--brand), #00b3a4); border-radius: 22px; padding: 18px; display: grid; gap: 2px; }
.phone-number { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.phone-row { background: #fff; border-radius: 18px; padding: 12px; display: flex; gap: 12px; align-items: center; animation: rise 0.6s ease backwards; }
.phone-row:nth-child(2) { animation-delay: 0.15s; }
.phone-row:nth-child(3) { animation-delay: 0.3s; }
.phone-row:nth-child(4) { animation-delay: 0.45s; }
.phone-row i { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-deep); flex: none; }
.phone-row i svg { width: 20px; height: 20px; }
.phone-row b { display: block; font-size: 14px; }
.phone-row span { font-size: 12px; color: var(--ink-3); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.section { padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); max-width: 1160px; margin: 0 auto; display: grid; gap: 24px; }
.section.alt { max-width: none; background: var(--surface); }
.section.alt > * { max-width: 1064px; margin-inline: auto; width: 100%; }
.section h2 { font-size: clamp(28px, 4.4vw, 44px); text-align: center; letter-spacing: -0.03em; text-wrap: balance; }
.center-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.step-tab {
  border: 0; cursor: pointer; background: var(--surface); border-radius: 18px; padding: 14px 8px;
  font: 700 15px var(--font); color: var(--ink-2); display: grid; gap: 6px; justify-items: center; transition: all 0.15s;
}
.step-tab span { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-weight: 800; }
.step-tab:hover { transform: translateY(-2px); }
.step-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.step-tab[aria-selected="true"] span { background: var(--brand); color: var(--ink); }
.step-panel { display: grid; gap: 10px; padding: 28px; animation: rise 0.3s ease; }
.step-panel h3 { font-size: 24px; }
.step-panel ul, .plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step-panel li, .plan li { padding-left: 28px; position: relative; }
.step-panel li::before, .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-deep); font-weight: 800; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 0; cursor: pointer; white-space: nowrap; padding: 11px 18px; border-radius: 999px;
  background: var(--bg); font: 700 15px var(--font); color: var(--ink-2); transition: all 0.12s;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo-count { text-align: center; font-size: 18px; min-height: 28px; }
.demo-count b { font-size: 26px; font-weight: 800; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.demo-card { background: var(--bg); display: grid; gap: 10px; align-content: start; animation: rise 0.35s ease backwards; }
.demo-card h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.demo-card .price { font-size: 22px; font-weight: 800; }
.skeleton { height: 170px; border-radius: var(--radius); background: linear-gradient(90deg, #e9edf3 25%, #f4f6fa 50%, #e9edf3 75%); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { display: grid; gap: 10px; align-content: start; transition: transform 0.15s, box-shadow 0.15s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature i { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; }
.feature i svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--ink-2); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1180px !important; }
.plan .price b { font-size: 34px; }
.plan { display: grid; gap: 16px; align-content: start; justify-items: start; background: var(--bg); }
.plan.card-pop { background: var(--surface); box-shadow: inset 0 0 0 2px var(--brand), var(--shadow); }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price span { color: var(--ink-3); font-weight: 700; margin-left: 6px; }

.faq { max-width: 760px; margin: 0 auto; width: 100%; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand-deep); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--ink-2); }

.cta {
  margin: 0 clamp(16px, 4vw, 48px) 48px; padding: clamp(40px, 6vw, 72px) 24px; border-radius: 32px;
  background: var(--ink); color: #fff; display: grid; gap: 22px; justify-items: center; text-align: center;
}
.cta h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.03em; }
.foot { padding: 24px clamp(16px, 4vw, 48px) 40px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; color: var(--ink-3); font-size: 13.5px; }

@media (max-width: 820px) {
  .top-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .phone { transform: none; width: min(270px, 80%); }
  .steps { gap: 6px; }
  .step-tab { font-size: 13px; padding: 12px 4px; }
}

.price .antes { display: block; font-size: 20px; font-weight: 700; color: var(--ink-3); text-decoration-thickness: 2px; }

.etapas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.etapas li { background: var(--surface); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.etapas b { font-size: 15px; }
.etapas span { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.etapas em { font-style: normal; margin-top: 4px; display: inline-block; }
@media (max-width: 560px) { .etapas { grid-template-columns: 1fr; } }
