/* ═══════════════════════════════════════════════
   components.css — Componentes reutilizables
   ═══════════════════════════════════════════════ */

/* ── Service Card ── */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--cyan), var(--cyan2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--border2);
  background: var(--surface2);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 52px; height: 52px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.25s;
}
.service-card:hover .service-card-icon {
  background: var(--cyan-glow);
  border-color: var(--border2);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text3);
  line-height: 1.65;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover .service-card-link { opacity: 1; }

/* ── Feature / why-us card ── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.28s;
}
.feature-card:hover {
  border-color: var(--border2);
  box-shadow: 0 0 0 1px var(--border2);
}
.feature-card-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 2px solid var(--border2);
}
.feature-card h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text3);
  line-height: 1.65;
}

/* ── Valor card ── */
.valor-card {
  border-left: 2px solid var(--cyan);
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.valor-card:hover {
  background: var(--surface2);
  transform: translateX(4px);
}
.valor-card h4 {
  font-size: 0.95rem;
  color: var(--cyan);
  margin-bottom: 6px;
}
.valor-card p {
  font-size: 0.83rem;
  color: var(--text3);
  line-height: 1.6;
}

/* ── Blog card ── */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.28s;
  text-decoration: none;
  display: block;
}
.blog-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.blog-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text3);
}
.blog-card-body { padding: 24px; }
.blog-card-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.84rem;
  color: var(--text3);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-read {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at left center, rgba(0,200,255,0.06) 0%, transparent 60%);
}
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 0.95rem;
  color: var(--text2);
  max-width: 520px;
}
.cta-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cta-banner { flex-direction: column; padding: 32px 24px; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { justify-content: center; }
}

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--cyan), var(--cyan2));
  opacity: 0.3;
}
.process-step { text-align: center; padding: 0 16px; }
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
  z-index: 1;
}
.process-step h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--text3);
  line-height: 1.55;
}

/* ── Tech logos row ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.tech-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text3);
  transition: all 0.2s;
  text-align: center;
  padding: 0 10px;
}
.tech-item:hover {
  border-color: var(--border2);
  color: var(--cyan);
  background: var(--surface2);
}

/* ── Stat block ── */
.stat-block {
  text-align: center;
}
.stat-block .num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-block .lbl {
  font-size: 0.83rem;
  color: var(--text3);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
