/* ============================================================
   RegisterEasy — Premium, responsive design system
   ============================================================ */

:root {
  --bg: #f4f7fb;
  --paper: #ffffff;
  --surface: #f8fbff;
  --surface-2: #eef5ff;
  --border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --muted: #5f6f84;
  --muted-strong: #334155;
  --accent: #1b6ef3;
  --accent-strong: #1557bf;
  --accent-soft: #eaf3ff;
  --teal: #0f9d7a;
  --teal-soft: #e8f8f2;
  --danger: #dc2626;
  --blue-900: #0f172a;
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --green-500: #10b981;
  --green-600: #047857;
  --green-100: #dcfce7;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #94a3b8;
  --ink-100: #e2e8f0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 20px 60px rgba(27, 110, 243, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --maxw: 1180px;
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 110, 243, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(15, 157, 122, 0.08), transparent 24%),
    var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

::selection {
  background: rgba(27, 110, 243, 0.18);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
a:hover {
  color: var(--accent-strong);
  text-decoration: none;
}

img { max-width: 100%; display: block; }
ul { padding-left: 1.25rem; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.65em;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; color: var(--muted-strong); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 78px 0;
}
.section--tight { padding: 56px 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 246, 255, 0.95) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lede {
  font-size: 1.06rem;
  color: var(--muted-strong);
  max-width: 62ch;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 16px 32px rgba(27, 110, 243, 0.2);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); }
.btn-accent {
  background: linear-gradient(135deg, var(--teal), #0b8a6a);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 157, 122, 0.18);
}
.btn-accent:hover { filter: brightness(0.96); }
.btn-ghost {
  background: var(--paper);
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.btn-ghost:hover { border-color: rgba(27, 110, 243, 0.24); color: var(--accent); }
.btn-light {
  background: rgba(255,255,255,0.95);
  color: var(--accent);
  border-color: rgba(255,255,255,0.28);
}
.btn-light:hover { background: #fff; }
.btn-sm { padding: 11px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  min-width: 0;
}
.brand img {
  height: 40px;
  width: 40px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(27, 110, 243, 0.16);
}
.brand span { display: flex; flex-direction: column; min-width: 0; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted-strong);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 9px 12px;
  border-radius: 999px;
}
.nav-links a:hover { background: rgba(27, 110, 243, 0.08); color: var(--accent); }
.nav-links a.active { color: var(--accent); background: rgba(27, 110, 243, 0.12); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

body.nav-open { overflow: hidden; }
body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
  z-index: 90;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  color: #fff;
  background: linear-gradient(135deg, #0d172a 0%, #142b57 38%, #1b6ef3 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -80px auto auto -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 157, 122, 0.22), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; max-width: 11ch; }
.hero .lede { color: rgba(241,250,255,0.92); }
.hero-eyebrow {
  color: #dbeafe;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-stats div b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.62rem;
  color: #fff;
}
.hero-stats div span { font-size: 0.9rem; color: rgba(241,250,255,0.8); }
.hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding: 10px;
  max-width: 660px;
  border-radius: 999px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 24px 50px rgba(9, 20, 39, 0.2);
}
.hero-search input {
  flex: 1;
  min-width: 220px;
  border: none;
  outline: none;
  padding: 16px 18px;
  font-size: 0.98rem;
  border-radius: 999px;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
}
.hero-search button { min-width: 132px; border-radius: 999px; }
.hero-panel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-panel h3 {
  color: #fff;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.hero-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-panel-list li { display: flex; gap: 12px; align-items: flex-start; color: #e6eefc; font-size: 0.95rem; }
.hero-panel-list b { color: #fff; display: block; font-weight: 700; }
.check-ico { color: var(--teal); flex: 0 0 auto; font-size: 1rem; line-height: 1.2; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(27, 110, 243, 0.16);
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(27, 110, 243, 0.14), rgba(15, 157, 122, 0.16));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card a.card-link { font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }

.blog-excerpt {
  max-height: calc(1.65rem * 5);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  text-overflow: ellipsis;
}

.card.expanded .blog-excerpt {
  display: none;
}

.blog-full-content {
  margin-top: 16px;
  color: var(--muted-strong);
  line-height: 1.8;
}

.blog-full-content p {
  margin: 0;
}

.card-actions {
  margin-top: 16px;
}

.view-more-btn {
  padding: 10px 16px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 110, 243, 0.16);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
}
.contact-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink-900);
}
.contact-card p {
  margin-bottom: 16px;
  color: var(--muted-strong);
}
.contact-card-meta {
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: var(--ink-500);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.about-card-grid {
  position: relative;
  padding: 24px;
}
.about-card-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80% auto;
  opacity: 0.16;
}
.about-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.8), transparent 50%);
  pointer-events: none;
}
.about-card h3,
.about-card p {
  position: relative;
  z-index: 1;
}

/* About page feature card colors */
.about-card .about-card__content h3 {
  color: var(--blue-600);
  font-weight: 700;
}
.about-card .about-card__content p {
  color: var(--green-600);
}

.svc-card {
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  box-shadow: var(--shadow-soft);
}
.svc-card__main { min-width: 0; }
.svc-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  justify-self: end;
  min-width: 0;
}
.svc-card h3 { font-size: 1.04rem; margin-bottom: 4px; }
.svc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(27, 110, 243, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  width: max-content;
}
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.svc-meta b { color: var(--text); }
.svc-fee {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.06rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.svc-fee span { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.svc-card__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.svc-card__actions .btn { min-width: 120px; }

.service-modal { display: none; position: fixed; inset: 0; background: rgba(10, 14, 30, 0.6); z-index: 200; align-items: center; justify-content: center; padding: 20px; }
.service-modal.open { display: flex; }
.service-modal-shell {
  background: #fff;
  border-radius: 22px;
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}
.service-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}
.service-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.service-modal-actions .btn { flex: 1 1 180px; }

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
  padding: 16px 18px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--surface);
  min-width: 200px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(27, 110, 243, 0.28);
  background: #fff;
}
.filter-bar input { flex: 1; }

.pill-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.pill-row button { flex: 0 0 auto; }

.form-card {
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--muted-strong); }
.field input,
.field select,
.field textarea {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(27, 110, 243, 0.28);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.84rem; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 16px; font-size: 0.94rem; margin-bottom: 18px; display: none; }
.alert.show { display: block; }
.alert-success { background: rgba(15, 157, 122, 0.12); color: #0b5f45; border: 1px solid rgba(15, 157, 122, 0.2); }
.alert-error { background: rgba(220, 38, 38, 0.12); color: #991b1b; border: 1px solid rgba(220, 38, 38, 0.18); }

.calc { background: var(--paper); border: 1px solid rgba(15, 23, 42, 0.07); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); }
.calc-result { background: rgba(27, 110, 243, 0.08); border-radius: 18px; padding: 18px; margin-top: 16px; }
.calc-result .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.94rem; color: var(--muted-strong); }
.calc-result .row b { color: var(--text); }
.calc-result .total { font-size: 1.28rem; font-family: var(--font-head); font-weight: 700; color: var(--accent); margin-top: 8px; }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tab-btn {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--muted-strong);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.accordion-item { border: 1px solid rgba(15, 23, 42, 0.07); border-radius: 18px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.accordion-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-family: var(--font-body);
}
.accordion-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; color: var(--muted-strong); font-size: 0.94rem; }
.accordion-item.open .accordion-a { padding: 0 18px 16px; max-height: 520px; }
.accordion-item.open .accordion-q { color: var(--accent); }
.accordion-plus { font-size: 1.25rem; color: rgba(55, 65, 81, 0.65); transition: transform 0.2s ease; }
.accordion-item.open .accordion-plus { transform: rotate(45deg); color: var(--accent); }

.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.badge-useful { background: rgba(15, 157, 122, 0.12); color: #047857; }
.badge-blue { background: rgba(27, 110, 243, 0.12); color: var(--accent); }

.review-card { background: #fff; border-radius: 22px; border: 1px solid rgba(15, 23, 42, 0.07); padding: 24px; box-shadow: var(--shadow-soft); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 8px; }
.review-name { font-weight: 700; margin-top: 10px; }

.site-footer {
  background: linear-gradient(180deg, #0d172a 0%, #0f172a 100%);
  color: #c8d7f2;
  padding: 60px 0 24px;
  margin-top: 70px;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #c8d7f2; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.84rem; color: #94a3b8; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; }
.footer-brand img { height: 34px; }

.skeleton {
  background: linear-gradient(90deg, #eff3f9 25%, #f7f9fc 37%, #eff3f9 63%);
  background-size: 400% 100%;
  animation: sk 1.3s infinite;
  border-radius: 16px;
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.muted { color: var(--muted); }
.divider { height: 1px; background: rgba(15, 23, 42, 0.07); margin: 42px 0; }
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--teal));
  border-radius: 30px;
  padding: 38px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.94); margin: 0; }
.cta-band .btn { border-radius: 999px; padding: 12px 18px; font-weight: 700; }

.breadcrumb { font-size: 0.86rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.toc { background: var(--paper); border: 1px solid rgba(15, 23, 42, 0.07); border-radius: 20px; padding: 20px 22px; }
.toc a { display: block; padding: 6px 0; font-size: 0.92rem; color: var(--muted-strong); }
table.dtable { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.dtable th, table.dtable td { text-align: left; padding: 13px 14px; border-bottom: 1px solid rgba(15, 23, 42, 0.07); }
table.dtable th { color: var(--muted); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

@media (max-width: 980px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px 18px; }
  .brand span { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(360px, 100vw);
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 16px 24px;
    gap: 8px;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    box-shadow: -18px 0 60px rgba(15, 23, 42, 0.24);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 120;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 14px; background: #fff; position: relative; z-index: 130; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06); margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-card__side { align-items: stretch; justify-self: stretch; }
  .svc-card__actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 24px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 76px 0 64px; }
  .hero-search { border-radius: 24px; }
  .hero-search input { min-width: 0; }
  .hero-stats { gap: 18px; }
  .filter-bar { flex-direction: column; align-items: stretch; padding: 14px; }
  .filter-bar input, .filter-bar select, .filter-bar .btn { width: 100%; min-width: 0; }
  .form-row { grid-template-columns: 1fr; }
  .svc-card__actions { flex-direction: column; }
  .svc-card__actions .btn { width: 100%; }
  .service-modal-shell { padding: 22px; }
  .service-modal-actions { flex-direction: column; }
  .cta-band { flex-direction: column; align-items: center; text-align: center; padding: 24px; gap: 16px; }
  .cta-band .btn { width: 100%; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav { padding: 12px 14px; }
  .brand img { height: 34px; width: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-search { padding: 8px; }
  .hero-search button { width: 100%; }
  .card, .form-card, .calc, .review-card { padding: 20px; }
  .section--tight { padding: 36px 0; }
}
