:root {
  --bg: #faf9f7;
  --fg: #1c1c1c;
  --muted: #767676;
  --accent: #d84f79;
  --card-bg: #ffffff;
  --border: #e7e3de;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15141a;
    --fg: #f2f0ee;
    --muted: #a9a4b0;
    --accent: #ef86a8;
    --card-bg: #201f26;
    --border: #302f38;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

/* ---------- shared card / pill / cta ---------- */
.card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  padding: 20px;
}
.pill {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--fg);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}
.pill.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.pill-accent {
  border: 1.5px solid var(--accent);
  background: var(--card-bg);
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}
.section-narrow { padding: 32px 20px; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0 0 24px;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
}
footer.site-footer {
  max-width: 700px;
  margin: 20px auto 60px;
  padding: 20px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  border-top: 1px solid var(--border);
}
.site-footer .footer-oferta-link { color: inherit; opacity: 0.5; text-decoration: underline; }
.site-footer .footer-oferta-link:hover { opacity: 0.8; }

/* ---------- hello page ---------- */
.hello-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 16px;
}
.hello-badge {
  display: inline-block;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hello-header { text-align: center; margin-bottom: 32px; }
.hello-header h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin: 0 0 4px; }
.hello-header p { color: var(--muted); font-size: 1rem; margin: 0; }
.hello-header .hello-subtitle { font-size: 0.85rem; margin: 0 0 12px; }
.hello-tiles { display: flex; flex-direction: column; gap: 16px; }
.hello-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--fg);
}
.hello-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  flex-shrink: 0;
}
.hello-tile-icon svg { width: 20px; height: 20px; }
.hello-tile-body { flex: 1; }
.hello-tile-body strong { display: block; font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.hello-tile-body span { display: block; font-size: 0.82rem; color: var(--muted); }
.hello-tile-go {
  flex-shrink: 0;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
}
/* ---------- offer page ---------- */
.offer-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 14px;
}
.offer-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--fg);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
}
.offer-tab.active { background: var(--accent); color: #fff; font-weight: 600; }
.offer-tabs-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.offer-tab-plate {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  padding: 14px 16px;
}
.offer-tab-plate .plate-title { font-weight: 700; font-size: 0.95rem; }
.offer-tab-plate .plate-price { margin: 6px 0 0; color: var(--accent); font-size: 1.05rem; font-weight: 700; }
.offer-tab-plate .plate-price .struck { color: var(--muted); text-decoration: line-through; font-weight: 400; }
.offer-tab-plate .plate-note { margin: 6px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.offer-tab-plate.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.offer-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
}
.offer-carousel-card {
  flex: 0 0 34%;
  scroll-snap-align: start;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.offer-carousel-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1);
  transition: filter 0.2s ease;
}
.offer-carousel-card:hover img,
.offer-carousel-card:active img { filter: grayscale(0); }
@media (min-width: 640px) { .offer-carousel-card { flex-basis: 110px; } }
.offer-list { margin: 0; padding: 0; list-style: none; }
.offer-list li { display: flex; gap: 8px; padding: 6px 0; }
.offer-list li span.mark { color: var(--accent); }
.offer-feature { display: flex; gap: 10px; }
.offer-feature strong { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
.offer-feature p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.offer-price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.offer-price-row:first-child { border-top: none; }
.offer-price-row .struck { color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.offer-price-row .price { white-space: nowrap; }

/* ---------- accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 0; }
.accordion-item {
  border-top: 1px solid var(--border);
}
.accordion-item:first-child { border-top: none; }
.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::marker { content: ""; }
.accordion-mark {
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.95rem;
}
.accordion-item summary strong {
  flex: 1;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}
.accordion-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  transition: transform 0.2s ease;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  top: 8px;
  background: var(--muted);
  border-radius: 1px;
}
.accordion-icon::before {
  left: 2px;
  transform: rotate(45deg);
}
.accordion-icon::after {
  left: 8px;
  transform: rotate(-45deg);
}
.accordion-item[open] .accordion-icon {
  transform: rotate(180deg);
}
.accordion-content {
  padding: 0 0 14px 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- review card (single-card carousel with dots) ---------- */
.review-card { position: relative; width: 180px; max-width: 100%; }
.review-card-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  cursor: zoom-in;
}
.review-card-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20,15,15,0.4);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.review-nav.prev { left: 10px; }
.review-nav.next { right: 10px; }
.review-dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 12px 0 4px; }
.review-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); border: none; padding: 0; cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.review-dot.active { background: var(--accent); width: 18px; border-radius: 4px; }

.case-carousel { max-width: 90px; margin: 14px auto 0; }
.case-carousel-frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; }
.case-carousel-frame img { display: block; width: 100%; height: auto; }
.case-carousel-caption { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

/* ---------- sticky bottom CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  justify-content: center;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 55%, transparent);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.sticky-cta.visible { transform: translateY(0); pointer-events: auto; }
.sticky-cta .cta { width: 100%; max-width: 360px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

/* ---------- guide page ---------- */
.guide-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.funnel { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 20px 0; }
.funnel-step {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
}
.funnel-step strong { display: block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 2px; }
.funnel-step span { display: block; color: var(--muted); font-size: 0.82rem; }
.funnel-arrow { color: var(--muted); font-size: 1.2rem; line-height: 1.5; }
.guide-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.guide-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg); }
.guide-check li::before { content: "☐"; color: var(--muted); font-size: 1rem; line-height: 1.4; flex-shrink: 0; }
.guide-progress-bar { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 60; background: transparent; }
.guide-progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.1s linear; }
.guide-progress-badge {
  position: fixed;
  right: 14px;
  bottom: 84px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index: 60;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  font-family: inherit;
  cursor: pointer;
}
.guide-progress-badge.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.guide-progress-menu {
  position: fixed;
  right: 14px;
  bottom: 130px;
  width: min(280px, calc(100vw - 28px));
  max-height: 60vh;
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
  padding: 8px;
  z-index: 61;
  display: none;
}
.guide-progress-menu.open { display: block; }
.guide-progress-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--fg);
  cursor: pointer;
  font-family: inherit;
}
.guide-progress-menu button:hover { background: var(--bg); }
.guide-progress-menu button.active { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 700; }
.guide-progress-menu button .num { color: var(--muted); margin-right: 6px; }
.guide-copy-btn {
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.guide-copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.guide-copy-btn.copied { background: var(--accent); border-color: var(--accent); color: #fff; }
.guide-progress-menu button.active .num { color: var(--accent); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20,15,15,0.85);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox-btn {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  cursor: pointer;
}
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 16px; right: 16px; width: 36px; height: 36px; }
.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ---------- compare table ---------- */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table th,
.compare-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  color: var(--muted);
}
.compare-table thead th {
  font-weight: 800;
  padding-top: 0;
}
.compare-table thead th.compare-pro {
  color: var(--accent);
}
.compare-table td.compare-pro,
.compare-table th.compare-pro {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.compare-table .compare-check { color: var(--accent); font-weight: 700; }
.compare-table .compare-dash { color: var(--muted); }
.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table .compare-price { color: var(--accent); font-size: 1.1rem; font-weight: 700; }
