/* HolaTrato
   Plus Jakarta Sans is self-hosted (SIL Open Font License, see /fonts/OFL.txt).
   Latin subset, weights 400–800. Spanish (es-MX) is covered by this range. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
  --o: #fa500e;
  --o2: #ff7a45;
  --ink: #14161b;
  --txt: #3d4250;
  --mut: #6b7180;
  --bg: #ffffff;
  --soft: #fff6f1;
  --line: #ecedf0;
  --wa: #25d366;
  --chat: #ece5dd;
  --r: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--txt);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--o);
  background: var(--soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 14px;
  padding: 15px 22px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa {
  background: linear-gradient(135deg, var(--o2), var(--o));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(250, 80, 14, 0.55);
}
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--o); }
.btn svg { width: 20px; height: 20px; flex: none; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mut); margin-top: 18px; }
.trust span::before { content: "✓"; color: var(--o); font-weight: 800; margin-right: 6px; }

section { padding: 84px 0; }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--mut); max-width: 640px; }
.center .lead { margin: 14px auto 0; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.logo b { color: var(--o); }
.logo img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--o); }
.nav .btn { padding: 10px 16px; font-size: 15px; }
.nav a.back { font-size: 15px; font-weight: 600; }
.nav a.back:hover { color: var(--o); }

.hero {
  padding: 64px 0 72px;
  background: radial-gradient(1200px 500px at 85% -10%, #ffe6da 0, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--o); }
.hero p.lead { margin-bottom: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.phone {
  width: min(340px, 100%);
  margin: 0 auto;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(20, 22, 27, 0.35);
}
.screen { background: var(--chat); border-radius: 30px; overflow: hidden; }
.wa-top { background: #075e54; color: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #075e54;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.wa-top small { display: block; font-size: 12px; opacity: 0.8; }
.wa-top strong { font-size: 15px; }
.chat { padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.b { max-width: 82%; padding: 8px 10px 6px; border-radius: 10px; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); position: relative; }
.b .t { display: block; text-align: right; font-size: 10.5px; color: #7a7a7a; margin-top: 2px; }
.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 2px; }
.voice { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.voice .play { width: 0; height: 0; border-left: 11px solid #555; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.voice .wave {
  flex: 1;
  height: 18px;
  background: repeating-linear-gradient(90deg, #9aa 0 2px, transparent 2px 5px);
  -webkit-mask: linear-gradient(90deg, #000 0, #000 100%);
  mask: linear-gradient(90deg, #000 0, #000 100%);
  border-radius: 2px;
  opacity: 0.8;
}
.slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.slots span {
  background: #fff;
  border: 1px solid #cfe9bd;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12.5px;
  color: #075e54;
  font-weight: 600;
}
.confirm { background: #fff; border-left: 3px solid var(--wa); padding: 6px 8px; border-radius: 6px; margin-top: 4px; font-size: 13px; }
.day { align-self: center; background: #e1f2fb; color: #555; font-size: 11.5px; padding: 3px 10px; border-radius: 8px; }
.demo-note { text-align: center; font-size: 12.5px; color: var(--mut); margin-top: 12px; }

.problem { background: var(--ink); color: #c9ccd3; }
.problem h2 { color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pcard { background: #1e2128; border: 1px solid #2a2e37; border-radius: var(--r); padding: 26px; }
.pcard .n { font-size: 34px; font-weight: 800; color: var(--o2); line-height: 1; }
.pcard h3 { color: #fff; margin: 12px 0 6px; }

.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.fcard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fcard:hover { border-color: #ffd2bd; box-shadow: 0 12px 30px -18px rgba(250, 80, 14, 0.4); }
.ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 16px; }
.ic svg { width: 22px; height: 22px; stroke: var(--o); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcard p { font-size: 15.5px; margin-top: 6px; color: var(--mut); }

.more { background: var(--soft); }
.mgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.mcard { background: #fff; border-radius: var(--r); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.mcard p { color: var(--mut); font-size: 15.5px; margin-top: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: s; }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; }
.step::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--o);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.step p { color: var(--mut); font-size: 15.5px; margin-top: 6px; }

.pricing { background: #fafafb; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; margin: 48px auto 0; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.plan.hot { border: 2px solid var(--o); box-shadow: 0 24px 50px -28px rgba(250, 80, 14, 0.55); position: relative; }
.tag {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--o);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.price { font-size: 42px; font-weight: 800; color: var(--ink); margin: 10px 0 2px; letter-spacing: -0.02em; }
.price small { font-size: 16px; font-weight: 600; color: var(--mut); }
.plan .sub { color: var(--mut); font-size: 15px; }
.plan ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: 15.5px; }
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FA500E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { width: 100%; }
.fine { text-align: center; font-size: 14px; color: var(--mut); margin-top: 22px; }

.faq { max-width: 780px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--o); font-size: 24px; line-height: 1; font-weight: 500; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--mut); }

.final { background: linear-gradient(135deg, #1a1c22, #2b1a12); color: #d6d8dd; text-align: center; }
.final h2 { color: #fff; }
.final .trust { justify-content: center; color: #b9bcc4; }
.final .ctas { justify-content: center; margin-top: 30px; }
.final .btn-ghost { background: transparent; color: #fff; border-color: #4a4e58; }

footer { background: #111318; color: #9a9ea8; font-size: 14px; padding: 36px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot a:hover { color: #fff; }
.foot .links { display: flex; gap: 20px; flex-wrap: wrap; }

.sticky { display: none; }

.legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 88px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 8px; }
.legal h1 + p { color: var(--mut); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 38px 0 10px; }
.legal p { margin: 0 0 14px; line-height: 1.7; }
.legal a { color: var(--o); font-weight: 600; }

body:has(.notfound) { min-height: 100vh; display: flex; flex-direction: column; }
body:has(.notfound) main.notfound {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.notfound { max-width: 640px; margin: 0 auto; padding: 88px 20px 104px; text-align: center; }
.notfound h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.notfound .eyebrow { margin: 0 auto 16px; }
.notfound p { color: var(--mut); font-size: 18px; margin: 0 auto 28px; max-width: 460px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .fgrid, .pgrid, .steps { grid-template-columns: 1fr 1fr; }
  .mgrid, .plans { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  header .logo img { height: 26px; }
  section { padding: 60px 0; }
  .hero { padding: 36px 0 56px; }
  .nav-links a:not(.btn) { display: none; }
  .nav .btn { padding: 9px 13px; font-size: 14px; }
  .fgrid, .pgrid, .steps { grid-template-columns: 1fr; }
  .ctas .btn { width: 100%; }
  .mcard { flex-direction: column; }
  .sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; }
  .sticky .btn { width: 100%; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.35); }
  body:has(.sticky) footer { padding-bottom: 90px; }
  .foot { align-items: flex-start; }
}
