/* Shared styles for the service pages. Tokens match the homepage so both read as one site. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #ececef;
  --text: #1d1d1f;
  --text-dim: #6e6e73;
  --accent-rgb: 232,68,58;
  --accent: #e8443a;
  --accent-hover: #c9362e;
  --accent-soft: rgba(var(--accent-rgb),0.10);
  --ok: #1f9d55;
  --line: rgba(0,0,0,0.08);
  --nav-bg: rgba(245,245,247,0.72);
  --nav-border: rgba(0,0,0,0.06);
  --logo-filter: grayscale(100%) brightness(0.4);
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
}
[data-theme="dark"] {
  --bg: #0d0d0d;
  --surface: #161617;
  --surface-2: #222224;
  --text: #ffffff;
  --text-dim: #8a8a8f;
  --accent-soft: rgba(var(--accent-rgb),0.16);
  --ok: #3ccf7a;
  --line: rgba(255,255,255,0.08);
  --nav-bg: rgba(13,13,13,0.72);
  --nav-border: rgba(255,255,255,0.06);
  --logo-filter: grayscale(100%) brightness(3);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Baloo 2', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
a { color: inherit; }

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between;
  background: var(--nav-bg); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
}
.nav-brand { font-weight: 800; font-size: 24px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.nav-brand .dot { color: var(--accent); }
.nav-tag { font-size: 8px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); margin-top: 5px; white-space: nowrap; }
.nav-tag span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--text-dim); text-decoration: none; transition: color 0.3s; background: none; border: none; font-family: inherit; cursor: pointer; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); }
.nav-menu { position: relative; }
.nav-drop {
  position: absolute; top: calc(100% + 14px); right: -120px;
  width: 720px; padding: 18px; display: none; grid-template-columns: repeat(3, 1fr); gap: 8px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.nav-drop.open { display: grid; }
.nav-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); padding: 4px 12px 8px; }
.nav-drop a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text); }
.nav-drop a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-drop a[aria-current="page"] { color: var(--accent); }
.theme-toggle { width: 36px; height: 36px; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-dim); }
.theme-toggle:hover { background: var(--accent-soft); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ====== PAGE HERO ====== */
.page-hero { max-width: 1000px; margin: 0 auto; padding: 136px 40px 40px; }
.crumbs { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 28px; }
.page-hero h1 { font-weight: 800; font-size: 60px; line-height: 1.04; letter-spacing: -0.025em; margin-top: 10px; text-wrap: balance; }
.page-hero .lead { font-size: 21px; line-height: 1.55; color: var(--text-dim); margin-top: 22px; max-width: 38em; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-btn {
  display: inline-block; padding: 17px 40px; background: var(--accent); color: #fff; border: none; border-radius: 8px;
  font-family: inherit; font-size: 18px; font-weight: 800; cursor: pointer; text-decoration: none; letter-spacing: -0.01em;
  box-shadow: 0 4px 24px rgba(var(--accent-rgb),0.3); transition: background 0.3s, transform 0.2s;
}
.cta-btn:hover { background: var(--accent-hover); transform: scale(1.03); }
.hero-phone { font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none; }
.hero-phone small { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); }

/* ====== CONTENT ====== */
.content { max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.block { padding: 64px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: none; }
.block h2 { font-weight: 800; font-size: 38px; line-height: 1.1; letter-spacing: -0.015em; max-width: 20em; text-wrap: balance; }
.block h3 { font-weight: 800; font-size: 22px; line-height: 1.2; margin-top: 28px; }
.block p, .block li { font-size: 18px; line-height: 1.65; color: var(--text-dim); }
.block p { margin-top: 16px; max-width: 40em; }
.block p b, .block li b, .block p strong, .block li strong { color: var(--text); font-weight: 700; }
.block ul.ticks, .block ol.nums { list-style: none; margin-top: 18px; max-width: 44em; }
.block ul.ticks li, .block ol.nums li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); position: relative; }
.block ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 11px; font-weight: 800; color: var(--accent); }
.block ol.nums { counter-reset: n; }
.block ol.nums li { counter-increment: n; }
.block ol.nums li::before { content: counter(n); position: absolute; left: 0; top: 11px; font-weight: 800; color: var(--accent); }
.block a:not(.cta-btn) { color: var(--accent); text-decoration: none; font-weight: 600; }
.block a:not(.cta-btn):hover { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; transition: border-color 0.3s; }
.card:hover { border-color: var(--accent); }
.card h3 { margin-top: 0; font-size: 20px; }
.card p { font-size: 16px; margin-top: 8px; }

.table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface); }
th, td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
thead th { border-top: none; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
td { color: var(--text-dim); }
td:first-child { color: var(--text); font-weight: 700; }

.note { margin-top: 26px; padding: 20px 22px; border-radius: 14px; background: var(--accent-soft); font-size: 17px; line-height: 1.6; max-width: 44em; }

/* ====== FAQ ====== */
.faq details { border-top: 1px solid var(--line); max-width: 46em; }
.faq details:first-of-type { margin-top: 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 19px; font-weight: 700; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 600; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; }
.faq .answer p { margin-top: 0; }
.faq .answer p + p { margin-top: 12px; }

/* ====== RELATED + CTA ====== */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.related a { display: block; padding: 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none !important; color: var(--text) !important; font-weight: 700 !important; font-size: 17px; transition: border-color 0.3s; }
.related a span { display: block; font-size: 14px; font-weight: 600; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
.related a:hover { border-color: var(--accent); }

.cta-band { max-width: 1000px; margin: 40px auto 0; padding: 56px 40px; text-align: center; }
.cta-band h2 { font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.cta-band p { font-size: 19px; line-height: 1.6; color: var(--text-dim); margin: 16px auto 0; max-width: 34em; }
.cta-band .cta-btn { margin-top: 30px; }
.cta-band .contact-line { margin-top: 22px; font-size: 16px; color: var(--text-dim); }
.cta-band .contact-line a { color: var(--accent); text-decoration: none; }

/* ====== FOOTER ====== */
.site-footer { max-width: 1200px; margin: 48px auto 0; padding: 48px 40px 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.foot-grid a { display: block; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text); padding: 4px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--text-dim); }
.foot-grid address a { display: inline; padding: 0; color: var(--accent); }
.foot-brand { font-weight: 800; font-size: 22px; }
.foot-brand span { color: var(--accent); }
.foot-legal { margin-top: 36px; font-size: 13px; color: var(--text-dim); text-align: center; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1068px) {
  .page-hero h1 { font-size: 48px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) {
  .nav { padding: 14px 16px; }
  .nav-right { gap: 12px; }
  .nav-link.hide-sm { display: none; }
  .nav-drop { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; grid-template-columns: 1fr; }
  .page-hero { padding: 112px 16px 28px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero .lead { font-size: 18px; }
  .content { padding: 0 16px; }
  .block { padding: 48px 0; }
  .block h2 { font-size: 30px; }
  .block p, .block li { font-size: 17px; }
  .grid, .grid.two, .related { grid-template-columns: 1fr; }
  .faq summary { font-size: 18px; }
  .cta-band { padding: 48px 16px; }
  .cta-band h2 { font-size: 32px; }
  .site-footer { padding: 40px 16px 32px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .cta-btn { width: 100%; text-align: center; padding: 17px 24px; }
}
