:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --ink: #121317;
  --muted: #6b6f76;
  --hair: #d9dfe6;
  --hair2: #c2ccd8;
  --accent: #22b8cf;
  --accent-2: #1498b0;
  --max: 1200px;
  --r: 20px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --shadow: 0 18px 70px rgba(15, 22, 37, 0.12);
  --shadow2: 0 10px 28px rgba(15, 22, 37, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eff3f7 0%, #edf1f5 100%);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px;
}
.hairline {
  border-top: 1px solid var(--hair);
  margin: 0;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 16ch;
}

.js-typewriter {
  padding-right: 4px;
}

.js-typewriter.is-typing {
  border-right: 3px solid var(--accent);
  animation: caret-blink 0.75s step-end infinite;
}

@keyframes caret-blink {
  50% {
    border-color: transparent;
  }
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.6;
  max-width: 45ch;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.3vw, 40px);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
  max-width: 78ch;
}

.press {
  transform: translateY(0);
  transition:
    transform 160ms var(--ease),
    opacity 160ms var(--ease);
  will-change: transform;
}
.press:active {
  transform: translateY(1px) scale(0.99);
  opacity: 0.92;
}

.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 184, 207, 0.2);
  border-color: var(--accent);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: none;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: none;
  gap: 14px;
  color: #4a4f56;
  font-weight: 700;
  letter-spacing: -0.01em;
}

nav a {
  padding: 8px 10px;
  border-radius: 999px;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease);
}
nav a:hover {
  background: rgba(34, 184, 207, 0.12);
  color: #182126;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 16px;
  border: 1px solid var(--hair2);
  background: #fff;
  color: #1b2228;
  font-weight: 850;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    transform 160ms var(--ease);
}

.btn:hover {
  background: #f9fcfd;
  border-color: #a9ddea;
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(34, 184, 207, 0.28);
}
.btn.primary:hover {
  background: var(--accent-2);
}
.btn.ghost {
  color: #5f6670;
}
.btn.ghost:hover {
  color: #2a3139;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #ccecf2;
  background: #e8f8fb;
  color: #217686;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  width: fit-content;
}

section {
  padding: 58px 0;
}
.hero {
  padding: 80px 0 58px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 92ch;
}

.li {
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow2);
  transition:
    transform 160ms var(--ease),
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.li:hover {
  transform: translateY(-2px);
  border-color: #9ad8e4;
  box-shadow: 0 16px 30px rgba(20, 152, 176, 0.1);
}

.li b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #121317;
}
.li span {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
#pricing .pricing-grid {
  align-items: stretch;
}

#pricing .pricing-grid .card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
}

#pricing .pricing-grid .price-top {
  min-height: 98px;
}

#pricing .pricing-grid .row,
#pricing .pricing-grid .alias-box {
  margin-top: auto;
}

#pricing .pricing-grid .row .btn {
  width: 100%;
}

#pricing .pricing-grid .paypal-card .price-top {
  flex-direction: column;
  align-items: flex-start;
  max-width: 300px;
}

#pricing .pricing-grid .paypal-card .price {
  text-align: left;
}

.pricing-cta {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  margin: 42px 0 6px;
  padding-top: 8px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.pricing-cta-btn {
  display: inline-flex;
  justify-content: center;
  width: 320px;
  max-width: 90vw;
  min-width: 220px;
  min-height: 50px;
  margin: 0;
}

.card {
  border: 1px solid var(--hair);
  border-radius: calc(var(--r) + 4px);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow2);
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: #99dce8;
  box-shadow: 0 18px 36px rgba(20, 152, 176, 0.12);
}

.price-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.plan {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.price {
  font-weight: 980;
  font-size: 34px;
  letter-spacing: -0.06em;
  line-height: 1;
  text-align: right;
  color: #131419;
}

.price small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

.bullets {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.55;
}
.bullets li::before {
  content: "✏️ ";
  margin-right: 2px;
}

.takeaway-list {
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 78ch;
}

.takeaway-list li {
  color: #1d232b;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
  letter-spacing: 0;
}

.takeaway-list li::before {
  content: "✏️ ";
  margin-right: 4px;
}

.modalidad-list {
  max-width: 92ch;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.profes-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.profe-card {
  padding: 22px;
  text-align: center;
}

.profe-avatar-wrap {
  margin: 0 auto 14px;
  width: 132px;
  height: 132px;
}

.profe-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 24px rgba(20, 152, 176, 0.18);
  background: #d7dde4;
}

.profe-name {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.profe-bio {
  margin: 0 0 10px;
  color: #4f5863;
  font-size: 18px;
  line-height: 1.55;
}

.profe-handle {
  margin: 0;
  color: #1498b0;
  font-weight: 800;
  font-size: 17px;
}

.profe-socials {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f7fb;
  border: 1px solid #9ad8e4;
  color: #167d92;
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease);
}

.social-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-1px);
  background: #d8f2f8;
  border-color: #7acddd;
  color: #0e6274;
}

.social-btn-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.alias-box {
  margin: 24px auto 6px;
  padding: 18px 16px;
  border: 1px solid #9ad8e4;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(34, 184, 207, 0.12) 0%,
    rgba(34, 184, 207, 0.05) 100%
  );
  width: min(360px, 100%);
  text-align: center;
}

.alias-label {
  margin: 0 0 12px;
  color: #2a6170;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.alias-pill {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  padding: 12px 18px;
  min-height: 50px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(34, 184, 207, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.alias-pill:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(34, 184, 207, 0.27);
}

.alias-pill:active {
  transform: translateY(0) scale(0.99);
}

.alias-icon {
  font-size: 16px;
  opacity: 0.95;
}

.hint {
  margin-top: 10px;
  color: #727b86;
  font-size: 13px;
  line-height: 1.55;
  max-width: 92ch;
}
.hint-top {
  margin-top: 12px;
}
.hint-pricing {
  margin-top: 14px;
}
.hint-zero {
  margin: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 32, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 100;
}

.modal {
  width: min(680px, 100%);
  border: 1px solid var(--hair2);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(10px) scale(0.985);
  opacity: 0;
  transition:
    transform 220ms var(--ease),
    opacity 220ms var(--ease);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--hair);
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 980;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #161a20;
}
.modal-sub {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
  max-width: 66ch;
}
.modal-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.grid2 {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 11px;
  color: #4b535e;
  text-transform: uppercase;
}

input,
select {
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--hair2);
  background: #fff;
  color: #222831;
  padding: 0 12px;
  font-size: 14px;
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease),
    transform 160ms var(--ease);
}

input:hover,
select:hover {
  border-color: #9dd7e3;
}
input:focus,
select:focus {
  transform: translateY(-1px);
}

.modal-footer {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.close-x {
  border: 1px solid var(--hair2);
  background: #fff;
  color: #626c78;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease),
    border-color 160ms var(--ease);
}
.close-x:hover {
  background: #f3fbfd;
  color: #1c2e35;
  border-color: #a6dce7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  background: #121820;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease);
  max-width: min(92vw, 780px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error {
  background: #d15454;
  color: #fff;
}

footer {
  padding: 30px 0 46px;
  color: #7a828d;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer-main {
  margin: 0;
  max-width: none;
}

.footer-love {
  margin: 8px 0 0;
  font-size: 13px;
  display: block;
  max-width: none;
}

.footer-logo {
  display: block;
  width: 168px;
  height: 38px;
  max-width: 168px;
  max-height: 38px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.mobile-pricing-sticky {
  display: none;
}

@media (min-width: 900px) {
  nav {
    display: flex;
  }
  .profes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
  .price-top {
    width: 300px;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  #pricing .pricing-grid .card {
    max-width: 360px;
  }

  #pricing .pricing-grid .card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: 132px;
  }
  .nav {
    justify-content: flex-start;
    padding: 10px 16px;
  }
  #ctaTop {
    display: none;
  }
  .brand {
    width: auto;
  }
  .brand-logo {
    width: auto;
    height: 40px;
    max-width: none;
    max-height: 40px;
  }
  .hero {
    padding: 40px 0 32px;
  }
  #manifiesto {
    display: none;
  }
  #manifiesto + .hairline {
    display: none;
  }
  .pricing-cta {
    margin: 34px 0 10px;
  }
  .pricing-cta-btn {
    width: min(360px, 90vw);
  }
  .takeaway-list li {
    font-size: 17px;
    line-height: 1.55;
  }

  .mobile-pricing-sticky {
    display: block;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    border: 1px solid #9fd9e5;
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 32px rgba(23, 97, 113, 0.18);
  }

  .mobile-pricing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .mobile-plan {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #5a6873;
  }
  .mobile-price {
    font-size: 24px;
    font-weight: 980;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1;
  }
  .mobile-price-wrap {
    display: grid;
    justify-items: end;
    gap: 2px;
  }
  .mobile-price-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #6a7580;
    line-height: 1;
  }

  .mobile-pricing-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 10px;
    font-size: 13px;
  }

  .toast {
    bottom: 152px;
  }
}

@media (max-width: 599px) {
  #pricing .pricing-grid .card {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
