:root {
  --bg: #ffffff;
  --bg-tint: #f6f8f9;
  --surface: #ffffff;
  --ink: #10201c;
  --ink-soft: #3c4d48;
  --muted: #6b7a75;
  --line: #e4eae8;

  --teal: #0e7a6b;
  --teal-dark: #0a5f54;
  --teal-soft: #e4f3ef;
  --slate: #44576b;
  --gold: #c98a2b;
  --gold-soft: #fbeedb;

  --shadow-sm: 0 1px 2px rgba(16, 32, 28, 0.06), 0 1px 3px rgba(16, 32, 28, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 32, 28, 0.08), 0 2px 4px rgba(16, 32, 28, 0.04);

  --radius: 14px;
  --container: 1440px;
  --page-gutter: clamp(16px, 3vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-dark); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn--light { background: #fff; color: var(--teal-dark); }
.btn--light:hover { background: var(--teal-soft); }

.btn--lg { padding: 14px 26px; font-size: 16px; }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.nav__mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: none;
}
.nav__mark img { width: 100%; height: 100%; object-fit: contain; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--teal-dark); }
.nav__cta { padding: 9px 16px; }

/* Hero */
.hero { padding: 56px 0 0; }
.hero__grid { max-width: 860px; }
.hero__copy h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero__sub { font-size: 18px; color: var(--ink-soft); max-width: 680px; margin: 0 0 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__points {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.hero__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.hero__figure img { width: 100%; height: auto; }

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }
.section__lede { font-size: 17px; color: var(--ink-soft); margin: 0; }

/* Workers (los 8 empleados) */
.workers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.worker {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.worker__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.worker__icon svg { width: 24px; height: 24px; }
.worker h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -0.01em; }
.worker p { font-size: 14px; color: var(--muted); margin: 0; }
.worker--core {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 60%);
}
.worker--core .worker__icon { background: var(--gold-soft); color: var(--gold); }
.worker__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--approve { background: var(--teal-soft); color: var(--teal-dark); }
.badge--plain { background: #eef1f3; color: var(--slate); }
.badge--lg { font-size: 13px; padding: 8px 15px; }

/* Mockups / trabajo listo */
.mockgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mock__label { font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; }
.mock__title { font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.chat__row { display: flex; }
.chat__row--out { justify-content: flex-end; }
.chat__bubble {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.45;
}
.chat__bubble--in { background: #f0f3f2; color: #25332f; border-bottom-left-radius: 4px; }
.chat__bubble--out { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.chat__actions { display: flex; gap: 8px; margin-top: auto; }

/* buttons mini */
.btn--mini { padding: 7px 14px; font-size: 13px; }

/* leads */
.leads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.leads .lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.leads .lead:last-child { border-bottom: 0; }
.lead__who { display: flex; align-items: center; gap: 11px; }
.lead__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.lead__who b { display: block; font-size: 14px; }
.lead__who small { color: var(--muted); font-size: 12px; }
.lead__pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.lead__pill--high { background: var(--gold-soft); color: var(--gold); }
.lead__pill--med { background: #eef1f3; color: var(--slate); }

/* kpis + bars */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: #f7f9f8; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.kpi b { display: block; font-size: 20px; letter-spacing: -0.02em; color: var(--teal-dark); }
.kpi small { font-size: 11.5px; color: var(--muted); }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-top: auto;
  padding-top: 8px;
}
.bars span { flex: 1; background: var(--teal); opacity: 0.85; border-radius: 5px 5px 0 0; min-height: 8px; }

/* tasks */
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tasks li { display: flex; align-items: center; gap: 12px; }
.task__day {
  flex: none;
  width: 44px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid #cde7de;
  padding: 6px 0;
  border-radius: 8px;
}
.task__text { font-size: 14px; color: #2b3a35; }

/* badges strip */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }

/* Pricing */
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.plan__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.plan__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--teal-dark); }
.plan__tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  background: #eef1f3;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 26px; margin: 0 0 10px; letter-spacing: -0.02em; }
.plan__desc { font-size: 14px; color: var(--muted); margin: 0 0 22px; flex-grow: 1; }
.plan__price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.plan__old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.plan__now { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.plan__badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.plan__badge--dark { color: #fff; background: var(--teal); }
.plan__cta { width: 100%; }
.pricing__note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 26px; }

/* Flow */
.flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.flow__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.flow__steps li { display: flex; gap: 18px; }
.flow__step {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 16px;
}
.flow__steps h3 { font-size: 17px; margin: 2px 0 5px; }
.flow__steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.flow__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.flow__figure img { width: 100%; height: auto; }

/* Proof */
.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.proof__card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.proof__card img { width: 100%; height: auto; }
.proof__card figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.proof__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.proof__list h3 { font-size: 18px; margin: 0 0 5px; }
.proof__list p { margin: 0; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; }
.cta__inner { text-align: center; padding: 80px 24px; }
.cta__inner h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.015em; }
.cta__inner p { max-width: 560px; margin: 0 auto 28px; font-size: 17px; opacity: 0.92; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #0c1916;
  color: #d8e2df;
  padding: 58px 0 26px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr 1fr;
  gap: 42px;
  font-size: 14px;
}
.footer__brand { display: block; font-size: 18px; font-weight: 800; color: #fff; }
.footer__intro p { margin: 8px 0 0; color: #9fb0ab; }
.footer__contacts { display: flex; flex-direction: column; gap: 18px; font-style: normal; }
.footer__contact { display: flex; flex-direction: column; gap: 3px; }
.footer__contact strong { color: #fff; font-size: 13px; }
.footer__contact a { color: #b7c8c3; overflow-wrap: anywhere; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__group h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #b7c8c3; }
.footer__group a:hover { color: #fff; text-decoration: underline; }
.footer__copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa29c;
  font-size: 13px;
}

/* Documents & Standards */
.legal { background: var(--bg-tint); }
.legal__hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.legal__hero-inner { padding-top: 72px; padding-bottom: 58px; }
.legal__hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.legal__hero p { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.legal__hero .legal__updated { margin-top: 18px; color: var(--muted); font-size: 13px; }
.legal__layout {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 820px);
  justify-content: center;
  align-items: start;
  gap: clamp(36px, 6vw, 84px);
  padding-top: 56px;
  padding-bottom: 80px;
}
.legal__toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.legal__toc strong { margin-bottom: 4px; color: var(--ink); }
.legal__toc a { color: var(--muted); font-size: 13.5px; }
.legal__toc a:hover { color: var(--teal-dark); }
.legal__content { min-width: 0; }
.legal__notice,
.legal__section {
  scroll-margin-top: 92px;
  margin-bottom: 24px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.legal__notice { border-left: 4px solid var(--gold); }
.legal__content h2 { margin: 0 0 18px; font-size: clamp(23px, 3vw, 30px); line-height: 1.2; }
.legal__content h3 { margin: 28px 0 10px; font-size: 17px; }
.legal__content p { margin: 0 0 16px; color: var(--ink-soft); }
.legal__content p:last-child { margin-bottom: 0; }
.legal__content ul,
.legal__content ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); }
.legal__content li + li { margin-top: 9px; }
.legal__content a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__sources { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.assurance-table {
  width: 100%;
  margin: 14px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.assurance-table table { width: 100%; border-collapse: collapse; min-width: 620px; }
.assurance-table th,
.assurance-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.assurance-table tr:last-child td { border-bottom: 0; }
.assurance-table th { background: var(--bg-tint); color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.assurance-table td { color: var(--ink-soft); font-size: 13.5px; }
.assurance-table td:first-child { color: var(--ink); font-weight: 700; }
.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 24px;
}
.control-grid > div {
  display: grid;
  gap: 7px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-tint);
}
.control-grid strong { color: var(--teal-dark); font-size: 12px; letter-spacing: 0.06em; }
.control-grid span { color: var(--ink-soft); font-size: 13.5px; }
.approval-levels { display: grid; gap: 12px; margin: 14px 0 24px; }
.approval-levels > div { padding: 18px 20px; border-left: 3px solid var(--teal); background: var(--bg-tint); border-radius: 0 10px 10px 0; }
.approval-levels strong { color: var(--ink); }
.approval-levels p { margin: 5px 0 0; font-size: 13.5px; }
.legal__kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal__contact { border-top: 4px solid var(--teal); }
.legal__footer { padding-top: 32px; }
.legal__footer-copy { margin: 8px 0 0; color: #8fa29c; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .workers { grid-template-columns: repeat(2, 1fr); }
  .mockgrid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .flow, .proof { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .legal__layout { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .proof__copy { order: -1; }
  .flow__figure, .proof__card { order: 2; }
}

@media (max-width: 600px) {
  .workers { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero { padding-top: 40px; }
  .section { padding: 56px 0; }
  .hero__actions .btn { width: 100%; }
  .footer { padding-top: 44px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .legal__hero-inner { padding-top: 52px; padding-bottom: 42px; }
  .legal__layout { padding-top: 32px; padding-bottom: 56px; }
  .control-grid { grid-template-columns: 1fr; }
}
