/* Landing de Kura (kurasuite.app). Sin frameworks: mismos colores, tipografía
   y radios que la app (zinc + azul noche + verde de marca), en un solo archivo. */

@font-face {
  font-family: "Geist";
  src: url("/static/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #09090b;
  --heading: #0f172a;
  --text: #3f3f46;
  --muted: #52525b;
  --soft: #71717a;
  --line: #e4e4e7;
  --line-soft: #f1f1f3;
  --surface: #ffffff;
  --subtle: #f8fafc;
  --navy-1: #1e293b;
  --navy-2: #020617;
  --green: #66f1c2;
  --green-light: #9df7d6;
  --green-dark: #57e0b1;
  --green-ink: #0b1d1a;
  --green-deep: #047857;
  --radius: 1.5rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--subtle);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--heading);
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
}

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.98);
}
.btn-lg {
  min-height: 3.5rem;
  padding: 0 2rem;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(to bottom, var(--navy-1), var(--navy-2));
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.18);
}
.btn-outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-outline:hover {
  border-color: #d4d4d8;
  background: #fff;
}
.btn-green {
  color: var(--green-ink);
  font-weight: 800;
  background: linear-gradient(to bottom, var(--green-light), var(--green), var(--green-dark));
  box-shadow: 0 12px 30px rgba(102, 241, 194, 0.38);
  border-color: rgba(102, 241, 194, 0.8);
}
.btn-green:hover {
  box-shadow: 0 18px 36px rgba(102, 241, 194, 0.52);
}

.fine {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--soft);
}
.fine-dark {
  text-align: center;
  color: #a1a1aa;
}

/* ── Navegación ──────────────────────────────────────────── */
.navwrap {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 64rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.scrolled .nav {
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--heading);
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: var(--heading);
  color: #f8fafc;
}
.logo svg {
  width: 1rem;
  height: 1rem;
}
.nav-center {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.7);
}
.pill a,
.nav-contact {
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: #606e85;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.pill a {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
}
.pill a:hover,
.nav-contact:hover {
  color: var(--heading);
}
.pill a[aria-current="true"] {
  color: var(--heading);
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}
.nav-contact {
  padding: 0 0.5rem;
}
.nav-contact[aria-current="page"] {
  color: var(--heading);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--heading);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-ghost:hover {
  border-color: #d4d4d8;
  background: var(--subtle);
}
.btn-dark {
  display: none;
  padding: 0 1.25rem;
  color: #fff;
  background: linear-gradient(to bottom, var(--navy-1), var(--navy-2));
}
.btn-dark .l {
  display: none;
}
.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.burger i {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.25s ease;
}
.burger[aria-expanded="true"] i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.burger[aria-expanded="true"] i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.menu {
  pointer-events: auto;
  width: 100%;
  max-width: 64rem;
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}
.menu[hidden] {
  display: none;
}
.menu > a {
  display: block;
  padding: 0.875rem 1.25rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}
.menu > a:hover {
  background: var(--subtle);
  color: var(--ink);
}
.menu-foot {
  border-top: 1px solid var(--line-soft);
  margin-top: 0.5rem;
  padding: 1rem 0.5rem 0.5rem;
  text-align: center;
}
.menu-foot .btn {
  width: 100%;
}
.menu-foot p {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--soft);
}

@media (min-width: 640px) {
  .btn-ghost {
    padding: 0 1.25rem;
  }
  .btn-dark {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .nav-center {
    display: flex;
  }
  .burger,
  .menu {
    display: none !important;
  }
  .btn-dark .s {
    display: none;
  }
  .btn-dark .l {
    display: inline;
  }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 9rem 1.5rem 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), #f4f7fb 48%, var(--subtle) 100%);
}
@media (min-width: 640px) {
  .hero {
    padding-top: 11rem;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.75rem;
}
.dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
.hero h1 {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.08;
}
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}
.shine {
  display: inline-block;
  font-weight: 800;
  background-image: linear-gradient(110deg, #86868b 0%, #d4d4d8 42%, #ffffff 50%, #d4d4d8 58%, #86868b 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  animation: shine 5s ease-in-out infinite alternate;
}
@keyframes shine {
  to {
    background-position: 200% 0;
  }
}
.lead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.cta-row .btn {
  width: 100%;
}
@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
  .cta-row .btn {
    width: auto;
  }
}

.window {
  position: relative;
  max-width: 62rem;
  margin: 4rem auto 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
}
.window::before {
  content: "";
  position: absolute;
  inset: 10% 5% -5%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(212, 212, 216, 0.45);
  filter: blur(48px);
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.5rem 0 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.lights {
  position: absolute;
  left: 0.75rem;
  display: flex;
  gap: 0.375rem;
}
.lights i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: #d4d4d8;
}
.url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  color: #52525b;
  background: #f4f4f5;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}
.window img {
  border-radius: 1.125rem;
  border: 1px solid var(--line-soft);
}

/* ── Secciones ───────────────────────────────────────────── */
.section {
  max-width: 76rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 0;
}
@media (min-width: 640px) {
  .section {
    padding-top: 7rem;
  }
}
.section-head {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head h2 {
  font-size: 1.875rem;
  line-height: 1.15;
}
.section-head h2.big {
  font-size: 1.875rem;
}
@media (min-width: 640px) {
  .section-head h2 {
    font-size: 2.25rem;
  }
  .section-head h2.big {
    font-size: 3rem;
  }
}
.section-head p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}
.section-head .eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--soft);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.muted {
  color: var(--soft);
}
.br-sm {
  display: none;
}
@media (min-width: 640px) {
  .br-sm {
    display: inline;
  }
}

/* Antes y después */
.compare {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.compare-before,
.compare-after {
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .compare-before,
  .compare-after {
    padding: 2rem;
  }
}
.compare-before {
  border: 1px dashed #d4d4d8;
  background: #fafafa;
}
.compare-before h3 {
  color: #3f3f46;
}
.compare-after {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.compare-after h3 {
  color: #fff;
}
.compare h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}
.tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-muted {
  background: #e4e4e7;
  color: #52525b;
}
.tag-green {
  background: var(--green);
  color: var(--ink);
}
.ticks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.ticks li {
  position: relative;
  padding-left: 2.25rem;
}
.ticks li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.ticks-x li {
  color: #52525b;
}
.ticks-x li::before {
  content: "✕";
  background: #e4e4e7;
  color: #71717a;
}
.ticks-ok li {
  color: #f4f4f5;
  font-weight: 500;
}
.ticks-ok li::before {
  content: "✓";
  background: var(--green);
  color: var(--ink);
}
.compare-after .btn {
  margin-top: 2rem;
}

/* Bento */
.bento {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
@media (min-width: 640px) {
  .card {
    padding: 3rem;
  }
}
.card h3 {
  font-size: 1.5rem;
  line-height: 1.12;
}
.card p {
  margin-top: 1rem;
  color: var(--soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.card .btn {
  margin-top: 2rem;
}
.chip {
  display: inline-flex;
  margin: 0 0 1.5rem !important;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #27272a !important;
}
.card-start {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .card-start {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (min-width: 640px) {
  .card-start h3 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .card-start {
    grid-column: span 2;
  }
}
.steps {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
  flex-shrink: 0;
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy-1);
  border-radius: 1rem;
  background: #fff;
  font-size: 0.875rem;
  color: #3f3f46;
}
@media (min-width: 640px) {
  .steps {
    width: 18rem;
  }
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.35;
}
.steps li span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #f4f4f5;
  font-size: 0.75rem;
  font-weight: 700;
}
.steps .steps-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
}
.card-dark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(30, 41, 59, 0.4);
  background: linear-gradient(to bottom, var(--navy-1), var(--navy-2));
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.25);
}
.card-dark h3 {
  color: #fff;
}
.card-dark p {
  color: #d4d4d8;
}
.card-dark .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #27272a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}
.mini {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: #27272a;
  border: 1px solid #3f3f46;
}
.card-wide {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .card-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .card-wide > div:first-child {
    max-width: 36rem;
  }
}
@media (min-width: 640px) {
  .card-wide h3 {
    font-size: 1.875rem;
  }
}
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(228, 228, 231, 0.6);
  background: #fbfbfd;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  font-size: 0.75rem;
  font-weight: 600;
}
.flow-a,
.flow-b,
.flow-c {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
}
.flow-a {
  background: #fff;
  border: 1px solid rgba(228, 228, 231, 0.8);
  color: #27272a;
}
.flow-a i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #ef4444;
}
.flow-arrow {
  color: #a1a1aa;
  font-weight: 800;
}
.flow-b {
  background: var(--ink);
  color: #fff;
}
.flow-c {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f4f4f5;
  border: 1px solid rgba(228, 228, 231, 0.8);
  color: #3f3f46;
}

/* Métricas */
.metrics {
  margin-top: 6rem;
  border-block: 1px solid rgba(228, 228, 231, 0.6);
  background: rgba(255, 255, 255, 0.6);
  padding: 4rem 1.5rem;
}
.metrics dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .metrics dl {
    grid-template-columns: repeat(4, 1fr);
  }
}
.metrics div {
  display: flex;
  flex-direction: column-reverse;
}
.metrics dd {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
@media (min-width: 640px) {
  .metrics dd {
    font-size: 2.25rem;
  }
}
.metrics dt {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
}
.metrics dt.strong {
  color: #18181b;
}

/* Planes */
.cycle {
  display: flex;
  width: fit-content;
  margin: -1rem auto 0;
  padding: 0.25rem;
  border-radius: 999px;
  background: #f1f5f9;
}
.cycle-btn {
  min-width: 6.5rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #606e85;
  cursor: pointer;
}
.cycle-btn[aria-pressed="true"] {
  background: #fff;
  color: var(--heading);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}
.cycle-note {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green-deep);
}
.plans {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 3rem auto 0;
  padding: 0;
}
@media (min-width: 1024px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.plan-featured {
  border: 2px solid var(--green);
  background: linear-gradient(to bottom, #ecfdf5, #fff 45%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
@media (min-width: 1024px) {
  .plan-featured {
    padding-block: 2.75rem;
  }
}
.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--green), transparent);
}
.plan-flag {
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 241, 194, 0.6);
  background: rgba(102, 241, 194, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #065f46;
}
.plan-audience {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.plan h3 {
  margin-top: 0.25rem;
  font-size: 1.5rem;
}
.plan-tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--soft);
  line-height: 1.6;
}
.plan-price {
  margin-top: 1.5rem;
  color: var(--heading);
}
.plan-amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.plan-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--soft);
}
.plan-billed {
  min-height: 1rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--soft);
}
.plan-team {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3f3f46;
}
.plan-features {
  flex: 1;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #3f3f46;
}
.plan-features li {
  position: relative;
  padding-left: 1.75rem;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  background: #059669;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
}
.plan-features strong {
  color: var(--heading);
  font-weight: 600;
}
.plan-cta {
  margin-top: 2rem;
  min-height: 3.5rem;
  font-weight: 700;
}
.plans-empty {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.plans-empty p {
  color: #52525b;
}
.plans-empty .btn {
  margin-top: 1.5rem;
}
.pricing-note {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--soft);
}

/* Preguntas frecuentes */
.faq {
  margin-top: 6rem;
  padding: 6rem 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(228, 228, 231, 0.6);
}
.faq-grid {
  display: grid;
  gap: 3rem;
  max-width: 76rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 4fr 8fr;
    gap: 2rem;
    align-items: start;
  }
  .faq-side {
    position: sticky;
    top: 8rem;
  }
  .faq-list {
    padding-left: 2.5rem;
  }
}
.faq-side h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .faq-side h2 {
    font-size: 2.25rem;
  }
}
.faq-side > p:not(.eyebrow) {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.help {
  max-width: 24rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(102, 241, 194, 0.4);
  background: rgba(102, 241, 194, 0.1);
}
.help-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #064e3b;
}
.help p:not(.help-title) {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.help a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
}
.faq-list details {
  border-bottom: 1px solid rgba(228, 228, 231, 0.8);
}
.faq-list details:last-child {
  border-bottom: 0;
}
.faq-list summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
@media (min-width: 640px) {
  .faq-list summary {
    grid-template-columns: 2fr 10fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
}
.faq-list .num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--soft);
}
.faq-list h3 {
  position: relative;
  padding-right: 2rem;
  font-size: 1rem;
  line-height: 1.35;
}
@media (min-width: 640px) {
  .faq-list h3 {
    font-size: 1.125rem;
  }
}
.faq-list h3::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 0.3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #a1a1aa;
  border-bottom: 2px solid #a1a1aa;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-list details[open] h3::after {
  transform: translateY(0.2rem) rotate(-135deg);
  border-color: var(--ink);
}
.faq-list details > p {
  padding: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (min-width: 640px) {
  .faq-list details > p {
    margin-left: calc(2 / 12 * 100% + 1.5rem * 2 / 12);
    padding-bottom: 2rem;
  }
}

/* Cierre y pie */
.final {
  background: linear-gradient(to bottom, var(--navy-1), var(--navy-2));
  color: #cbd5e1;
  padding: 6rem 1.5rem 3rem;
}
.final-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.final h2 {
  color: #fff;
  font-size: 1.875rem;
}
@media (min-width: 640px) {
  .final {
    padding-top: 8rem;
  }
  .final h2 {
    font-size: 3rem;
  }
}
.final-inner p {
  max-width: 36rem;
  margin: 1.5rem auto 2.5rem;
  font-size: 1.125rem;
  color: #94a3b8;
}
.legal {
  max-width: 64rem;
  margin: 6rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}
.legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-top: 1rem;
}
.legal a {
  text-decoration: none;
  text-underline-offset: 2px;
}
.legal a:hover {
  text-decoration: underline;
  color: #fff;
}
.legal-light {
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.legal-light a:hover {
  color: var(--ink);
}

/* ── Contacto ────────────────────────────────────────────── */
.page-contact {
  background-color: var(--subtle);
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 0.5px, transparent 0.5px);
  background-size: 18px 18px;
}
.contact {
  display: grid;
  gap: 3.5rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    padding-block: 9rem 7rem;
  }
}
.contact-info {
  order: 2;
}
.contact-card {
  order: 1;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}
@media (min-width: 640px) {
  .contact-card {
    padding: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .contact-info {
    order: 1;
  }
  .contact-card {
    order: 2;
  }
}
.contact h1 {
  font-size: 2.25rem;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .contact h1 {
    font-size: 3rem;
  }
}
.lead-sm {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: var(--soft);
  line-height: 1.65;
}
.sla {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.sla > div,
.team-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.75rem;
  color: var(--soft);
}
.sla > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.sla strong,
.team-grid strong {
  font-size: 0.875rem;
  color: var(--ink);
}
.team {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--soft);
  text-decoration: none;
}
.mail:hover {
  color: var(--ink);
}
.contact-card h2 {
  font-size: 1.25rem;
}
.contact-card .muted {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}
.options {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
.options a:not(.btn) {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.options a:not(.btn):hover {
  border-color: var(--green);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.options strong {
  font-size: 1rem;
  color: #18181b;
}
.opt-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.options .btn {
  margin-top: 1rem;
}

/* 404 */
.notfound {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
}
.notfound h1 {
  font-size: 2rem;
}
.notfound p {
  color: var(--muted);
}
.notfound .cta-row {
  margin-top: 1rem;
}
