/* ══════════════════════════════════════
   SERVICES & PACKAGES SECTION
══════════════════════════════════════ */
#services {
  padding: var(--space-24) 0 var(--space-20);
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass-strong), transparent);
}

#services::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(155,168,181,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Section header */
.services-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.services-header .section-title { margin: 0 auto var(--space-4); }
.services-header p {
  margin: 0 auto;
  text-align: center;
}

/* ── Services grid (6 cards) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.service-card {
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(201,166,107,0.15), rgba(201,166,107,0.05));
  border: 1px solid rgba(201,166,107,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(201,166,107,0.2);
  box-shadow: 0 4px 16px rgba(201,166,107,0.2);
}

.service-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 100%;
  margin: 0;
}

/* Notary card (special) */
.service-card.notary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  border-color: rgba(201,166,107,0.2);
  background: rgba(201,166,107,0.04);
}

.service-card.notary p { max-width: 100%; }

/* ── Packages section ── */
.packages-header {
  text-align: center;
  margin: var(--space-20) 0 var(--space-10);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
  margin-bottom: var(--space-16);
}

.pricing-card {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pricing-card .package-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card .package-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.pricing-card .package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: left;
  margin: var(--space-4) 0;
}

.pricing-card .package-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-card .package-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201,166,107,0.15);
  border: 1px solid rgba(201,166,107,0.35);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C9A66B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pricing-card .package-cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Recommended badge */
.recommended-badge {
  display: inline-flex;
  padding: 4px 14px;
  background: var(--accent-gold);
  color: #0E0D09;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

/* ── Process flow infographic ── */
.process-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.process-infographic {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
}

.process-infographic img {
  width: 100%;
  height: auto;
  display: block;
}

.process-infographic .process-img-es { display: none; }

body.lang-es .process-infographic .process-img-en { display: none; }
body.lang-es .process-infographic .process-img-es { display: block; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.notary { grid-column: auto; flex-direction: column; }
  .packages-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

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