/* Shared styles for Agla Consulting service pages (used with legal.css for nav and footer). */
.svc { flex: 1 0 auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.svc-hero { background-color: #0f172a; color: #e2e8f0; padding: 120px 0 64px; }
.svc-hero .crumb, .svc-hero .crumb a { color: #94a3b8; }
.svc-hero .crumb { font-size: 0.875rem; margin-bottom: 20px; }
.eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #93c5fd; margin-bottom: 12px; }
.svc-hero h1 { font-size: 2.75rem; line-height: 1.15; font-weight: 800; color: #ffffff; letter-spacing: -0.02em; max-width: 820px; margin-bottom: 20px; }
.svc-hero h1 span { color: #60a5fa; }
.svc-hero .lead { font-size: 1.1875rem; color: #cbd5e1; max-width: 760px; line-height: 1.65; margin-bottom: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn-primary { background-color: #2563eb; color: #ffffff; }
.btn-primary:hover { background-color: #1d4ed8; color: #ffffff; }
.btn-ghost { border: 1px solid #64748b; color: #ffffff; }
.btn-ghost:hover { border-color: #93c5fd; color: #ffffff; }

.band { padding: 72px 0; }
.band.gray { background-color: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.band h2 { font-size: 2rem; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; margin-bottom: 12px; text-align: center; }
.band .sub { text-align: center; color: #475569; max-width: 760px; margin: 0 auto 40px; line-height: 1.6; }

.pain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain div { border-left: 3px solid #b91c1c; padding: 4px 0 4px 16px; }
.pain h3 { font-size: 1.0625rem; color: #0f172a; margin-bottom: 6px; }
.pain p { font-size: 0.9375rem; color: #475569; line-height: 1.55; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 26px 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px -12px rgba(15, 23, 42, 0.15); }
.card .ico { width: 44px; height: 44px; border-radius: 10px; background-color: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card h3 { font-size: 1.125rem; color: #0f172a; margin-bottom: 8px; }
.card p { font-size: 0.9375rem; color: #475569; line-height: 1.6; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.flow li { background-color: #ffffff; border: 1px solid #e2e8f0; border-top: 3px solid #2563eb; border-radius: 12px; padding: 20px 18px; }
.flow .n { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #2563eb; margin-bottom: 6px; }
.flow h3 { font-size: 1.0625rem; color: #0f172a; margin-bottom: 6px; }
.flow p { font-size: 0.875rem; color: #475569; line-height: 1.55; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 14px; color: #334155; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 9999px; background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks strong { color: #0f172a; }
.two h2 { text-align: left; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.tools li { background-color: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; font-size: 0.875rem; font-weight: 600; padding: 6px 14px; border-radius: 9999px; }
.who { color: #334155; line-height: 1.7; }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: #0f172a; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #2563eb; font-size: 1.375rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; border-radius: 12px; }
.faq p { padding: 0 22px 18px; color: #475569; line-height: 1.65; }

.svc-cta { background-color: #0f172a; color: #cbd5e1; text-align: center; padding: 64px 0; }
.svc-cta h2 { color: #ffffff; font-size: 1.875rem; font-weight: 800; margin-bottom: 12px; }
.svc-cta p { max-width: 640px; margin: 0 auto 24px; line-height: 1.6; }
.svc-cta .btn-row { justify-content: center; }
.svc-cta a.text-link { color: #93c5fd; }

@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .pain { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .svc-hero { padding: 100px 0 48px; }
  .svc-hero h1 { font-size: 2rem; }
  .cards, .two, .pain { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .band h2 { font-size: 1.625rem; }
}

/* Related services (internal links between service pages) */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 22px; text-decoration: none; color: #334155; }
.related a:hover { border-color: #2563eb; }
.related .rs { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #2563eb; margin-bottom: 4px; }
.related strong { display: block; color: #0f172a; font-size: 1.0625rem; margin-bottom: 4px; }
.related .cur { border-style: dashed; background-color: #f8fafc; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
