:root {
  --bg: #ffffff;
  --bg-soft: #f7f9f8;
  --panel: #ffffff;
  --panel-strong: #f1f5f3;
  --text: #0f1720;
  --muted: #5f6b66;
  --line: #e5ebe8;
  --accent: #00c16a;
  --accent-dark: #02150d;
  --shadow: 0 10px 30px rgba(15, 23, 32, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 110px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  color: var(--text);
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu a {
  color: var(--muted);
  transition: 0.2s ease;
}

.menu a:hover {
  color: var(--text);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(135deg, #00c16a, #00e67a);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 200, 120, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 200, 120, 0.22);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary:hover,
.btn-small:hover {
  background: var(--panel-strong);
}

/* TYPO */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
}

p {
  color: var(--muted);
}

/* HERO */

.hero {
  padding: 96px 0 72px;
  background: linear-gradient(
    180deg,
    rgba(0, 193, 106, 0.08) 0%,
    rgba(0, 193, 106, 0.02) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(0, 193, 106, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 193, 106, 0.16);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -2px;
  margin-bottom: 22px;
  max-width: 10ch;
}

h2 {
  letter-spacing: -1px;
}

.hero-text {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.proof-item strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--text);
}

.proof-item span {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.metric-label {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.metric-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.metric-card p {
  color: var(--muted);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.mini-stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}

.mini-stat-number {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.mini-stat-text {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* STRIP */

.logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.logos-strip-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

/* SECTIONS */

.section {
  padding: 92px 0;
}

.section-dark {
  background: #fbfcfb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(0, 193, 106, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

/* STEPS */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
}

/* CTA SIMPLE */

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--muted);
  max-width: 52ch;
}

/* CTA PRO */

.cta-pro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.cta-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-left p {
  margin-bottom: 20px;
  max-width: 55ch;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--muted);
}

.cta-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.cta-box-pro {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box-pro h3 {
  margin-bottom: 10px;
}

.cta-box-pro p {
  margin-bottom: 20px;
  color: var(--muted);
}

.cta-note {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  transition: 0.2s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

/* CONTACT FORM */

#contacto {
  padding-bottom: 96px;
}

#contacto .section-heading {
  margin-bottom: 28px;
}

.contact-form {
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 193, 106, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form .btn-primary {
  min-width: 220px;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* FOOTER */

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .steps,
  .cta-box,
  .cta-pro {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 28px;
  }

  .menu {
    display: none;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav {
    min-height: 70px;
  }

  .hero {
    padding: 72px 0 46px;
  }

  .section {
    padding: 70px 0;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
  }

  .contact-form .btn-primary {
    width: 100%;
    min-width: 0;
  }
}