/* ═══════════════════════════════════════════════
   sections.css — Servicios, Nosotros, Testimonios
   Rodax Group Labs
═══════════════════════════════════════════════ */

/* ── SERVICIOS ─────────────────────────────── */

#servicios { border-top: 1px solid var(--border); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.srv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.srv-card:hover {
  border-color: rgba(37, 99, 235, .32);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}
.srv-card:hover::after { opacity: 1; }

.srv-ico {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(37, 99, 235, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  transition: background .3s;
}
.srv-card:hover .srv-ico { background: rgba(37, 99, 235, .2); }

.srv-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.srv-card p {
  font-size: .875rem;
  color: var(--text-sec);
  line-height: 1.7;
}
.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-h);
  text-decoration: none;
  margin-top: 1.1rem;
  transition: gap .2s;
}
.srv-link:hover { gap: 9px; }


/* ── NOSOTROS ──────────────────────────────── */

#nosotros { border-top: 1px solid var(--border); }

.nos-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 2rem;
}
.pillar {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  transition: border-color var(--tr), background var(--tr);
}
.pillar:hover {
  border-color: var(--border-b);
  background: var(--bg-card2);
}
.pl-ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(37, 99, 235, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.pl-body h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.pl-body p {
  font-size: .8rem;
  color: var(--text-sec);
  line-height: 1.55;
}

/* Stats grid */
.stats-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-c {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color var(--tr);
}
.stat-c:hover { border-color: var(--border-b); }
.stat-n {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}
.stat-n em { font-style: normal; color: var(--cyan); }
.stat-d {
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: 5px;
}
.stat-c.full {
  grid-column: span 2;
  background: var(--blue);
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
}
.stat-c.full .stat-n { font-size: 1.75rem; }
.stat-c.full .stat-d { color: rgba(255, 255, 255, .65); }
.stat-pill {
  background: rgba(255, 255, 255, .18);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}


/* ── TESTIMONIOS ───────────────────────────── */

#testimonios { border-top: 1px solid var(--border); }

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

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.test-card:hover {
  border-color: var(--border-b);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .4);
}
.test-card.feat {
  background: var(--blue);
  border-color: transparent;
}
.test-card.feat .t-body { color: rgba(255, 255, 255, .82); }
.test-card.feat .t-role { color: rgba(255, 255, 255, .55); }

.t-stars {
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.t-body {
  font-size: .875rem;
  color: var(--text-sec);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.3rem;
}
.t-author {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.t-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.test-card.feat .t-av { background: rgba(255, 255, 255, .2); }
.t-name {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
}
.t-role {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 2px;
}
