:root {
  --orange: #FF5A1F;
  --orange-dark: #D94A12;
  --dark: #1A1A2E;
  --mid: #3D3D5C;
  --light: #FFF8F5;
  --warm: #FFF3EC;
  --gray: #6B6B8D;
  --border: #E8E0D8;
  --white: #FFFFFF;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;

  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TOPBAR ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ── HERO ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--warm);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  margin-bottom: 36px;
  max-width: 440px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 1.15rem;
  padding: 18px 36px;
}

/* ── HERO VISUAL ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.stat-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.15;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-unit {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 280px;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--mid);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── NUMBERS ── */
.numbers {
  background: var(--dark);
  padding: 60px 40px;
}

.numbers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: center;
}

.num-item {
  flex: 1;
  padding: 0 40px;
}

.num-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.num-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.num-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.12);
}

/* ── SHARED SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── QUE HACEMOS ── */
.que-hacemos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.serv-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.serv-card:hover {
  box-shadow: 0 8px 32px rgba(255, 90, 31, 0.12);
  transform: translateY(-2px);
}

.serv-card.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.serv-card.featured h3,
.serv-card.featured p {
  color: var(--white);
}

.serv-card.featured .serv-icon {
  background: rgba(255, 90, 31, 0.2);
}

.serv-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.serv-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.serv-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── METODOLOGIA ── */
.metodologia {
  background: var(--warm);
  padding: 80px 40px;
}

.step-row {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.25;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--orange);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ── TESTIMONIOS ── */
.testimonios {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.test-niche {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 10px;
}

.test-text {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.test-result {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

/* ── CIERRE ── */
.cierre {
  background: var(--dark);
  padding: 100px 40px;
}

.cierre-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cierre-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cierre-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cierre-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* ── FOOTER ── */
.footer {
  background: var(--light);
  border-top: 1.5px solid var(--border);
  padding: 48px 40px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-links span {
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--gray);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
    gap: 40px;
  }

  .serv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  .numbers-inner {
    flex-direction: column;
    gap: 32px;
  }

  .num-divider {
    width: 80px;
    height: 1px;
  }

  .step-row {
    flex-direction: column;
    gap: 16px;
  }

  .step-arrow {
    display: none;
  }

  .topbar {
    padding: 16px 24px;
  }

  .que-hacemos, .testimonios {
    padding: 60px 24px;
  }

  .metodologia {
    padding: 60px 24px;
  }

  .cierre {
    padding: 80px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .serv-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }
}