:root {
  --bg: #f4efe7;
  --bg-strong: #efe7dc;
  --surface: rgba(255, 253, 249, 0.92);
  --surface-strong: #fffdf9;
  --surface-dark: #16383f;
  --ink: #16343a;
  --ink-soft: #2a4b52;
  --muted: #607479;
  --line: rgba(22, 52, 58, 0.1);
  --line-strong: rgba(22, 52, 58, 0.16);
  --brand: #123c44;
  --brand-strong: #0e2f35;
  --brand-soft: #d8e7e2;
  --accent: #cf9147;
  --accent-strong: #b6772d;
  --accent-soft: #f1dec8;
  --success: #1f7c56;
  --danger: #bb5757;
  --shadow-sm: 0 10px 30px rgba(17, 52, 58, 0.08);
  --shadow: 0 24px 60px rgba(17, 52, 58, 0.12);
  --radius-sm: 18px;
  --radius: 28px;
  --radius-lg: 36px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(207, 145, 71, 0.24), transparent 24rem),
    radial-gradient(circle at right 10%, rgba(18, 60, 68, 0.1), transparent 22rem),
    linear-gradient(180deg, #f7f1e8 0%, #f4f4f0 34%, #f6f7f4 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

input,
textarea,
select,
button {
  -webkit-appearance: none;
  appearance: none;
}

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

.section,
.page-hero,
.hero {
  padding: 84px 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.62));
}

.section-highlight {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 20rem),
    linear-gradient(135deg, #123941 0%, #1c5059 100%);
  color: #f5f3ed;
}

.section-highlight h2,
.section-highlight h3,
.section-highlight strong {
  color: #fff7ef;
}

.section-highlight p,
.section-highlight li,
.section-highlight .section-note {
  color: rgba(245, 243, 237, 0.82);
}

.section-highlight .eyebrow {
  color: #e7aa58;
}

.section-highlight .eyebrow::before {
  opacity: 0.7;
}

.section-highlight .info-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(9, 29, 34, 0.18);
}

.section-highlight .info-panel h2,
.section-highlight .info-panel h3 {
  color: #fff9f1;
}

.section-highlight .info-panel p,
.section-highlight .info-panel li,
.section-highlight .info-panel a,
.section-highlight .footer-links a {
  color: rgba(255, 249, 241, 0.88);
}

.highlight-title {
  color: #fffdfa !important;
  text-shadow: 0 2px 18px rgba(6, 17, 20, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.05;
  color: var(--ink);
}

h1,
h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 4.9vw, 4.9rem);
  max-width: 9.6ch;
  line-height: 0.94;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  max-width: 15ch;
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

strong {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e1a75d 100%);
  color: #1d2425;
  box-shadow: 0 16px 30px rgba(207, 145, 71, 0.24);
}

.button-primary:hover {
  box-shadow: 0 20px 38px rgba(207, 145, 71, 0.34);
}

.button-secondary,
.button-light {
  border-color: rgba(18, 60, 68, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.button-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.96rem;
}

.button-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(180deg, rgba(250, 246, 239, 0.92), rgba(247, 241, 232, 0.82));
  border-bottom: 1px solid rgba(18, 60, 68, 0.08);
  box-shadow: 0 10px 34px rgba(18, 52, 58, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 270px;
}

.brand img {
  flex: 0 0 auto;
  width: clamp(44px, 4.2vw, 60px);
  height: clamp(44px, 4.2vw, 60px);
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 8px 16px rgba(18, 60, 68, 0.08));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 24ch;
}

.main-nav {
  display: none;
  grid-column: 1 / -1;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.main-nav.is-open {
  display: flex;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav-more {
  position: relative;
}

.nav-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.nav-more summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-more[open] summary,
.nav-more summary:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav-more-menu {
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(18, 60, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 56px rgba(17, 52, 58, 0.14);
}

.nav-mobile-item {
  display: none;
}

.header-actions {
  display: none;
}

.header-contact {
  display: grid;
  gap: 3px;
  justify-items: end;
  padding: 11px 14px 10px;
  border: 1px solid rgba(18, 60, 68, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-sm);
}

.header-contact small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

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

.header-contact-note {
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.menu-toggle {
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(18, 60, 68, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
  box-shadow: var(--shadow-sm);
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background:
    radial-gradient(circle at 10% 10%, rgba(207, 145, 71, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(18, 60, 68, 0.12), transparent 26rem);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 64px 0 auto;
  height: 420px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 40%, rgba(255, 255, 255, 0.34) 72%, transparent 100%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero-grid,
.two-column,
.cta-band-inner,
.footer-grid {
  display: grid;
  gap: 30px;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy {
  padding-top: 10px;
  max-width: 720px;
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(18, 60, 68, 0.08);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-text,
.page-intro {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.hero h1 {
  max-width: 12.8ch;
  font-size: clamp(2.35rem, 3.6vw, 3.75rem);
  overflow-wrap: normal;
  hyphens: manual;
}

.hero-note-line {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  max-width: 46rem;
  padding: 16px 18px;
  border: 1px solid rgba(18, 60, 68, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 40px rgba(18, 52, 58, 0.06);
}

.hero-note-line strong {
  font-size: 0.98rem;
  color: var(--brand);
}

.hero-note-line span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.hero-trust-row {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.trust-pill,
.metric-card,
.trust-strip-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-sm);
}

.trust-pill {
  padding: 16px 18px;
}

.trust-pill strong,
.metric-card strong,
.trust-strip-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.trust-pill span,
.metric-card span,
.trust-strip-item span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-points,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points span,
.lead-trust span,
.cta-proof span,
.footer-trust span,
.service-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(18, 60, 68, 0.08);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-metrics,
.hero-panel-grid,
.trust-strip-grid,
.trust-evidence {
  display: grid;
  gap: 16px;
}

.hero-metrics {
  margin-top: 30px;
}

.hero-lead-row {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}

.hero-lead-row .lead-card {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.metric-card {
  padding: 18px 18px 16px;
}

.metric-card strong {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.55rem;
}

.hero-panel,
.card,
.info-panel,
.lead-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 249, 0.92));
  overflow: clip;
  border-color: rgba(18, 60, 68, 0.08);
  box-shadow:
    0 28px 70px rgba(17, 52, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.84rem;
}

.hero-panel-rating {
  text-align: right;
  flex: 1 1 140px;
  min-width: 0;
}

.hero-panel-rating strong {
  display: block;
  font-size: 1rem;
}

.hero-panel-rating span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-panel h2 {
  text-wrap: balance;
}

.mini-card {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(245, 248, 246, 0.88));
  border: 1px solid rgba(18, 60, 68, 0.08);
  min-width: 0;
}

.mini-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.lead-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  margin-top: 20px;
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 246, 0.9));
}

.lead-card > .section-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-card-copy h2 {
  max-width: 11ch;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
}

.lead-inline-actions,
.lead-submit-row {
  display: grid;
  gap: 12px;
}

.lead-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lead-quick-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lead-quick-points div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(18, 60, 68, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.lead-quick-points strong,
.lead-quick-points span {
  display: block;
}

.lead-quick-points span {
  margin-top: 6px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(18, 60, 68, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lead-form label span {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: var(--brand);
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(18, 60, 68, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: rgba(18, 60, 68, 0.3);
  box-shadow: 0 0 0 4px rgba(18, 60, 68, 0.08);
  background: #fff;
}

.form-note,
.form-message,
.section-note {
  font-size: 0.94rem;
}

.form-message.is-success {
  color: var(--success);
}

.form-message.is-error {
  color: var(--danger);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.93rem;
}

.trust-strip {
  padding: 18px 0 0;
}

.medtrans {
  padding: 72px 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  scroll-margin-top: 110px;
}

.medtrans .container {
  max-width: 1180px;
  margin: 0 auto;
}

.medtrans-badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #1f5fae;
  font-size: 14px;
  font-weight: 700;
}

.medtrans h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  color: #10233e;
  max-width: none;
}

.medtrans-lead {
  max-width: 860px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.7;
  color: #3e536f;
}

.medtrans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.medtrans-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(16, 35, 62, 0.08);
  border: 1px solid rgba(31, 95, 174, 0.08);
}

.medtrans-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #10233e;
}

.medtrans-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #51657f;
}

.medtrans-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.medtrans-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.medtrans-btn-primary {
  background: linear-gradient(135deg, #1f7aff 0%, #0d5fe5 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(13, 95, 229, 0.24);
}

.medtrans-btn-secondary {
  background: #ffffff;
  color: #1f5fae;
  border: 1px solid rgba(31, 95, 174, 0.18);
  box-shadow: 0 10px 24px rgba(16, 35, 62, 0.06);
}

.medtrans-btn:focus-visible {
  outline: 3px solid rgba(31, 122, 255, 0.25);
  outline-offset: 3px;
}

.section-anchor {
  display: block;
  scroll-margin-top: 110px;
}

.medtrans-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 10px;
}

.medtrans-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  color: var(--brand);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.medtrans-subnav a.is-active,
.medtrans-subnav a:hover {
  background: var(--brand-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 25px rgba(18, 52, 58, 0.08);
}

.medtrans-page .page-intro {
  max-width: 60ch;
}

.medtrans-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.medtrans-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 255, 0.12), transparent 22rem),
    radial-gradient(circle at right center, rgba(18, 60, 68, 0.1), transparent 24rem);
  pointer-events: none;
}

.medtrans-hero .container,
.medtrans-hero .info-panel {
  position: relative;
  z-index: 1;
}

.medtrans-hero-panel {
  align-self: start;
}

.medtrans-page-strong .section {
  position: relative;
}

.medtrans-home .section-heading h2 {
  max-width: 15ch;
}

.medtrans-home-hero {
  padding-top: 64px;
}

.medtrans-home-hero-grid {
  align-items: start;
}

.medtrans-home-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(18, 60, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
}

.medtrans-home-topline span,
.medtrans-home-topline a {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
}

.medtrans-home-topline a {
  white-space: nowrap;
}

.medtrans-home h1 {
  max-width: 16ch;
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  line-height: 1;
}

.medtrans-home .page-intro {
  max-width: 58ch;
  font-size: 1.14rem;
}

.medtrans-home-actions .button {
  min-width: 188px;
}

.medtrans-home-hero-highlight {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.medtrans-home-hero-highlight div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(18, 60, 68, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 248, 0.78));
  box-shadow: var(--shadow-sm);
}

.medtrans-home-hero-highlight strong,
.medtrans-home-hero-highlight span {
  display: block;
}

.medtrans-home-hero-highlight strong {
  margin-bottom: 6px;
  color: var(--brand);
}

.medtrans-home-hero-highlight span {
  color: var(--muted);
}

.medtrans-home-metrics {
  margin-top: 28px;
}

.medtrans-home-phone-card {
  padding: 24px;
}

.medtrans-home-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  margin: 14px 0 10px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(18, 60, 68, 0.96), rgba(28, 86, 93, 0.96));
  color: #fffdfa;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 24px 44px rgba(18, 52, 58, 0.18);
}

.medtrans-home-phone-note {
  display: grid;
  gap: 6px;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 60, 68, 0.05);
  border: 1px solid rgba(18, 60, 68, 0.08);
}

.medtrans-home-phone-note strong {
  color: var(--brand);
}

.medtrans-home-phone-note span {
  color: var(--muted);
  font-size: 0.95rem;
}

.medtrans-home-section + .medtrans-home-section {
  padding-top: 20px;
}

.medtrans-home-premium-card {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.08), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.9));
}

.medtrans-home-card-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(18, 60, 68, 0.34);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.medtrans-home-premium-card h3 {
  color: var(--brand);
  font-size: 1.08rem;
  line-height: 1.45;
}

.medtrans-home-emergency {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.92));
}

.medtrans-home-step-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 246, 0.88));
}

.medtrans-home-step-card strong,
.medtrans-home-step-card span {
  display: block;
}

.medtrans-home-step-index {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.medtrans-home-step-card strong {
  color: var(--brand);
  font-size: 1.02rem;
  line-height: 1.55;
}

.medtrans-home-contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.92));
}

.medtrans-home-contact-card h3 {
  color: var(--brand);
}

.medtrans-home-city-card {
  min-height: 100%;
}

.medtrans-home-final-cta {
  margin-top: 16px;
}

.medtrans-home-hero-actions-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.medtrans-home-hero-actions-line span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 60, 68, 0.06);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.medtrans-home-faq-panel {
  padding: 24px;
  border: 1px solid rgba(18, 60, 68, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.92));
  box-shadow: var(--shadow);
}

.medtrans-home-faq-intro {
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.medtrans-home-form-shell {
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.09), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 246, 0.88));
  border: 1px solid rgba(18, 60, 68, 0.08);
  box-shadow: var(--shadow);
}

.section-heading-wide {
  max-width: 860px;
}

.section-heading-wide h2 {
  max-width: 18ch;
}

.section-heading-wide p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.premium-evidence-grid {
  display: grid;
  gap: 18px;
}

.premium-evidence-card {
  overflow: hidden;
  border: 1px solid rgba(18, 60, 68, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.premium-evidence-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.premium-evidence-card div {
  padding: 18px;
}

.premium-evidence-card h3,
.route-card h3,
.case-card h3 {
  color: var(--brand);
}

.premium-evidence-card p,
.route-card p,
.case-card p {
  color: var(--muted);
  line-height: 1.62;
}

.premium-feature-list li {
  background: rgba(255, 255, 255, 0.68);
}

.premium-safety-panel {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.9));
}

.route-grid {
  display: grid;
  gap: 14px;
}

.route-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(18, 60, 68, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.92));
  box-shadow: var(--shadow-sm);
}

.route-card span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18, 60, 68, 0.06);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.case-card p {
  margin-top: 10px;
}

.case-card strong {
  color: var(--ink);
}

.medtrans-home-form-heading {
  margin-bottom: 0;
}

.medtrans-home-form-heading h2 {
  max-width: 14ch;
}

.medtrans-home-form-intro {
  max-width: 62ch;
}

.medtrans-hero-main {
  display: grid;
  align-content: start;
}

.medtrans-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.medtrans-hero-proof span {
  display: inline-flex;
  align-items: center;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(18, 60, 68, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.medtrans-premium-panel {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 248, 0.92));
}

.medtrans-quick-call {
  margin-top: 20px;
}

.medtrans-trust-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.medtrans-trust-list div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.medtrans-trust-list strong,
.medtrans-trust-list span {
  display: block;
}

.medtrans-trust-list span {
  margin-top: 6px;
  color: var(--muted);
}

.medtrans-feature-card,
.medtrans-trust-card {
  min-height: 100%;
}

.medtrans-feature-card h3,
.medtrans-trust-card h3 {
  color: var(--brand);
}

.emphasis-panel {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.9));
}

.trust-strip-grid {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.trust-strip-item {
  padding: 18px;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 13ch;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.card {
  position: relative;
  padding: 26px;
}

.compact-card {
  padding: 22px;
}

.card p:last-child,
.info-panel p:last-child {
  margin-bottom: 0;
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(18, 60, 68, 0.34);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.card-link h3 a,
.card-link h2 a,
.text-link {
  color: var(--brand);
}

.card-link {
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 60, 68, 0.18);
  box-shadow: 0 30px 64px rgba(17, 52, 58, 0.13);
}

.card-link h2,
.card-link h3 {
  color: var(--brand);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.card-link p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.card-link .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 60, 68, 0.11);
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(17, 52, 58, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.card-link .text-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(18, 60, 68, 0.18);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  gap: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.09), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 246, 0.9));
  border-color: rgba(18, 60, 68, 0.09);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 34%),
    radial-gradient(circle at 85% 8%, rgba(216, 231, 226, 0.46), transparent 10rem);
  opacity: 0.78;
  pointer-events: none;
}

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

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 60, 68, 0.2);
  box-shadow:
    0 34px 70px rgba(17, 52, 58, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.service-card .card-photo {
  flex: 0 0 auto;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.service-card-top,
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-inline-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #e4ad66 100%);
  color: #1d2425;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(207, 145, 71, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.service-inline-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(207, 145, 71, 0.3);
}

.service-card .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 60, 68, 0.1);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.feature-list,
.footer-links,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #efb86f 100%);
}

.stack {
  display: grid;
  gap: 16px;
}

.steps-list,
.steps-grid {
  display: grid;
  gap: 18px;
  padding-left: 20px;
}

.steps-list li,
.steps-grid li {
  color: var(--muted);
}

.steps-grid {
  list-style: decimal;
}

.steps-grid .card {
  margin-left: 6px;
}

.trust-evidence {
  margin-top: 22px;
}

.trust-evidence-item {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(18, 60, 68, 0.05);
  border: 1px solid rgba(18, 60, 68, 0.08);
}

.trust-evidence-item strong,
.trust-evidence-item span {
  display: block;
}

.trust-evidence-item span {
  margin-top: 6px;
  color: var(--muted);
}

.info-panel {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 248, 0.88));
}

.testimonial-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.88));
}

.testimonial-stars {
  margin-bottom: 14px;
  color: var(--accent-strong);
  letter-spacing: 0.14em;
  font-size: 0.88rem;
}

.testimonial-card p {
  color: var(--ink);
  font-size: 1.03rem;
}

.price-card strong {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.75rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.92));
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 60, 68, 0.14);
  box-shadow: 0 24px 54px rgba(17, 52, 58, 0.1);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.35;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  line-height: 1.68;
}

.faq-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 60, 68, 0.08);
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-soft);
}

.cta-band {
  padding: 38px 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 20rem),
    linear-gradient(135deg, var(--brand) 0%, #24545d 100%);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cta-proof span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.medtrans-content-card.is-emphasis {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.1), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.9));
}

.page-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(18, 60, 68, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 231, 226, 0.42), rgba(255, 253, 249, 0.84));
  box-shadow:
    0 24px 58px rgba(17, 52, 58, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  isolation: isolate;
}

.page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.12), transparent 16rem);
  pointer-events: none;
}

.page-visual picture,
.page-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-visual img {
  object-fit: cover;
  object-position: var(--visual-position, center center);
}

.hero-side {
  display: grid;
  gap: 20px;
  align-self: start;
}

.hero-photo,
.medtrans-home-photo,
.medtrans-page-photo,
.service-photo,
.city-photo,
.standard-photo {
  aspect-ratio: 18 / 13;
}

.hero-photo {
  margin-bottom: 22px;
  aspect-ratio: 16 / 10;
}

.medtrans-home-photo,
.medtrans-page-photo {
  margin-bottom: 22px;
}

.article-photo {
  width: min(100%, 760px);
  aspect-ratio: 3 / 2;
  margin-top: 30px;
}

.card-photo {
  aspect-ratio: 18 / 13;
  margin: -10px -10px 4px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(17, 52, 58, 0.11);
}

.service-card-visual::before {
  background:
    linear-gradient(180deg, rgba(18, 60, 68, 0.02), rgba(18, 60, 68, 0.16)),
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.16), transparent 12rem);
}

.article-card-photo {
  aspect-ratio: 3 / 2;
}

.articles-showcase {
  background:
    radial-gradient(circle at 8% 0%, rgba(207, 145, 71, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(242, 248, 246, 0.72));
}

.articles-showcase-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.articles-showcase-heading h2 {
  max-width: 18ch;
}

.articles-showcase-link {
  align-self: center;
}

.article-preview-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(216, 231, 226, 0.42), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.92));
}

.article-preview-card h2,
.article-preview-card h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
}

.article-preview-card p {
  margin-bottom: 0;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero {
  padding-bottom: 38px;
}

.hero-note {
  color: var(--brand);
  font-weight: 700;
}

.article-container {
  width: min(calc(100% - 28px), 860px);
  margin: 0 auto;
}

.article-body {
  padding-bottom: 72px;
}

.article-body section {
  margin-bottom: 32px;
}

.article-body h2 {
  max-width: none;
}

.article-cta {
  margin-top: 38px;
}

.article-body .article-cta.card {
  overflow: visible;
}

.article-body .faq-list {
  gap: 16px;
}

.article-body article.faq-item {
  padding: 22px;
  overflow: visible;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(216, 231, 226, 0.34), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 249, 0.94));
}

.article-body article.faq-item h3 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.34;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.article-body article.faq-item p {
  padding: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.article-body details.faq-item {
  border-radius: 24px;
}

.article-premium-panel,
.article-trust-panel {
  background:
    radial-gradient(circle at top right, rgba(207, 145, 71, 0.09), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.9));
}

.article-trust-panel .compact-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 60, 68, 0.08);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.article-trust-panel h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--brand);
}

.article-form-section {
  padding: 0;
  margin-top: 38px;
  border-radius: var(--radius);
  background: transparent;
}

.site-footer {
  padding: 62px 0 96px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 18rem),
    #132f36;
  color: #f0ece4;
}

.site-footer h3 {
  color: #fff4ea;
}

.site-footer p,
.site-footer a,
.site-footer small,
.site-footer span {
  color: rgba(240, 236, 228, 0.8);
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-links li {
  list-style: none;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.footer-trust span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff4ea;
}

.phone-link-footer {
  display: inline-block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.12rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 65;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(19, 47, 54, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 45px rgba(17, 43, 48, 0.28);
}

.mobile-dock a {
  min-height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.mobile-dock-call {
  background: linear-gradient(135deg, var(--accent) 0%, #e1a75d 100%);
  color: #1d2425;
}

.mobile-dock-lead {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-dock-callback {
  background: rgba(255, 255, 255, 0.22);
  color: #fff4ea;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.not-found {
  text-align: center;
}

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

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

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

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

  .hero-grid,
  .two-column,
  .footer-grid,
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel-grid,
  .hero-metrics,
  .trust-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .lead-card {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }

  .lead-inline-actions,
  .lead-submit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .medtrans {
    padding: 56px 16px;
    scroll-margin-top: 92px;
  }

  .medtrans-subnav {
    padding-top: 14px;
  }

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

  .medtrans-lead {
    font-size: 16px;
  }

  .medtrans-actions {
    flex-direction: column;
  }

  .medtrans-btn {
    width: 100%;
  }

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

  .section-anchor {
    scroll-margin-top: 92px;
  }

  .medtrans-hero {
    padding-top: 72px;
  }

  .medtrans-home-hero {
    padding-top: 88px;
  }

  .medtrans-home h1 {
    max-width: 12ch;
  }

  .hero h1,
  .medtrans-home h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.75rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .medtrans-home-topline {
    align-items: flex-start;
  }

  .medtrans-home-topline a {
    width: 100%;
  }

  .medtrans-home-actions .button,
  .medtrans-home-phone-card .button {
    width: 100%;
  }

  .medtrans-home-form-shell,
  .medtrans-home-faq-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .medtrans-home-phone {
    min-height: 68px;
    font-size: 1.36rem;
  }

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

  .hero-panel {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 1023px) {
  .main-nav .nav-desktop {
    display: none;
  }

  .main-nav .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }

  .main-nav .nav-mobile-item {
    display: block;
  }
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .section,
  .page-hero,
  .hero {
    padding: 64px 0;
  }

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

  h1,
  .hero h1,
  .medtrans-home h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.4vw, 2.25rem);
    line-height: 1.06;
    letter-spacing: 0;
    overflow-wrap: normal;
    hyphens: manual;
  }

  h2,
  .lead-card-copy h2,
  .cta-band h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.12;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .hero-text,
  .page-intro,
  .medtrans-home .page-intro {
    max-width: 100%;
    font-size: clamp(1rem, 4vw, 1.06rem);
    line-height: 1.62;
  }

  .hero-actions,
  .cta-actions,
  .lead-inline-actions,
  .lead-submit-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .button,
  .cta-actions .button,
  .lead-inline-actions .button,
  .lead-submit-row .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    text-align: center;
    line-height: 1.18;
    white-space: normal;
  }

  .lead-card,
  .lead-form,
  .info-panel,
  .hero-panel,
  .card {
    border-radius: 24px;
  }

  .hero-panel {
    padding: 16px;
    overflow: hidden;
  }

  .hero-panel .lead-card {
    width: auto;
    margin: 18px -6px 0;
    padding: 22px 18px;
    border-radius: 26px;
    gap: 18px;
    box-shadow:
      0 24px 52px rgba(17, 52, 58, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .lead-card {
    padding: 20px;
    gap: 20px;
  }

  .hero-panel .lead-card-copy h2 {
    font-size: clamp(1.55rem, 7.1vw, 2rem);
    line-height: 1.14;
  }

  .hero-panel .lead-card-copy p {
    font-size: 1rem;
    line-height: 1.64;
  }

  .lead-form {
    padding: 18px;
  }

  .lead-form input,
  .lead-form textarea,
  .lead-form select {
    padding: 14px 15px;
    border-radius: 15px;
  }

  .cta-band {
    padding: 32px 0;
  }

  .cta-proof,
  .lead-trust,
  .hero-points {
    gap: 8px;
  }

  .hero-points span,
  .lead-trust span,
  .cta-proof span,
  .footer-trust span,
  .service-chip {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .mobile-dock {
    display: none;
  }

  .service-card {
    gap: 14px;
    padding: 18px;
  }

  .service-card h2,
  .service-card h3 {
    font-size: clamp(1.08rem, 5vw, 1.28rem);
    line-height: 1.24;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.56;
  }

  .service-card-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 14px;
  }

  .service-card .text-link,
  .service-inline-call {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    text-align: center;
  }

  .service-card-top {
    gap: 10px;
  }

  .articles-showcase-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .article-preview-card {
    padding: 18px;
    gap: 12px;
  }

  .article-form-section .lead-card {
    padding: 20px 18px;
  }

  .article-body article.faq-item {
    padding: 18px;
    border-radius: 20px;
  }

  .article-body article.faq-item h3 {
    font-size: 1rem;
    line-height: 1.38;
  }

  .faq-item summary {
    align-items: flex-start;
    min-width: 0;
    padding: 20px 18px 18px;
    gap: 12px;
    font-size: clamp(0.96rem, 4.1vw, 1.06rem);
    line-height: 1.38;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .faq-item p {
    padding: 0 18px 20px;
    font-size: 0.96rem;
    line-height: 1.66;
    overflow-wrap: anywhere;
  }

  .article-body .article-cta.card {
    padding: 20px 16px;
  }

  .article-body .faq-list {
    gap: 14px;
  }

  .article-body article.faq-item,
  .article-body details.faq-item {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
  }

  .article-body article.faq-item {
    padding: 20px 18px;
  }

  .article-body article.faq-item h3 {
    margin-bottom: 12px;
    font-size: clamp(0.98rem, 4.2vw, 1.08rem);
    line-height: 1.36;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .article-body article.faq-item p {
    font-size: 0.95rem;
    line-height: 1.66;
    overflow-wrap: anywhere;
  }

  .service-arrow {
    width: 34px;
    height: 34px;
  }

  .card-photo {
    margin: -6px -6px 2px;
    border-radius: 20px;
  }
}

@media (max-width: 340px) {
  h1,
  .hero h1,
  .medtrans-home h1 {
    font-size: clamp(1.78rem, 8.1vw, 2rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body {
    padding-bottom: 0;
  }

  .mobile-dock {
    display: none;
  }

  .mobile-dock a {
    min-width: 0;
    padding: 0 14px;
    text-align: center;
    white-space: normal;
  }

  .lead-inline-actions,
  .lead-submit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-submit-row .button,
  .lead-inline-actions .button {
    min-width: 0;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-panel .lead-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .hero-panel .lead-card-copy h2 {
    max-width: 18ch;
    font-size: clamp(1.7rem, 4.6vw, 2.25rem);
    line-height: 1.12;
  }

  .hero-panel .lead-form {
    max-width: 620px;
  }
}

@media (min-width: 1024px) {
  .section,
  .page-hero,
  .hero {
    padding: 104px 0;
  }

  .topbar {
    grid-template-columns: minmax(190px, 245px) minmax(430px, 1fr) minmax(360px, auto);
    gap: 14px;
    min-height: 84px;
    padding: 12px 0;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    grid-column: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 4px;
    margin-top: 0;
    padding: 7px;
    border: 1px solid rgba(18, 60, 68, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 14px 32px rgba(18, 52, 58, 0.05);
  }

  .main-nav a {
    padding: 9px 9px;
    font-size: 0.88rem;
  }

  .main-nav .nav-mobile-item {
    display: none;
  }

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

  .nav-more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 80;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    min-width: 0;
  }

  .header-contact {
    padding: 8px 10px;
  }

  .header-contact-note {
    display: none;
  }

  .header-actions .button-telegram {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
    align-items: start;
    gap: 28px;
  }

  .hero-lead-row .lead-card {
    grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
    align-items: start;
  }

  .hero-copy {
    padding-top: 24px;
    padding-right: 26px;
  }

  .hero-panel {
    margin-top: 12px;
    padding: 24px;
  }

  .hero-panel h2 {
    max-width: 16ch;
    font-size: clamp(1.55rem, 1.8vw, 2.25rem);
    line-height: 1.08;
  }

  .hero-note-line {
    max-width: 42rem;
  }

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

  .hero-panel-grid,
  .hero-metrics,
  .trust-strip-grid,
  .trust-evidence {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .medtrans-home-hero-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medtrans-home-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    gap: 30px;
  }

  .medtrans-home-hero {
    padding-top: 56px;
  }

  .medtrans-home h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 3vw, 3.45rem);
    line-height: 1.02;
  }

  .medtrans-home-hero .page-intro,
  .medtrans-home-hero .hero-note {
    max-width: 54ch;
  }

  .medtrans-home-hero .hero-actions {
    margin-top: 20px;
  }

  .medtrans-home-photo,
  .medtrans-page-photo {
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
  }

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

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

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

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

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-left: 20px;
  }

  .cta-band-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .mobile-dock {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1380px) {
  .topbar {
    grid-template-columns: minmax(150px, 190px) minmax(430px, 1fr) auto;
    gap: 10px;
  }

  .brand {
    max-width: 200px;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    gap: 2px;
    padding: 6px;
  }

  .main-nav a {
    padding: 8px 7px;
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-contact {
    padding: 9px 11px;
  }

  .header-contact-note {
    display: none;
  }

  .header-contact small {
    font-size: 0.68rem;
  }

  .phone-link {
    font-size: 0.95rem;
  }

  .button-small {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .topbar {
    grid-template-columns: minmax(132px, 168px) minmax(390px, 1fr) auto;
    align-items: center;
  }

  .header-actions {
    justify-self: end;
    flex-wrap: nowrap;
  }

  .main-nav {
    justify-content: center;
  }

  .header-actions .button-secondary {
    display: none;
  }

  .header-contact {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .mobile-dock {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(460px, calc(100% - 24px));
    transform: translateX(-50%);
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(255, 253, 249, 0.62), rgba(216, 231, 226, 0.42)),
      rgba(19, 47, 54, 0.72);
    backdrop-filter: blur(20px) saturate(1.18);
    -webkit-backdrop-filter: blur(20px) saturate(1.18);
    box-shadow:
      0 18px 42px rgba(17, 43, 48, 0.22),
      0 0 0 1px rgba(18, 60, 68, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.26);
    animation: dock-rise 0.38s ease both;
  }
}

.mobile-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 17px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.mobile-dock a:hover {
  transform: translateY(-1px);
}

.mobile-dock a:active {
  transform: translateY(1px) scale(0.985);
}

.mobile-dock-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-dock-call {
  background: linear-gradient(135deg, rgba(207, 145, 71, 0.92) 0%, rgba(230, 173, 103, 0.9) 100%);
  color: #1d2425;
  box-shadow:
    0 10px 22px rgba(207, 145, 71, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.mobile-dock-lead {
  background: rgba(255, 255, 255, 0.18);
  color: #fff8ef;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(17, 43, 48, 0.08);
}

.mobile-dock-lead:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 420px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .mobile-dock {
    width: calc(100% - 20px);
    gap: 5px;
    padding: 6px;
    border-radius: 20px;
  }

  .mobile-dock a {
    flex-direction: column;
    gap: 3px;
    min-height: 52px;
    padding: 7px 4px;
    font-size: 0.72rem;
    line-height: 1;
    border-radius: 15px;
  }

  .mobile-dock-icon {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }

  .mobile-dock {
    display: none;
  }
}

@keyframes dock-rise {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-dock {
    animation: none;
  }
}

/* Messenger buttons (WhatsApp / Telegram) */
.button-whatsapp {
  background: linear-gradient(135deg, #1fa855 0%, #29c264 100%);
  color: var(--white);
  border: 1px solid rgba(22, 52, 58, 0.08);
}

.button-whatsapp:hover {
  background: linear-gradient(135deg, #188f47 0%, #1fa855 100%);
  color: var(--white);
}

.button-telegram {
  background: linear-gradient(135deg, #2a9dd8 0%, #3cb2ec 100%);
  color: var(--white);
  border: 1px solid rgba(22, 52, 58, 0.08);
}

.button-telegram:hover {
  background: linear-gradient(135deg, #2189c0 0%, #2a9dd8 100%);
  color: var(--white);
}

.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mobile-dock-whatsapp {
  background: linear-gradient(135deg, #1fa855 0%, #29c264 100%);
  color: var(--white);
}

.mobile-dock-whatsapp .mobile-dock-icon {
  fill: currentColor;
  stroke: none;
}

/* Text sections (privacy and other text-heavy pages) */
.text-section {
  max-width: 820px;
  margin: 0 auto 28px;
}

.text-section h2 {
  margin-bottom: 12px;
}

.text-section p {
  margin: 0 0 10px;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* Privacy link: visible in mobile menu, hidden in desktop nav (available in footer there) */
@media (min-width: 1024px) {
  .main-nav .nav-mobile-only {
    display: none;
  }
}

/* Article table of contents */
.article-toc-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.article-toc-list a {
  color: var(--brand);
  text-decoration: none;
}

.article-toc-list a:hover {
  text-decoration: underline;
}

/* ============================================================
   PREMIUM MOTION LAYER
   Только transform/opacity, 150–350ms, без layout-свойств.
   Скрытие .reveal назначает JS и только для блоков ниже первого
   экрана — LCP/CLS не затрагиваются, без JS контент виден сразу.
   ============================================================ */

html {
  scroll-behavior: smooth;
}

/* --- 1. Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* --- 2. Карточки: глубина и зум фото --- */
.card-photo {
  overflow: hidden;
}

.card-photo img,
.page-visual img {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card-link:hover .card-photo img,
.card:hover .card-photo img,
.compact-card:hover .card-photo img {
  transform: scale(1.045);
}

.compact-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 60, 68, 0.16);
  box-shadow: 0 22px 48px rgba(17, 52, 58, 0.11);
}

.price-card,
.testimonial-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.price-card:hover,
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 145, 71, 0.3);
  box-shadow: 0 24px 52px rgba(17, 52, 58, 0.12);
}

/* --- 3. Кнопки: пресс-стейт и шиммер --- */
.button:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.15s;
}

.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.38) 48%,
    transparent 64%
  );
  transform: translateX(-130%);
  transition: transform 0.35s ease;
  pointer-events: none;
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  transform: translateX(130%);
}

/* --- 4. Доступный фокус --- */
.button:focus-visible,
.main-nav a:focus-visible,
.footer-links a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(207, 145, 71, 0.5);
  outline-offset: 2px;
}

/* --- 5. Плавное раскрытие мобильного меню --- */
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.main-nav.is-open {
  animation: menu-in 0.25s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.main-nav.is-open a {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav.is-open a:active {
  transform: scale(0.98);
}

/* --- 6. FAQ: иконка и появление ответа --- */
.faq-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}

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

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

details.faq-item[open] > *:not(summary) {
  animation: faq-in 0.25s ease both;
}

details.faq-item summary {
  cursor: pointer;
  transition: color 0.2s ease;
}

details.faq-item summary:hover {
  color: var(--brand);
}

/* --- 7. Формы: микровзаимодействия --- */
.lead-form input:hover,
.lead-form select:hover,
.lead-form textarea:hover {
  border-color: rgba(18, 60, 68, 0.26);
}

.lead-form label span {
  transition: color 0.2s ease;
}

.lead-form label:focus-within span {
  color: var(--brand);
}

.form-message {
  transition: opacity 0.25s ease;
}

/* --- 8. Hero: параллакс-глубина (JS пишет --parallax) --- */
.page-hero .page-visual img,
.hero .page-visual img {
  transform: scale(1.05) translateY(var(--parallax, 0px));
}

/* --- 9. Glass: десктоп-навигация --- */
@media (min-width: 1024px) {
  .main-nav {
    backdrop-filter: blur(14px) saturate(1.15);
  }
}

/* --- 10. Полное уважение prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .page-hero .page-visual img,
  .hero .page-visual img {
    transform: none;
  }
}

/* ============================================================
   PREMIUM POLISH LAYER (100/100)
   View Transitions, cinematic reveal, glass, ambient, skeleton.
   Только transform/opacity/box-shadow. Без CLS и layout-свойств.
   ============================================================ */

/* --- 1. View Transitions API (прогрессивно: только Chrome 126+) --- */
@view-transition {
  navigation: auto;
}

@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: vt-out 0.2s ease both;
  }

  ::view-transition-new(root) {
    animation: vt-in 0.26s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
}

/* --- 2. Cinematic image reveal (fill: backwards — не блокирует hover-зум) --- */
@keyframes img-cinematic {
  from {
    opacity: 0.25;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal.is-inview .card-photo img {
  animation: img-cinematic 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}

/* --- 3. Premium CTA: мягкое свечение --- */
.button-primary {
  box-shadow:
    0 16px 30px rgba(207, 145, 71, 0.24),
    0 2px 8px rgba(207, 145, 71, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    0 20px 40px rgba(207, 145, 71, 0.36),
    0 0 26px rgba(207, 145, 71, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.button-whatsapp {
  box-shadow:
    0 14px 28px rgba(31, 168, 85, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-whatsapp:hover {
  box-shadow:
    0 18px 36px rgba(31, 168, 85, 0.32),
    0 0 22px rgba(31, 168, 85, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

/* --- 4. Premium Testimonials: стекло, объём, глубина --- */
.testimonial-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 242, 0.72));
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  border-color: rgba(207, 145, 71, 0.16);
  box-shadow:
    0 22px 50px rgba(17, 52, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 62%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.012);
  border-color: rgba(207, 145, 71, 0.32);
  box-shadow:
    0 34px 70px rgba(17, 52, 58, 0.16),
    0 0 30px rgba(207, 145, 71, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.testimonial-stars {
  transition: letter-spacing 0.28s ease;
}

.testimonial-card:hover .testimonial-stars {
  letter-spacing: 0.2em;
}

/* --- 5. Count-up: табличные цифры против дрожания ширины --- */
.metric-card strong {
  font-variant-numeric: tabular-nums;
}

/* --- 6. Premium Hero: медленный дрейф фоновых градиентов (компоситор) --- */
@keyframes hero-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2.5%, -2%, 0) scale(1.06);
  }
}

@keyframes hero-sheen-drift {
  0%,
  100% {
    transform: translate3d(-1.5%, 0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(1.5%, 0, 0);
    opacity: 0.8;
  }
}

@media (min-width: 768px) {
  .hero::before {
    animation: hero-drift 26s ease-in-out infinite;
  }

  .hero::after {
    animation: hero-sheen-drift 18s ease-in-out infinite;
  }
}

/* --- 7. Skeleton: шиммер под изображениями до загрузки --- */
@keyframes skeleton-sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.page-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: skeleton-sweep 1.3s ease-in-out infinite;
  pointer-events: none;
}

.page-visual.img-loaded::before {
  content: none;
}

/* --- 8. Premium Focus: единые видимые кольца (WCAG AA+) --- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(207, 145, 71, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid rgba(207, 145, 71, 0.7);
  outline-offset: 2px;
}

/* Reduced motion: новые анимации тоже глушатся глобальным правилом выше,
   но фиксируем явно ключевые слои */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .page-visual::before {
    animation: none;
  }

  .reveal.is-inview .card-photo img {
    animation: none;
  }
}

/* Route cards (popular directions) */
.route-card .route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 6px 0 10px;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}

.route-card h3 {
  letter-spacing: -0.01em;
}

/* Structured review facts */
.review-facts {
  list-style: none;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(18, 60, 68, 0.05);
  display: grid;
  gap: 5px;
  font-size: 0.92rem;
}

.review-facts li {
  margin: 0;
}

.review-facts strong {
  color: var(--brand);
}

/* ============================================================
   DESKTOP HEADER — 3-зонный CSS Grid, зоны физически не пересекаются
   [Лого + название + описание] | [2-строчное меню] | [телефон + CTA]
   nav: min-width:0 (сжимается, не переполняется); actions: flex-shrink:0,
   nowrap (всегда целые). У навигации нет absolute/transform/отрицательных
   margin, которые могли бы залезть на телефон.
   База = компактный desktop (1024–1207). Комфортный режим — с ≥1208px.
   ============================================================ */
@media (min-width: 1024px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
  }

  /* Левая зона: лого + название (описание появляется в комфортном режиме) */
  .brand {
    max-width: 170px;
    flex-shrink: 0;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  /* Центральная зона: стеклянная 2-строчная панель, занимает дорожку 1fr,
     может сжиматься (min-width:0) и НЕ переполняется на соседние зоны */
  .main-nav {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    overflow: visible;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 6px 10px;
    border-radius: 22px;
  }

  .main-nav .nav-desktop {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .main-nav .nav-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3px;
  }

  .main-nav .nav-row a {
    padding: 5px 9px;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 999px;
  }

  .main-nav .nav-mobile,
  .main-nav .nav-mobile-item {
    display: none;
  }

  /* Правая зона: телефон + CTA, всегда целиком, без сжатия и наложений */
  .header-actions {
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Дублирующая «Позвонить» скрыта: номер кликабелен в карточке телефона */
  .header-actions .button-secondary {
    display: none;
  }

  .header-contact {
    padding: 6px 12px;
    gap: 1px;
    width: max-content;
    flex-shrink: 0;
  }

  /* В компактном режиме (1024–1207) подпись «СРОЧНЫЙ ВЫЗОВ» скрыта */
  .header-contact small {
    display: none;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .phone-link {
    font-size: 0.96rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .header-actions .button-small {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.83rem;
  }
}

/* Комфортный desktop (≥1208px, контейнер выходит на максимум 1180px):
   показываем описание бренда и подпись телефона, чуть крупнее меню */
@media (min-width: 1208px) {
  .topbar {
    gap: 16px;
  }

  /* Описание бренда появляется только когда есть запас по ширине */
  .brand {
    max-width: 220px;
  }

  .brand small {
    display: block;
  }

  /* Меню остаётся компактным (не увеличиваем — иначе ряд из 6 пунктов
     не уместится в дорожку). Добавляется лишь подпись телефона. */
  .header-contact small {
    display: block;
  }

  .phone-link {
    font-size: 0.98rem;
  }

  .header-actions .button-small {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   MOBILE MENU — premium, компактное, без дублей (<1024px)
   Один список навигации + контактный блок + мелкая ссылка на политику.
   Внутренний скролл, чтобы фон не прокручивался и dock не перекрывал.
   ============================================================ */
@media (max-width: 1023px) {
  .main-nav.is-open {
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
    gap: 0;
  }

  .main-nav .nav-mobile-item {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
  }

  .main-nav .nav-mobile-item.is-active {
    background: var(--brand-soft);
    color: var(--brand);
  }

  /* Контактный блок в мобильном меню */
  .nav-mobile-contact {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(18, 60, 68, 0.1);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 246, 0.92));
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 8px;
  }

  .nav-mobile-contact-label {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-mobile-phone {
    color: var(--brand);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .nav-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
  }

  .nav-mobile-actions .button {
    width: 100%;
    min-height: 46px;
  }

  /* «Заявка» занимает всю ширину под двумя кнопками сверху */
  .nav-mobile-actions .button-secondary {
    grid-column: 1 / -1;
  }

  /* Политика — мелкой ссылкой внизу */
  .main-nav .nav-mobile-policy {
    display: block;
    margin-top: 14px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    /* Длинный текст переносится на 2 строки и не выходит за карточку */
    max-width: 100%;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
}

/* ============================================================
   ОДНО МЕНЮ НА КАЖДОЙ ВЕРСИИ — пуленепробиваемое разделение.
   Desktop (≥1024): только desktop-nav, mobile-меню display:none.
   Mobile (≤1023): только mobile-меню, desktop-nav display:none.
   !important исключает любые конфликты специфичности и кеша.
   ============================================================ */
@media (min-width: 1024px) {
  .main-nav .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .main-nav .nav-desktop {
    display: none !important;
  }
}

/* ============================================================
   FINAL HEADER/MENU LOCK
   One menu per breakpoint. Desktop starts at 901px; mobile is <=900px.
   Keeps nav inside its own header track and prevents mobile dock/menu overlap.
   ============================================================ */
@media (min-width: 901px) {
  body.menu-open {
    overflow: auto;
  }

  .menu-toggle,
  .main-nav .nav-mobile,
  .main-nav .nav-mobile-item,
  .nav-mobile-contact,
  .main-nav .nav-mobile-policy,
  .mobile-menu,
  .mobile-menu-overlay,
  .mobile-drawer {
    display: none !important;
  }

  .site-header {
    overflow: visible;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(10px, 1.2vw, 18px);
    min-height: 86px;
  }

  .brand {
    max-width: 220px;
    min-width: 0;
  }

  .main-nav {
    display: flex !important;
    position: static;
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: 8px 10px;
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .main-nav .nav-desktop {
    display: flex !important;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
  }

  .main-nav .nav-row {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(2px, 0.3vw, 6px);
  }

  .main-nav .nav-row a {
    min-width: 0;
    padding: 6px clamp(7px, 0.65vw, 11px);
    border-radius: 999px;
    font-size: clamp(0.78rem, 0.72vw, 0.9rem);
    line-height: 1.15;
    white-space: nowrap;
  }

  .header-actions {
    display: flex !important;
    align-items: center;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
  }

  .header-contact,
  .header-actions .button {
    flex: 0 0 auto;
  }

  .header-contact {
    padding: 7px 11px;
  }

  .header-contact-note {
    display: none;
  }

  .header-actions .button-secondary {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .topbar {
    grid-template-columns: minmax(132px, 168px) minmax(0, 1fr) auto;
    gap: 8px;
  }

  .brand small,
  .header-contact {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .button-small {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.82rem;
  }
}

@media (min-width: 901px) and (max-width: 1380px) {
  .header-actions .button-telegram {
    display: none;
  }
}

@media (max-width: 900px) {
  body.menu-open .mobile-dock {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, calc(100% + 18px + env(safe-area-inset-bottom))) !important;
  }

  .main-nav .nav-desktop,
  .desktop-nav {
    display: none !important;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin-top: 8px;
    padding: 12px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
    border-radius: 22px;
  }

  .main-nav.is-open {
    display: block !important;
  }

  .main-nav .nav-mobile {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
  }

  .main-nav .nav-mobile-item {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    width: 100%;
    padding: 11px 14px;
    white-space: normal;
  }

  .nav-mobile-contact {
    display: grid !important;
    width: 100%;
  }

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

  .nav-mobile-actions .button,
  .nav-mobile-actions .button-secondary {
    grid-column: auto;
    min-width: 0;
    padding-inline: 8px;
    white-space: normal;
  }

  .main-nav .nav-mobile-policy {
    display: block !important;
    max-width: 100%;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .nav-mobile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-mobile-actions .button-secondary {
    grid-column: 1 / -1;
  }
}
