/* ================================================================
   controlparental.cl — design system v3
   Fonts: Bitter (display/slab) + system sans (body)
   ================================================================ */

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1b2a30;
  --muted: #586b71;
  --brand: #1a6b62;
  --brand-deep: #12514a;
  --brand-ink: #102a28;
  --mint: #eaf1ee;
  --mint-line: #d3e0db;
  --accent: #c4633f;
  --accent-deep: #9d4a2b;
  --accent-soft: #f6e8e1;
  --border: #e3dfd5;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 48, 0.05);
  --shadow-md: 0 4px 14px -6px rgba(27, 42, 48, 0.12);
  --shadow-lg: 0 10px 30px -14px rgba(15, 43, 42, 0.18);
  --max: 1080px;
  --max-prose: 740px;
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.22; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 2.4em 0 0.6em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
p { margin: 0.7em 0; }

::selection { background: var(--accent-soft); }

/* ---------------- header ---------------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
a.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
a.logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
a.logo .tld { color: var(--accent); }
header.site nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
header.site nav a {
  color: #cfe3de;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 99px;
  transition: background 0.15s, color 0.15s;
}
header.site nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
header.site nav a.nav-cta {
  background: var(--accent);
  color: var(--brand-ink);
  margin-left: 4px;
}
header.site nav a.nav-cta:hover { background: #f7bd62; color: var(--brand-ink); }

/* ---------------- hero (homepage) ---------------- */

.hero {
  background: var(--brand-ink);
  border-bottom: 3px solid var(--accent);
  color: #f2f7f5;
  padding: 64px 24px 70px;
  text-align: center;
}
.hero .inner { max-width: 820px; margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.3rem); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #c8dcd6; max-width: 640px; margin: 0 auto 30px; }
.badge {
  display: inline-block;
  color: #b6cfc8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0 0 6px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats div { font-size: 0.86rem; color: #9dbcb4; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn.secondary { background: var(--accent); color: var(--brand-ink) !important; }
.btn.secondary:hover { background: #f7bd62; }
.btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: none;
}
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.07); }

/* ---------------- layout ---------------- */

main { max-width: var(--max-prose); margin: 0 auto; padding: 40px 24px 80px; }
main.wide { max-width: var(--max); }
section { scroll-margin-top: 90px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand);
  margin: 3em 0 0.4em;
}
.eyebrow + h2 { margin-top: 0; }
.subtitle { color: var(--muted); font-size: 1.12rem; margin-top: 0; }

.crumbs {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--brand-deep); }
.crumbs span { color: #b9c4c0; }

.meta {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.meta::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* ---------------- cards ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 18px;
  margin: 26px 0;
  padding: 0;
}
.card {
  list-style: none;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--mint-line); }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint);
  font-size: 22px;
  margin-bottom: 12px;
}
.card a {
  font-weight: 700;
  font-size: 1.04rem;
  text-decoration: none;
  color: var(--ink);
}
/* stretch the whole card as the link target */
.card a::after { content: ""; position: absolute; inset: 0; }
.card a:hover { color: var(--brand-deep); }
.card p { font-size: 0.9rem; color: var(--muted); margin: 6px 0 0; line-height: 1.55; }
.card .go {
  position: absolute;
  top: 22px; right: 18px;
  color: var(--brand);
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
}
.card:hover .go { opacity: 1; transform: translateX(2px); }
.card.soon { opacity: 0.65; background: transparent; border-style: dashed; box-shadow: none; }
.card.soon:hover { transform: none; }
.card.soon .tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-deep); }

/* pick cards (money page) */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; margin: 26px 0; }
.pick {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.pick .label { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
.pick.best { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.pick.best .label { color: var(--accent-deep); }
.pick h3 { margin: 6px 0 4px; }
.pick p { font-size: 0.88rem; color: var(--muted); margin: 0 0 12px; }
.pick .btn { padding: 10px 18px; font-size: 0.88rem; box-shadow: none; }

/* ---------------- steps ---------------- */

.steps { counter-reset: step; padding-left: 0; margin: 26px 0; }
.steps > li {
  list-style: none;
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 66px;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px -2px rgba(10,92,84,0.5);
}
.steps > li > strong:first-child { color: var(--brand-ink); }
.steps ul { margin: 8px 0 0; padding-left: 18px; }
.steps ul li { margin-bottom: 4px; font-size: 0.95rem; }

/* ---------------- callouts ---------------- */

.callout {
  background: var(--mint);
  border: 1px solid var(--mint-line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 0.97rem;
}
.callout.warn {
  background: var(--accent-soft);
  border-color: #f3ddb3;
}
.callout.warn::before {
  content: "⚠️ Ojo con esto";
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.callout ol, .callout ul { margin: 6px 0 0; padding-left: 20px; }

.disclosure {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin: 0 0 28px;
}

/* ---------------- tables ---------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 26px 0;
  background: var(--surface);
}
table.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 0; }
table.compare th, table.compare td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
table.compare thead th, table.compare tr:first-child th {
  background: var(--brand-ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-bottom: none;
}
table.compare tbody th, table.compare tr th[scope="row"], table.compare tr > th:first-child {
  background: var(--mint);
  color: var(--brand-ink);
  font-size: 0.85rem;
  width: 110px;
}
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }
table.compare .btn { padding: 9px 14px; font-size: 0.82rem; box-shadow: none; white-space: nowrap; }

/* ---------------- verdict & promos ---------------- */

.verdict {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px 28px;
  margin: 34px 0;
}
.verdict h3 { margin-top: 0; }
.verdict h3::before { content: "🏅 "; }

.kit-promo {
  background: var(--brand-ink);
  border: 1px solid var(--brand-deep);
  border-top: 3px solid var(--accent);
  color: #e8f2ee;
  border-radius: var(--radius);
  padding: 34px 34px 30px;
  margin: 52px 0 0;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.kit-promo h3 { color: #fff; margin: 0 0 10px; font-size: 1.35rem; }
.kit-promo p { color: #c4d9d2; max-width: 560px; margin: 0 auto 18px; font-size: 0.97rem; }
.kit-promo a:not(.btn) { color: var(--accent); }

/* ---------------- kit page ---------------- */

.price-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  padding: 30px 34px;
  margin: 34px 0;
  text-align: center;
}
.price-panel .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--brand-ink); }
.price-panel .price small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.price-panel ul {
  list-style: none;
  padding: 0;
  margin: 16px auto 22px;
  max-width: 380px;
  text-align: left;
  font-size: 0.93rem;
}
.price-panel ul li { padding: 5px 0 5px 28px; position: relative; }
.price-panel ul li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 800; }

/* page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--mint), #f6f3ea);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px 40px;
  text-align: center;
}
.page-hero .inner { max-width: 760px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .subtitle { font-size: 1.08rem; max-width: 620px; margin: 0 auto; }

/* ---------------- footer ---------------- */

footer.site {
  background: var(--brand-ink);
  color: #9dbcb4;
  font-size: 0.86rem;
  margin-top: 60px;
  padding: 48px 24px 36px;
}
footer.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}
footer.site h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin: 0 0 10px;
}
footer.site a { color: #c4d9d2; text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .brand-note { line-height: 1.65; padding-right: 12px; }
footer.site .fineprint {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: #7da39a;
}

@media (max-width: 720px) {
  footer.site .inner { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding: 52px 20px 60px; }
  .hero-stats { gap: 22px; }
  main { padding: 32px 20px 64px; }
}

@media print {
  header.site, footer.site, .kit-promo, .hero-actions { display: none; }
}
