/* checaria.com — warm/evidence design system
   papel #FBF7F0 | tinta #26332A | verde #2E5940 | cempasuchil #E08128 | linea #E2D9CB */

:root {
  --papel: #FBF7F0;
  --tinta: #26332A;
  --verde: #2E5940;
  --cempa: #E08128;
  --linea: #E2D9CB;
  --suave: #6B7268;
  --display: "Fraunces", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--papel);
  color: var(--tinta);
  line-height: 1.6;
  font-size: 17px;
}

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

/* language toggle */
.es, .en { display: none; }
html[data-lang="es"] .es { display: block; }
html[data-lang="en"] .en { display: block; }
html[data-lang="es"] span.es, html[data-lang="es"] a.es, html[data-lang="es"] em.es { display: inline; }
html[data-lang="en"] span.en, html[data-lang="en"] a.en, html[data-lang="en"] em.en { display: inline; }

.lang-switch { display: flex; gap: 2px; border: 1.5px solid var(--tinta); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  font-family: var(--body); font-size: 14px; font-weight: 600;
  padding: 4px 14px; background: transparent; color: var(--tinta);
  border: none; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--tinta); color: var(--papel); }

header.site { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.brand { font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--tinta); text-decoration: none; }
.brand em { font-style: normal; color: var(--cempa); }

/* hero */
.hero { padding: 28px 0 44px; }
h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 7.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.hero p.lead { font-size: 18px; color: var(--tinta); max-width: 56ch; margin-bottom: 24px; }

.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--verde);
  color: var(--verde);
  background: transparent;
}
.btn.primary { background: var(--verde); color: #fff; }
.btn:focus-visible, .lang-switch button:focus-visible, a:focus-visible { outline: 3px solid var(--cempa); outline-offset: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* mock report card — the signature element */
.reporte {
  margin: 34px 0 0;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(38,51,42,0.08);
  max-width: 480px;
}
.reporte .rp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.reporte .rp-brand { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--verde); }
.reporte .rp-date { font-size: 13px; color: var(--suave); }
.reporte .rp-name { font-family: var(--display); font-size: 21px; font-weight: 600; }
.reporte .rp-vis { font-size: 13px; color: var(--suave); margin-bottom: 12px; }
.reporte .rp-vis b { color: var(--verde); }
.reporte .encorto {
  font-size: 16px;
  border-left: 3px solid var(--cempa);
  padding: 6px 12px;
  background: #FDF3E7;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}
.reporte .rp-line { font-size: 14px; color: var(--tinta); margin-bottom: 8px; }
.reporte .rp-line b { font-weight: 600; }
.reporte .rp-fotos { display: flex; gap: 8px; margin-top: 12px; }
.reporte .rp-fotos span {
  flex: 1; aspect-ratio: 4/3; border-radius: 8px;
  background: linear-gradient(135deg, #EAE2D4, #DCD2C0);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

/* sections */
section { padding: 40px 0; border-top: 1px solid var(--linea); }
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 28px; margin-bottom: 18px;
}
section p + p { margin-top: 12px; }
a { color: var(--verde); }

/* steps */
.pasos { list-style: none; display: grid; gap: 16px; counter-reset: paso; }
.pasos li { padding-left: 52px; position: relative; }
.pasos li::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--verde); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.pasos b { display: block; font-size: 17px; }

/* plans */
.planes { display: grid; gap: 14px; margin-top: 6px; }
.plan {
  background: #fff; border: 1px solid var(--linea); border-radius: 14px;
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.plan .pl-name { font-family: var(--display); font-weight: 600; font-size: 19px; }
.plan .pl-desc { font-size: 14px; color: var(--suave); }
.plan .pl-price { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--verde); white-space: nowrap; }
.plan .pl-price small { font-size: 13px; color: var(--suave); font-family: var(--body); font-weight: 400; }
.plan.destacado { border-color: var(--cempa); border-width: 2px; }
.nota-precio { font-size: 13px; color: var(--suave); margin-top: 10px; }

/* trust rows */
.check-row { display: grid; gap: 10px; margin-top: 4px; }
.check-row div { padding-left: 26px; position: relative; font-size: 15px; }
.check-row div::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 700; }

/* faq */
.faq details { border-bottom: 1px solid var(--linea); padding: 12px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 8px; font-size: 15px; }

footer { padding: 36px 0 48px; font-size: 14px; color: var(--suave); border-top: 1px solid var(--linea); }
footer p + p { margin-top: 10px; }

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