/* =========================================================
   INGRESOS DIGITALES CON IA — LANDING
   Sans-serif estricto · Sistema fonts · 100% responsive
   ========================================================= */

:root {
  --bg:         #ffffff;
  --bg-soft:    #f7f4ef;
  --bg-dark:    #111111;
  --bg-dark2:   #1a1a1a;
  --text:       #141414;
  --text-soft:  #3a3a3a;
  --muted:      #6b6b6b;
  --line:       #e4ddd0;
  --line-dk:    #2a2a2a;
  --red:        #d13d2f;
  --red-dk:     #b0301f;
  --green:      #25D366;
  --green-dk:   #1ea952;
  --gold:       #c9a35a;
  --cream:      #f5efe6;
  --success:    #0f9d58;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Arial, Tahoma, "Segoe UI", Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: Arial, Tahoma, "Segoe UI", Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 700; }

em { font-style: normal; color: var(--red); font-weight: 900; }

p { margin: 0 0 1em; }
p strong { font-weight: 700; color: var(--text); }

a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap.narrow { max-width: 680px; }

/* ---------- TOP HEADER ---------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.brand-mark { color: var(--red); font-size: 14px; line-height: 1; }
.brand-text { white-space: nowrap; }

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--red-dk); color: #fff; }

/* ---------- EYEBROW ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--red);
  font-weight: 800;
  margin: 0 0 1em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold); }

/* ---------- HERO ---------- */
.hero {
  padding: 60px 0 70px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin-bottom: 0.4em; }
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 2em;
  line-height: 1.5;
}

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 2em 0;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}
.stat-value {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-meta { font-size: 13px; color: var(--text-soft); }

/* ---------- CTAs ---------- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 18px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 6px 18px rgba(209, 61, 47, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cta-primary:hover { background: var(--red-dk); color: #fff; transform: translateY(-1px); }
.cta-primary:active { transform: translateY(0); }

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- SECTIONS ---------- */
.section-dark, .section-light, .section-cream, .form-section, .section-chart {
  padding: 60px 0;
}
.section-dark {
  background: var(--bg-dark);
  color: #e8e4dc;
}
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: var(--gold); }
.section-dark .lede { color: #bdb2a0; }

.section-light { background: var(--bg); }
.section-cream { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-chart { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- NO LIST (qué NO hay) ---------- */
.no-list {
  list-style: none;
  padding: 0;
  margin: 2em 0;
  max-width: 640px;
  display: grid;
  gap: 10px;
}
.no-list li {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--red);
  font-size: 16px;
  position: relative;
  padding-left: 48px;
}
.no-list li::before {
  content: "✕";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-weight: 900;
  font-size: 18px;
}

/* ---------- QUOTE ---------- */
blockquote {
  border-left: 4px solid var(--red);
  padding: 20px 0 20px 24px;
  margin: 2.5em 0 0;
  max-width: 640px;
}
blockquote p {
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 600;
  color: #fff;
}
.section-dark blockquote p { color: #fff; }
blockquote cite {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- INTERACTIVE CHART ---------- */
.chart {
  margin: 2em 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  overflow: hidden;
}
.chart-title {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
  font-weight: 700;
}
.chart-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}
.chart-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
  height: 220px;
  padding: 16px 0 8px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.bar {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.bar-fill {
  width: 100%;
  background: linear-gradient(to top, var(--red) 0%, #f2714a 100%);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s, transform 0.15s;
  min-height: 6px;
}
.bar:hover .bar-fill,
.bar.active .bar-fill {
  background: linear-gradient(to top, var(--red-dk) 0%, var(--red) 100%);
  transform: scaleY(1.03);
  transform-origin: bottom;
}
.bar.active .bar-fill {
  box-shadow: 0 0 0 3px rgba(209, 61, 47, 0.2);
}
.bar-label {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 700;
}
.bar.active .bar-label { color: var(--red); }

.chart-detail {
  background: var(--bg-soft);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.detail-month {
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  min-width: 72px;
}
.detail-content {}
.detail-range {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.detail-note {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

.chart-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.5;
}

/* ---------- BENEFITS GRID ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 2em 0;
}
.benefit {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}
.benefit h3 { margin: 0; font-size: 1.15rem; }
.benefit p { margin: 0; font-size: 15px; color: var(--text-soft); }

/* ---------- CONTEXT (Spain numbers) ---------- */
.context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 1.5em;
}
.context-item {
  padding: 24px;
  background: var(--bg);
  border-radius: 12px;
  border-top: 4px solid var(--red);
}
.big-num {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.big-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.big-meta {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------- CASES ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 2em;
}
.case {
  background: var(--bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.case-initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
.case header strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.case header span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.case p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.5;
  flex-grow: 1;
}
.case footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.case-mes {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.case-money {
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 900;
}
.cases-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ---------- INCLUDES LIST ---------- */
.includes {
  list-style: none;
  padding: 0;
  margin: 2em 0;
  display: grid;
  gap: 10px;
  max-width: 720px;
}
.includes li {
  padding: 16px 20px 16px 52px;
  background: var(--bg-dark2);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  color: #ddd;
}
.includes li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}
.includes li strong {
  color: #fff;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

.fine-print {
  font-size: 12px;
  color: #8a8275;
  margin-top: 2em;
  max-width: 640px;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  margin: 2em 0;
  max-width: 720px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  appearance: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 48px 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--red);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 20px 18px; }
.faq-a p { font-size: 15px; color: var(--text-soft); margin: 0; }

/* ---------- DISCLAIMER BOX ---------- */
.honest-box {
  background: var(--bg-soft);
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 24px;
  margin: 2em 0;
  max-width: 720px;
}
.honest-box h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.honest-box p { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.honest-box p:last-child { margin: 0; }

/* ---------- ABOUT LUIS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 1.5em;
  max-width: 860px;
}
.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), #f2714a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.about-text p { margin: 0 0 1em; font-size: 16px; line-height: 1.65; color: var(--text-soft); }
.about-text p:last-of-type { margin-bottom: 1.5em; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.about-points li {
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-soft);
}
.about-points li strong { color: var(--text); }
@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .about-photo { width: 140px; height: 140px; font-size: 54px; margin: 0 auto; }
  .about-points { text-align: left; }
}

/* ---------- CASE TAG (ya sin €) ---------- */
.case-tag {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
  text-align: right;
}

/* ---------- TRUST ROW ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 2em 0;
  max-width: 720px;
}
.trust-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--success);
  font-weight: 900;
}
.trust-title { font-size: 13px; font-weight: 700; color: var(--text); }
.trust-sub { font-size: 11px; color: var(--muted); }

/* ---------- PRICE BOX ---------- */
.price-box {
  background: var(--bg);
  border: 2px solid var(--red);
  border-radius: 14px;
  padding: 28px;
  max-width: 560px;
  margin: 2em 0;
  text-align: center;
}
.price-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-main {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.price-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 14px;
}
.price-payment {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.price-payment span {
  padding: 6px 10px;
  background: var(--bg-soft);
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- FORM ---------- */
.form-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 60px 0 80px;
}

.lead-form {
  margin-top: 1.5em;
  background: var(--bg);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(209, 61, 47, 0.1);
}

.checkbox-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-field input { width: auto; margin-top: 3px; flex-shrink: 0; }

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(209, 61, 47, 0.25);
}
.submit-btn:hover:not(:disabled) { background: var(--red-dk); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn .btn-loading { display: none; }
.submit-btn.loading .btn-text { display: none; }
.submit-btn.loading .btn-loading { display: inline; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.5;
}

.form-error {
  margin-top: 16px;
  padding: 14px;
  background: #fde8e5;
  border-left: 3px solid var(--red);
  color: var(--red-dk);
  font-size: 14px;
  border-radius: 6px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #8a8275;
  padding: 32px 0;
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer .copy { margin: 0; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-nav a { color: #8a8275; text-decoration: none; }
.foot-nav a:hover { color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 680px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 40px 0 50px; }
  .section-dark, .section-light, .section-cream, .form-section, .section-chart { padding: 44px 0; }
  .stats {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .stat { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .stat-value { font-size: 1.1rem; }
  .lead-form { padding: 20px; }
  .cta-primary { padding: 16px 24px; font-size: 15px; width: 100%; }
  .chart { padding: 16px; }
  .chart-bars { gap: 3px; height: 170px; }
  .bar-label { font-size: 9px; }
  .chart-detail {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .detail-month { justify-self: center; }
  .top { padding: 10px 14px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .brand-text { display: none; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .chart-bars { height: 140px; gap: 2px; }
  .bar-label { font-size: 8px; letter-spacing: -0.02em; }
}
