@font-face {
  font-family: "Tilda Sans";
  src: url("../fonts/TildaSans-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 250 1000;
  font-display: swap;
}

:root {
  --ink: #102c3d;
  --ink-soft: #173a4d;
  --ink-lift: #21495c;
  --paper: #f6f2ea;
  --paper-deep: #e9e1d6;
  --surface: #fffcf7;
  --white: #fffdf8;
  --text: #152733;
  --muted: #65747a;
  --line: rgba(16, 44, 61, 0.15);
  --line-light: rgba(255, 253, 248, 0.18);
  --accent: #b66e4b;
  --accent-deep: #965136;
  --accent-dark: #7d422f;
  --accent-soft: #e6ba9f;
  --sage: #9cafb2;
  --radius: 28px;
  --radius-small: 18px;
  --shadow: 0 28px 80px rgba(16, 44, 61, 0.13);
  --container: 1240px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: "Tilda Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

img {
  -webkit-user-drag: none;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 150px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 253, 248, 0.64);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 44, 61, 0.18);
}

.button svg,
.channel > svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--small {
  min-height: 44px;
  padding: 12px 19px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}

.button--accent {
  background: var(--accent);
  color: #102c3d;
}

.button--accent:hover {
  background: var(--accent-soft);
}

.contact-menu {
  position: relative;
  z-index: 20;
}

.contact-menu > summary {
  cursor: pointer;
  list-style: none;
}

.contact-menu > summary::-webkit-details-marker {
  display: none;
}

.contact-menu > summary svg {
  transition: transform 180ms ease;
}

.contact-menu[open] > summary {
  background: var(--accent-soft);
}

.contact-menu[open] > summary svg {
  transform: rotate(90deg);
}

.contact-menu:not([open]) > .contact-menu__popover {
  display: none;
}

.contact-menu__popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  width: min(280px, calc(100vw - 36px));
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(5, 19, 29, 0.3);
}

.contact-menu__popover a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.contact-menu__popover a:hover {
  background: var(--surface);
  color: var(--accent-dark);
}

.contact-menu__popover a > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 820;
}

.contact-menu__popover strong {
  font-size: 14px;
}

.button--cream {
  background: var(--white);
  color: var(--ink);
}

.button--outline-light {
  border-color: rgba(255, 253, 248, 0.4);
  background: transparent;
  color: var(--white);
}

.button--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.text-link--light {
  color: var(--white);
}

.text-link__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background-color 180ms ease;
}

.text-link:hover .text-link__icon {
  background: rgba(255, 255, 255, 0.1);
}

.text-link__icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 44, 61, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(16, 44, 61, 0.98);
  box-shadow: 0 10px 36px rgba(7, 24, 34, 0.2);
}

.header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.015em;
}

.brand__text small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav > a:not(.main-nav__mobile-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav > a:not(.main-nav__mobile-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.main-nav__mobile-cta):hover {
  color: var(--white);
}

.main-nav > a[aria-current]:not(.main-nav__mobile-cta) {
  color: var(--white);
}

.main-nav > a:not(.main-nav__mobile-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav > a[aria-current]:not(.main-nav__mobile-cta)::after {
  transform: scaleX(1);
}

.main-nav__mobile-cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__phone {
  display: grid;
  text-align: right;
  line-height: 1.15;
}

.header__phone span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header__phone strong {
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(182, 110, 75, 0.2), transparent 29%),
    linear-gradient(145deg, var(--ink-soft) 0%, var(--ink) 58%, #0b2230 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero__glow::before,
.hero__glow::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
  content: "";
}

.hero__glow::before {
  inset: 70px;
}

.hero__glow::after {
  inset: 145px;
}

.hero__grid {
  position: relative;
  display: grid;
  min-height: min(840px, calc(100svh - var(--header-height)));
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.7fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
  padding-block: clamp(72px, 8vw, 118px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 30px;
  font-size: clamp(58px, 6.2vw, 94px);
  font-weight: 580;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 em {
  display: block;
  margin-top: 12px;
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.5;
}

.hero__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.hero__audience li {
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 650;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.hero__note span {
  color: var(--accent-soft);
}

.hero__visual {
  position: relative;
  width: min(100%, 480px);
  justify-self: end;
}

.portrait-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 0.83;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 240px 240px 28px 28px;
  background: #2b3b47;
  box-shadow: 0 46px 90px rgba(5, 19, 29, 0.34);
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 15, 14, 0.8), transparent 32%),
    linear-gradient(130deg, transparent 65%, rgba(182, 110, 75, 0.12));
  content: "";
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.portrait-card figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: grid;
  line-height: 1.25;
}

.portrait-card figcaption span {
  font-size: 16px;
  font-weight: 700;
}

.portrait-card figcaption small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.hero__stamp {
  position: absolute;
  right: -26px;
  bottom: 82px;
  display: flex;
  width: 128px;
  height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 8px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
}

.hero__stamp svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__stamp span {
  width: calc(100% - 16px);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-light);
}

.hero__rail span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.hero__rail span:last-child {
  border-right: 0;
}

/* Shared section heading */

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: clamp(54px, 7vw, 88px);
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(46px, 5.5vw, 76px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 510px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section-heading--compact {
  margin-bottom: 56px;
}

/* Services */

.services {
  background:
    radial-gradient(circle at 95% 4%, rgba(182, 110, 75, 0.1), transparent 23%),
    var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.service-card {
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 247, 0.7);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(16, 44, 61, 0.26);
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(16, 44, 61, 0.08);
  transform: translateY(-3px);
}

.service-card--featured {
  grid-column: 1 / -1;
  padding: clamp(34px, 4.5vw, 58px);
  background:
    radial-gradient(circle at 92% 18%, rgba(182, 110, 75, 0.16), transparent 26%),
    var(--surface);
}

.service-card--dark {
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
}

.service-card--dark:hover {
  border-color: transparent;
  background: var(--ink-soft);
}

.service-card--accent {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
}

.service-card--accent:hover {
  border-color: transparent;
  background: #c47b58;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(46px, 6vw, 78px);
}

.service-card:not(.service-card--featured) .service-card__top {
  margin-bottom: 54px;
}

.service-card__number {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
}

.service-card__tag {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-card--dark .service-card__number,
.service-card--dark .service-card__tag {
  color: rgba(255, 255, 255, 0.52);
}

.service-card--dark .service-card__tag {
  border-color: var(--line-light);
}

.service-card--accent .service-card__number,
.service-card--accent .service-card__tag {
  color: rgba(16, 44, 61, 0.66);
}

.service-card--accent .service-card__tag {
  border-color: rgba(16, 44, 61, 0.25);
}

.service-card h3 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.service-card--featured h3 {
  font-size: clamp(40px, 5vw, 65px);
}

.service-card__intro {
  max-width: 720px;
  min-height: 54px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
}

.service-card--featured .service-card__intro {
  max-width: 780px;
  min-height: 0;
  font-size: 19px;
}

.service-card--dark .service-card__intro {
  color: rgba(255, 255, 255, 0.58);
}

.service-card--accent .service-card__intro {
  color: rgba(16, 44, 61, 0.68);
}

.service-card details {
  border-top: 1px solid var(--line);
}

.service-card--dark details {
  border-color: var(--line-light);
}

.service-card--accent details {
  border-color: rgba(16, 44, 61, 0.22);
}

.service-card summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.05em;
  list-style: none;
  text-transform: uppercase;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.details-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.details-icon::before,
.details-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 200ms ease;
}

.details-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .details-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.service-card__body {
  overflow: hidden;
}

.service-card__body ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 5px 0 6px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.service-card--featured .service-card__body ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.service-card--dark .service-card__body ul {
  color: rgba(255, 255, 255, 0.68);
}

.service-card--accent .service-card__body ul {
  color: rgba(16, 44, 61, 0.76);
}

.service-card__body li::marker {
  color: var(--accent);
}

.service-card--accent .service-card__body li::marker {
  color: var(--ink);
}

.service-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 780;
  transition:
    color 180ms ease,
    gap 180ms ease;
}

.service-card__link:hover {
  gap: 14px;
  color: var(--ink);
}

.service-card--dark .service-card__link {
  color: var(--accent-soft);
}

.service-card--accent .service-card__link {
  color: var(--ink);
}

.other-services {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(34px, 6vw, 82px);
  margin-top: 18px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 5% 100%, rgba(182, 110, 75, 0.18), transparent 34%),
    var(--ink);
  color: var(--white);
}

.other-services .eyebrow {
  margin-bottom: 18px;
  color: var(--accent-soft);
}

.other-services__intro h3 {
  max-width: 390px;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.other-services__intro > p:last-child {
  max-width: 430px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.other-services__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.other-services__links a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 620;
  transition:
    color 180ms ease,
    padding 180ms ease;
}

.other-services__links a:nth-child(odd) {
  margin-right: 18px;
}

.other-services__links a:nth-child(even) {
  margin-left: 18px;
}

.other-services__links a:hover {
  padding-inline: 8px;
  color: var(--white);
}

.other-services__links span,
.other-services__all span {
  color: var(--accent-soft);
}

.other-services__all {
  display: inline-flex;
  grid-column: 2;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 760;
}

.other-services__all:hover {
  color: var(--white);
}

/* Inline CTA */

.quick-contact {
  background: var(--accent-deep);
  color: var(--white);
}

.quick-contact__inner {
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 80px;
  padding-block: 70px;
}

.quick-contact h2 {
  max-width: 750px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.quick-contact p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.quick-contact__actions {
  display: grid;
  min-width: 210px;
  gap: 12px;
}

/* Process */

.process {
  background: var(--surface);
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-item {
  display: grid;
  min-height: 176px;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: center;
  gap: 48px;
  padding: 36px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    padding 220ms ease;
}

.process-item:hover {
  padding-inline: clamp(28px, 5vw, 68px);
  background: var(--paper);
}

.process-item__number {
  color: var(--accent-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}

.process-item > div:last-child {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: 70px;
}

.process-item h3 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 39px);
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.process-item p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.process-item--result {
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.process-item--result:hover {
  background: var(--ink-soft);
}

.process-item--result .process-item__number {
  color: var(--accent-soft);
}

.process-item--result p {
  color: rgba(255, 255, 255, 0.62);
}

/* Proof */

.proof {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 82%, rgba(182, 110, 75, 0.12), transparent 30%),
    var(--ink);
  color: var(--white);
}

.proof__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.proof__visual {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  overflow: hidden;
  min-height: 680px;
  border-radius: 220px 220px var(--radius) var(--radius);
}

.proof__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 31, 0.86), transparent 45%);
  content: "";
}

.proof__visual img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: 58% center;
}

.proof__caption {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 32px;
  left: 32px;
  display: grid;
  gap: 7px;
}

.proof__caption span {
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof__caption strong {
  max-width: 360px;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.35;
}

.proof__content h2 {
  max-width: 790px;
  margin-bottom: 62px;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 530;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.proof-list {
  border-top: 1px solid var(--line-light);
}

.proof-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 25px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line-light);
}

.proof-item > span {
  padding-top: 5px;
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.proof-item h3 {
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.proof-item p {
  max-width: 630px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

/* Pricing */

.pricing {
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(16, 44, 61, 0.035) 50%, transparent 50.05%),
    var(--paper);
}

.price-list {
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  min-height: 118px;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 28px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms ease,
    padding 180ms ease;
}

.price-row:hover {
  padding-inline: 24px;
  background: rgba(255, 255, 255, 0.45);
}

.price-row__index {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.price-row h3 {
  margin-bottom: 0;
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 520;
  letter-spacing: -0.025em;
}

.price-row strong {
  color: var(--accent-deep);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  white-space: nowrap;
}

.pricing-benefit {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  margin-top: 36px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius-small);
  background: var(--ink);
  color: var(--white);
}

.pricing-benefit strong {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 590;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.pricing-benefit p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

/* Contact */

.contact {
  padding-top: 0;
  background: var(--paper);
}

.contact-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.72fr);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 12%, rgba(182, 110, 75, 0.2), transparent 28%),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-card__intro {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  padding: clamp(48px, 7vw, 86px);
}

.contact-card__intro h2 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 540;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.contact-card__intro > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
}

.contact-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.contact-profile img {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

.contact-profile > div {
  display: grid;
  line-height: 1.25;
}

.contact-profile strong {
  font-size: 15px;
  font-weight: 700;
}

.contact-profile span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.contact-address {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-style: normal;
}

.contact-address small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.contact-card__intro > .contact-requisites {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.5;
}

.contact-card__channels {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(28px, 4vw, 50px);
  border-left: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.channel {
  display: grid;
  min-height: 88px;
  grid-template-columns: 48px 1fr 20px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.035);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.channel:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.channel--primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
}

.channel--primary:hover {
  border-color: transparent;
  background: var(--accent-soft);
}

.channel__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.channel > span:nth-child(2) {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.channel small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel--primary small {
  color: rgba(16, 44, 61, 0.58);
}

.channel strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel > svg {
  width: 18px;
  opacity: 0.6;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer__inner {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}

.brand--footer {
  color: var(--ink);
}

.brand--footer .brand__text small {
  color: var(--muted);
}

.footer__inner p {
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.footer__address {
  display: grid;
  gap: 4px;
  font-style: normal;
  text-align: center;
}

.footer__address small {
  color: var(--muted);
  font-size: 11px;
}

.footer__inner > a:last-child {
  font-weight: 650;
  transition: color 180ms ease;
}

.footer__inner > a:last-child:hover {
  color: var(--accent-deep);
}

/* Floating contact */

.floating-contact {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  transform: translateY(100px);
  transition: transform 260ms ease;
}

.floating-contact.is-visible {
  transform: translateY(0);
}

.floating-contact > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(16, 44, 61, 0.24);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms ease;
}

.floating-contact > summary::-webkit-details-marker {
  display: none;
}

.floating-contact[open] > summary,
.floating-contact > summary:hover {
  background: var(--accent-deep);
}

.floating-contact > summary svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-contact:not([open]) > .floating-contact__list {
  display: none;
}

.floating-contact__list {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + 12px);
  display: grid;
  width: min(240px, calc(100vw - 32px));
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(5, 19, 29, 0.3);
}

.floating-contact__list a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.floating-contact__list a:hover {
  background: var(--surface);
  color: var(--accent-dark);
}

.floating-contact__list a > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 820;
}

.floating-contact__list strong {
  font-size: 14px;
}

/* Service pages */

.service-page {
  background: var(--paper);
}

.breadcrumbs {
  position: relative;
  z-index: 2;
  padding-top: 30px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.46);
  content: "/";
}

.breadcrumbs a {
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.service-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(182, 110, 75, 0.22), transparent 29%),
    linear-gradient(145deg, var(--ink-soft), var(--ink) 62%, #0b2230);
  background-color: var(--ink);
  color: var(--white);
}

.service-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  pointer-events: none;
}

.service-hero__grid {
  position: relative;
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.55fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
  padding-block: clamp(72px, 8vw, 112px);
}

.service-hero__copy {
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 570;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.service-hero h1 em {
  display: block;
  margin-top: 10px;
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.service-hero__lead {
  max-width: 740px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.6vw, 22px);
}

.service-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.service-hero__meta li {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 650;
}

.service-hero__note {
  max-width: 640px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.service-hero__panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 34px 80px rgba(5, 19, 29, 0.26);
  backdrop-filter: blur(12px);
}

.service-hero__panel-label {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-hero__panel ol {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  counter-reset: hero-steps;
  list-style: none;
}

.service-hero__panel li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  counter-increment: hero-steps;
}

.service-hero__panel li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--accent-soft);
  content: counter(hero-steps, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-style: italic;
}

.service-hero__location {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-style: normal;
}

.service-hero__location strong {
  font-size: 14px;
}

.service-hero__location span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.service-intro {
  background: var(--surface);
}

.service-alert {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.25fr);
  gap: clamp(34px, 6vw, 90px);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 4% 10%, rgba(182, 110, 75, 0.14), transparent 32%),
    var(--paper);
}

.service-alert__label {
  color: var(--accent-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  line-height: 1.1;
}

.service-alert h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 570;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.service-alert p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-section--surface {
  background: var(--surface);
}

.service-section--dark {
  background:
    radial-gradient(circle at 90% 15%, rgba(182, 110, 75, 0.14), transparent 26%),
    var(--ink);
  color: var(--white);
}

.service-section--dark .section-heading > p {
  color: rgba(255, 255, 255, 0.58);
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.situation-card {
  min-height: 300px;
  padding: clamp(28px, 3.5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 247, 0.72);
}

.situation-card__number {
  display: block;
  margin-bottom: 58px;
  color: var(--accent-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

.situation-card h3 {
  margin-bottom: 14px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.situation-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.5fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.help-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.help-list li {
  display: grid;
  min-height: 94px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.72);
}

.help-list li::before {
  color: var(--accent-soft);
  content: "✓";
  font-size: 16px;
}

.scope-card {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 34px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.scope-card h3 {
  margin-bottom: 15px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.scope-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.scope-card p:last-child {
  margin-bottom: 0;
}

.service-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-process li {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.48);
}

.service-process span {
  display: block;
  margin-bottom: 62px;
  color: var(--accent-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.service-process h3 {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.service-process p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(48px, 8vw, 110px);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  min-height: 96px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.service-result-card {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(182, 110, 75, 0.28), transparent 34%),
    var(--ink);
  color: var(--white);
  box-shadow: 0 24px 64px rgba(16, 44, 61, 0.14);
}

.service-result-card strong {
  display: block;
  max-width: 360px;
  margin-bottom: 20px;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 590;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.service-result-card p {
  max-width: 430px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.service-result-card p:last-child {
  margin-bottom: 0;
}

.document-note {
  margin: 24px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 30px;
  padding: 24px 8px;
  cursor: pointer;
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 580;
  letter-spacing: -0.025em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-deep);
  content: "+";
  font-size: 20px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list__answer {
  max-width: 850px;
  padding: 0 8px 34px;
  color: var(--muted);
}

.faq-list__answer p:last-child {
  margin-bottom: 0;
}

.related-grid,
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 252, 247, 0.68);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.related-card:hover {
  border-color: rgba(16, 44, 61, 0.28);
  box-shadow: 0 18px 46px rgba(16, 44, 61, 0.08);
  transform: translateY(-3px);
}

.related-card small {
  margin-bottom: 38px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.related-card strong {
  max-width: 330px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 610;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.related-card span {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}

.services-hub-hero .service-hero__grid {
  min-height: 560px;
}

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

.service-directory-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -10px 0 78px;
}

.service-directory-nav a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.service-directory-nav a:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.service-directory {
  display: grid;
  gap: clamp(86px, 10vw, 132px);
}

.service-directory-group {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.section-heading--compact {
  margin-bottom: 34px;
}

.section-heading--compact h2 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
}

.service-directory-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(28px, 3.6vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(182, 110, 75, 0.1), transparent 36%),
    var(--surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-directory-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-directory-card:hover {
  border-color: rgba(16, 44, 61, 0.28);
  box-shadow: 0 22px 56px rgba(16, 44, 61, 0.1);
  transform: translateY(-4px);
}

.service-directory-card:hover::before {
  opacity: 1;
}

.service-directory-card__meta {
  margin-bottom: 48px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-directory-card strong {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 610;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.service-directory-card p {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.service-directory-card__link {
  margin-top: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 740;
}

.service-directory-card__link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent-deep);
  transition: transform 180ms ease;
}

.service-directory-card:hover .service-directory-card__link span {
  transform: translateX(4px);
}

.services-hub-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin-top: 18px;
  padding: 30px;
  border-radius: var(--radius-small);
  background: var(--ink);
  color: var(--white);
}

.services-hub-note p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .reveal-ready .reveal--delay {
    transition-delay: 120ms;
  }

  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 1180px) {
  .header__phone {
    display: none;
  }

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

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(55px, 7vw, 78px);
  }

  .hero__stamp {
    right: -14px;
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .header__inner {
    gap: 18px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 32px 24px 40px;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity 200ms ease,
      transform 200ms ease;
  }

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

  .main-nav > a:not(.main-nav__mobile-cta) {
    padding-block: 18px;
    border-bottom: 1px solid var(--line-light);
    color: var(--white);
    font-size: 28px;
    font-weight: 520;
    letter-spacing: -0.025em;
  }

  .main-nav > a:not(.main-nav__mobile-cta)::after {
    display: none;
  }

  .main-nav__mobile-cta {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 15px;
    font-weight: 750;
  }

  .header__actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 68px;
    padding-block: 84px 76px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 790px;
    font-size: clamp(60px, 10vw, 86px);
  }

  .hero__visual {
    width: min(78%, 560px);
    justify-self: center;
  }

  .hero__rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-hero__grid,
  .help-layout,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .service-hero__grid {
    min-height: auto;
    gap: 58px;
    padding-block: 74px 82px;
  }

  .service-hero__copy {
    max-width: 850px;
  }

  .service-hero__panel {
    width: min(100%, 620px);
  }

  .scope-card {
    position: relative;
    top: auto;
  }

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

  .hero__rail span:nth-child(3) {
    border-right: 0;
  }

  .hero__rail span:nth-child(n + 4) {
    border-top: 1px solid var(--line-light);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 680px;
  }

  .other-services {
    grid-template-columns: 1fr;
  }

  .other-services__all {
    grid-column: 1;
  }

  .quick-contact__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quick-contact__actions {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
  }

  .process-item {
    grid-template-columns: 44px 1fr;
    gap: 24px;
  }

  .process-item > div:last-child {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .proof__grid {
    grid-template-columns: 1fr;
  }

  .proof__visual {
    position: relative;
    top: auto;
    width: min(100%, 720px);
    min-height: 620px;
    border-radius: 300px 300px var(--radius) var(--radius);
  }

  .proof__visual img {
    height: 620px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card__intro {
    min-height: 560px;
  }

  .contact-card__channels {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding-block: 84px;
  }

  .breadcrumbs {
    padding-top: 22px;
  }

  .service-hero__grid {
    gap: 44px;
    padding-block: 58px 70px;
  }

  .service-hero h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .service-hero__lead {
    font-size: 17px;
  }

  .service-hero__actions {
    display: grid;
  }

  .service-hero__actions .button {
    width: 100%;
  }

  .service-hero__actions .contact-menu {
    width: 100%;
  }

  .contact-menu__popover {
    width: 100%;
  }

  .service-alert {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px;
  }

  .situation-grid,
  .service-process,
  .document-list,
  .related-grid,
  .services-hub-grid {
    grid-template-columns: 1fr;
  }

  .situation-card {
    min-height: 0;
    padding: 28px;
  }

  .situation-card__number {
    margin-bottom: 40px;
  }

  .service-process li {
    min-height: 0;
  }

  .service-process span {
    margin-bottom: 46px;
  }

  .document-list li {
    min-height: 0;
  }

  .faq-list summary {
    min-height: 90px;
    font-size: 20px;
  }

  .services-hub-note {
    grid-template-columns: 1fr;
  }

  .service-directory-nav {
    flex-wrap: nowrap;
    margin-bottom: 58px;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .service-directory-nav a {
    flex: 0 0 auto;
  }

  .service-directory {
    gap: 78px;
  }

  .section-heading--compact {
    margin-bottom: 30px;
  }

  .service-directory-card {
    min-height: 0;
    padding: 28px;
  }

  .service-directory-card__meta {
    margin-bottom: 36px;
  }

  .header__actions .button {
    display: none;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .hero__grid {
    gap: 55px;
    padding-block: 66px 58px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(49px, 14.5vw, 72px);
    line-height: 0.95;
  }

  .hero h1 em {
    margin-top: 9px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__actions {
    align-items: stretch;
    gap: 18px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .hero__visual {
    width: 92%;
  }

  .hero__stamp {
    right: -12px;
    bottom: 64px;
    width: 96px;
    height: 96px;
    border-width: 6px;
  }

  .hero__stamp svg {
    width: 23px;
  }

  .hero__stamp span {
    width: calc(100% - 12px);
    font-size: 6px;
  }

  .hero__rail {
    grid-template-columns: 1fr 1fr;
  }

  .hero__rail span {
    min-height: 67px;
    padding: 14px 8px;
    font-size: 10px;
  }

  .hero__rail span:nth-child(odd) {
    border-right: 1px solid var(--line-light);
  }

  .hero__rail span:nth-child(even) {
    border-right: 0;
  }

  .hero__rail span:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .hero__rail span:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .section-heading > p {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .other-services {
    padding: 28px;
  }

  .other-services__links {
    grid-template-columns: 1fr;
  }

  .other-services__links a:nth-child(odd),
  .other-services__links a:nth-child(even) {
    margin-inline: 0;
  }

  .service-card--featured {
    grid-column: auto;
  }

  .service-card,
  .service-card--featured {
    padding: 28px;
  }

  .service-card__top,
  .service-card:not(.service-card--featured) .service-card__top {
    margin-bottom: 42px;
  }

  .service-card--featured h3,
  .service-card h3 {
    font-size: 34px;
  }

  .service-card__intro,
  .service-card--featured .service-card__intro {
    min-height: 0;
    font-size: 15px;
  }

  .service-card--featured .service-card__body ul {
    grid-template-columns: 1fr;
  }

  .quick-contact__inner {
    min-height: 0;
    padding-block: 70px;
  }

  .quick-contact h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .quick-contact__actions {
    display: grid;
  }

  .process-item {
    min-height: 0;
    padding: 30px 8px;
  }

  .process-item:hover {
    padding-inline: 8px;
  }

  .process-item--result,
  .process-item--result:hover {
    padding: 30px 24px;
  }

  .process-item h3 {
    font-size: 27px;
  }

  .proof__visual {
    min-height: 510px;
  }

  .proof__visual img {
    height: 510px;
    object-position: 56% center;
  }

  .proof__caption {
    right: 24px;
    bottom: 25px;
    left: 24px;
  }

  .proof__content h2 {
    margin-bottom: 46px;
    font-size: clamp(42px, 12vw, 58px);
  }

  .proof-item {
    grid-template-columns: 38px 1fr;
    gap: 17px;
  }

  .price-row {
    min-height: 0;
    grid-template-columns: 34px 1fr;
    gap: 10px 14px;
    padding: 28px 4px;
  }

  .price-row:hover {
    padding-inline: 4px;
  }

  .price-row strong {
    grid-column: 2;
  }

  .pricing-benefit {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-radius: var(--radius);
  }

  .contact-card__intro {
    min-height: 600px;
    padding: 40px 26px;
  }

  .contact-card__intro h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .contact-card__channels {
    padding: 20px;
  }

  .channel {
    min-height: 82px;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    padding-inline: 16px;
  }

  .footer__inner {
    min-height: 180px;
    flex-direction: column;
    justify-content: center;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }

  .floating-contact > summary {
    width: 54px;
    padding: 0;
    justify-content: center;
  }

  .floating-contact > summary span {
    display: none;
  }
}

@media (max-width: 390px) {
  .brand__text small {
    display: none;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero__audience {
    gap: 7px;
  }

  .hero__audience li {
    padding-inline: 10px;
    font-size: 11px;
  }

  .service-card,
  .service-card--featured {
    padding: 24px;
  }

  .channel strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
