@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:    #CDCDCD;
  --bg2:   #D8D8D8;
  --card:  #E4E4E4;
  --txt:   #1A1A1A;
  --txt2:  #444444;
  --border: rgba(26,26,26,0.12);
  --signal:       #E31600;
  --signal-muted: #C41200;
  --positive: #1a7a3a;
  --r:  8px;
  --r2: 12px;
  --r3: 999px;
  --ease: cubic-bezier(.16,1,.3,1);
  --f: 'Inter', -apple-system, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: var(--f); background: var(--bg); color: var(--txt2); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt2); margin-bottom: 12px;
}
.label-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); flex: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(26,26,26,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.nav.scrolled { background: rgba(26,26,26,1); }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r);
  background: var(--signal); color: #fff;
  font-weight: 700; font-size: 13px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--signal-muted); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 10px; border-radius: var(--r); }
.nav-hamburger span { display: block; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: .3s var(--ease); transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(26,26,26,.98); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; padding: 80px 32px 40px; gap: 4px;
  transform: translateX(100%); transition: transform .35s var(--ease); pointer-events: none;
}
.nav-drawer.open { transform: translateX(0); pointer-events: all; }
.nav-drawer a { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.6); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-transform: uppercase; transition: color .2s; }
.nav-drawer a:hover { color: #fff; }
.nav-drawer .drawer-cta { margin-top: 24px; display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: var(--r2); background: var(--signal); color: #fff; font-weight: 700; font-size: 15px; border-bottom: none; }

/* ── PAGE HEADER ── */
.page-hero {
  padding: 120px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.0;
  color: var(--txt); margin-bottom: 14px;
}
.page-hero .sub { font-size: 15px; color: var(--txt2); line-height: 1.75; max-width: 52ch; margin: 0 auto; }

/* ── CALC SECTION ── */
.calc-section { padding: 64px 0 80px; }
.calc-wrap { max-width: 900px; margin: 0 auto; }

.calc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden; margin-bottom: 1px;
}

.input-card, .results-card {
  background: var(--card); padding: 32px;
}

.card-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt2); margin-bottom: 24px;
}
.card-title svg { width: 16px; height: 16px; stroke: var(--signal); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.igroup { margin-bottom: 16px; }
.igroup:last-child { margin-bottom: 0; }
.igroup label { display: block; font-size: 11px; font-weight: 600; color: var(--txt2); margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.igroup input {
  width: 100%; padding: 12px 14px; font-size: 14px;
  color: var(--txt); background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); transition: border-color .2s;
}
.igroup input:focus { outline: none; border-color: rgba(26,26,26,.4); }
.igroup input::placeholder { color: #999; }

.result-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.result-item:last-child { border-bottom: none; }
.result-label { font-size: 12px; font-weight: 500; color: var(--txt2); }
.result-value { font-size: 18px; font-weight: 800; color: var(--txt); letter-spacing: -.02em; }
.result-value.positive { color: var(--positive); }
.result-value.negative { color: var(--signal); }

/* ── BTN CALC ── */
.btn-calc-wrap {
  background: var(--card); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 var(--r2) var(--r2);
  padding: 20px 32px;
}
.btn-calc {
  width: 100%; padding: 15px; border-radius: var(--r);
  background: var(--signal); color: #fff;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .2s, transform .2s;
}
.btn-calc:hover { background: var(--signal-muted); transform: translateY(-1px); }
.btn-calc svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── TIPS ── */
.tips-card {
  margin-top: 16px; border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden;
}
.tips-header {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 24px; background: var(--card);
  border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2);
}
.tips-header svg { width: 14px; height: 14px; stroke: var(--signal); stroke-width: 2; fill: none; flex: none; }
.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.tip-item { background: var(--bg2); padding: 16px 20px; }
.tip-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--txt); margin-bottom: 3px; }
.tip-item span { font-size: 12px; color: var(--txt2); line-height: 1.5; }

/* ── VERDICT ── */
#roi-verdict {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--r);
  border-left: 4px solid currentColor;
  align-items: flex-start; gap: 12px;
}
#roi-verdict.visible { display: flex; }
.verdict-icon { font-size: 1.4rem; flex: none; line-height: 1; }
.verdict-body {}
.verdict-label { font-size: 15px; font-weight: 800; color: inherit; margin-bottom: 4px; }
.verdict-desc  { font-size: 13px; font-weight: 400; opacity: .8; line-height: 1.55; }

/* ── CTA DIAGNÓSTICO ── */
.cta-calc {
  margin-top: 16px; background: #1A1A1A;
  border-radius: var(--r2); padding: 48px 40px;
  text-align: center;
}
.cta-calc .label { color: #888; justify-content: center; }
.cta-calc-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  color: #fff; margin-bottom: 10px;
}
.cta-calc-sub { font-size: 14px; color: #888; line-height: 1.75; max-width: 52ch; margin: 0 auto 28px; }
.cta-calc-form {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 420px; margin: 0 auto;
}
.cta-calc-form input {
  width: 100%; padding: 13px 16px; font-size: 14px;
  background: #2a2a2a; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); color: #fff; transition: border-color .2s;
}
.cta-calc-form input:focus { outline: none; border-color: rgba(255,255,255,.3); }
.cta-calc-form input::placeholder { color: #555; }
.btn-calc-submit {
  width: 100%; padding: 15px; border-radius: var(--r);
  background: var(--signal); color: #fff;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .2s, transform .2s; margin-top: 4px;
}
.btn-calc-submit:hover { background: var(--signal-muted); transform: translateY(-1px); }

/* ── FOOTER ── */
.footer { background: #111; border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 28px; }
.footer-brand img { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.footer-desc { font-size: 12px; color: #666; line-height: 1.65; }
.footer-col h4 { font-size: 10px; font-weight: 700; color: #666; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 12px; color: #666; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; color: #555; flex-wrap: wrap; gap: 8px; }

/* ── STICKY MOBILE ── */
.sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 10px 14px; background: rgba(205,205,205,.97); border-top: 1px solid var(--border); gap: 9px; }
.sticky-bar .btn-wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: var(--r); background: #25d366; color: #04210f; font-weight: 700; font-size: 13px; }
.sticky-bar .btn-wa svg { width: 17px; height: 17px; fill: #04210f; }
.sticky-bar .btn-cta { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: var(--r); background: var(--signal); color: #fff; font-weight: 700; font-size: 13px; }

/* ── RESPONSIVE ── */
@media(max-width: 960px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .calc-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
}
@media(max-width: 540px) {
  .page-hero { padding: 96px 0 48px; }
  .btn-calc-wrap { padding: 16px 20px; }
  .input-card, .results-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
