/* ============================================================
   RÍOS & ASOCIADOS — services.css
   Estilos específicos para páginas de servicios individuales
   Depende de: ../css/style.css
   ============================================================ */

/* ── HERO DE SERVICIO ─────────────────────────────────────── */
.service-page-hero {
  background: radial-gradient(circle at 50% 15%, #241012 0%, #151518 50%, #0D0D0F 100%);
  border-bottom: 1px solid var(--brand-black-border);
  padding: 72px 0 64px;
}

.service-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.service-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #FF5A5A;
  margin-bottom: 16px;
}

.service-hero-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.service-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
}

.service-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.service-hero-microcopy {
  margin-top: 14px;
  font-size: .8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-hero-microcopy .micro-icon {
  color: var(--brand-primary);
}

/* ── LAYOUT PRINCIPAL ─────────────────────────────────────── */
.service-layout {
  padding: 64px 0;
  background: var(--brand-black);
}

.service-layout-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ── CUERPO DEL SERVICIO ──────────────────────────────────── */
.service-body-h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 12px;
}

.service-body-p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 28px;
  padding-left: 0;
}

.service-check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

.service-check-list .check-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-internal-link {
  font-size: .9375rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--brand-black-border);
}
.service-internal-link a {
  color: var(--brand-primary);
  font-weight: 600;
}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.service-sidebar-widget {
  background: var(--brand-black-card);
  border: 1px solid var(--brand-black-border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.service-sidebar-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.service-sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-sidebar-links a {
  display: block;
  font-size: .9rem;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--brand-black-border);
  transition: color .2s, padding-left .2s;
  text-decoration: none;
}

.service-sidebar-links li:last-child a {
  border-bottom: none;
  padding-bottom: 4px;
}

.service-sidebar-links a:hover {
  color: var(--brand-primary);
  padding-left: 4px;
}

.service-sidebar-links a.active {
  color: var(--brand-primary);
  font-weight: 700;
  border-left: 3px solid var(--brand-primary);
  padding-left: 10px;
}

/* Sidebar CTA widget */
.sidebar-cta-widget {
  background: #161619 !important;
  border: 1px solid #D83939 !important;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  color: #E2E8F0;
}

.sidebar-cta-widget h3,
.sidebar-cta-widget .service-sidebar-title {
  color: #FFFFFF !important;
}

.sidebar-cta-widget p {
  font-size: .875rem;
  color: #E2E8F0 !important;
  margin-bottom: 14px;
  line-height: 1.6;
}

.sidebar-cta-widget .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
  font-size: .875rem;
  padding: 10px 16px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1023px) {
  .service-hero-inner { grid-template-columns: 1fr; }
  .service-layout-inner { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .service-page-hero { padding: 56px 0 48px; }
  .service-layout { padding: 48px 0; }
}

@media (max-width: 639px) {
  .service-hero-ctas { flex-direction: column; align-items: stretch; }
  .service-hero-ctas .btn { justify-content: center; }
}
