/* ══════════════════════════════════════════════════════════════
   ACode Solutions — service-page.css
   Extends styles.css for /ar/ and /py/ service landing pages
   ══════════════════════════════════════════════════════════════ */

/* ── Page hero (shorter than home hero) ── */
.page-hero {
  min-height: auto;
  padding: 140px clamp(1.5rem, 4vw, 4rem) 80px;
}

.page-hero .hero-content { max-width: 700px; }

/* ── Content container ── */
.content { max-width: 860px; margin: 0 auto; }

/* ── Service cards grid ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
  position: relative;
}

.svc-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.svc-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-hero);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.svc-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.svc-card p strong { color: var(--text-primary); font-weight: 500; }

/* ── Module checklist ── */
.module-list { margin-top: 2rem; }

.module-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.module-item:last-child { border-bottom: none; }

.module-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.module-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-hero);
  margin-bottom: 0.3rem;
}

.module-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Beta badge ── */
.badge-beta {
  display: inline-block;
  background: rgba(250,204,21,0.12);
  color: #facc15;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── Differentiator blocks ── */
.diff-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  margin-top: 1.25rem;
  transition: all 0.4s var(--ease-out);
}

.diff-block:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.diff-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-hero);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.diff-block p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.diff-block p strong { color: var(--text-primary); font-weight: 500; }

/* ── Process steps (vertical) ── */
.process-list { margin-top: 2rem; }

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.process-step:last-child { border-bottom: none; }

.process-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-hero);
  margin-bottom: 0.3rem;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CTA section ── */
.cta-section {
  background: var(--bg-deep);
  text-align: center;
  padding-bottom: 4rem;
}

.cta-content {
  max-width: 560px;
  margin: 0 auto;
}

.cta-section .section-title { margin-bottom: 1rem; }
.cta-section .section-subtitle { text-align: center; margin: 0 auto 2.5rem; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.25);
}

/* ── Hero badge for country ── */
.hero-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-country-badge.ar {
  border: 1px solid var(--border-accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.hero-country-badge.py {
  border: 1px solid rgba(212,45,72,0.25);
  color: #f87171;
  background: rgba(212,45,72,0.08);
}

.hero-country-badge.rescue {
  border: 1px solid rgba(255,95,95,0.25);
  color: var(--error);
  background: rgba(255,95,95,0.08);
}

.hero-country-badge.migrate {
  border: 1px solid rgba(0,212,232,0.25);
  color: var(--accent-cyan);
  background: rgba(0,212,232,0.08);
}

/* ── Paraguay glow override ── */
.page-hero.py::before {
  background: radial-gradient(circle, rgba(212,45,72,0.04) 0%, transparent 65%);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
