:root {
  --bg: #f6f5f2;
  --paper: #ffffff;
  --paper2: #f2f1ed;
  --text: #171a22;
  --muted: #48505d;
  --muted2: #66707f;

  --line: rgba(22, 30, 44, 0.12);
  --line2: rgba(22, 30, 44, 0.2);

  --accent: #122f52; /* navy */
  --accent2: #b6934a; /* restrained gold */
  --danger: #c2410c; /* very muted orange (rare use) */
  --focus: rgba(18, 47, 82, 0.24);

  --shadow: 0 22px 46px rgba(17, 24, 39, 0.1);
  --shadow2: 0 10px 24px rgba(17, 24, 39, 0.08);

  --radius: 16px;
  --radius2: 22px;

  --wrap: 1120px;

  --font:
    "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia,
    serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(
      900px 500px at 5% -5%,
      rgba(182, 147, 74, 0.13),
      transparent 58%
    ),
    radial-gradient(
      920px 520px at 98% -8%,
      rgba(18, 47, 82, 0.1),
      transparent 56%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.34) 0,
      rgba(255, 255, 255, 0.34) 1px,
      transparent 1px,
      transparent 34px
    ),
    linear-gradient(180deg, var(--bg), #ecebe7);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: var(--paper);
  border: 1px solid var(--line2);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow2);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  margin: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 47, 82, 0.12);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}
.topbar .wrap {
  padding: 0 18px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.2px;
  color: var(--accent);
  white-space: nowrap;
}
.brand__sub {
  font-size: 11px;
  color: #5d6a7a;
  margin-top: 2px;
  white-space: nowrap;
}
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 12px rgba(18, 47, 82, 0.2));
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__link {
  color: #3e4a5b;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  padding: 8px 0;
}
.nav__link:hover {
  color: var(--accent);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.18s ease;
}
.nav__link:hover::after {
  transform: scaleX(1);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(18, 47, 82, 0.28);
  background: linear-gradient(180deg, #ffffff, #f5f7fb);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.12s ease,
    box-shadow 0.16s ease;
}
.nav__toggle:hover {
  border-color: rgba(18, 47, 82, 0.38);
  background: linear-gradient(180deg, #ffffff, #edf2f9);
}
.nav__toggle:active {
  transform: translateY(1px);
}
.nav__toggle[aria-expanded="true"] {
  background: linear-gradient(
    180deg,
    rgba(18, 47, 82, 0.12),
    rgba(18, 47, 82, 0.06)
  );
  border-color: rgba(18, 47, 82, 0.42);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}
.nav__toggle > span:not(.sr) {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.92;
  transform-origin: center;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    width 0.18s ease;
}
.nav__toggle[aria-expanded="true"] > span:not(.sr):nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] > span:not(.sr):nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.nav__toggle[aria-expanded="true"] > span:not(.sr):nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(18, 47, 82, 0.22);
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
  box-shadow: var(--shadow2);
  font-weight: 800;
  font-size: 14px;
  color: #102a48;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #ffffff, #eef3fa);
  border-color: rgba(18, 47, 82, 0.36);
  color: #0c2139;
}
.btn:active {
  transform: translateY(0px);
}
.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(18, 47, 82, 0.2),
    var(--shadow2);
}

.btn--primary {
  background: linear-gradient(135deg, #0f2a48, #194878);
  color: #fff;
  border-color: rgba(15, 42, 74, 0.35);
  box-shadow: 0 14px 30px rgba(15, 42, 74, 0.18);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #0c233d, #153e6a);
  border-color: rgba(182, 147, 74, 0.48);
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(15, 42, 74, 0.26);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
  border-color: rgba(18, 47, 82, 0.26);
}
.btn--ghost:hover {
  background: #ffffff;
  border-color: rgba(182, 147, 74, 0.58);
  color: #102a48;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 12px;
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.22), rgba(255, 255, 255, 0.62)),
    url("/images/banner.jpg") center/cover no-repeat;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}
.hero__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.hero__media {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.08), rgba(255, 255, 255, 0.24)),
    url("images/hero-panel.jpg") center/cover no-repeat;
}
.hero__content {
  padding: 30px;
  position: relative;
}
.hero__content::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), rgba(182, 147, 74, 0.2));
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(15, 42, 74, 0.85);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent2), rgba(176, 139, 57, 0.1));
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.03;
  margin: 18px 0 12px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.note {
  margin-top: 14px;
  color: var(--muted2);
  font-size: 12px;
  border-left: 3px solid rgba(176, 139, 57, 0.55);
  padding-left: 12px;
}

/* Trust / Stats */
.trust {
  padding: 18px 0 34px;
}
.trust__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.trust__row .card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  background:
    radial-gradient(
      320px 120px at 0% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 65%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  border-color: rgba(18, 47, 82, 0.16);
}
.trust__row .card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), rgba(18, 47, 82, 0.3));
}
.trust__row .card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(18, 47, 82, 0.08),
    rgba(18, 47, 82, 0)
  );
  pointer-events: none;
}
.trust__row .card:nth-child(2) {
  transform: translateY(10px);
  background:
    radial-gradient(
      320px 120px at 0% 0%,
      rgba(18, 47, 82, 0.11),
      transparent 65%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}
.trust__row .card:nth-child(3) {
  background:
    radial-gradient(
      320px 120px at 0% 0%,
      rgba(182, 147, 74, 0.16),
      transparent 65%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}
.trust__row .card .card__title {
  margin-bottom: 8px;
}
.trust__row .card .muted {
  line-height: 1.65;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.9)
  );
  box-shadow: var(--shadow2);
  padding: 18px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 47, 82, 0.24);
  box-shadow: 0 20px 30px rgba(17, 24, 39, 0.09);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--accent);
}
.muted {
  color: var(--muted);
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.stat__n {
  font-size: 38px;
  font-weight: 950;
  letter-spacing: -0.8px;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: rgba(15, 42, 74, 0.85);
  background: linear-gradient(
    135deg,
    rgba(15, 42, 74, 0.05),
    rgba(176, 139, 57, 0.06)
  );
  font-size: 12px;
  font-weight: 800;
}

/* Sections */
.section {
  padding: 48px 0;
}
#main .section:nth-of-type(odd) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.14)
  );
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.2px;
  color: var(--text);
}
.sub {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 78ch;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

/* Service tiles */
.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background:
    radial-gradient(
      520px 220px at 0% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.92);
  padding: 18px;
  box-shadow: var(--shadow2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 47, 82, 0.24);
  box-shadow: 0 24px 38px rgba(17, 24, 39, 0.1);
}
.tile__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  box-shadow: var(--shadow2);
}
.tile__icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.tile__name {
  font-family: var(--font-display);
  font-weight: 950;
  color: var(--text);
}
.tile__p {
  color: var(--muted);
  margin: 0;
}
.tile__actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tile__media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(18, 47, 82, 0.16);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
  margin-bottom: 6px;
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(176, 139, 57, 0.35);
  color: rgba(15, 42, 74, 0.88);
  background: rgba(176, 139, 57, 0.1);
  font-size: 12px;
  font-weight: 900;
}

/* Home Services section */
#services {
  position: relative;
}
#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      800px 260px at 0% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 62%
    ),
    radial-gradient(
      720px 280px at 100% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    );
  pointer-events: none;
}
#services .wrap {
  position: relative;
  z-index: 1;
}
#services .grid3 {
  gap: 18px;
}
#services .tile {
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
  border-color: rgba(18, 47, 82, 0.18);
  background:
    linear-gradient(160deg, rgba(18, 47, 82, 0.05), transparent 38%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.92)
    );
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1);
}
#services .tile::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), rgba(18, 47, 82, 0.34));
}
#services .tile:nth-child(2) {
  transform: translateY(12px);
}
#services .tile:nth-child(3) {
  transform: translateY(4px);
}
#services .tile:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 47, 82, 0.28);
  box-shadow: 0 26px 44px rgba(17, 24, 39, 0.14);
}
#services .tile__top {
  margin-bottom: 4px;
}
#services .tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border-color: rgba(18, 47, 82, 0.24);
  background: linear-gradient(180deg, #ffffff, #eef3fb);
}
#services .tile__icon-img {
  width: 28px;
  height: 28px;
}
#services .tile__name {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
#services .tile__p {
  line-height: 1.68;
}
#services .tile__actions {
  gap: 8px;
}
#services .tile__actions .btn {
  flex: 1 1 auto;
}
#services .pill {
  border-color: rgba(18, 47, 82, 0.25);
  background: linear-gradient(
    135deg,
    rgba(182, 147, 74, 0.2),
    rgba(18, 47, 82, 0.07)
  );
  color: rgba(12, 33, 57, 0.94);
}

/* Process */
.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.9)
  );
  box-shadow: var(--shadow2);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 42, 74, 0.08);
  border: 1px solid rgba(15, 42, 74, 0.18);
  font-weight: 950;
  color: var(--accent);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 950;
  margin: 0 0 6px;
  color: var(--text);
}
.step__p {
  margin: 0;
  color: var(--muted);
}

/* Process section redesign */
#process {
  position: relative;
}
#process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      760px 220px at 0% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    ),
    radial-gradient(
      640px 240px at 100% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 62%
    );
  pointer-events: none;
}
#process .wrap {
  position: relative;
  z-index: 1;
}
#process .section__head {
  margin-bottom: 20px;
}
#process .steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 900px;
}
#process .steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent2), rgba(18, 47, 82, 0.16));
}
#process .step {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 2px 0 14px 42px;
  min-height: 0;
}
#process .step::before {
  top: 2px;
  left: 0;
  right: auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #eef3fb);
  border: 1px solid rgba(18, 47, 82, 0.24);
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.1);
  font-size: 13px;
}
#process .step::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(18, 47, 82, 0.2),
    rgba(18, 47, 82, 0)
  );
}
#process .step:last-child {
  padding-bottom: 0;
}
#process .step:last-child::after {
  display: none;
}
#process .step__title {
  font-size: 24px;
  letter-spacing: -0.15px;
  margin: 0 0 4px;
}
#process .step__p {
  max-width: 78ch;
  line-height: 1.72;
}

/* Form */
.form {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.93)
  );
  box-shadow: var(--shadow);
  padding: 18px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.row .field:only-child {
  grid-column: 1 / -1;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
label {
  font-size: 12px;
  color: rgba(15, 42, 74, 0.85);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input,
select,
textarea {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: linear-gradient(180deg, #ffffff, #fafbfd);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, 0.03);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 42, 74, 0.4);
  box-shadow: 0 0 0 4px var(--focus);
  background: #fff;
}
textarea {
  min-height: 120px;
  resize: vertical;
}

.help {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 8px;
}
.form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.toast {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(176, 139, 57, 0.35);
  background: rgba(176, 139, 57, 0.1);
  color: rgba(15, 42, 74, 0.95);
}

/* ===== PREMIUM FAQ (Law Firm Style) ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.94)
  );
  box-shadow: var(--shadow2);
  overflow: hidden;
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.faq-item:hover {
  border-color: rgba(15, 42, 74, 0.22);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.faq-q {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.4;
}

.faq-q:hover {
  background: rgba(15, 42, 74, 0.03);
}

.faq-q:focus {
  outline: none;
  background: rgba(15, 42, 74, 0.05);
}

.faq-icon {
  min-width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  background: #fff;
  transition: all 0.2s ease;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg); /* превращает + в × */
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.25s ease;
  padding: 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 22px 20px 22px;
}

.faq-a p {
  margin: 0 0 10px 0;
}

.faq-a ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.faq-a li {
  margin-bottom: 6px;
}

.faq-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(176, 139, 57, 0.35);
  background: linear-gradient(
    135deg,
    rgba(176, 139, 57, 0.08),
    rgba(15, 42, 74, 0.04)
  );
  font-size: 13px;
  color: var(--muted2);
}

/* Footer */
.footer {
  position: relative;
  border-top: 1px solid rgba(18, 47, 82, 0.16);
  background:
    radial-gradient(
      560px 240px at 0% 0%,
      rgba(182, 147, 74, 0.11),
      transparent 66%
    ),
    radial-gradient(
      520px 260px at 100% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 66%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 246, 249, 0.86));
  backdrop-filter: blur(12px);
  padding: 34px 0 16px;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(182, 147, 74, 0.2),
    var(--accent2),
    rgba(18, 47, 82, 0.22)
  );
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.footer__grid > div {
  padding: 2px 0;
}
.footer__grid > div + div {
  border-left: 1px solid rgba(18, 47, 82, 0.16);
  padding-left: 24px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 10px;
  color: var(--accent);
}
.footer__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(18, 47, 82, 0.24));
}
.footer__title {
  font-family: var(--font-display);
  letter-spacing: 0.2px;
  font-weight: 950;
  margin-bottom: 10px;
  color: var(--text);
}
.footer .muted {
  font-size: 14px;
  line-height: 1.7;
}
.footer a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(18, 47, 82, 0.28);
  text-underline-offset: 3px;
  transition:
    color 0.15s ease,
    text-decoration-color 0.15s ease;
}
.footer a:hover {
  color: #0d2745;
  text-decoration-color: rgba(182, 147, 74, 0.7);
}
.footer__fineprint {
  margin-top: 16px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(18, 47, 82, 0.16);
}
.fineprint {
  color: #5a6675;
  font-size: 12px;
  margin: 6px 0;
  line-height: 1.55;
}

/* Page top */
.pagehero {
  padding: 30px 0 10px;
}
.breadcrumbs {
  color: var(--muted2);
  font-size: 12px;
}
.pagebox {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 18px;
}
.pagebox h1 {
  margin: 8px 0 8px;
  font-size: 34px;
  letter-spacing: -0.4px;
  color: var(--text);
}
.pagebox p {
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .topbar__inner {
    padding: 12px 0;
  }
}

@media (max-width: 920px) {
  #about .section__head .badge {
    display: none;
  }
  #process .section__head .badge {
    display: none;
  }
  #reviews .section__head .badge {
    display: none;
  }
  #contact .section__head .badge {
    display: none;
  }
  #process .section__head {
    margin-bottom: 14px;
  }
  #process .step {
    padding-left: 38px;
  }
  #process .step::before {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  #process .step::after {
    left: 38px;
  }
  #process .step__title {
    font-size: 21px;
  }

  #services .grid3 {
    gap: 14px;
  }
  #services .tile:nth-child(2),
  #services .tile:nth-child(3) {
    transform: none;
  }
  #services .tile__name {
    font-size: 20px;
  }
  #services .tile__actions {
    flex-direction: column;
  }
  #services .tile__actions .btn {
    width: 100%;
  }

  .topbar .wrap {
    padding: 0 14px;
  }
  .topbar {
    top: 0;
    margin: 0;
  }
  .topbar__inner {
    padding: 10px 0;
  }
  .brand__name {
    font-size: 18px;
  }
  .brand__logo {
    width: 34px;
    height: 34px;
  }
  .brand__sub {
    font-size: 10px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    min-height: 340px;
  }
  .trust__row {
    grid-template-columns: 1fr;
  }
  .trust__row .card:nth-child(2) {
    transform: none;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer__grid > div + div {
    border-left: 0;
    border-top: 1px solid rgba(18, 47, 82, 0.14);
    padding-left: 0;
    padding-top: 14px;
  }
  .row {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: flex;
  }
  .nav {
    position: static;
  }
  .nav__menu {
    display: none;
    position: absolute;
    left: auto;
    right: 0;
    top: calc(100% + 10px);
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(18, 47, 82, 0.2);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100vh - 90px);
    overflow: auto;
  }
  .nav__menu.open {
    display: flex;
  }
  .nav__menu .nav__link {
    padding: 10px 8px;
    border-radius: 10px;
  }
  .nav__menu .nav__link:hover {
    background: rgba(18, 47, 82, 0.06);
  }
  .nav__menu .nav__link::after {
    display: none;
  }
  .nav__menu .btn {
    margin-top: 4px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  #process .steps::before {
    left: 13px;
  }
  #process .step {
    padding-left: 34px;
  }
  #process .step::before {
    width: 24px;
    height: 24px;
  }
  #process .step::after {
    left: 34px;
  }
  #process .step__title {
    font-size: 19px;
  }

  .topbar .wrap {
    padding: 0 12px;
  }
  .wrap {
    padding: 0 14px;
  }
  .topbar__inner {
    padding: 8px 0;
    gap: 8px;
  }
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: 16px;
    line-height: 1.08;
  }
}

@media (max-width: 420px) {
  .topbar .wrap {
    padding: 0 10px;
  }
  .wrap {
    padding: 0 12px;
  }
  .topbar__inner {
    padding: 7px 0;
  }
}
/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.92)
  );
  box-shadow: var(--shadow2);
  padding: 18px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.review:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 47, 82, 0.22);
  box-shadow: 0 20px 30px rgba(17, 24, 39, 0.09);
}

.review__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review__stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent2);
  line-height: 1;
  white-space: nowrap;
}

.review__meta {
  text-align: right;
  font-size: 14px;
  color: var(--text);
}

.review__text {
  margin: 0;
  color: var(--muted);
}

.review__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: linear-gradient(
    135deg,
    rgba(15, 42, 74, 0.04),
    rgba(176, 139, 57, 0.07)
  );
  color: rgba(15, 42, 74, 0.88);
  font-size: 12px;
  font-weight: 900;
}

/* Reviews responsive */
@media (max-width: 920px) {
  .reviews {
    grid-template-columns: 1fr;
  }
  .review__meta {
    text-align: left;
  }
}

/* ===== Premium Form UI ===== */
.form--premium {
  position: relative;
  overflow: hidden;
}

.form--premium::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      700px 220px at 10% 0%,
      rgba(176, 139, 57, 0.14),
      transparent 55%
    ),
    radial-gradient(
      700px 240px at 90% 10%,
      rgba(15, 42, 74, 0.1),
      transparent 60%
    );
  pointer-events: none;
}

.form--premium > * {
  position: relative;
  z-index: 1;
}

.form__head {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form__kicker {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 42, 74, 0.78);
}

.form__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.2px;
  margin-top: 6px;
  color: var(--text);
}

.form__desc {
  margin-top: 6px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 14px;
}

.form__trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

.trustchip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow2);
  font-weight: 900;
  font-size: 12px;
  color: rgba(15, 42, 74, 0.88);
}

.trustchip__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(176, 139, 57, 0.95);
  box-shadow: 0 0 0 4px rgba(176, 139, 57, 0.18);
}

.req {
  color: rgba(176, 139, 57, 0.95);
  font-weight: 950;
}

.form__fine {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted2);
}

.btn--submit {
  gap: 10px;
  position: relative;
  padding-right: 16px;
}

.btn__spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn--submit.is-loading .btn__spinner {
  display: inline-block;
}

.btn--submit.is-loading .btn__label {
  opacity: 0.92;
}

.btn--submit[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast (dismissable) */
.toast {
  display: none;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 42, 74, 0.18);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow2);
  padding: 14px 14px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.toast--success {
  border-color: rgba(176, 139, 57, 0.38);
  background: linear-gradient(
    135deg,
    rgba(176, 139, 57, 0.1),
    rgba(255, 255, 255, 0.92)
  );
}

.toast.is-show {
  display: flex;
}

.toast__title {
  font-weight: 950;
  color: var(--accent);
  margin-bottom: 2px;
}

.toast__text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.toast__close {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: #fff;
  box-shadow: var(--shadow2);
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  cursor: pointer;
  line-height: 0;
}

.toast__close:hover {
  background: rgba(15, 42, 74, 0.04);
}

.hero__panel,
.card,
.tile,
.step,
.review,
.faq-item,
.form {
  animation: riseIn 0.46s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 920px) {
  .form__head {
    flex-direction: column;
  }
  .form__trust {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Header spacing hard-fix (placed last for priority) */
.topbar > .wrap {
  padding-left: 18px !important;
  padding-right: 18px !important;
}
.topbar .topbar__inner {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 1200px) {
  .topbar .topbar__inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

@media (max-width: 920px) {
  .topbar > .wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .topbar .topbar__inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 640px) {
  .topbar > .wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .topbar .topbar__inner {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

@media (max-width: 420px) {
  .topbar > .wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .topbar .topbar__inner {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
}

/* Sticky header hard-fix */
.topbar {
  position: sticky !important;
  top: 0 !important;
}
/* About section layout */
.about {
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      700px 240px at 0% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 62%
    ),
    radial-gradient(
      680px 260px at 100% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    );
  pointer-events: none;
}
.about .wrap {
  position: relative;
  z-index: 1;
}
.about .section__head {
  margin-bottom: 20px;
}
.about .section__head .badge {
  background: linear-gradient(
    135deg,
    rgba(18, 47, 82, 0.1),
    rgba(182, 147, 74, 0.14)
  );
  border-color: rgba(18, 47, 82, 0.22);
}
.about .about__top {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.about__photo {
  border: 1px solid rgba(18, 47, 82, 0.2);
  border-radius: var(--radius2);
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.1), rgba(255, 255, 255, 0.2)),
    url("images/about-approach.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.about__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 45, 0),
    rgba(11, 26, 45, 0.32)
  );
}

.about__overview {
  display: flex;
  flex-direction: column;
  border-color: rgba(18, 47, 82, 0.2);
  background:
    radial-gradient(
      500px 180px at 0% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.92)
    );
}
.about .grid2 .card {
  border-color: rgba(18, 47, 82, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97),
    rgba(255, 255, 255, 0.91)
  );
}
.about .grid2 .card .card__title {
  margin-bottom: 8px;
}
.about .grid2 .card .muted {
  line-height: 1.66;
}

.about__mini {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.about__list {
  margin: 8px 0 0 18px;
  padding: 0;
  color: var(--muted);
}

.about__list li {
  margin-bottom: 7px;
}

.about__list strong {
  color: rgba(15, 42, 74, 0.92);
}

.about__expect {
  background:
    radial-gradient(
      500px 220px at 0% 0%,
      rgba(176, 139, 57, 0.14),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 255, 255, 0.93)
    );
  border-color: rgba(182, 147, 74, 0.28);
}

/* Responsive */
@media (max-width: 920px) {
  .about .about__top {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .about__photo {
    min-height: 260px;
  }
  .about .section__head {
    margin-bottom: 14px;
  }
}

/* Services page redesign */
.services-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.12), rgba(255, 255, 255, 0.74)),
    url("images/service-detail-hero.jpg") center/cover no-repeat;
}
.services-hero .breadcrumbs {
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 26, 45, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}
.services-hero .breadcrumbs a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}
.services-hero .breadcrumbs a:hover {
  text-decoration-color: rgba(182, 147, 74, 0.85);
}
.services-hero .pagebox {
  position: relative;
  overflow: hidden;
  border-color: rgba(18, 47, 82, 0.2);
  background:
    radial-gradient(
      700px 220px at 0% 0%,
      rgba(182, 147, 74, 0.14),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.92)
    );
}
.services-hero .pagebox::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), rgba(18, 47, 82, 0.3));
}
.services-hero .pagebox h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.02;
  margin-top: 12px;
}
.services-hero .pagebox p {
  max-width: 78ch;
  line-height: 1.68;
}

.services-page {
  position: relative;
}
.services-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      760px 280px at 0% 0%,
      rgba(182, 147, 74, 0.1),
      transparent 62%
    ),
    radial-gradient(
      680px 300px at 100% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    );
  pointer-events: none;
}
.services-page .wrap {
  position: relative;
  z-index: 1;
}
.services-page .services-page__tiles {
  gap: 18px;
}
.services-page .tile {
  border-radius: 24px;
  padding: 16px;
  border-color: rgba(18, 47, 82, 0.18);
  background:
    linear-gradient(165deg, rgba(18, 47, 82, 0.06), transparent 36%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 255, 255, 0.93)
    );
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.11);
  height: 100%;
}
.services-page .tile:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 47, 82, 0.3);
  box-shadow: 0 26px 44px rgba(17, 24, 39, 0.15);
}
.services-page .tile__media {
  height: 306px;
  border-radius: 18px;
  margin-bottom: 10px;
}
.services-page .tile__top {
  justify-content: flex-start;
  margin-bottom: 2px;
}
.services-page .pill {
  border-color: rgba(18, 47, 82, 0.26);
  background: linear-gradient(
    135deg,
    rgba(182, 147, 74, 0.18),
    rgba(18, 47, 82, 0.07)
  );
}
.services-page .tile__name {
  font-size: 23px;
  line-height: 1.2;
}
.services-page .tile__p {
  line-height: 1.68;
}
.services-page .tile__actions {
  margin-top: auto;
  padding-top: 12px;
  align-items: stretch;
}
.services-page .tile__actions .btn {
  flex: 1 1 auto;
}

.services-page .services-page__grid {
  margin-top: 18px;
}
.services-page .services-page__grid .card {
  border-radius: 20px;
  border-color: rgba(18, 47, 82, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.91)
  );
}
.services-page .services-page__grid .card .muted {
  line-height: 1.68;
}

.services-page .services-page__note {
  margin-top: 18px;
  border-radius: 22px;
  border-color: rgba(182, 147, 74, 0.38);
  background:
    radial-gradient(
      620px 220px at 0% 0%,
      rgba(182, 147, 74, 0.16),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 255, 255, 0.93)
    );
}

@media (max-width: 920px) {
  .services-page .services-page__tiles {
    gap: 14px;
  }
  .services-page .tile:nth-child(2),
  .services-page .tile:nth-child(3) {
    transform: none;
  }
  .services-page .tile__media {
    height: 188px;
  }
  .services-page .tile__name {
    font-size: 20px;
  }
  .services-page .tile__actions {
    flex-direction: column;
  }
  .services-page .tile__actions .btn {
    width: 100%;
  }
}

/* Service detail pages */
.service-detail-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.12), rgba(255, 255, 255, 0.74)),
    url("images/service-detail-hero.jpg") center/cover no-repeat;
}
.service-detail-hero .breadcrumbs {
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 26, 45, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}
.service-detail-hero .breadcrumbs a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}
.service-detail-hero .breadcrumbs a:hover {
  text-decoration-color: rgba(182, 147, 74, 0.85);
}
.service-detail-hero .pagebox {
  position: relative;
  overflow: hidden;
  border-color: rgba(18, 47, 82, 0.22);
  background:
    radial-gradient(
      780px 260px at 0% 0%,
      rgba(182, 147, 74, 0.14),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.92)
    );
}
.service-detail-hero .pagebox::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), rgba(18, 47, 82, 0.32));
}
.service-detail-hero .pagebox h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  margin-top: 12px;
}
.service-detail-hero .pagebox p {
  max-width: 80ch;
  line-height: 1.66;
}
.service-detail {
  position: relative;
}
.service-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      820px 260px at 0% 0%,
      rgba(182, 147, 74, 0.1),
      transparent 62%
    ),
    radial-gradient(
      700px 280px at 100% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    );
  pointer-events: none;
}
.service-detail .wrap {
  position: relative;
  z-index: 1;
}
.service-detail__grid {
  gap: 16px;
}
.service-detail__grid--spaced {
  margin-top: 16px;
}
.service-detail .card {
  border-radius: 20px;
  border-color: rgba(18, 47, 82, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.92)
  );
}
.service-detail .card .muted {
  line-height: 1.68;
}
.service-detail .card ul.muted {
  margin-top: 0;
  padding-left: 18px;
}
.service-detail .card ul.muted li {
  margin-bottom: 8px;
}

.service-detail__media-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    url("team.jpg") center/cover no-repeat;
}
.service-detail__media-card--tracing {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    url("images/tracing.png") center/cover no-repeat;
}
.service-detail__media-card--crypto {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    url("images/crypto.png") center/cover no-repeat;
}
.service-detail__media-card--documentation {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    url("images/case-review.png") center/cover no-repeat;
}
.service-detail__media-overlay {
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  background:
    radial-gradient(
      340px 170px at 0% 0%,
      rgba(182, 147, 74, 0.22),
      transparent 60%
    ),
    radial-gradient(
      280px 150px at 100% 100%,
      rgba(18, 47, 82, 0.34),
      transparent 60%
    ),
    linear-gradient(145deg, rgba(8, 19, 35, 0.76), rgba(14, 34, 60, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 26px rgba(5, 12, 22, 0.35);
  min-height: 100%;
}
.service-detail__media-overlay .card__title {
  color: #f6f7fb;
}
.service-detail__media-overlay .muted {
  color: rgba(246, 247, 251, 0.88);
}

.service-detail__highlight {
  margin-top: 16px;
  border-color: rgba(182, 147, 74, 0.4);
  background:
    radial-gradient(
      620px 220px at 0% 0%,
      rgba(182, 147, 74, 0.18),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 255, 255, 0.93)
    );
}
.service-detail__actions {
  margin-top: 12px;
}

.service-detail--online .service-detail__highlight {
  border-color: rgba(182, 147, 74, 0.44);
}
.service-detail--tracing .service-detail__highlight {
  border-color: rgba(18, 47, 82, 0.28);
  background:
    radial-gradient(
      620px 220px at 0% 0%,
      rgba(18, 47, 82, 0.12),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 255, 255, 0.93)
    );
}
.service-detail--crypto .service-detail__highlight {
  border-color: rgba(182, 147, 74, 0.44);
  background:
    radial-gradient(
      620px 220px at 0% 0%,
      rgba(182, 147, 74, 0.2),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 255, 255, 0.93)
    );
}

@media (max-width: 920px) {
  .services-hero,
  .service-detail-hero {
    background-position: center top;
  }
  .service-detail__grid {
    grid-template-columns: 1fr;
  }
  .service-detail__actions {
    flex-direction: column;
  }
  .service-detail__actions .btn {
    width: 100%;
  }
}
/* ===== Quiz Form ===== */
.quiz {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}

.quiz__card {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.quiz__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      700px 220px at 10% 0%,
      rgba(176, 139, 57, 0.14),
      transparent 55%
    ),
    radial-gradient(
      700px 240px at 90% 10%,
      rgba(15, 42, 74, 0.1),
      transparent 60%
    );
  pointer-events: none;
}

.quiz__card > * {
  position: relative;
  z-index: 1;
}

.quiz__kicker {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 42, 74, 0.78);
}

.quiz__title {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.2px;
  margin-top: 6px;
}

.quiz__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  max-width: 62ch;
}

.quiz__progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quiz__bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.quiz__bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(135deg, var(--accent), #163a63);
}

.quiz__count {
  font-size: 12px;
  font-weight: 900;
  color: rgba(15, 42, 74, 0.82);
  white-space: nowrap;
}

.quiz__step {
  display: none;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.quiz__step.is-active {
  display: block;
}

.quiz__heading {
  font-weight: 950;
  font-size: 16px;
  margin: 0 0 10px 0;
  color: var(--text);
}

.quiz__hint {
  margin: 0 0 10px 0;
  color: var(--muted2);
  font-size: 13px;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow2);
  cursor: pointer;
  margin-bottom: 10px;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.quiz__option:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 42, 74, 0.22);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
}

.quiz__option input {
  width: 18px;
  height: 18px;
}

.quiz__nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quiz__error {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(194, 65, 12, 0.25);
  background: rgba(194, 65, 12, 0.08);
  color: rgba(17, 24, 39, 0.92);
  font-weight: 800;
  font-size: 13px;
}

.quiz__right .quiz__image {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.32)
    ),
    url("images/form-side.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
  min-height: 420px;
}

@media (max-width: 920px) {
  .quiz {
    grid-template-columns: 1fr;
  }
  .quiz__right .quiz__image {
    min-height: 260px;
  }
}

.service-focus {
  position: relative;
  padding-top: 28px;
}
.service-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      760px 220px at 0% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    ),
    radial-gradient(
      620px 220px at 100% 0%,
      rgba(182, 147, 74, 0.12),
      transparent 62%
    );
}
.service-focus__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  padding: 8px 0 2px;
}
.service-focus__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(18, 47, 82, 0.78);
}
.service-focus__kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent2), rgba(182, 147, 74, 0.2));
}
.service-focus .h2 {
  margin-top: 10px;
}
.service-focus .muted {
  line-height: 1.72;
  max-width: 70ch;
}
.service-focus__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-focus__list li {
  position: relative;
  padding: 2px 0 10px 18px;
  line-height: 1.66;
  color: var(--muted);
  border-bottom: 1px dashed rgba(18, 47, 82, 0.2);
}
.service-focus__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.service-focus__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), rgba(18, 47, 82, 0.6));
}
.service-focus__list strong {
  color: rgba(15, 42, 74, 0.95);
}

.service-focus--online::before {
  background:
    radial-gradient(
      760px 220px at 0% 0%,
      rgba(182, 147, 74, 0.14),
      transparent 62%
    ),
    radial-gradient(
      620px 220px at 100% 0%,
      rgba(18, 47, 82, 0.08),
      transparent 62%
    );
}
.service-focus--tracing::before {
  background:
    radial-gradient(
      760px 220px at 0% 0%,
      rgba(18, 47, 82, 0.12),
      transparent 62%
    ),
    radial-gradient(
      620px 220px at 100% 0%,
      rgba(182, 147, 74, 0.08),
      transparent 62%
    );
}
.service-focus--crypto::before {
  background:
    radial-gradient(
      760px 220px at 0% 0%,
      rgba(182, 147, 74, 0.16),
      transparent 62%
    ),
    radial-gradient(
      620px 220px at 100% 0%,
      rgba(18, 47, 82, 0.1),
      transparent 62%
    );
}
.service-focus--documentation::before {
  background:
    radial-gradient(
      760px 220px at 0% 0%,
      rgba(18, 47, 82, 0.1),
      transparent 62%
    ),
    radial-gradient(
      620px 220px at 100% 0%,
      rgba(182, 147, 74, 0.14),
      transparent 62%
    );
}

@media (max-width: 920px) {
  .service-focus {
    padding-top: 18px;
  }
  .service-focus__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-focus--crypto .service-focus__inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 640px) {
  .service-focus--online {
    padding-top: 14px;
  }
  .service-focus--online .service-focus__inner {
    gap: 10px;
    padding-top: 2px;
  }
  .service-focus--online .service-focus__kicker {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .service-focus--online .h2 {
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.1;
    margin-top: 8px;
  }
  .service-focus--online .muted {
    font-size: 14px;
    line-height: 1.6;
  }
  .service-focus--online .service-focus__list {
    gap: 8px;
  }
  .service-focus--online .service-focus__list li {
    padding: 1px 0 8px 16px;
    line-height: 1.55;
  }
  .service-focus--online .service-focus__list li::before {
    top: 10px;
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 420px) {
  .service-focus--online .service-focus__inner {
    gap: 8px;
  }
  .service-focus--online .h2 {
    font-size: 21px;
  }
  .service-focus--online .muted {
    font-size: 13px;
  }
  .service-focus--crypto .service-focus__inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}
