:root {
  color-scheme: light;
  --paper: #fffdf9;
  --warm: #f7f3ed;
  --linen: #fbf7f0;
  --porcelain: #f4f6f2;
  --mist: #eef0ed;
  --sage: #e8ece3;
  --clay: #efe6da;
  --ink: #26211c;
  --muted: #6f675f;
  --soft: #9d9286;
  --line: rgba(38, 33, 28, 0.12);
  --line-strong: rgba(38, 33, 28, 0.22);
  --brass: #a8793b;
  --brass-dark: #775123;
  --brass-soft: rgba(168, 121, 59, 0.18);
  --shadow-warm: rgba(92, 65, 38, 0.18);
  --shadow-green: rgba(67, 105, 87, 0.14);
  --anchor-offset: 82px;
  --reading-width: 64ch;
  --shadow-reading: 0 18px 46px rgba(54, 42, 30, 0.075), 0 46px 86px rgba(67, 105, 87, 0.055);
  --shadow-deep: 0 28px 70px rgba(54, 42, 30, 0.14), 0 72px 132px rgba(67, 105, 87, 0.095);
  --success: #436957;
  --white: #ffffff;
  --rail: 252px;
  --max: 1180px;
  --radius: 8px;
  --shadow-soft: 0 26px 70px rgba(54, 42, 30, 0.11);
  --shadow-diffuse: 0 34px 90px rgba(70, 56, 42, 0.1);
  --shadow-lifted: 0 22px 44px rgba(92, 65, 38, 0.12), 0 64px 120px rgba(67, 105, 87, 0.09);
  --font-ui: "Manrope", "Geist", "Satoshi", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-family: var(--font-ui);
  background: var(--warm);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(118deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0) 44%),
    linear-gradient(28deg, rgba(239, 230, 218, 0.72) 0%, rgba(239, 230, 218, 0) 34%),
    linear-gradient(152deg, rgba(232, 236, 227, 0.9) 0%, rgba(232, 236, 227, 0) 42%),
    linear-gradient(180deg, var(--paper) 0%, var(--warm) 38%, #f4f6f2 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(38, 33, 28, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 33, 28, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0, rgb(38, 33, 28) 20%, rgb(38, 33, 28) 100%);
  opacity: 0.72;
}

body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(38, 33, 28, 0.045), transparent 18%, transparent 82%, rgba(38, 33, 28, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 24%, rgba(38, 33, 28, 0.035));
  mix-blend-mode: multiply;
  opacity: 0.44;
}

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

figure {
  margin: 0;
}

figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 8;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.site-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  gap: 22px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px);
  box-shadow:
    18px 0 46px rgba(92, 65, 38, 0.06),
    inset -1px 0 0 rgba(255, 255, 255, 0.58);
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brass-dark);
  font-size: 15px;
  font-weight: 700;
}

.rail-kicker,
.section-kicker {
  margin: 0 0 8px;
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.rail-nav {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.rail-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.rail-nav a:hover,
.rail-nav a.active {
  border-left-color: var(--brass);
  background: linear-gradient(90deg, rgba(168, 121, 59, 0.13), rgba(168, 121, 59, 0.03));
  color: var(--ink);
}

.rail-contact {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.rail-contact strong,
.rail-contact a {
  color: var(--ink);
}

.mobile-topbar {
  display: none;
}

.topbar-menu-button,
.mobile-dock {
  display: none;
}

.mobile-topbar-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1), visibility 240ms ease;
}

.mobile-sheet.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(38, 33, 28, 0.36);
  backdrop-filter: blur(7px);
}

.mobile-sheet-panel {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(100%, 620px);
  max-height: min(82dvh, 720px);
  margin: 0 auto;
  overflow: auto;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 253, 249, 0.62);
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(160deg, rgba(255, 253, 249, 0.96), rgba(247, 243, 237, 0.93)),
    var(--paper);
  box-shadow:
    0 -18px 48px rgba(38, 33, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(18px);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sheet.open .mobile-sheet-panel {
  transform: translateY(0);
}

.mobile-sheet-handle {
  justify-self: center;
  width: 48px;
  height: 4px;
  margin: 3px 0 2px;
  border-radius: 999px;
  background: rgba(38, 33, 28, 0.2);
}

.mobile-sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.mobile-sheet-head h2 {
  font-size: 32px;
}

.sheet-close,
.topbar-menu-button,
.mobile-dock button,
.mobile-dock a,
.mobile-sheet-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--ink);
}

.sheet-close {
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 650;
}

.mobile-sheet-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mobile-sheet-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  color: var(--brass-dark);
  font-size: 13px;
  font-weight: 750;
}

.mobile-section-list {
  display: grid;
  gap: 17px;
}

.mobile-section-group {
  display: grid;
  gap: 8px;
}

.mobile-section-group p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-section-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mobile-section-link {
  display: grid;
  min-height: 78px;
  align-content: start;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(38, 33, 28, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(239, 230, 218, 0.36)),
    rgba(255, 253, 249, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}

.mobile-section-link:active {
  transform: translateY(1px) scale(0.99);
}

.mobile-section-link span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.mobile-section-link small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.28;
}

body.mobile-sheet-open {
  overflow: hidden;
}

.site-main {
  position: relative;
  width: calc(100% - var(--rail));
  margin-left: var(--rail);
}

.section-panel {
  position: relative;
  width: min(var(--max), calc(100% - 56px));
  scroll-margin-top: calc(var(--anchor-offset) + 18px);
  margin: 44px auto;
  padding: clamp(52px, 5vw, 68px);
  border: 1px solid rgba(38, 33, 28, 0.085);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 253, 249, 0.52)),
    rgba(255, 253, 249, 0.8);
  box-shadow: var(--shadow-reading);
  overflow: hidden;
  isolation: isolate;
}

.section-panel::before {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 121, 59, 0.65));
  opacity: 0.64;
  content: "";
  z-index: -1;
}

.section-panel::after {
  position: absolute;
  left: 28px;
  bottom: 24px;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgba(38, 33, 28, 0.16), transparent);
  opacity: 0.58;
  content: "";
  z-index: -1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > .button {
  justify-self: end;
  align-self: end;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.9;
  font-weight: 700;
}

.title-shine {
  display: inline-block;
  position: relative;
  cursor: default;
  isolation: isolate;
}

.title-shine::after {
  position: absolute;
  inset: 0;
  content: attr(data-title);
  background-image:
    linear-gradient(
      105deg,
      transparent 0%,
      transparent 37%,
      rgba(255, 253, 249, 0.12) 43%,
      rgba(255, 255, 255, 0.86) 48%,
      #ead29f 51%,
      rgba(168, 121, 59, 0.32) 55%,
      rgba(255, 253, 249, 0.1) 62%,
      transparent 68%,
      transparent 100%
    );
  background-position: 140% 0;
  background-repeat: no-repeat;
  background-size: 290% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(234, 210, 159, 0.16);
  will-change: background-position, opacity;
  -webkit-text-fill-color: transparent;
}

.title-shine:hover::after {
  animation: titleShine 7200ms cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes titleShine {
  0% {
    background-position: 140% 0;
    opacity: 0;
  }

  16% {
    opacity: 0.36;
  }

  48% {
    opacity: 0.66;
  }

  82% {
    background-position: -52% 0;
    opacity: 0.42;
  }

  100% {
    background-position: -52% 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .title-shine:hover::after {
    animation: none;
    opacity: 0.3;
    background-position: 50% 0;
  }

  .icon-drop-shell,
  .icon-drop-shell::after,
  .icon-drop-shell lord-icon,
  .icon-drop-shell .semantic-svg {
    animation: none;
    transition: none;
  }
}

h2 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.02;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  line-height: 1.24;
  font-weight: 700;
}

.section-lead,
.hero-lead {
  max-width: var(--reading-width);
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.section-lead.compact {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.62;
}

.warm-note {
  max-width: 62ch;
  margin: 16px 0 0;
  border: 1px solid rgba(168, 121, 59, 0.16);
  border-left: 3px solid rgba(168, 121, 59, 0.58);
  border-radius: 16px;
  padding: 13px 15px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.86), rgba(239, 230, 218, 0.42)),
    rgba(255, 253, 249, 0.72);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-warm-note {
  max-width: 58ch;
  margin-top: 18px;
}

.hero {
  display: grid;
  min-height: 88dvh;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 56px;
  align-items: center;
  margin-top: 0;
  padding-top: 48px;
  border: 0;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(105deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.8) 44%, rgba(232, 236, 227, 0.9) 100%),
    linear-gradient(15deg, rgba(168, 121, 59, 0.12), transparent 38%);
  box-shadow: none;
}

.hero::before {
  display: none;
}

.hero-copy {
  position: relative;
  display: grid;
  gap: 0;
}

.hero-copy::before {
  position: absolute;
  left: -34px;
  top: 8px;
  width: 4px;
  height: 164px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brass), rgba(168, 121, 59, 0));
  content: "";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.concierge-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.concierge-route a {
  display: grid;
  min-height: 118px;
  align-content: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 237, 0.52)),
    rgba(255, 253, 249, 0.72);
  box-shadow:
    0 16px 36px rgba(92, 65, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, background 220ms ease;
}

.concierge-route a:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 121, 59, 0.48);
  background: rgba(255, 253, 249, 0.96);
}

.concierge-route span {
  color: var(--brass-dark);
  font-size: 13px;
  font-weight: 800;
}

.concierge-route strong {
  font-size: 17px;
}

.concierge-route small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

lord-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.semantic-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 34px;
  height: 34px;
  color: var(--brass-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms ease;
}

.lordicon-shell,
.module-title-icon {
  position: relative;
  display: inline-grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(168, 121, 59, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 237, 0.58)),
    rgba(255, 253, 249, 0.8);
  box-shadow:
    0 16px 32px rgba(92, 65, 38, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transform: translateZ(0);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.lordicon-shell::before,
.module-title-icon::before {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 16px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.58), transparent 36%),
    linear-gradient(315deg, rgba(168, 121, 59, 0.08), transparent 48%);
  content: "";
}

.icon-drop-shell {
  isolation: isolate;
  overflow: visible;
}

.icon-drop-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(45deg, rgba(168, 121, 59, 0.72) 0%, rgba(201, 171, 122, 0.62) 48%, rgba(67, 105, 87, 0.68) 100%);
  box-shadow:
    0 14px 28px rgba(92, 65, 38, 0.12),
    0 24px 48px rgba(67, 105, 87, 0.075);
  opacity: 0.72;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(0.97);
  transform-origin: 50% 100%;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-drop-shell::before {
  z-index: 0;
}

.lordicon-shell lord-icon,
.module-title-icon lord-icon,
.lordicon-shell .semantic-svg,
.module-title-icon .semantic-svg {
  position: relative;
  width: 34px;
  height: 34px;
  z-index: 1;
}

.lordicon-shell lord-icon,
.module-title-icon lord-icon {
  filter: drop-shadow(0 6px 10px rgba(92, 65, 38, 0.08));
  transform: translateZ(0);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), filter 220ms ease;
}

.lordicon-shell:hover,
.module-title-icon:hover,
.scenario-card:hover .scenario-icon,
.service-card:hover .service-icon,
.integration-card:hover .mini-icon,
.article-card:hover .mini-icon {
  transform: translateY(-2px);
  border-color: rgba(168, 121, 59, 0.48);
  box-shadow:
    0 20px 40px rgba(92, 65, 38, 0.14),
    0 34px 70px rgba(67, 105, 87, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lordicon-shell.icon-drop-shell:hover::after,
.module-title-icon.icon-drop-shell:hover::after,
.concierge-route a:focus-visible .icon-drop-shell::after,
.concierge-route a:hover .icon-drop-shell::after,
.client-path-card:focus-within .icon-drop-shell::after,
.client-path-card:hover .icon-drop-shell::after,
.checklist-box:focus-within .icon-drop-shell::after,
.checklist-box:hover .icon-drop-shell::after,
.status-card:focus-within .icon-drop-shell::after,
.status-card:hover .icon-drop-shell::after,
.module-callout:focus-within .icon-drop-shell::after,
.module-callout:hover .icon-drop-shell::after {
  animation: iconDropSettle 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  opacity: 0.86;
  transform: translate3d(5px, 7px, 0) rotate(9deg) scale(1);
}

.lordicon-shell:hover lord-icon,
.module-title-icon:hover lord-icon,
.scenario-card:hover .scenario-icon lord-icon,
.service-card:hover .service-icon lord-icon,
.integration-card:hover .mini-icon lord-icon,
.article-card:hover .mini-icon lord-icon {
  filter: drop-shadow(0 8px 12px rgba(92, 65, 38, 0.1));
  transform: translateY(-1px) scale(1.02);
}

.lordicon-shell:hover .semantic-svg,
.module-title-icon:hover .semantic-svg,
.scenario-card:hover .scenario-icon .semantic-svg,
.service-card:hover .service-icon .semantic-svg,
.integration-card:hover .mini-icon .semantic-svg,
.article-card:hover .mini-icon .semantic-svg {
  color: var(--brass);
  transform: translateY(-1px) scale(1.025);
}

.concierge-route a:hover .icon-drop-shell lord-icon,
.concierge-route a:focus-visible .icon-drop-shell lord-icon,
.client-path-card:hover .icon-drop-shell lord-icon,
.client-path-card:focus-within .icon-drop-shell lord-icon,
.checklist-box:hover .icon-drop-shell lord-icon,
.checklist-box:focus-within .icon-drop-shell lord-icon,
.status-card:hover .icon-drop-shell lord-icon,
.status-card:focus-within .icon-drop-shell lord-icon,
.module-callout:hover .icon-drop-shell lord-icon,
.module-callout:focus-within .icon-drop-shell lord-icon,
.module-callout:focus-within .icon-drop-shell .semantic-svg,
.module-callout:hover .icon-drop-shell .semantic-svg {
  filter: drop-shadow(0 8px 12px rgba(92, 65, 38, 0.1));
  transform: translateY(-1px) scale(1.02);
}

.route-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 2px;
}

.route-icon lord-icon {
  width: 32px;
  height: 32px;
}

.module-title-icon {
  width: 74px;
  height: 74px;
  margin-top: 28px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 230, 218, 0.64)),
    rgba(255, 253, 249, 0.78);
}

.module-title-icon::before {
  border-radius: 22px;
}

.module-title-icon lord-icon {
  width: 50px;
  height: 50px;
}

.module-title-icon .semantic-svg {
  width: 46px;
  height: 46px;
}

.animated-calculator-icon {
  overflow: visible;
}

.animated-calculator-icon .calculator-body {
  stroke: currentColor;
}

.animated-calculator-icon .calculator-screen {
  color: var(--brass);
  stroke: currentColor;
  stroke-width: 1.8;
  animation: calculatorScreenPulse 5.6s ease-in-out infinite;
}

.animated-calculator-icon .calculator-key {
  stroke: currentColor;
  transform-box: fill-box;
  transform-origin: center;
  animation: calculatorKeyPress 5.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.animated-calculator-icon .key-two {
  animation-delay: 0.16s;
}

.animated-calculator-icon .key-three {
  animation-delay: 0.32s;
}

.animated-calculator-icon .key-four {
  animation-delay: 0.48s;
}

.animated-calculator-icon .key-five {
  animation-delay: 0.64s;
}

.animated-calculator-icon .key-six {
  animation-delay: 0.8s;
}

.card-heading,
.checklist-head,
.price-result-head,
.status-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.compact-heading {
  gap: 12px;
  align-items: center;
}

.scenario-icon,
.service-icon,
.checklist-icon {
  width: 54px;
  height: 54px;
}

.scenario-icon lord-icon,
.service-icon lord-icon,
.checklist-icon lord-icon,
.scenario-icon .semantic-svg,
.service-icon .semantic-svg,
.checklist-icon .semantic-svg {
  width: 37px;
  height: 37px;
}

.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
}

.mini-icon lord-icon {
  width: 28px;
  height: 28px;
}

.mini-icon .semantic-svg {
  width: 27px;
  height: 27px;
}

.price-icon {
  position: relative;
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.22);
  border-radius: 18px;
  border-color: rgba(255, 253, 249, 0.22);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.14), rgba(168, 121, 59, 0.1)),
    rgba(255, 253, 249, 0.06);
  box-shadow:
    0 20px 44px rgba(12, 10, 8, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.price-icon::before {
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(125deg, rgba(255, 253, 249, 0.22), transparent 38%),
    linear-gradient(315deg, rgba(210, 167, 100, 0.16), transparent 52%);
}

.price-icon .animated-calculator-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  color: var(--paper);
}

.price-icon .animated-calculator-icon .calculator-screen {
  color: var(--brass);
}

.status-icon {
  border-color: rgba(67, 105, 87, 0.28);
}

@keyframes iconDropSettle {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.97);
  }

  70% {
    transform: translate3d(6px, 8px, 0) rotate(10deg) scale(1.01);
  }

  100% {
    transform: translate3d(5px, 7px, 0) rotate(9deg) scale(1);
  }
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(38, 33, 28, 0.18);
  border-radius: 999px;
  padding: 12px 18px;
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.76) 0%, rgba(255, 255, 255, 0.94) 78%, rgba(255, 253, 249, 1) 100%),
    var(--paper);
  color: var(--ink);
  font-weight: 500;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
  box-shadow:
    0 3px 2px rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(92, 65, 38, 0.1),
    0 -3px 7px rgba(255, 255, 255, 0.74),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(38, 33, 28, 0.06);
  transform: translateZ(0);
  transition:
    transform 190ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 190ms ease,
    background 190ms ease,
    color 190ms ease,
    box-shadow 190ms ease;
}

.button::before {
  position: absolute;
  inset: 1px 10px auto;
  height: 45%;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  content: "";
  opacity: 0.9;
}

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

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 121, 59, 0.46);
  box-shadow:
    0 4px 3px rgba(255, 255, 255, 0.96),
    0 13px 22px rgba(92, 65, 38, 0.16),
    0 -4px 8px rgba(255, 255, 255, 0.88),
    inset 0 0 4px 2px rgba(239, 230, 218, 0.76),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.button:active,
.button:focus-visible {
  transform: translateY(1px) scale(0.985);
  border-color: rgba(168, 121, 59, 0.58);
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.82),
    0 6px 10px rgba(92, 65, 38, 0.1),
    inset 0 0 5px 2px rgba(92, 65, 38, 0.16),
    inset 0 0 24px rgba(168, 121, 59, 0.16);
}

.button-primary {
  border-color: rgba(168, 121, 59, 0.58);
  background:
    linear-gradient(to top, rgba(218, 190, 143, 0.86) 0%, rgba(255, 250, 241, 0.98) 72%, rgba(255, 255, 255, 1) 100%),
    linear-gradient(135deg, rgba(168, 121, 59, 0.2), rgba(232, 236, 227, 0.42)),
    var(--paper);
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  box-shadow:
    0 4px 3px rgba(255, 255, 255, 0.92),
    0 16px 30px rgba(168, 121, 59, 0.2),
    0 26px 48px rgba(67, 105, 87, 0.08),
    0 -4px 8px rgba(255, 255, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(168, 121, 59, 0.18);
}

.button-primary:hover {
  background:
    linear-gradient(to top, rgba(208, 177, 124, 0.92) 0%, rgba(255, 249, 238, 1) 74%, rgba(255, 255, 255, 1) 100%),
    linear-gradient(135deg, rgba(168, 121, 59, 0.24), rgba(232, 236, 227, 0.5)),
    var(--paper);
  box-shadow:
    0 5px 4px rgba(255, 255, 255, 0.98),
    0 20px 38px rgba(168, 121, 59, 0.24),
    0 32px 58px rgba(67, 105, 87, 0.1),
    0 -4px 8px rgba(255, 255, 255, 0.86),
    inset 0 0 4px 2px rgba(218, 190, 143, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.button-primary:active,
.button-primary:focus-visible {
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.82),
    0 8px 14px rgba(168, 121, 59, 0.13),
    inset 0 0 6px 3px rgba(92, 65, 38, 0.14),
    inset 0 0 28px rgba(168, 121, 59, 0.24);
}

.button-quiet {
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.72) 0%, rgba(255, 255, 255, 0.94) 80%, rgba(255, 253, 249, 1) 100%),
    rgba(255, 253, 249, 0.72);
  color: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 740px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-fact {
  display: grid;
  gap: 5px;
}

.hero-fact strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.hero-fact span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 620px;
  overflow: visible;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 253, 249, 0.9), transparent 28%),
    linear-gradient(145deg, rgba(232, 236, 227, 0.9), rgba(239, 230, 218, 0.72));
  box-shadow: none;
  transform: translateZ(0);
}

.hero-media::before {
  position: absolute;
  inset: -18px -18px 46px 34px;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(168, 121, 59, 0.2), rgba(255, 253, 249, 0.06)),
    rgba(239, 230, 218, 0.8);
  content: "";
  transform: rotate(2.2deg);
  z-index: -2;
}

.hero-media::after {
  position: absolute;
  inset: auto 11% -34px 8%;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(67, 105, 87, 0.2);
  filter: blur(34px);
  content: "";
  z-index: -1;
}

.hero-photo-composition {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 12px;
  align-items: stretch;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.54);
  border-radius: 34px;
  background: var(--mist);
  box-shadow:
    0 34px 80px rgba(92, 65, 38, 0.22),
    0 76px 150px rgba(67, 105, 87, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.photo-frame::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(0deg, rgba(38, 33, 28, 0.18), transparent 38%);
  content: "";
  z-index: 1;
}

.hero-portrait-frame {
  height: 100%;
  min-height: 620px;
  border-radius: 34px 18px 18px 34px;
}

.photo-primary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}

.hero-proof-strip {
  display: grid;
  grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

.proof-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.6);
  border-radius: 18px;
  background: var(--mist);
  box-shadow:
    0 18px 44px rgba(92, 65, 38, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.proof-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(0deg, rgba(38, 33, 28, 0.46), transparent 52%);
  content: "";
}

.proof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-photo figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: rgba(255, 253, 249, 0.9);
  font-size: 12px;
  font-weight: 750;
}

.proof-photo:hover img {
  transform: scale(1.04);
}

.hero-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  gap: 2px;
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 253, 249, 0.58);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(12px);
  color: var(--muted);
  box-shadow:
    0 18px 42px rgba(38, 33, 28, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  z-index: 1;
}

.hero-note strong {
  color: var(--ink);
  font-size: 18px;
}

.about-grid,
.documents-layout,
.pricing-layout,
.status-layout,
.appointment-layout,
.knowledge-layout,
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: start;
}

#about {
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(239, 230, 218, 0.68)),
    linear-gradient(35deg, rgba(168, 121, 59, 0.09), transparent 42%),
    var(--linen);
}

#credentials {
  background:
    radial-gradient(circle at 74% 18%, rgba(168, 121, 59, 0.14), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(67, 105, 87, 0.13), transparent 34%),
    linear-gradient(138deg, rgba(255, 253, 249, 0.96), rgba(247, 243, 237, 0.78) 48%, rgba(232, 236, 227, 0.84)),
    var(--paper);
}

#client-path {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 253, 249, 0.94), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(67, 105, 87, 0.15), transparent 34%),
    linear-gradient(138deg, rgba(38, 33, 28, 0.045), rgba(255, 253, 249, 0.82) 46%, rgba(239, 230, 218, 0.78)),
    var(--clay);
}

#client-path::before {
  width: 180px;
  background: linear-gradient(90deg, transparent, rgba(67, 105, 87, 0.48), rgba(168, 121, 59, 0.52));
}

#scenarios {
  background:
    linear-gradient(145deg, rgba(232, 236, 227, 0.94), rgba(255, 253, 249, 0.78)),
    linear-gradient(18deg, rgba(67, 105, 87, 0.12), transparent 38%),
    var(--sage);
}

#services {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(247, 243, 237, 0.76)),
    var(--paper);
}

#documents,
#pricing,
#status {
  background:
    linear-gradient(135deg, rgba(38, 33, 28, 0.04), rgba(168, 121, 59, 0.12)),
    linear-gradient(205deg, rgba(67, 105, 87, 0.1), transparent 36%),
    rgba(255, 253, 249, 0.9);
}

#appointment {
  background:
    linear-gradient(135deg, rgba(238, 240, 237, 0.92), rgba(255, 253, 249, 0.82));
}

#integrations,
#knowledge,
#contacts {
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.94), rgba(244, 246, 242, 0.9));
}

.editorial-quote {
  max-width: 620px;
  margin: 34px 0 0;
  padding: 28px 0 28px 28px;
  border-left: 3px solid var(--brass);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 600;
}

.fact-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.fact-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--muted);
}

.fact-row::before {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  content: "";
}

.portrait-card {
  position: relative;
  display: grid;
  gap: 26px;
}

.portrait-card::before {
  position: absolute;
  inset: 24px 30px auto auto;
  width: 58%;
  height: 220px;
  border: 1px solid rgba(168, 121, 59, 0.22);
  border-radius: 26px;
  background: rgba(168, 121, 59, 0.06);
  content: "";
  transform: rotate(5deg);
  z-index: -1;
}

.photo-story {
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: end;
}

.story-photo,
.visit-photo,
.heading-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.58);
  border-radius: 22px;
  background: var(--mist);
  box-shadow:
    0 20px 44px rgba(92, 65, 38, 0.16),
    0 46px 86px rgba(67, 105, 87, 0.09);
}

.story-photo::after,
.visit-photo::after,
.heading-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(0deg, rgba(38, 33, 28, 0.35), transparent 48%);
  content: "";
}

.story-photo img,
.visit-photo img,
.heading-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-photo:hover img,
.visit-photo:hover img,
.heading-photo:hover img,
.proof-photo:hover img {
  transform: scale(1.035);
}

.story-photo figcaption,
.visit-photo figcaption,
.heading-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: rgba(255, 253, 249, 0.88);
  font-weight: 650;
}

.story-photo-main {
  grid-column: 1 / -1;
  height: 370px;
  min-height: 370px;
}

.story-photo-main img {
  object-position: 50% 44%;
}

.story-photo-secondary {
  width: 250px;
  height: 210px;
  min-height: 210px;
  margin-top: -104px;
  margin-left: 28px;
  transform: rotate(-2.2deg);
  z-index: 2;
}

.story-photo-secondary img {
  object-position: 42% 52%;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  color: var(--brass-dark);
  font-weight: 700;
}

.timeline-item span {
  color: var(--muted);
}

.credentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  gap: 44px;
  align-items: start;
}

.credentials-text-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.62fr);
}

.credentials-main {
  display: grid;
  gap: 24px;
}

.credential-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.credential-metric {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(38, 33, 28, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 253, 249, 0.58)),
    rgba(255, 253, 249, 0.62);
  box-shadow:
    0 14px 30px rgba(92, 65, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.credential-metric strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 0.96;
}

.credential-metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.credential-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.credential-summary-panel {
  display: grid;
  gap: 18px;
  align-self: stretch;
  padding: 26px;
  border: 1px solid rgba(38, 33, 28, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.86), rgba(243, 239, 230, 0.68)),
    rgba(255, 253, 249, 0.72);
  box-shadow:
    0 18px 44px rgba(92, 65, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.credential-summary-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.06;
}

.credential-summary-panel .warm-note {
  margin: 0;
}

.credential-merits {
  display: grid;
  gap: 0;
  margin-top: 2px;
  border-top: 1px solid var(--line);
}

.credential-merit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.credential-merit > span {
  color: var(--brass-dark);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.credential-merit small {
  display: block;
  margin-bottom: 6px;
  color: var(--brass-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.credential-merit h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.credential-merit p {
  margin: 7px 0 0;
  color: var(--muted);
}

.credential-certificates-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 24px;
  margin-top: 6px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.credential-certificates-panel[hidden] {
  display: none;
}

.credential-certificates-panel.open {
  animation: softReveal 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-certificates-head {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(280px, 0.35fr);
  gap: 24px;
  align-items: end;
}

.credential-certificates-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
}

.credential-certificates-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.credential-certificate-grid {
  display: grid;
  gap: 22px;
}

.credential-certificate-group {
  display: grid;
  gap: 14px;
  padding: 20px 0 6px;
  border-top: 1px solid rgba(38, 33, 28, 0.11);
}

.credential-certificate-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.credential-certificate-group-head h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.credential-certificate-group-head span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credential-highlights {
  display: grid;
  gap: 0;
  margin-top: 2px;
  border-top: 1px solid var(--line);
}

.credential-highlight {
  display: grid;
  grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.credential-highlight h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.credential-highlight p {
  margin: 0;
  color: var(--muted);
}

.credential-proof-panel {
  display: grid;
  gap: 26px;
}

.credential-proof-stack {
  position: relative;
  min-height: 410px;
}

.credential-stack-card {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 20px;
  background: var(--paper);
  box-shadow:
    0 26px 64px rgba(54, 42, 30, 0.18),
    0 54px 96px rgba(67, 105, 87, 0.1);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}

.credential-stack-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.34), transparent 32%),
    linear-gradient(0deg, rgba(38, 33, 28, 0.52), transparent 48%);
  content: "";
}

.credential-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-stack-card span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: rgba(255, 253, 249, 0.94);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.credential-stack-card:hover {
  box-shadow:
    0 30px 74px rgba(54, 42, 30, 0.22),
    0 62px 110px rgba(67, 105, 87, 0.12);
}

.credential-stack-card:hover img {
  transform: scale(1.04);
}

.credential-stack-card-1 {
  inset: 0 auto auto 6%;
  width: 54%;
  height: 330px;
  transform: rotate(-5deg);
  z-index: 2;
}

.credential-stack-card-1:hover {
  transform: translateY(-8px) rotate(-4deg);
}

.credential-stack-card-2 {
  top: 56px;
  right: 0;
  width: 50%;
  height: 318px;
  transform: rotate(6deg);
  z-index: 3;
}

.credential-stack-card-2:hover {
  transform: translateY(-8px) rotate(5deg);
}

.credential-stack-card-3 {
  left: 24%;
  bottom: 0;
  width: 46%;
  height: 230px;
  transform: rotate(1.5deg);
  z-index: 4;
}

.credential-stack-card-3:hover {
  transform: translateY(-8px) rotate(2.5deg);
}

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

.credential-timeline-item {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(67, 105, 87, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.64);
}

.credential-timeline-item time {
  display: block;
  color: var(--success);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.credential-timeline-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.credential-proof-gallery {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.credential-proof-card {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgba(38, 33, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 14px 34px rgba(92, 65, 38, 0.07);
}

.credential-proof-image {
  overflow: hidden;
  min-height: 218px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(38, 33, 28, 0.12);
  border-radius: 14px;
  background: var(--mist);
}

.credential-proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-proof-card:hover .credential-proof-image img {
  transform: scale(1.04);
}

.credential-proof-card span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.credential-proof-card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.credential-proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.credential-archive {
  display: grid;
  grid-column: 1 / -1;
  gap: 24px;
  margin-top: 14px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.credential-archive-head {
  display: grid;
  max-width: 760px;
  gap: 8px;
}

.credential-archive-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
}

.credential-archive-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.credential-archive-grid {
  display: grid;
  gap: 22px;
}

.credential-archive-group {
  display: grid;
  gap: 14px;
  padding: 20px 0 6px;
  border-top: 1px solid rgba(38, 33, 28, 0.11);
}

.credential-archive-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.credential-archive-group-head h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.credential-archive-group-head span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credential-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 220px));
  gap: 12px;
  justify-content: start;
}

.credential-mini-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(38, 33, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.credential-mini-card:hover {
  border-color: rgba(168, 121, 59, 0.28);
  box-shadow: 0 16px 34px rgba(92, 65, 38, 0.09);
  transform: translateY(-2px);
}

.credential-mini-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(38, 33, 28, 0.1);
  border-radius: 14px;
  background: var(--mist);
}

.credential-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-mini-card:hover .credential-mini-image img {
  transform: scale(1.04);
}

.credential-mini-card span {
  color: var(--brass-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.credential-mini-card h5 {
  margin: 5px 0 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.credential-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.client-path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr) minmax(0, 0.88fr);
  gap: 16px;
  margin-top: 12px;
}

.client-path-card {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: space-between;
  gap: 26px;
  overflow: hidden;
  border: 1px solid rgba(38, 33, 28, 0.12);
  border-radius: 24px;
  padding: 26px;
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.88), rgba(255, 253, 249, 0.58)),
    rgba(255, 253, 249, 0.72);
  box-shadow:
    0 14px 30px rgba(92, 65, 38, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transform: translateZ(0);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.client-path-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(315deg, rgba(168, 121, 59, 0.09), transparent 44%);
  content: "";
}

.client-path-card::after {
  position: absolute;
  right: -38px;
  bottom: -58px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(168, 121, 59, 0.16);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.34);
  content: "";
}

.client-path-card.featured {
  min-height: 308px;
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(232, 236, 227, 0.72)),
    linear-gradient(40deg, rgba(168, 121, 59, 0.14), transparent 42%);
  box-shadow:
    0 24px 58px rgba(92, 65, 38, 0.13),
    0 54px 106px rgba(67, 105, 87, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-path-card:nth-child(4) {
  grid-column: span 2;
}

.client-path-card > * {
  position: relative;
  z-index: 1;
}

.client-path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 121, 59, 0.4);
  box-shadow:
    0 26px 58px rgba(92, 65, 38, 0.14),
    0 48px 94px rgba(67, 105, 87, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-path-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.path-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
}

.path-icon lord-icon {
  width: 42px;
  height: 42px;
}

.client-path-card.featured .path-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
}

.client-path-card.featured .path-icon lord-icon {
  width: 52px;
  height: 52px;
}

.client-path-step {
  color: rgba(119, 81, 35, 0.78);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.9;
}

.client-path-card h3 {
  max-width: 560px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.04;
}

.client-path-card:not(.featured) h3 {
  font-size: 25px;
}

.client-path-card p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
}

.client-path-detail {
  max-width: 680px;
  padding-top: 16px;
  border-top: 1px solid rgba(38, 33, 28, 0.1);
  color: var(--soft);
  font-size: 14px;
}

.readiness-strip {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 28px;
  margin-top: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(67, 105, 87, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.78), rgba(232, 236, 227, 0.58)),
    rgba(255, 253, 249, 0.78);
  box-shadow:
    0 18px 44px rgba(67, 105, 87, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.readiness-strip span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readiness-strip strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.readiness-strip p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.segment {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.segment:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.52), rgba(255, 255, 255, 0.78)),
    rgba(255, 253, 249, 0.64);
  box-shadow:
    0 4px 8px rgba(92, 65, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.segment:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    inset 0 0 5px rgba(92, 65, 38, 0.16),
    inset 0 0 18px rgba(168, 121, 59, 0.12);
}

.segment.active {
  background:
    linear-gradient(to top, rgba(218, 190, 143, 0.78) 0%, rgba(255, 250, 241, 0.96) 76%, rgba(255, 255, 255, 1) 100%),
    rgba(255, 253, 249, 0.9);
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
  box-shadow:
    0 4px 10px rgba(168, 121, 59, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(168, 121, 59, 0.16);
}

.scenario-grid,
.service-grid,
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scenario-card,
.service-card,
.integration-card,
.article-card {
  border: 1px solid rgba(38, 33, 28, 0.095);
  border-radius: 20px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 253, 249, 0.64)),
    rgba(255, 253, 249, 0.66);
  box-shadow:
    0 10px 24px rgba(92, 65, 38, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, background 220ms ease;
}

.scenario-card:hover,
.service-card:hover,
.integration-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 121, 59, 0.38);
  background: rgba(255, 253, 249, 0.94);
}

.scenario-card.open {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 237, 0.78)),
    rgba(255, 253, 249, 0.98);
  box-shadow:
    0 24px 58px rgba(92, 65, 38, 0.14),
    0 44px 90px rgba(67, 105, 87, 0.1);
}

.scenario-card button {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: start;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
}

.scenario-title,
.service-card h3,
.article-card h3,
.article-title {
  display: block;
  font-size: 21px;
  line-height: 1.28;
}

.scenario-title::before,
.service-card h3::before {
  display: block;
  margin-bottom: 10px;
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  content: attr(data-index);
}

.scenario-preview,
.service-card p,
.integration-card p,
.article-card p {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
}

.scenario-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass-dark);
  transition: transform 180ms ease;
}

.scenario-card.open .scenario-toggle {
  transform: rotate(45deg);
}

.scenario-detail {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  animation: softReveal 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scenario-card.open .scenario-detail {
  display: grid;
  gap: 18px;
}

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

.mini-label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.plain-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 16px;
}

.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  content: "";
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid rgba(38, 33, 28, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.62), rgba(255, 255, 255, 0.9)),
    rgba(255, 253, 249, 0.66);
  color: var(--muted);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.66);
  box-shadow:
    0 4px 10px rgba(92, 65, 38, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(38, 33, 28, 0.04);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--brass);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow:
    0 8px 16px rgba(92, 65, 38, 0.1),
    inset 0 0 4px 2px rgba(239, 230, 218, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filter-button:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    0 2px 4px rgba(92, 65, 38, 0.06),
    inset 0 0 5px rgba(92, 65, 38, 0.14),
    inset 0 0 18px rgba(168, 121, 59, 0.12);
}

.service-card {
  display: grid;
  gap: 14px;
  min-height: 235px;
  align-content: space-between;
  box-shadow: none;
}

.service-card .card-heading {
  min-height: 104px;
}

.service-card .hero-actions {
  gap: 8px;
  margin-top: 6px;
}

.service-card .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill,
.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--brass-dark);
  font-size: 13px;
}

.form-panel,
.calculator,
.price-result,
.status-card,
.booking-panel,
.checklist-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 249, 0.74)),
    rgba(255, 253, 249, 0.9);
  box-shadow:
    0 18px 44px rgba(92, 65, 38, 0.095),
    0 42px 80px rgba(67, 105, 87, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.documents-layout .form-panel,
.pricing-layout .price-result,
.status-layout .status-card,
.appointment-layout .booking-panel,
.contacts-layout .map-panel {
  box-shadow: var(--shadow-deep);
}

.form-panel,
.booking-panel {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.form-panel .warm-note,
.booking-panel .warm-note {
  margin-top: -4px;
}

.gosuslugi-panel {
  align-content: start;
}

.gosuslugi-card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.gosuslugi-card-icon {
  width: 56px;
  height: 56px;
}

.gosuslugi-card-heading .section-kicker {
  margin-bottom: 4px;
}

.gosuslugi-card-heading h3 {
  margin: 0;
}

.gosuslugi-card-list {
  display: grid;
  gap: 8px;
}

.gosuslugi-card-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.gosuslugi-link-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.gosuslugi-booking-panel {
  min-height: 0;
}

.process-strip,
.price-explainer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.process-strip span,
.price-explainer span,
.module-note {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
}

.process-strip span,
.price-explainer span {
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 650;
}

.price-explainer span:nth-child(even) {
  border-color: transparent;
  background: transparent;
  color: var(--brass-dark);
}

.price-formula-row {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}

.price-formula-row .module-title-icon {
  width: 64px;
  height: 64px;
  margin-top: 0;
  border-radius: 22px;
}

.price-formula-row .module-title-icon::before {
  border-radius: 20px;
}

.price-formula-row .module-title-icon .semantic-svg {
  width: 42px;
  height: 42px;
}

.price-formula-row .price-explainer {
  min-width: 0;
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.price-formula-row .price-explainer span {
  padding: 8px 12px;
}

.module-callout {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 16px;
  margin: 24px 0 0;
}

.module-callout-wide {
  max-width: 840px;
}

.module-callout .module-title-icon {
  margin-top: 0;
}

.module-callout .module-note {
  flex: 1 1 auto;
  margin: 0;
}

.module-callout .process-strip {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
}

.module-note {
  max-width: 560px;
  margin: 24px 0 0;
  padding: 14px 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 12px 13px;
  transition: border-color 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--line-strong);
  background: var(--white);
}

.file-drop {
  display: grid;
  gap: 10px;
  min-height: 112px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(168, 121, 59, 0.05) 0, rgba(168, 121, 59, 0.05) 8px, transparent 8px, transparent 16px),
    rgba(255, 253, 249, 0.86);
  color: var(--muted);
  text-align: center;
}

.file-drop input {
  max-width: 250px;
  border: 0;
  background: transparent;
}

.form-notice,
.policy-placeholder {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-notice {
  border: 1px solid rgba(168, 121, 59, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 253, 249, 0.78);
}

.consent-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 650;
}

.form-message.error {
  color: #8b3b2f;
}

.checklist-box {
  margin-top: 20px;
  padding: 24px;
}

.checklist-head {
  align-items: center;
}

.checklist-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.checklist-box h3 {
  margin-bottom: 10px;
}

.checklist-note,
.checklist-disclaimer {
  border: 1px solid rgba(168, 121, 59, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.86), rgba(239, 230, 218, 0.42)),
    rgba(255, 253, 249, 0.76);
  color: var(--muted);
  line-height: 1.55;
}

.checklist-note {
  margin: 18px 0 0;
  padding: 14px 16px;
}

.checklist-groups {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.checklist-group {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 121, 59, 0.16);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 243, 237, 0.54)),
    rgba(255, 253, 249, 0.82);
  box-shadow:
    0 14px 34px rgba(92, 65, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.checklist-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-group-title span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(168, 121, 59, 0.22);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.84);
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 700;
}

.checklist-group-title h4 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.checklist-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-items li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(168, 121, 59, 0.12);
  padding-top: 10px;
  color: var(--muted);
  line-height: 1.48;
}

.checklist-items li:first-child {
  border-top: 0;
  padding-top: 0;
}

.check-marker {
  display: inline-flex;
  min-width: 40px;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(168, 121, 59, 0.1);
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 700;
}

.checklist-disclaimer {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 13px;
}

.pricing-layout {
  align-items: center;
}

.calculator {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-top: 28px;
  padding: 24px;
}

.field small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pricing-optional-field[hidden] {
  display: none;
}

.toggle-line {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--muted);
}

.toggle-line input {
  width: auto;
  margin-top: 5px;
}

.calculator-source {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.price-result {
  padding: 30px;
  align-self: center;
  background:
    linear-gradient(145deg, rgba(38, 33, 28, 0.98), rgba(68, 57, 48, 0.94)),
    var(--ink);
  color: var(--paper);
  box-shadow:
    0 30px 70px rgba(38, 33, 28, 0.24),
    0 70px 120px rgba(168, 121, 59, 0.16);
}

.price-result-head {
  align-items: center;
  margin-bottom: 22px;
}

.price-result-head span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 253, 249, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-result h3,
.price-result .price-total {
  color: var(--paper);
}

.price-context {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.1), rgba(210, 167, 100, 0.06)),
    rgba(255, 253, 249, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-context strong {
  display: block;
  margin-bottom: 10px;
  color: var(--paper);
  font-size: 14px;
}

.price-context ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-context li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 253, 249, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.price-context li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(210, 167, 100, 0.12);
}

.price-result .price-row {
  border-bottom-color: rgba(255, 253, 249, 0.15);
  color: rgba(255, 253, 249, 0.68);
}

.price-result .price-row strong {
  color: var(--paper);
}

.price-result .price-note {
  color: rgba(255, 253, 249, 0.64);
}

.price-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.price-source-links span {
  border: 1px solid rgba(255, 253, 249, 0.12);
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(255, 253, 249, 0.7);
  font-size: 13px;
}

.price-source-links span a {
  border: 0;
  padding: 0;
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-source-links a {
  border: 1px solid rgba(255, 253, 249, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(255, 253, 249, 0.78);
  font-size: 13px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.price-source-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(210, 167, 100, 0.48);
  background: rgba(255, 253, 249, 0.08);
}

.price-source-links span a,
.price-source-links span a:hover {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: none;
}

.price-row,
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.price-row strong,
.contact-row strong {
  color: var(--ink);
  text-align: right;
}

.contact-row a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(168, 121, 59, 0.36);
  text-underline-offset: 3px;
}

.contact-action-row,
.route-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.route-link-row a,
.route-link-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--brass-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.price-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
}

.price-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-form {
  display: grid;
  max-width: 520px;
  gap: 16px;
  margin-top: 28px;
}

.status-call-panel {
  display: grid;
  max-width: 560px;
  gap: 14px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(168, 121, 59, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.74);
  box-shadow: 0 18px 46px rgba(38, 33, 28, 0.08);
}

.status-call-panel span {
  color: var(--muted);
}

.status-call-panel strong {
  font-size: clamp(24px, 2.8vw, 34px);
}

.status-call-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-call-panel .button {
  justify-self: start;
}

.status-card {
  padding: 28px;
  min-height: 420px;
}

.status-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.status-demo-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 121, 59, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--brass-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-placeholder {
  display: grid;
  min-height: 340px;
  align-content: center;
  justify-items: start;
  gap: 14px;
}

.status-placeholder p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-heading span {
  color: var(--muted);
}

.status-steps {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.status-step {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 18px;
  color: var(--muted);
}

.status-step::before {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.status-step.done::before {
  border-color: var(--success);
  background: var(--success);
}

.status-step.done span,
.status-step.waiting span {
  color: var(--ink);
  font-weight: 650;
}

.status-step.waiting::before {
  border-color: var(--brass);
  background: var(--brass);
}

.visit-photo-set {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  align-items: end;
  margin-top: 32px;
}

.visit-photo-wide {
  height: 360px;
  min-height: 360px;
}

.visit-photo-wide img {
  object-position: center 44%;
}

.visit-photo-small {
  height: 255px;
  min-height: 255px;
  margin-left: -80px;
  margin-bottom: -28px;
  transform: rotate(2.5deg);
  z-index: 2;
}

.visit-photo-small img {
  object-position: center 56%;
}

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

.choice-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice {
  min-height: 44px;
  border: 1px solid rgba(38, 33, 28, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.5), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
  box-shadow:
    0 4px 10px rgba(92, 65, 38, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(38, 33, 28, 0.04);
  transform: translateZ(0);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.choice.active,
.choice:hover {
  border-color: var(--brass);
  background: rgba(168, 121, 59, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow:
    0 7px 14px rgba(92, 65, 38, 0.09),
    inset 0 0 4px 2px rgba(239, 230, 218, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.choice:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    0 2px 4px rgba(92, 65, 38, 0.05),
    inset 0 0 5px rgba(92, 65, 38, 0.14),
    inset 0 0 18px rgba(168, 121, 59, 0.12);
}

.schedule-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.channel-field {
  position: relative;
  gap: 12px;
}

.native-channel-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.social-choice-card {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(38, 33, 28, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 237, 0.62)),
    rgba(255, 253, 249, 0.82);
  box-shadow:
    0 16px 32px rgba(92, 65, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.channel-option {
  --channel-bg-bottom: #8d754f;
  --channel-bg-top: #c7a56d;
  --channel-glow: rgba(168, 121, 59, 0.22);
  display: grid;
  min-width: 58px;
  flex: 0 0 auto;
  justify-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 400;
  padding: 0;
}

.channel-max {
  --channel-bg-bottom: #80643a;
  --channel-bg-top: #d7bc82;
  --channel-glow: rgba(128, 100, 58, 0.24);
}

.channel-telegram {
  --channel-bg-bottom: #287fa8;
  --channel-bg-top: #55b4da;
  --channel-glow: rgba(40, 127, 168, 0.24);
}

.channel-whatsapp {
  --channel-bg-bottom: #128c7e;
  --channel-bg-top: #4eb8a7;
  --channel-glow: rgba(18, 140, 126, 0.24);
}

.channel-vk {
  --channel-bg-bottom: #4b719d;
  --channel-bg-top: #7f9bb9;
  --channel-glow: rgba(75, 113, 157, 0.24);
}

.channel-email {
  --channel-bg-bottom: #6e654f;
  --channel-bg-top: #c3aa74;
  --channel-glow: rgba(110, 101, 79, 0.22);
}

.channel-phone {
  --channel-bg-bottom: #8b6c42;
  --channel-bg-top: #c4a16b;
  --channel-glow: rgba(139, 108, 66, 0.24);
}

.socialContainer {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(168, 121, 59, 0.18);
  border-radius: 17px;
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.62), rgba(255, 255, 255, 0.92)),
    rgba(255, 253, 249, 0.88);
  color: var(--brass-dark);
  box-shadow:
    0 8px 18px rgba(92, 65, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(38, 33, 28, 0.05);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.socialSvg {
  width: 19px;
  height: 19px;
}

.socialSvg path {
  fill: currentColor;
}

.socialInitial {
  color: currentColor;
  font-size: 12px;
  font-weight: 560;
  line-height: 1;
}

.channel-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.channel-option:hover .socialContainer,
.channel-option.active .socialContainer {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.44);
  background:
    linear-gradient(to top, var(--channel-bg-bottom), var(--channel-bg-top));
  color: var(--paper);
  box-shadow:
    0 14px 24px var(--channel-glow),
    0 22px 42px rgba(92, 65, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.channel-option:hover .channel-label,
.channel-option.active .channel-label {
  color: var(--ink);
}

.channel-option:active .socialContainer {
  transform: translateY(1px) scale(0.9);
}

.channel-option:hover .socialSvg,
.channel-option.active .socialSvg,
.channel-option:hover .socialInitial,
.channel-option.active .socialInitial {
  animation: channelSlideInTop 300ms both;
}

@keyframes channelSlideInTop {
  0% {
    opacity: 0;
    transform: translateY(-32px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.heading-photo {
  width: 210px;
  aspect-ratio: 1;
}

.heading-photo img {
  object-position: 50% 50%;
}

.integration-card {
  display: grid;
  gap: 12px;
}

.integration-card a {
  width: fit-content;
  color: var(--brass-dark);
  font-weight: 700;
}

.knowledge-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  align-items: start;
}

.article-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.article-card {
  display: grid;
  position: relative;
  gap: 14px;
  align-items: start;
  overflow: hidden;
  animation-delay: calc(var(--article-index) * 55ms);
}

.article-accordion {
  display: block;
  cursor: default;
}

.article-accordion.open {
  border-color: rgba(168, 121, 59, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 237, 0.7)),
    rgba(255, 253, 249, 0.94);
  box-shadow:
    0 18px 44px rgba(92, 65, 38, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.article-accordion:not(.open) > .article-body,
.article-body[hidden] {
  display: none;
}

.article-card::after {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(218, 190, 143, 0.18), transparent 68%);
  opacity: 0.56;
  pointer-events: none;
  content: '';
}

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

.article-summary {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.article-summary .card-heading {
  align-items: start;
}

.article-card .article-tag {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  border: 1px solid rgba(168, 121, 59, 0.2);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 700;
}

.article-preview {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.58;
}

.article-preview strong {
  color: var(--ink);
}

.article-open-indicator {
  display: inline-grid;
  grid-template-columns: auto 20px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  border: 1px solid rgba(168, 121, 59, 0.2);
  border-radius: 999px;
  padding: 9px 12px;
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.6), rgba(255, 255, 255, 0.92)),
    rgba(255, 253, 249, 0.9);
  color: var(--brass-dark);
  font-size: 13px;
  font-weight: 400;
  box-shadow:
    0 7px 16px rgba(92, 65, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.article-open-indicator::before {
  content: 'Открыть';
}

.article-open-indicator::after {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  content: '+';
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.article-summary:hover .article-open-indicator {
  transform: translateY(-1px);
  border-color: rgba(168, 121, 59, 0.42);
  box-shadow:
    0 10px 24px rgba(92, 65, 38, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.article-card.open .article-open-indicator::before {
  content: 'Свернуть';
}

.article-card.open .article-open-indicator::after {
  transform: rotate(45deg);
}

.article-body {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(168, 121, 59, 0.16);
  padding-top: 18px;
}

.article-intro {
  margin: 0;
  border: 1px solid rgba(168, 121, 59, 0.16);
  border-left: 3px solid rgba(168, 121, 59, 0.62);
  border-radius: 18px;
  padding: 13px 15px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 237, 0.58)),
    rgba(255, 253, 249, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.article-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.article-guide-block {
  border: 1px solid rgba(168, 121, 59, 0.16);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 243, 237, 0.54)),
    rgba(255, 253, 249, 0.76);
}

.article-guide-block h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.article-guide-block ol,
.article-guide-block ul,
.article-details ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.article-guide-block li,
.article-details li {
  line-height: 1.45;
}

.article-details {
  border: 1px solid rgba(168, 121, 59, 0.14);
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(255, 253, 249, 0.62);
}

.article-details:not([open]) > ul,
.article-details:not([open]) > p {
  display: none;
}

.article-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 650;
}

.article-details ul {
  margin-top: 12px;
}

.article-details p {
  margin: 14px 0 0;
  border-top: 1px solid rgba(168, 121, 59, 0.14);
  padding-top: 12px;
  color: var(--muted);
}

.article-source-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article-source-row span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-source {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(168, 121, 59, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--brass-dark);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-source:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 121, 59, 0.42);
  background: rgba(255, 250, 241, 0.96);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.channel-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--brass-dark);
  font-weight: 650;
}

.map-panel {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 253, 249, 0.9), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(232, 236, 227, 0.7)),
    var(--mist);
  box-shadow:
    0 26px 60px rgba(92, 65, 38, 0.14),
    0 56px 110px rgba(67, 105, 87, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.map-toolbar {
  display: grid;
  gap: 12px;
}

.map-toolbar > span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-route-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.map-route-tab {
  display: grid;
  gap: 3px;
  min-height: 64px;
  align-content: center;
  border: 1px solid rgba(38, 33, 28, 0.12);
  border-radius: 18px;
  padding: 10px 12px;
  background:
    linear-gradient(to top, rgba(239, 230, 218, 0.58), rgba(255, 255, 255, 0.92)),
    rgba(255, 253, 249, 0.72);
  color: var(--muted);
  text-align: left;
  box-shadow:
    0 10px 20px rgba(92, 65, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.map-route-tab strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.map-route-tab span {
  font-size: 12px;
  line-height: 1.25;
}

.map-route-tab:hover,
.map-route-tab.active {
  transform: translateY(-1px);
  border-color: rgba(168, 121, 59, 0.42);
  background:
    linear-gradient(to top, rgba(218, 190, 143, 0.66), rgba(255, 250, 241, 0.98)),
    rgba(255, 253, 249, 0.84);
  box-shadow:
    0 14px 26px rgba(92, 65, 38, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(168, 121, 59, 0.12);
}

.map-route-tab:active {
  transform: translateY(1px) scale(0.985);
}

.map-load-button {
  justify-self: start;
  min-height: 40px;
}

.route-map {
  position: relative;
  height: 420px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.6);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(168, 121, 59, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(38, 33, 28, 0.07) 1px, transparent 1px),
    rgba(244, 246, 242, 0.82);
  background-size: 42px 42px;
  box-shadow:
    0 18px 42px rgba(92, 65, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  z-index: 1;
}

.map-fallback-note {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.route-map.leaflet-container {
  position: relative;
  height: 420px;
  overflow: hidden;
  outline: 0;
}

.route-map .leaflet-pane,
.route-map .leaflet-map-pane,
.route-map .leaflet-tile-pane,
.route-map .leaflet-overlay-pane,
.route-map .leaflet-shadow-pane,
.route-map .leaflet-marker-pane,
.route-map .leaflet-tooltip-pane,
.route-map .leaflet-popup-pane {
  position: absolute;
  left: 0;
  top: 0;
}

.route-map .leaflet-map-pane {
  z-index: 400;
}

.route-map .leaflet-tile-pane {
  z-index: 200;
}

.route-map .leaflet-overlay-pane {
  z-index: 400;
  pointer-events: none;
}

.route-map .leaflet-shadow-pane {
  z-index: 500;
}

.route-map .leaflet-marker-pane {
  z-index: 600;
  pointer-events: auto;
}

.route-map .leaflet-tooltip-pane {
  z-index: 650;
}

.route-map .leaflet-popup-pane {
  z-index: 700;
}

.route-map .leaflet-tile,
.route-map .leaflet-marker-icon,
.route-map .leaflet-marker-shadow {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none !important;
  user-select: none;
}

.route-map .leaflet-tile {
  width: 256px !important;
  height: 256px !important;
}

.route-map .leaflet-control-container {
  position: relative;
  z-index: 800;
}

.route-map .leaflet-top,
.route-map .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.route-map .leaflet-top {
  top: 10px;
}

.route-map .leaflet-bottom {
  bottom: 0;
}

.route-map .leaflet-left {
  left: 10px;
}

.route-map .leaflet-right {
  right: 0;
}

.route-map .leaflet-control {
  clear: both;
  pointer-events: auto;
}

.route-map .leaflet-bar {
  overflow: hidden;
  border: 1px solid rgba(38, 33, 28, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 10px 24px rgba(38, 33, 28, 0.12);
}

.route-map .leaflet-bar a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.route-map .leaflet-bar a:last-child {
  border-bottom: 0;
}

.route-map .leaflet-container,
.leaflet-container {
  font-family: var(--font-ui);
}

.route-map .leaflet-control-attribution {
  border-radius: 999px 0 0 0;
  background: rgba(255, 253, 249, 0.82);
  color: var(--muted);
  font-size: 10px;
}

.route-marker-icon {
  border: 0;
  background: transparent;
  overflow: visible;
}

.route-marker-wrap {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.route-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(168, 121, 59, 0.94), rgba(119, 81, 35, 0.92));
  color: var(--paper);
  box-shadow:
    0 12px 24px rgba(92, 65, 38, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.route-marker-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.route-marker.metro {
  background: linear-gradient(145deg, #c94b3f 0%, #a93632 48%, #234b73 100%);
  color: #fffdf9;
}

.route-marker.stop {
  background: linear-gradient(145deg, rgba(119, 81, 35, 0.9), rgba(168, 121, 59, 0.86));
  cursor: pointer;
}

.route-marker.parking {
  background: linear-gradient(145deg, rgba(232, 236, 227, 0.96), rgba(67, 105, 87, 0.86));
  color: var(--ink);
}

.animated-route-line {
  stroke-dasharray: 8 12;
  filter: drop-shadow(0 3px 5px rgba(92, 65, 38, 0.12));
  transition:
    opacity 160ms ease,
    stroke-width 160ms ease;
}

.animated-route-line.route-hidden,
.animated-route-line.route-muted {
  filter: none;
}

.animated-route-line.route-parking {
  stroke-dasharray: 7 12;
}

.map-hover-card {
  position: absolute;
  left: 50%;
  bottom: 44px;
  z-index: 4;
  display: grid;
  gap: 3px;
  width: min(260px, 58vw);
  padding: 10px 12px;
  border: 1px solid rgba(168, 121, 59, 0.22);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.9);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.25;
  box-shadow:
    0 14px 28px rgba(92, 65, 38, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-hover-card::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(168, 121, 59, 0.22);
  border-bottom: 1px solid rgba(168, 121, 59, 0.22);
  background: rgba(255, 253, 249, 0.9);
  content: '';
  transform: translateX(-50%) rotate(45deg);
}

.route-marker-wrap:hover .map-hover-card,
.route-marker-icon:hover .map-hover-card,
.route-marker-wrap:focus-within .map-hover-card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.map-hover-card span {
  display: block;
  white-space: normal;
}

.leaflet-popup-content-wrapper {
  border: 1px solid rgba(38, 33, 28, 0.08);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 18px 40px rgba(38, 33, 28, 0.14);
}

.leaflet-popup-content {
  color: var(--muted);
  font-family: var(--font-ui);
  line-height: 1.45;
}

.leaflet-popup-content strong {
  color: var(--ink);
}

.map-route-summary {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(38, 33, 28, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.88), rgba(232, 236, 227, 0.58)),
    rgba(255, 253, 249, 0.74);
  box-shadow:
    0 14px 28px rgba(92, 65, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.map-route-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.map-route-summary span {
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-route-summary strong {
  color: var(--ink);
  font-size: 18px;
}

.map-route-summary p {
  margin: 0;
  color: var(--muted);
}

.map-route-summary small {
  color: var(--soft);
}

.transport-route-list {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.transport-route-group {
  display: grid;
  gap: 6px;
}

.transport-route-group span {
  color: var(--brass-dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transport-route-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.transport-route-group b {
  display: inline-flex;
  min-width: 28px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 121, 59, 0.24);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.95), rgba(232, 236, 227, 0.62));
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.leaflet-popup-content .transport-route-list {
  margin-top: 10px;
}

.leaflet-popup-content .transport-route-group b {
  min-width: 24px;
  height: 23px;
  font-size: 11px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 253, 249, 0.74);
  color: var(--muted);
  font-size: 13px;
}

.legend-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--brass);
}

.legend-icon .route-marker-svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

.legend-icon.metro {
  background: linear-gradient(145deg, #c94b3f, #234b73);
}

.legend-icon.stop {
  background: var(--brass-dark);
}

.legend-icon.parking {
  background: #8aa08f;
  color: var(--ink);
}

.map-source-note {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
}

.schematic-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 253, 249, 0.72), transparent 26%),
    linear-gradient(135deg, rgba(232, 236, 227, 0.88), rgba(255, 253, 249, 0.76));
}

.schematic-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.schematic-map path {
  fill: none;
  stroke: rgba(38, 33, 28, 0.12);
  stroke-width: 1;
}

.schematic-map polyline {
  fill: none;
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.schematic-map .animated-route-line-svg {
  stroke-dasharray: 3.4 3.6;
  stroke-width: 1.7;
}

.schematic-map .animated-route-line-svg.active {
  stroke-width: 2.8;
}

.schematic-map .animated-route-line-svg.muted {
  opacity: 0.28;
}

.schematic-map .animated-route-line-svg.route-parking {
  stroke: var(--success);
}

.schematic-map .animated-route-line-svg.route-bus-sedova {
  stroke: var(--brass);
}

.schematic-map .animated-route-line-svg.route-bus-ivanovskaya {
  stroke: var(--brass-dark);
}

.schematic-point {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 120px;
  transform: translate(-17px, -17px);
}

.schematic-point i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--brass);
  color: var(--paper);
  font-style: normal;
  box-shadow: 0 12px 24px rgba(92, 65, 38, 0.18);
}

.schematic-point i .route-marker-svg {
  width: 19px;
  height: 19px;
}

.schematic-point.metro i {
  background: linear-gradient(145deg, #c94b3f, #234b73);
}

.schematic-point.stop i {
  background: var(--brass-dark);
}

.schematic-point.parking i {
  background: #8aa08f;
  color: var(--ink);
}

.schematic-point strong {
  width: max-content;
  max-width: 150px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(38, 33, 28, 0.08);
}

.schematic-point em {
  width: max-content;
  max-width: 210px;
  padding: 7px 8px;
  border: 1px solid rgba(168, 121, 59, 0.2);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.25;
}

@keyframes routeDash {
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes calculatorScreenPulse {
  0%,
  62%,
  100% {
    opacity: 0.76;
    transform: scaleX(0.9);
  }

  18%,
  38% {
    opacity: 0.92;
    transform: scaleX(0.98);
  }
}

@keyframes calculatorKeyPress {
  0%,
  58%,
  100% {
    opacity: 0.76;
    transform: translateY(0) scale(1);
  }

  10% {
    opacity: 0.92;
    transform: translateY(0.45px) scale(0.94);
  }

  20% {
    opacity: 0.84;
    transform: translateY(0) scale(1);
  }
}

@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .animated-route-line,
  .animated-route-line-svg {
    animation: routeDash 1.65s linear infinite;
  }

  .section-panel:not(.hero) {
    animation: softReveal 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .client-path-card {
    animation: softReveal 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--path-index) * 70ms);
  }
}

@media (max-width: 1080px) {
  :root {
    --rail: 0px;
  }

  .site-rail {
    display: none;
  }

  .mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(16px);
    font-weight: 700;
  }

  .mobile-topbar-title {
    flex: 1;
  }

  .mobile-topbar .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .topbar-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
  }

  .topbar-action {
    margin-left: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--brass-dark);
    font-size: 14px;
    font-weight: 400;
  }

  .site-main {
    width: 100%;
    margin-left: 0;
  }

  .photo-primary {
    object-position: 50% 18%;
  }

  .hero,
  .about-grid,
  .credentials-layout,
  .client-path-grid,
  .documents-layout,
  .pricing-layout,
  .status-layout,
  .appointment-layout,
  .knowledge-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

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

  .credential-proof-gallery {
    grid-template-columns: 1fr;
  }

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

  .client-path-card.featured,
  .client-path-card:nth-child(4) {
    grid-column: span 2;
  }

  .client-path-card {
    gap: 18px;
    padding: 22px;
  }

  .client-path-card h3 {
    font-size: 30px;
  }

  .client-path-card:not(.featured) h3 {
    font-size: 25px;
  }

  .client-path-card p {
    font-size: 15px;
    line-height: 1.5;
  }

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

  .readiness-strip p {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-media {
    min-height: 580px;
  }

  .hero-photo-composition {
    min-height: 580px;
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .photo-story,
  .visit-photo-set {
    grid-template-columns: 1fr;
  }

  .story-photo-secondary,
  .visit-photo-small {
    width: min(300px, 72%);
    margin: -88px 18px 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading > .button {
    justify-self: start;
  }
}

@media (min-width: 961px) and (max-width: 1080px) {
  :root {
    --rail: 252px;
  }

  .site-rail {
    display: flex;
  }

  .mobile-topbar {
    display: none;
  }

  .site-main {
    width: calc(100% - var(--rail));
    margin-left: var(--rail);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    padding-bottom: calc(116px + env(safe-area-inset-bottom));
  }

  .mobile-topbar {
    min-height: 58px;
    gap: 8px;
    padding: 8px 12px;
  }

  .mobile-topbar .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .mobile-topbar-title {
    font-size: 13px;
  }

  .topbar-menu-button,
  .topbar-action {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 6;
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 253, 249, 0.72);
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255, 253, 249, 0.92), rgba(239, 230, 218, 0.78)),
      rgba(255, 253, 249, 0.86);
    box-shadow:
      0 16px 34px rgba(38, 33, 28, 0.17),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
  }

  .mobile-dock button,
  .mobile-dock a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-dock button {
    background: var(--ink);
    color: var(--paper);
  }

  .mobile-sheet-panel {
    max-height: 84dvh;
    padding-right: 14px;
    padding-left: 14px;
  }

  .mobile-section-links {
    grid-template-columns: 1fr 1fr;
  }

  .section-panel {
    width: calc(100% - 32px);
    margin: 18px auto;
    padding: 34px 18px;
    border-radius: 24px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  h2 {
    font-size: 31px;
  }

  .section-lead,
  .hero-lead {
    font-size: 16px;
  }

  .hero-lead {
    margin-top: 14px;
    line-height: 1.52;
  }

  .hero-warm-note {
    display: none;
  }

  .hero {
    width: 100%;
    margin: 0;
    gap: 24px;
    padding: 30px 16px 34px;
    border-radius: 0 0 28px 28px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 50px;
    width: auto;
    justify-content: center;
    padding: 12px 14px;
    text-align: center;
  }

  .hero-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .hero-facts,
  .credential-metrics,
  .credential-timeline,
  .client-path-grid,
  .scenario-grid,
  .service-grid,
  .integration-grid,
  .detail-columns,
  .choice-grid,
  .choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .credentials-layout {
    gap: 30px;
  }

  .credential-metrics {
    gap: 10px;
  }

  .credential-metric {
    min-height: auto;
    padding: 16px;
  }

  .credential-summary-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .credential-merit {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px 0;
  }

  .credential-merit > span {
    font-size: 20px;
  }

  .credential-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .credential-certificates-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .credential-certificate-group {
    padding-top: 18px;
  }

  .credential-certificate-group-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .credential-highlight {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .credential-proof-stack {
    min-height: 520px;
  }

  .credential-stack-card {
    position: relative;
    inset: auto;
    width: min(310px, 88%);
    height: 210px;
    margin: 0;
  }

  .credential-stack-card-1,
  .credential-stack-card-2,
  .credential-stack-card-3,
  .credential-stack-card-1:hover,
  .credential-stack-card-2:hover,
  .credential-stack-card-3:hover {
    transform: none;
  }

  .credential-stack-card-2 {
    margin: -60px 0 0 auto;
  }

  .credential-stack-card-3 {
    margin: -50px auto 0 10px;
  }

  .credential-proof-card {
    gap: 12px;
  }

  .credential-proof-image {
    min-height: 180px;
  }

  .credential-archive {
    padding-top: 26px;
  }

  .credential-archive-group {
    padding-top: 18px;
  }

  .credential-archive-group-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .credential-mini-grid {
    grid-template-columns: 1fr;
  }

  .concierge-route {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .concierge-route::-webkit-scrollbar {
    display: none;
  }

  .concierge-route a {
    min-width: 210px;
    min-height: 108px;
    padding: 14px;
    scroll-snap-align: start;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .hero-fact strong {
    font-size: 19px;
  }

  .hero-fact span {
    font-size: 11px;
    line-height: 1.24;
  }

  .client-path-card.featured,
  .client-path-card:nth-child(4) {
    grid-column: auto;
  }

  .client-path-card,
  .client-path-card.featured {
    min-height: auto;
    padding: 22px;
  }

  .client-path-card h3,
  .client-path-card:not(.featured) h3 {
    font-size: 27px;
  }

  .readiness-strip {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .readiness-strip p {
    grid-column: auto;
  }

  .social-choice-card {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
  }

  .channel-option {
    min-width: 54px;
  }

  .socialContainer {
    width: 48px;
    height: 48px;
  }

  .hero-media {
    min-height: auto;
    aspect-ratio: 16 / 11;
    border-radius: 18px;
  }

  .hero-photo-composition {
    min-height: auto;
    height: 100%;
    grid-template-columns: 1fr;
  }

  .hero-portrait-frame {
    min-height: auto;
    height: 100%;
    border-radius: 18px;
  }

  .hero-proof-strip {
    display: none;
  }

  .proof-photo {
    border-radius: 14px;
  }

  .proof-photo figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 10px;
  }

  .photo-frame::before,
  .hero-media::before,
  .hero-media::after {
    border-radius: 18px;
  }

  .story-photo-main {
    height: 260px;
    min-height: 260px;
  }

  .story-photo-secondary,
  .visit-photo-small {
    width: min(250px, 82%);
    height: 190px;
    min-height: 190px;
    margin: -62px 10px 0 auto;
  }

  .visit-photo-wide {
    height: 280px;
    min-height: 280px;
  }

  .hero-note {
    position: absolute;
    left: 10px;
    bottom: 10px;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(38, 33, 28, 0.15);
    backdrop-filter: blur(10px);
  }

  .hero-note span {
    font-size: 11px;
  }

  .hero-note strong {
    font-size: 14px;
  }

  .segmented {
    width: 100%;
  }

  .segment {
    flex: 1;
  }

  .form-panel,
  .booking-panel,
  .price-result,
  .status-card,
  .checklist-box {
    padding: 20px;
  }

  .module-callout {
    align-items: flex-start;
    gap: 12px;
  }

  .module-callout .process-strip {
    gap: 6px;
  }

  .module-callout .module-title-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }

  .module-callout .module-title-icon lord-icon {
    width: 40px;
    height: 40px;
  }

  .article-card,
  .price-row,
  .contact-row,
  .price-total,
  .status-title {
    display: grid;
  }

  .article-summary,
  .article-guide-grid {
    grid-template-columns: 1fr;
  }

  .article-open-indicator {
    justify-self: start;
  }

  .price-row strong,
  .contact-row strong {
    text-align: left;
  }

  .heading-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .map-panel {
    min-height: auto;
    padding: 12px;
  }

  .map-route-tabs {
    grid-template-columns: 1fr;
  }

  .route-map {
    min-height: 380px;
  }

  .map-route-summary div {
    display: grid;
    gap: 4px;
  }
}

/* ============================================================
   P0/P1 IMPROVEMENTS — hierarchy, accent, sticky CTA, cards
   ============================================================ */

/* — Softer, less flashy title-shine (P0.5) — */
.title-shine::after {
  text-shadow: none;
  filter: blur(0.4px);
}
.title-shine:hover::after {
  animation-duration: 9000ms;
}

/* — Primary CTA: proper accent, no longer beige-on-beige (P1) — */
.button-primary {
  border-color: transparent;
  background:
    linear-gradient(180deg, #c48b3c 0%, #a26f24 100%),
    var(--brass-dark);
  color: #fff7e8;
  text-shadow: 0 1px 0 rgba(58, 38, 12, 0.28);
  box-shadow:
    0 12px 26px rgba(122, 82, 30, 0.32),
    0 26px 48px rgba(67, 105, 87, 0.10),
    inset 0 1px 0 rgba(255, 244, 220, 0.42),
    inset 0 -2px 0 rgba(58, 38, 12, 0.22);
}
.button-primary:hover {
  background:
    linear-gradient(180deg, #d29845 0%, #b57a29 100%),
    var(--brass);
  box-shadow:
    0 16px 32px rgba(122, 82, 30, 0.38),
    0 32px 58px rgba(67, 105, 87, 0.13),
    inset 0 1px 0 rgba(255, 244, 220, 0.5),
    inset 0 -2px 0 rgba(58, 38, 12, 0.24);
  transform: translateY(-1px);
}
.button-primary:active,
.button-primary:focus-visible {
  box-shadow:
    0 6px 12px rgba(122, 82, 30, 0.24),
    inset 0 0 0 2px rgba(255, 244, 220, 0.36),
    inset 0 -2px 0 rgba(58, 38, 12, 0.28);
  transform: translateY(0);
}

/* — Outline secondary CTA — */
.button-outline {
  border-color: rgba(38, 33, 28, 0.28);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.button-outline:hover {
  border-color: var(--brass);
  background: rgba(168, 121, 59, 0.06);
  color: var(--brass-dark);
}

/* — Tertiary text-link "button" — */
.button-text {
  border-color: transparent;
  background: transparent;
  color: var(--brass-dark);
  padding-inline: 6px;
  box-shadow: none;
  font-weight: 700;
}
.button-text:hover {
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* — Service card action row (P1) — */
.service-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.service-card-actions .button-primary {
  min-width: 148px;
}
.service-link {
  color: var(--brass-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(168, 121, 59, 0.42);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}
.service-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* — Desktop sticky CTA dock (P1) — */
.desktop-cta-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(38, 33, 28, 0.1);
  box-shadow:
    0 18px 42px rgba(38, 33, 28, 0.16),
    0 42px 90px rgba(67, 105, 87, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}
.desktop-cta-dock.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.desktop-cta-dock-primary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c48b3c 0%, #a26f24 100%);
  color: #fff7e8;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow:
    0 8px 16px rgba(122, 82, 30, 0.28),
    inset 0 1px 0 rgba(255, 244, 220, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.desktop-cta-dock-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 22px rgba(122, 82, 30, 0.34),
    inset 0 1px 0 rgba(255, 244, 220, 0.5);
}
.desktop-cta-dock-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(38, 33, 28, 0.18);
  background: rgba(255, 253, 249, 0.6);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.desktop-cta-dock-call:hover {
  color: var(--brass-dark);
  border-color: var(--brass);
  background: rgba(168, 121, 59, 0.08);
}
@media (min-width: 961px) {
  .desktop-cta-dock {
    display: inline-flex;
  }
}

/* — Rail nav active state accent (P1) — */
.rail-nav a.active {
  border-left-color: var(--brass);
  color: var(--brass-dark);
  background: rgba(168, 121, 59, 0.08);
}

/* — Fix proof-strip captions readability (P0.4) — */
.proof-photo figcaption {
  font-size: 11px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* — Section separators: subtle top hair line (P1) — */
.section-panel + .section-panel::before {
  content: "";
  display: block;
  position: absolute;
  top: -18px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 33, 28, 0.14), transparent);
  pointer-events: none;
}
.section-panel {
  position: relative;
}

/* — Mobile-specific overrides for new buttons — */
@media (max-width: 760px) {
  .button-outline,
  .button-text {
    min-height: 44px;
  }
  .service-card-actions {
    gap: 10px 14px;
  }
}

/* ============================================================
   Feedback form section
   ============================================================ */
.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}
.feedback-intro h2 {
  margin-top: 8px;
}
.feedback-callout {
  margin-top: 22px;
  border-left: 3px solid var(--brass);
}
.feedback-callout a {
  color: var(--brass-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feedback-callout a:hover { color: var(--ink); }

.feedback-form {
  position: sticky;
  top: 24px;
}
.feedback-form .field textarea {
  resize: vertical;
  min-height: 128px;
}

@media (max-width: 960px) {
  .feedback-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .feedback-form {
    position: static;
  }
}

/* ============================================================
   FOREST PRIMARY CTA + ELEGANT ICONS + PORTRAIT REGALIA
   ============================================================ */

:root {
  --forest: #3d2b1f;
  --forest-dark: #2a1c14;
  --forest-mist: rgba(61, 43, 31, 0.10);
  --forest-glow: rgba(42, 28, 20, 0.32);
}

/* Override primary CTA to muted forest green */
.button-primary {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%) !important;
  color: #f4efe3 !important;
  text-shadow: 0 1px 0 rgba(14, 8, 4, 0.4) !important;
  border-color: transparent !important;
  box-shadow:
    0 12px 26px var(--forest-glow),
    0 26px 48px rgba(42, 28, 20, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 0 rgba(14, 8, 4, 0.28) !important;
}
.button-primary:hover {
  background: linear-gradient(180deg, #4a3628 0%, #382518 100%) !important;
  box-shadow:
    0 16px 32px rgba(42, 28, 20, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(14, 8, 4, 0.28) !important;
  transform: translateY(-1px);
}
.button-primary:active,
.button-primary:focus-visible {
  transform: translateY(0);
  box-shadow:
    0 6px 12px rgba(42, 28, 20, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.24),
    inset 0 -2px 0 rgba(14, 8, 4, 0.32) !important;
}

.desktop-cta-dock-primary {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%) !important;
  color: #f4efe3 !important;
  box-shadow:
    0 8px 16px var(--forest-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
.desktop-cta-dock-primary:hover {
  background: linear-gradient(180deg, #4a3628 0%, #382518 100%) !important;
}

/* Rail nav active — forest accent to match primary */
.rail-nav a.active {
  border-left-color: var(--forest) !important;
  color: var(--forest-dark) !important;
  background: var(--forest-mist) !important;
}

.button-outline:hover {
  border-color: var(--forest) !important;
  background: var(--forest-mist) !important;
  color: var(--forest-dark) !important;
}
.button-text {
  color: var(--forest-dark) !important;
}
.service-link {
  color: var(--forest-dark) !important;
  border-bottom-color: rgba(61, 43, 31, 0.42) !important;
}

/* ------------------------------------------------------------
   Icons — hide cartoonish Lordicon animations, replace with
   elegant hairline SVG glyph. Keeps shell decoration.
   ------------------------------------------------------------ */
lord-icon {
  display: none !important;
}
.icon-drop-shell,
.lordicon-shell,
.module-title-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(244, 239, 227, 0.85));
  border: 1px solid rgba(38, 33, 28, 0.12);
  color: #3a3530;
  border-radius: 14px;
  padding: 0;
  min-width: 42px;
  min-height: 42px;
  box-shadow: none;
  transition: border-color 220ms ease, transform 220ms ease;
}
.icon-drop-shell::before,
.lordicon-shell::before,
.module-title-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: none;
}
/* Search / situation icon */
[data-icon="search"]::before,
.lordicon-shell:has(> [src*="search"])::before,
.icon-drop-shell:has(> [src*="search"])::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='6.5'/><line x1='15.5' y1='15.5' x2='20' y2='20'/></svg>");
}
/* Documents / upload icon */
[data-icon="documents"]::before,
.lordicon-shell:has(> [src*="upload-file"])::before,
.icon-drop-shell:has(> [src*="upload-file"])::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5'/><line x1='9' y1='13' x2='15' y2='13'/><line x1='9' y1='17' x2='13' y2='17'/></svg>");
}
/* Calendar icon */
[data-icon="calendar"]::before,
.lordicon-shell:has(> [src*="calendar"])::before,
.icon-drop-shell:has(> [src*="calendar"])::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='5' width='17' height='15' rx='2'/><line x1='3.5' y1='10' x2='20.5' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/></svg>");
}
/* Wallet / pricing */
.lordicon-shell:has(> [src*="wallet"])::before,
.icon-drop-shell:has(> [src*="wallet"])::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7a2 2 0 0 1 2-2h13v3H6a2 2 0 0 0 0 4h13v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/><circle cx='17' cy='12' r='1.2'/></svg>");
}
/* Bell / status */
.lordicon-shell:has(> [src*="notification-bell"])::before,
.icon-drop-shell:has(> [src*="notification-bell"])::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 16V11a6 6 0 0 1 12 0v5l1.5 2H4.5z'/><path d='M10 20a2 2 0 0 0 4 0'/></svg>");
}
.icon-drop-shell:hover,
.lordicon-shell:hover,
.module-title-icon:hover {
  border-color: rgba(61, 43, 31, 0.42);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   Portrait section — regalia flock + certificate carousel
   ------------------------------------------------------------ */
.about-portrait-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.about-portrait-layout .about-copy > *:first-child { margin-top: 0; }

.portrait-stage {
  position: relative;
  min-height: 540px;
  padding: 40px 60px;
}
.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(38, 33, 28, 0.22),
    0 60px 100px rgba(42, 28, 20, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.portrait-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 20%, transparent 40%, rgba(38, 33, 28, 0.18) 100%);
}
.portrait-frame:hover img { transform: scale(1.04); }
.portrait-stage:hover .portrait-frame {
  box-shadow:
    0 34px 68px rgba(38, 33, 28, 0.25),
    0 70px 120px rgba(42, 28, 20, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.regalia-flock {
  position: absolute;
  inset: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  pointer-events: none;
}
.regalia-badge {
  position: absolute;
  pointer-events: auto;
  padding: 12px 16px;
  min-width: 148px;
  max-width: 200px;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #26211c;
  box-shadow:
    0 20px 40px rgba(38, 33, 28, 0.16),
    0 40px 80px rgba(42, 28, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition:
    transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 420ms ease,
    background 320ms ease;
  transition-delay: calc(var(--i, 0) * 50ms);
  opacity: 0;
  animation: regaliaEnter 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(160ms + var(--i, 0) * 90ms);
}
@keyframes regaliaEnter {
  from { opacity: 0; transform: var(--enter-transform, translate(0, 12px)); }
  to { opacity: 1; transform: var(--rest-transform, translate(0, 0)); }
}
.regalia-badge-line-1 {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest-dark);
  letter-spacing: 0.005em;
  line-height: 1.08;
}
.regalia-badge-line-2 {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(38, 33, 28, 0.72);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
/* 4 anchor points around portrait */
.regalia-badge:nth-child(1) {
  top: 4%;
  left: 0;
  --rest-transform: translate(-8px, 0);
  --enter-transform: translate(-8px, -16px);
}
.regalia-badge:nth-child(2) {
  top: 26%;
  right: 0;
  --rest-transform: translate(8px, 0);
  --enter-transform: translate(24px, -12px);
}
.regalia-badge:nth-child(3) {
  bottom: 22%;
  left: 0;
  --rest-transform: translate(-8px, 0);
  --enter-transform: translate(-24px, 12px);
}
.regalia-badge:nth-child(4) {
  bottom: 2%;
  right: 0;
  --rest-transform: translate(8px, 0);
  --enter-transform: translate(24px, 16px);
}
.portrait-stage:hover .regalia-badge {
  background: rgba(255, 253, 249, 0.78);
  box-shadow:
    0 26px 48px rgba(38, 33, 28, 0.2),
    0 50px 90px rgba(42, 28, 20, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.portrait-stage:hover .regalia-badge:nth-child(1) { transform: translate(-16px, -4px); }
.portrait-stage:hover .regalia-badge:nth-child(2) { transform: translate(16px, -4px); }
.portrait-stage:hover .regalia-badge:nth-child(3) { transform: translate(-16px, 4px); }
.portrait-stage:hover .regalia-badge:nth-child(4) { transform: translate(16px, 4px); }

/* Certificate carousel */
.portrait-carousel-wrap {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.portrait-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.portrait-carousel-head h3 {
  margin: 6px 0 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.005em;
  color: #26211c;
}
.portrait-carousel-controls {
  display: inline-flex;
  gap: 10px;
}
.carousel-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(38, 33, 28, 0.18);
  background: rgba(255, 253, 249, 0.7);
  color: #26211c;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
  backdrop-filter: blur(10px);
}
.carousel-nav:hover {
  border-color: var(--forest);
  color: var(--forest-dark);
  background: var(--forest-mist);
  transform: translateY(-1px);
}
.carousel-nav:disabled { opacity: 0.35; cursor: default; transform: none; }

.portrait-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px 4px;
  scrollbar-width: none;
}
.portrait-carousel::-webkit-scrollbar { display: none; }

.cert-slide {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 16px 32px rgba(38, 33, 28, 0.12),
    0 32px 60px rgba(42, 28, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  transition: transform 320ms ease, box-shadow 320ms ease;
}
.cert-slide:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 44px rgba(38, 33, 28, 0.18),
    0 46px 84px rgba(42, 28, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.cert-slide.active {
  border-color: rgba(61, 43, 31, 0.45);
}
.cert-slide-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(38, 33, 28, 0.06);
}
.cert-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cert-slide:hover .cert-slide-image img { transform: scale(1.04); }
.cert-slide-caption {
  padding: 14px 18px 18px 18px;
}
.cert-slide-caption span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-dark);
  font-weight: 600;
}
.cert-slide-caption h4 {
  margin: 6px 0 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.28;
  color: #26211c;
  letter-spacing: 0.003em;
}

.portrait-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.portrait-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(38, 33, 28, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease, width 200ms ease;
}
.portrait-carousel-dots button.active {
  background: var(--forest);
  width: 20px;
}
.portrait-carousel-dots button:hover {
  background: var(--forest-dark);
}

/* Hide old portrait-card story elements + old credentials primary block header (kept for archive) */
.about-portrait-layout .portrait-card,
.about-portrait-layout .photo-story,
.about-portrait-layout .timeline { display: none; }

/* Older credentials layout keep, but reduce prominence — carousel is the main proof now */
#credentials .credential-actions .button-quiet {
  border-color: rgba(61, 43, 31, 0.35);
  color: var(--forest-dark);
}

/* Mobile adjust */
@media (max-width: 960px) {
  .about-portrait-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .portrait-stage {
    padding: 24px 24px;
    min-height: auto;
  }
  .portrait-frame {
    max-width: 320px;
  }
  .regalia-flock {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .regalia-badge {
    position: static;
    max-width: none;
    min-width: 0;
    animation: none;
    opacity: 1;
    background: rgba(255, 253, 249, 0.7);
  }
  .regalia-badge:nth-child(n) {
    transform: none !important;
  }
  .cert-slide { flex-basis: 240px; }
  .carousel-nav { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .regalia-badge, .cert-slide, .cert-slide-image img, .portrait-frame img { animation: none !important; transition: none !important; }
}

/* ============================================================
   ITERATION 3 — hero simplified, larger route icons,
   compact client-path strip, cleaner fact bullets,
   sticky-dock isolation from portrait regalia
   ============================================================ */

/* --- Hero: refined typography, one workspace photo --- */
.hero.section-panel {
  align-items: center;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: 0.002em;
  margin: 8px 0 22px 0;
  color: #26211c;
}
.hero-title br {
  display: block;
}
.hero-lead {
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(38, 33, 28, 0.82);
}
.hero-warm-note {
  border: 1px solid rgba(38, 33, 28, 0.14);
  background: rgba(255, 253, 249, 0.55);
  color: rgba(38, 33, 28, 0.78);
  box-shadow: none;
}

/* Hero workspace media (single photo) */
.hero-media-simple {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.hero-workspace-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow:
    0 30px 60px rgba(38, 33, 28, 0.22),
    0 60px 100px rgba(42, 28, 20, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.hero-workspace-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-workspace-frame:hover .hero-workspace-photo { transform: scale(1.06); }
.hero-workspace-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(20, 15, 10, 0.4) 100%),
    radial-gradient(ellipse at 30% 30%, transparent 55%, rgba(20, 15, 10, 0.18) 100%);
}
.hero-workspace-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff7e8;
  background: rgba(20, 15, 10, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.hero-workspace-caption span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 247, 232, 0.72);
  font-weight: 600;
}
.hero-workspace-caption strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.005em;
  color: #fff7e8;
}

/* Hide legacy hero composition parts if any leftover */
.hero-photo-composition,
.hero-proof-strip,
.hero-portrait-frame,
.hero-note { display: none; }

/* --- Route icons (01/02/03): bigger, proportionate --- */
.concierge-route a {
  padding: 18px 20px 20px 20px;
}
.route-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(244, 239, 227, 0.82));
  border: 1px solid rgba(38, 33, 28, 0.14);
  box-shadow:
    0 2px 6px rgba(38, 33, 28, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.route-glyph::before {
  content: "";
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.route-glyph[data-icon="search"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='6.5'/><line x1='15.5' y1='15.5' x2='20' y2='20'/></svg>");
}
.route-glyph[data-icon="documents"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5'/><line x1='9' y1='13' x2='15' y2='13'/><line x1='9' y1='17' x2='13' y2='17'/></svg>");
}
.route-glyph[data-icon="calendar"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3530' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='5' width='17' height='15' rx='2'/><line x1='3.5' y1='10' x2='20.5' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/></svg>");
}
.concierge-route a:hover .route-glyph {
  border-color: rgba(61, 43, 31, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 8px 18px rgba(38, 33, 28, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.route-step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(38, 33, 28, 0.5);
  margin-top: 8px;
}

/* --- About H2 tighter --- */
.about-portrait-layout .about-copy h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.08;
  margin: 8px 0 16px 0;
}
.about-portrait-layout .about-copy .section-lead {
  max-width: 46ch;
  color: rgba(38, 33, 28, 0.78);
}

/* --- Fact-list bullets: refined --- */
.about-portrait-layout .fact-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.about-portrait-layout .fact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.45);
  border: 1px solid rgba(38, 33, 28, 0.06);
}
.about-portrait-layout .fact-row::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--forest);
  box-shadow: 0 0 0 3px var(--forest-mist);
}
.about-portrait-layout .fact-row span {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(38, 33, 28, 0.86);
}

/* --- Sticky dock: hide when overlapping regalia --- */
.desktop-cta-dock.hidden-in-about {
  opacity: 0 !important;
  transform: translateY(12px) !important;
  pointer-events: none !important;
}

/* --- Compact client-path strip (replaces bulky cards) --- */
.client-path-strip-section {
  padding: 40px 48px;
}
.client-path-strip-head {
  text-align: center;
  margin-bottom: 32px;
}
.client-path-strip-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  margin: 6px 0 0 0;
  color: #26211c;
}
.client-path-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.client-path-strip::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 43, 31, 0.35), transparent);
  z-index: 0;
}
.client-path-node {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}
.client-path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #f4efe3;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 14px;
  box-shadow:
    0 6px 14px var(--forest-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.client-path-node h4 {
  margin: 0 0 6px 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.18;
  color: #26211c;
}
.client-path-node p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(38, 33, 28, 0.68);
}

/* --- Sticky dock left-shift so it never touches regalia badges --- */
@media (min-width: 961px) {
  .desktop-cta-dock {
    right: auto !important;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 12px);
  }
  .desktop-cta-dock.visible {
    transform: translate(-50%, 0) !important;
  }
}

/* --- Mobile client path strip --- */
@media (max-width: 900px) {
  .client-path-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .client-path-strip::before { display: none; }
  .client-path-strip-section { padding: 32px 20px; }
}
@media (max-width: 520px) {
  .client-path-strip {
    grid-template-columns: 1fr;
  }
}

/* --- Hero mobile: workspace photo goes above copy in reasonable order --- */
@media (max-width: 960px) {
  .hero.section-panel {
    grid-template-columns: 1fr !important;
  }
  .hero-media-simple {
    order: -1;
  }
  .hero-workspace-frame {
    aspect-ratio: 16 / 11;
  }
  .hero-workspace-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }
  .concierge-route a {
    padding: 14px;
  }
  .route-glyph { width: 42px; height: 42px; }
  .route-glyph::before { width: 26px; height: 26px; }
}

/* ============================================================
   ITERATION 4 — replace all Lordicon usages with inline SVG.
   Uniform hairline glyphs across services, docs, integrations,
   knowledge, scenarios, client-path.
   ============================================================ */

.lordicon-shell.icon-semantic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(244, 239, 227, 0.85));
  border: 1px solid rgba(38, 33, 28, 0.14);
  box-shadow:
    0 2px 6px rgba(38, 33, 28, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--forest-dark);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.lordicon-shell.icon-semantic::before {
  content: none !important;
  display: none !important;
}
.lordicon-shell.icon-semantic .semantic-svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}
.lordicon-shell.icon-semantic:hover {
  border-color: rgba(61, 43, 31, 0.4);
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px rgba(38, 33, 28, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Size variants for different contexts */
.lordicon-shell.icon-semantic.service-icon,
.lordicon-shell.icon-semantic.mini-icon,
.lordicon-shell.icon-semantic.checklist-icon {
  width: 52px;
  height: 52px;
}
.lordicon-shell.icon-semantic.scenario-icon {
  width: 48px;
  height: 48px;
}
.lordicon-shell.icon-semantic.scenario-icon .semantic-svg {
  width: 28px;
  height: 28px;
}
.lordicon-shell.icon-semantic.status-icon,
.lordicon-shell.icon-semantic.path-icon {
  width: 56px;
  height: 56px;
}
.lordicon-shell.icon-semantic.status-icon .semantic-svg,
.lordicon-shell.icon-semantic.path-icon .semantic-svg {
  width: 34px;
  height: 34px;
}

/* Force strong icon color + thicker hairline for visibility */
.lordicon-shell.icon-semantic .semantic-svg,
.lordicon-shell.icon-semantic .semantic-svg * {
  stroke: #26211c !important;
  fill: none !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.lordicon-shell.icon-semantic .semantic-svg circle,
.lordicon-shell.icon-semantic .semantic-svg rect {
  stroke: #26211c !important;
  fill: none !important;
}

/* Client-path highlight last step (status call-to-action) */
.client-path-node-highlight {
  padding-top: 8px;
}
.client-path-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(61, 43, 31, 0.42);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.client-path-cta:hover {
  background: var(--forest-mist);
  color: var(--forest-dark);
  transform: translateY(-1px);
}

/* ============================================================
   ITERATION 5 — Library merge tabs + hero photo stretch + icon fixes
   ============================================================ */

/* Hero: photo stretches to hero-copy height, no empty area */
@media (min-width: 961px) {
  .hero.section-panel {
    align-items: stretch !important;
  }
  .hero-media-simple {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .hero-workspace-frame {
    aspect-ratio: unset !important;
    height: 100%;
    min-height: 520px;
    max-height: 780px;
    flex: 1;
  }
}

/* Icon fixes: make sure checklist-icon and other JS shells are proportionate */
.lordicon-shell.icon-semantic.checklist-icon,
.lordicon-shell.icon-semantic.service-icon,
.lordicon-shell.icon-semantic.scenario-icon {
  width: 52px !important;
  height: 52px !important;
}
.lordicon-shell.icon-semantic.checklist-icon .semantic-svg,
.lordicon-shell.icon-semantic.service-icon .semantic-svg,
.lordicon-shell.icon-semantic.scenario-icon .semantic-svg {
  width: 30px !important;
  height: 30px !important;
}
.lordicon-shell.icon-semantic.mini-icon {
  width: 44px !important;
  height: 44px !important;
}
.lordicon-shell.icon-semantic.mini-icon .semantic-svg {
  width: 26px !important;
  height: 26px !important;
}

/* --- Library merged section (Чек-листы + База знаний) --- */
.library-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.library-intro h2 {
  margin: 4px 0 12px 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  color: #26211c;
}
.library-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.library-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(38, 33, 28, 0.14);
  background: rgba(255, 253, 249, 0.55);
  color: rgba(38, 33, 28, 0.72);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}
.library-tab-btn:hover {
  border-color: rgba(61, 43, 31, 0.4);
  transform: translateY(-1px);
}
.library-tab-btn.active {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%);
  border-color: transparent;
  color: #f4efe3;
  box-shadow:
    0 12px 24px var(--forest-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.library-tab-btn.active .library-tab-num,
.library-tab-btn.active .library-tab-hint {
  color: rgba(244, 239, 227, 0.72);
}
.library-tab-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--forest-dark);
  letter-spacing: 0.02em;
}
.library-tab-label {
  font-size: 16px;
  font-weight: 700;
  color: inherit;
  line-height: 1.2;
}
.library-tab-btn.active .library-tab-label {
  color: #fff7e8;
}
.library-tab-hint {
  font-size: 12px;
  color: rgba(38, 33, 28, 0.55);
  line-height: 1.3;
}

.library-pane {
  display: none;
}
.library-pane.active {
  display: block;
}
/* When nested, inner sections no longer have their own section-panel padding */
.library-pane #documents,
.library-pane #knowledge {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Fade-in on pane switch */
.library-pane.active {
  animation: paneEnter 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes paneEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .library-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .library-tabs {
    grid-template-columns: 1fr;
  }
  .library-tab-btn {
    padding: 14px 16px;
  }
}

/* ============================================================
   ITERATION 6 — Hero badge CTA to Library section
   ============================================================ */
.hero-prep-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: var(--forest-mist);
  border: 1px solid rgba(61, 43, 31, 0.28);
  color: #26211c;
  text-decoration: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
  box-shadow: 0 4px 10px rgba(42, 28, 20, 0.06);
  max-width: 100%;
}
.hero-prep-badge:hover {
  background: rgba(61, 43, 31, 0.18);
  border-color: rgba(61, 43, 31, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(42, 28, 20, 0.14);
}
.hero-prep-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #f4efe3;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.hero-prep-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
  min-width: 0;
}
.hero-prep-text strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #26211c;
  letter-spacing: 0.005em;
}
.hero-prep-text small {
  font-size: 11.5px;
  color: rgba(38, 33, 28, 0.62);
  letter-spacing: 0.01em;
}
.hero-prep-arrow {
  color: var(--forest-dark);
  font-size: 16px;
  font-weight: 700;
  transition: transform 220ms ease;
  margin-left: 2px;
}
.hero-prep-badge:hover .hero-prep-arrow {
  transform: translateX(3px);
}

@media (max-width: 520px) {
  .hero-prep-badge {
    padding: 10px 16px 10px 12px;
    gap: 10px;
  }
  .hero-prep-num { width: 32px; height: 32px; font-size: 15px; }
  .hero-prep-text strong { font-size: 13.5px; }
  .hero-prep-text small { font-size: 11px; }
}

/* ============================================================
   ITERATION 7 — Three-step narrative visual polish
   ============================================================ */

/* Step kicker for the final appointment section */
.step-kicker-final {
  color: var(--forest-dark) !important;
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.step-kicker-final::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--forest);
}

/* Library next-step footer */
.library-nextstep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(61, 43, 31, 0.05) 0%, rgba(61, 43, 31, 0.12) 100%);
  border: 1px solid rgba(61, 43, 31, 0.18);
}
.library-nextstep-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(38, 33, 28, 0.55);
  font-weight: 700;
}
.library-nextstep-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #f4efe3;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow:
    0 8px 18px var(--forest-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.library-nextstep-link:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(42, 28, 20, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.library-nextstep-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f4efe3;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
}
.library-nextstep-arrow {
  font-size: 15px;
  transition: transform 220ms ease;
}
.library-nextstep-link:hover .library-nextstep-arrow {
  transform: translateX(4px);
}
@media (max-width: 700px) {
  .library-nextstep {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }
}

/* ============================================================
   ITERATION 8 — Journey progress + footer + integrations widget
   ============================================================ */

/* --- Sticky journey progress bar --- */
.journey-progress {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(38, 33, 28, 0.1);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    0 8px 20px rgba(38, 33, 28, 0.06),
    0 22px 50px rgba(42, 28, 20, 0.06);
  transition: opacity 240ms ease, transform 240ms ease;
}
.journey-progress-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey-line;
}
.journey-step {
  position: relative;
}
.journey-step + .journey-step::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 4px;
  background: rgba(38, 33, 28, 0.18);
  vertical-align: middle;
}
.journey-step a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(38, 33, 28, 0.55);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 200ms ease, color 200ms ease;
}
.journey-step:hover a {
  color: var(--forest-dark);
  background: rgba(255, 253, 249, 0.6);
}
.journey-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(38, 33, 28, 0.08);
  color: rgba(38, 33, 28, 0.62);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 500;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.journey-step.active .journey-dot {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: #f4efe3;
  box-shadow:
    0 4px 8px var(--forest-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.journey-step.active a {
  color: var(--forest-dark);
}
.journey-step.done .journey-dot {
  background: rgba(61, 43, 31, 0.75);
  color: #f4efe3;
}
.journey-step.done + .journey-step::before,
.journey-step.active + .journey-step::before {
  background: rgba(61, 43, 31, 0.35);
}

@media (max-width: 720px) {
  .journey-progress { padding: 6px 12px; top: 10px; }
  .journey-label { display: none; }
  .journey-step + .journey-step::before { width: 12px; }
}

/* --- Site footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  margin: 60px 24px 24px 24px;
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(38, 33, 28, 0.96) 0%, rgba(24, 20, 16, 0.98) 100%);
  color: rgba(244, 239, 227, 0.86);
  box-shadow: 0 40px 90px rgba(20, 12, 6, 0.32);
}
@media (min-width: 961px) {
  .site-footer {
    margin-left: 220px;
  }
}
.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: start;
}
.site-footer-brand .section-kicker {
  color: rgba(244, 239, 227, 0.5);
  margin-bottom: 4px;
}
.site-footer-brand h3 {
  margin: 4px 0 12px 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  color: #f4efe3;
  letter-spacing: 0.005em;
}
.site-footer-brand p {
  margin: 0;
  color: rgba(244, 239, 227, 0.62);
  font-size: 14px;
  line-height: 1.6;
}
.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.site-footer-links a {
  color: #f4efe3;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px dashed rgba(244, 239, 227, 0.35);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: border-color 200ms ease;
}
.site-footer-links a:hover {
  border-bottom-color: #f4efe3;
}
.site-footer-copy {
  margin: 32px 0 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 227, 0.1);
  color: rgba(244, 239, 227, 0.4);
  font-size: 12px;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .site-footer { margin: 40px 12px 90px 12px; padding: 32px 22px; border-radius: 20px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* --- Integrations compact widget --- */
.integrations-widget {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}
.integrations-widget-head {
  margin-bottom: 16px;
}
.integrations-widget-head .section-kicker {
  color: rgba(244, 239, 227, 0.5);
  margin-bottom: 4px;
}
.integrations-widget-head h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  color: #f4efe3;
  letter-spacing: 0.005em;
}
.integrations-widget-grid,
.site-footer .integration-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.site-footer .integration-card {
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: rgba(244, 239, 227, 0.06) !important;
  border: 1px solid rgba(244, 239, 227, 0.1) !important;
  color: rgba(244, 239, 227, 0.88) !important;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  min-height: 0 !important;
  box-shadow: none !important;
}
.site-footer .integration-card:hover {
  background: rgba(244, 239, 227, 0.12) !important;
  border-color: rgba(244, 239, 227, 0.3) !important;
  transform: translateY(-1px);
}
.site-footer .integration-card h3,
.site-footer .integration-card h4 {
  font-size: 13px !important;
  font-weight: 700;
  color: #f4efe3 !important;
  margin: 0 0 2px 0 !important;
}
.site-footer .integration-card p {
  font-size: 11.5px !important;
  color: rgba(244, 239, 227, 0.55) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.site-footer .integration-card .mini-icon,
.site-footer .integration-card .lordicon-shell {
  width: 36px !important;
  height: 36px !important;
  background: rgba(244, 239, 227, 0.08) !important;
  border-color: rgba(244, 239, 227, 0.16) !important;
  margin-bottom: 8px !important;
}
.site-footer .integration-card .mini-icon .semantic-svg,
.site-footer .integration-card .lordicon-shell .semantic-svg,
.site-footer .integration-card .mini-icon .semantic-svg *,
.site-footer .integration-card .lordicon-shell .semantic-svg * {
  stroke: rgba(244, 239, 227, 0.85) !important;
  width: 20px !important;
  height: 20px !important;
}
.integrations-widget-note {
  margin-top: 16px !important;
  font-size: 12px;
  color: rgba(244, 239, 227, 0.42);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .integrations-widget-grid,
  .site-footer .integration-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   ITERATION 9 — Footer integrations rebuild + uniform icons
   ============================================================ */

/* Reset all cream backgrounds inside footer integrations */
.site-footer .integration-grid,
.site-footer .integrations-widget,
#siteFooterIntegrationsSlot,
.site-footer .integrations-widget-grid {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Rebuild integration cards for dark footer context */
.site-footer .integration-card {
  background: rgba(244, 239, 227, 0.08) !important;
  background-image: none !important;
  border: 1px solid rgba(244, 239, 227, 0.14) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  color: #f4efe3 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease !important;
}
.site-footer .integration-card:hover {
  background: rgba(244, 239, 227, 0.14) !important;
  background-image: none !important;
  border-color: rgba(244, 239, 227, 0.4) !important;
  transform: translateY(-2px);
}
.site-footer .integration-card *:not(svg):not(path):not(circle):not(rect):not(line) {
  color: #f4efe3 !important;
}
.site-footer .integration-card h3,
.site-footer .integration-card h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #f4efe3 !important;
  margin: 6px 0 2px 0 !important;
  line-height: 1.2 !important;
}
.site-footer .integration-card p {
  font-size: 12px !important;
  color: rgba(244, 239, 227, 0.62) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.site-footer .integration-card a,
.site-footer .integration-card .integration-cta,
.site-footer .integration-card .integration-link {
  color: #f4efe3 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-top: auto !important;
  padding-top: 6px !important;
  border-top: 1px dashed rgba(244, 239, 227, 0.2);
  text-decoration: none !important;
  display: inline-block;
  letter-spacing: 0.02em;
}
.site-footer .integration-card a:hover {
  color: #fff8ea !important;
  border-top-color: rgba(244, 239, 227, 0.5) !important;
}

/* Larger, cleaner icons in footer cards */
.site-footer .integration-card .lordicon-shell,
.site-footer .integration-card .mini-icon {
  width: 44px !important;
  height: 44px !important;
  background: rgba(244, 239, 227, 0.1) !important;
  background-image: none !important;
  border: 1px solid rgba(244, 239, 227, 0.16) !important;
  border-radius: 12px !important;
  align-self: flex-start;
}
.site-footer .integration-card .semantic-svg,
.site-footer .integration-card .semantic-svg * {
  stroke: #f4efe3 !important;
  stroke-width: 1.6 !important;
  fill: none !important;
}
.site-footer .integration-card .semantic-svg {
  width: 24px !important;
  height: 24px !important;
}

/* ============================================================
   Uniform icons across the whole site (final override)
   ============================================================ */
.lordicon-shell.icon-semantic,
.icon-drop-shell.icon-semantic {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px;
}
.lordicon-shell.icon-semantic .semantic-svg,
.icon-drop-shell.icon-semantic .semantic-svg {
  width: 30px !important;
  height: 30px !important;
}
/* Small mini variant */
.lordicon-shell.icon-semantic.mini-icon {
  width: 44px !important;
  height: 44px !important;
}
.lordicon-shell.icon-semantic.mini-icon .semantic-svg {
  width: 24px !important;
  height: 24px !important;
}

/* Static HTML shells (.module-title-icon) — unify with rest */
.module-title-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.module-title-icon::before {
  width: 30px !important;
  height: 30px !important;
}
