:root {
  --ink: #1b1f23;
  --ink-soft: #4b5563;
  --paper: #fbfaf7;
  --paper-2: #f1efe9;
  --line: #ddd9d0;
  --accent: #b6471f;
  --accent-ink: #ffffff;
  --card: #ffffff;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);
  --max: 68rem;
  --radius: 10px;
  --radius-btn: 999px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Cabecera */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .btn.whatsapp { }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.brand { font-weight: 700; white-space: nowrap; text-decoration: none; color: var(--ink); letter-spacing: 0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { text-decoration: underline; }

/* Botones */
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.btn:hover { filter: brightness(0.95); text-decoration: none; }
.btn.whatsapp { background: #25d366; color: #062e22; border-color: #25d366; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn.whatsapp:hover { background: #1ebe5a; filter: none; }
.btn.whatsapp img { width: 1.15em; height: 1.15em; }
.contact-strip a.btn.whatsapp { background: #25d366; color: #062e22; border-color: #25d366; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Secciones */
section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding: 5rem 0 4rem; }
.hero h1 { max-width: 20ch; }
.hero .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.muted { color: var(--ink-soft); }
.alt { background: var(--paper-2); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card .what { margin-bottom: 0.5rem; }
.card .result { color: var(--ink-soft); margin: 0; }
.card .meta { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.75rem; }

.product-card { display: flex; flex-direction: column; gap: 0.5rem; }
.product-card .price { font-weight: 650; }
.product-card .btn { align-self: flex-start; margin-top: 0.5rem; }
.badge { display: inline-block; align-self: flex-start; width: max-content; font-size: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; align-items: start; }
.steps li::before {
  content: counter(step);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}

.price-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr;
}
.price-box .big { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.price-box .big small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-box ul { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.price-box li { margin-bottom: 0.3rem; }

.faq dt { font-weight: 650; margin-top: 1.25rem; }
.faq dd { margin: 0.25rem 0 0; color: var(--ink-soft); }

.person { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: center; }
.person img, .person .photo-placeholder {
  width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; background: var(--paper-2);
  border: 1px solid var(--line);
}

.contact-strip { background: var(--ink); color: #fff; }
.contact-strip a.btn { background: #fff; color: var(--ink); border-color: #fff; }
.contact-strip h2 { color: #fff; }

.legal { max-width: 44rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 640px) {
  .nav { gap: 0.9rem; }
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 0.95rem; }
  .nav .btn { padding: 0.5rem 0.9rem; }
  .price-box { grid-template-columns: 1fr; padding: 1.4rem; }
  .person { grid-template-columns: 1fr; justify-items: start; }
  section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
}
