/* =========================================================
   Dmitrii Smirnov, MD — independent medical consulting
   Single stylesheet, no external dependencies.
   ========================================================= */

:root {
  --ink: #102730;
  --ink-soft: #35515b;
  --muted: #687b82;
  --navy: #0a2937;
  --navy-2: #0e3b4b;
  --teal: #136e6c;
  --teal-dark: #0d5554;
  --teal-light: #dceceb;
  --gold: #c7a25a;
  --gold-light: #f4ead5;
  --sand: #f3eee4;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(16, 39, 48, 0.12);
  --line-strong: rgba(16, 39, 48, 0.22);
  --shadow: 0 24px 70px rgba(10, 41, 55, 0.13);
  --shadow-sm: 0 10px 30px rgba(10, 41, 55, 0.08);
  --radius: 20px;
  --radius-sm: 13px;
  --max: 1160px;
  --header-h: 82px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 4.55rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

p {
  margin-bottom: 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.15rem;
}

strong {
  font-weight: 650;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(19, 110, 108, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(10, 41, 55, 0.06);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

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

.brand__photo {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 18px rgba(10, 41, 55, 0.12);
}

.brand__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__tagline {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 24px);
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-nav + .header__actions {
  margin-left: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.lang-switch__item:hover {
  color: var(--ink);
}

.lang-switch__item.is-active {
  background: var(--navy);
  color: var(--white);
}

.lang-switch__item.is-active:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-open .nav-toggle__bars {
  background: transparent;
}

.nav-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

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

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(19, 110, 108, 0.22);
}

.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(19, 110, 108, 0.28);
}

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

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.btn--sm {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

/* ---------- Notice / disclaimer ---------- */

.notice {
  background: var(--gold-light);
  border-bottom: 1px solid rgba(199, 162, 90, 0.35);
}

.notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-block: 18px;
}

.notice__mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border: 1px solid rgba(16, 39, 48, 0.24);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.notice__title {
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.notice__text {
  max-width: 1000px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.notice__text + .notice__text {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 39, 48, 0.12);
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.eyebrow--light {
  color: var(--gold);
}

.lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.6;
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.section--tint {
  background: var(--sand);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-title {
  max-width: 760px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  max-width: 480px;
  margin-left: auto;
  color: var(--muted);
}

.section-head--light p {
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 92px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(circle at 84% 12%, rgba(199, 162, 90, 0.15), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(19, 110, 108, 0.09), transparent 30%),
    var(--paper);
}

.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 36vw;
  height: 100%;
  border-left: 1px solid rgba(16, 39, 48, 0.06);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 55%);
  content: "";
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__copy {
  max-width: 700px;
}

.hero h1 {
  max-width: 13ch;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.hero__body {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 550;
}

.trust-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.profile-card {
  position: relative;
  justify-self: end;
  width: min(100%, 410px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.profile-card::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  content: "";
  pointer-events: none;
}

.profile-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.35;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(199, 162, 90, 0.2), transparent 42%),
    var(--navy-2);
}

.profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.profile-card__body {
  position: relative;
  padding: 22px 14px 12px;
}

.profile-card__kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-card__name {
  margin-bottom: 5px;
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.profile-card__role {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  line-height: 1.45;
}

.profile-card__facts {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.profile-card__facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

.profile-card__facts strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: right;
}

.profile-card__note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  line-height: 1.45;
}

/* ---------- Split / about ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.split__copy p {
  max-width: 680px;
  color: var(--ink-soft);
}

.credential-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.credential-card h3 {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.24em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(19, 110, 108, 0.35);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.58rem;
  font-weight: 800;
  content: "\2713";
}

/* ---------- Cards ---------- */

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

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

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

.info-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.info-card:hover {
  border-color: rgba(19, 110, 108, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.info-card__num {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.info-card h3 {
  font-size: 1.2rem;
}

.info-card p {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.55;
}

.info-card--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.info-card--dark:hover {
  border-color: rgba(199, 162, 90, 0.45);
  box-shadow: none;
}

.info-card--dark p {
  color: rgba(255, 255, 255, 0.62);
}

.info-card--dark .info-card__num {
  color: var(--gold);
}

/* ---------- Compare / scope ---------- */

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

.compare__col {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.compare__col h3 {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-list li {
  position: relative;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.compare-list li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
}

.compare__col--yes .compare-list li::before {
  border: 1px solid rgba(19, 110, 108, 0.35);
  color: var(--teal);
  content: "\2713";
}

.compare__col--no .compare-list li::before {
  border: 1px solid rgba(150, 70, 60, 0.3);
  color: #9b4b42;
  content: "\2013";
}

.section--dark .compare__col {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.section--dark .compare__col h3 {
  border-bottom-color: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.section--dark .compare-list li {
  color: rgba(255, 255, 255, 0.68);
}

.section--dark .compare__col--yes .compare-list li::before {
  border-color: rgba(199, 162, 90, 0.48);
  color: var(--gold);
}

.section--dark .compare__col--no .compare-list li::before {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.62);
}

.scope-note {
  max-width: 880px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 24px 0 0;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 21px;
  right: 8px;
  left: 52px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-dark);
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.step h3 {
  font-size: 1.08rem;
}

.step p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq__intro p {
  color: var(--muted);
}

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

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

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  content: "+";
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq details[open] summary::after {
  background: var(--teal);
  color: var(--white);
  content: "\2212";
}

.faq summary:hover::after {
  border-color: var(--teal);
}

.faq__answer {
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.6;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.contact-copy p {
  color: var(--ink-soft);
}

.contact-meta {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-meta p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.contact-meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-meta a {
  overflow-wrap: anywhere;
}

.emergency-note {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid #9b4b42;
  border-radius: 0 8px 8px 0;
  background: rgba(155, 75, 66, 0.07);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.emergency-note strong {
  color: #7d3831;
}

.contact-form {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 18px;
}

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

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

.field label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(16, 39, 48, 0.34);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(19, 110, 108, 0.12);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #87969b;
}

.field__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.checkbox a {
  font-weight: 600;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status.is-loading,
.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-loading {
  background: rgba(19, 110, 108, 0.08);
  color: var(--teal-dark);
}

.form-status.is-success {
  border: 1px solid rgba(19, 110, 108, 0.25);
  background: rgba(19, 110, 108, 0.08);
  color: var(--teal-dark);
}

.form-status.is-error {
  border: 1px solid rgba(155, 75, 66, 0.25);
  background: rgba(155, 75, 66, 0.07);
  color: #7d3831;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 64px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 44px;
  padding-bottom: 48px;
}

.footer__brand .brand {
  margin-bottom: 18px;
  color: var(--white);
}

.footer__brand .brand:hover {
  color: var(--white);
}

.footer__brand .brand__photo {
  width: 46px;
  height: 46px;
}

.footer__brand .brand__name {
  font-size: 0.98rem;
}

.footer__brand p {
  max-width: 360px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer__disclaimer {
  color: rgba(255, 255, 255, 0.46) !important;
  font-size: 0.72rem !important;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.footer__links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.79rem;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__contact {
  font-size: 0.79rem;
  line-height: 1.55;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.8);
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.67rem;
  line-height: 1.5;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding-block: 58px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}

.legal-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-body {
  max-width: 820px;
  padding-block: 52px 88px;
}

.legal-body h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-body ul {
  margin-bottom: 1.1em;
}

.legal-body li + li {
  margin-top: 6px;
}

.legal-callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--gold-light);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.legal-callout p {
  color: inherit;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 42px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 404 ---------- */

.error-page {
  display: flex;
  min-height: 70vh;
  align-items: center;
  padding-block: 70px;
}

.error-page__inner {
  max-width: 680px;
}

.error-page__code {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.error-page h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.error-page p {
  color: var(--muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: 0 24px 40px rgba(10, 41, 55, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header__actions,
  .site-nav + .header__actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
    gap: 42px;
  }

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

  .footer__grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
    gap: 30px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 74px;
  }

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

  .header__cta {
    display: none;
  }

  .hero__grid,
  .split,
  .section-head,
  .contact-grid,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .profile-card {
    justify-self: start;
    width: min(100%, 440px);
  }

  .profile-card__photo {
    aspect-ratio: 5 / 4.4;
  }

  .section-head {
    gap: 16px;
    align-items: start;
  }

  .section-head p {
    margin-left: 0;
  }

  .faq__intro {
    position: static;
  }

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

  .step:nth-child(2)::after,
  .step:nth-child(4)::after {
    display: none;
  }

  .step:nth-child(3)::after {
    top: 21px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .brand__tagline {
    display: none;
  }

  .brand__photo {
    width: 46px;
    height: 46px;
  }

  .brand__name {
    font-size: 0.94rem;
    white-space: normal;
  }

  .header__inner {
    gap: 12px;
  }

  .header__actions {
    gap: 7px;
  }

  .lang-switch__item {
    min-width: 32px;
    min-height: 28px;
    padding-inline: 6px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .card-grid--3,
  .card-grid--2,
  .compare,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .step {
    padding-right: 0;
  }

  .step::after {
    display: none;
  }

  .step__num {
    margin-bottom: 14px;
  }

  .notice__inner {
    gap: 11px;
    padding-block: 15px;
  }

  .notice__mark {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .notice__text {
    font-size: 0.82rem;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 42px;
  }
}

@media (max-width: 390px) {
  .header__inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand__photo {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    max-width: 92px;
    font-size: 0.8rem;
  }

  .header__actions {
    gap: 5px;
  }

  .lang-switch__item {
    min-width: 26px;
    padding-inline: 4px;
    font-size: 0.66rem;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
  }
}

/* ---------- Motion / print ---------- */

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

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

@media print {
  .site-header,
  .notice,
  .hero__actions,
  .contact-form,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .section,
  .section--tint,
  .section--dark {
    padding-block: 18px;
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
