:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-soft: #eaf0f7;
  --ink: #132235;
  --ink-soft: #4a5a6f;
  --line: #d2deea;
  --brand: #0d6efd;
  --brand-2: #12a4ff;
  --brand-deep: #0a3f91;
  --accent: #00c2a8;
  --success: #179b5b;
  --danger: #bf2d2d;
  --shadow: 0 18px 44px rgba(10, 28, 54, 0.12);
  --shadow-soft: 0 10px 28px rgba(10, 28, 54, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, #f2f6fb 0%, #f6f9fc 48%, #edf4ff 100%);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.015em;
}

.logo-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3b8dff 0%, #2d6fd6 56%, #1b4ca8 100%);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.26);
}

.logo-mark svg {
  width: 1.82rem;
  height: 1.82rem;
  display: block;
  transform: translate(0.01rem, 0.01rem);
}

.logo span {
  display: block;
  line-height: 1.02;
}

.logo small {
  display: block;
  margin-top: 0.2rem;
  color: #5a6c84;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a[aria-current="page"] {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1.1rem;
  font-weight: 800;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid #7bb7ff;
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--brand-deep);
  background: #e8f1ff;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  background: #eef4fb;
  border: 0;
  border-radius: 10px;
  width: 2.7rem;
  height: 2.7rem;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  content: "";
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: 0.24s ease;
}

.nav-toggle::before {
  transform: translateY(-5px);
}

.nav-toggle::after {
  transform: translateY(5px);
}

.nav-toggle.active span {
  opacity: 0;
}

.nav-toggle.active::before {
  transform: translateY(2px) rotate(45deg);
}

.nav-toggle.active::after {
  transform: translateY(-2px) rotate(-45deg);
}

main {
  overflow: clip;
}

.section {
  padding: 4.8rem 0;
}

.section-tight {
  padding: 3.4rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  margin: 0 0 0.7rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 68ch;
}

.hero {
  position: relative;
  padding-top: 5.4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 18%, rgba(12, 104, 226, 0.18), transparent 42%),
    radial-gradient(circle at 88% 30%, rgba(0, 194, 168, 0.12), transparent 46%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.1rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-deep);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--ink-soft);
  max-width: 58ch;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill {
  background: #eef4fb;
  color: var(--ink);
  border: 1px solid #d8e4f1;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.hero-card {
  background: linear-gradient(165deg, #0b1e34 0%, #122e4e 58%, #143f69 100%);
  border-radius: 22px;
  color: #fff;
  border: 1px solid rgba(147, 195, 255, 0.38);
  box-shadow: var(--shadow);
  padding: 1.45rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visual-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.7rem;
}

.stat strong {
  font-size: 1.35rem;
  line-height: 1.2;
  display: block;
}

.stat span {
  color: #d7e9ff;
  font-size: 0.83rem;
}

.pipe-panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip {
  background: #0f1f31;
  color: #e8f2ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  padding: 1.05rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-item svg {
  color: #79b6ff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card h3,
.card h2 {
  margin: 0.2rem 0 0.6rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  background: linear-gradient(140deg, #ebf4ff, #d6ebff);
  display: grid;
  place-items: center;
  color: var(--brand-deep);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.check-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 0.9rem;
  display: flex;
  gap: 0.65rem;
}

.check-item svg {
  color: var(--success);
  flex: 0 0 auto;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.process .step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
}

.process .step span {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  margin-bottom: 0.5rem;
}

.area-grid,
.jobs-grid,
.review-grid,
.faq-grid,
.footer-grid,
.link-grid {
  display: grid;
  gap: 1rem;
}

.area-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.area-chip {
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.72rem;
  text-align: center;
  font-weight: 700;
}

.jobs-grid,
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-hero-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.rating-panel {
  background: linear-gradient(160deg, #0f2b4a, #123e67 62%, #185489);
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(145, 193, 255, 0.34);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.rating-score {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.rating-score span {
  font-size: 0.55em;
  opacity: 0.84;
}

.rating-sub {
  margin: 0.35rem 0 0.8rem;
  color: #d8e8ff;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat-strip div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem;
}

.stat-strip strong {
  display: block;
  line-height: 1.15;
}

.stat-strip span {
  color: #c9def7;
  font-size: 0.76rem;
}

.review-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  border: 1px solid #c5d8ef;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  background: #dcebff;
  color: var(--brand-deep);
  border-color: #9ec3f5;
}

.review-card {
  display: grid;
  gap: 0.75rem;
}

.review-stars {
  margin: 0;
  line-height: 1;
}

.review-stars span {
  color: #f7b500;
  letter-spacing: 0.08em;
  font-size: 0.98rem;
}

.review-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.review-badge {
  background: #e8f2ff;
  color: var(--brand-deep);
  border: 1px solid #c6ddf9;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-weight: 700;
}

.job-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-deep);
  background: #e8f2ff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  display: inline-flex;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq button {
  width: 100%;
  text-align: left;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 1rem;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq button::after {
  content: "+";
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
}

.faq button[aria-expanded="true"]::after {
  content: "-";
}

.faq .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq .answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--ink-soft);
}

.cta-block {
  color: #fff;
  background: linear-gradient(145deg, #08192d, #0f2b4a 58%, #13406a);
  border: 1px solid rgba(128, 182, 255, 0.42);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.cta-block p {
  color: #d7e6f8;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-panel,
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  margin: 0.55rem 0;
}

label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c6d8eb;
  border-radius: 11px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field {
  margin-bottom: 0.82rem;
}

.field-full {
  grid-column: 1 / -1;
}

.error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.success-msg,
.error-msg {
  margin-top: 0.8rem;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-weight: 700;
}

.success-msg {
  background: #e8faef;
  border: 1px solid #9fd8b5;
  color: #136e41;
}

.error-msg {
  background: #ffecec;
  border: 1px solid #f0b3b3;
  color: #8a2020;
}

.site-footer {
  background: #08182a;
  color: #d7e6f8;
  margin-top: 3.2rem;
  padding-top: 3rem;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.site-footer a {
  color: #d7e6f8;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0.45rem 0;
}

.copy {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem 0 1.2rem;
  font-size: 0.88rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  display: none;
  background: rgba(10, 25, 44, 0.96);
  border-top: 1px solid rgba(169, 206, 255, 0.3);
  padding: 0.6rem;
  backdrop-filter: blur(8px);
}

.mobile-cta .inner {
  width: min(100% - 1rem, 520px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mobile-cta .btn {
  min-height: 44px;
}

.page-hero {
  padding: 4.3rem 0 2.6rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 72ch;
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .nav-links {
    position: fixed;
    top: 78px;
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.24s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-phone,
  .nav-right .btn-primary {
    display: none;
  }

  .hero-grid,
  .contact-wrap,
  .card-grid,
  .jobs-grid,
  .review-grid,
  .review-hero-grid,
  .faq-grid,
  .trust-grid,
  .area-grid,
  .process,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.8rem 0;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 4.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
