:root {
  --bg: #edf2f7;
  --bg-soft: #f8fafc;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --text: #152130;
  --muted: #5a697a;
  --line: rgba(21, 33, 48, 0.1);
  --navy: #1f3348;
  --navy-2: #31506d;
  --navy-deep: #07182b;
  --navy-ink: #041120;
  --royal-violet: #221344;
  --wine: #800000;
  --gold: #d5a24d;
  --gold-bright: #f3c96d;
  --gold-deep: #8b6428;
  --gold-soft: #efe0bf;
  --shadow: 0 18px 42px rgba(20, 33, 48, 0.09);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Times New Roman", Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(213, 162, 77, 0.08), transparent 28%),
    linear-gradient(180deg, #f4f7fa 0%, var(--bg) 56%, #e7edf4 100%);
}

body > main {
  flex: 1 0 auto;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 118, 155, 0.32), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(100, 42, 126, 0.32), transparent 38%),
    linear-gradient(135deg, #06172a 0%, #0a233b 46%, #21123d 100%);
  border-bottom: 1px solid rgba(243, 201, 109, 0.34);
  box-shadow: 0 18px 34px rgba(4, 13, 24, 0.28);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 56%);
  opacity: 0.8;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(243, 201, 109, 0.92), transparent);
}

.topbar-inner {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  flex: 0 0 auto;
}

.brand-mark {
  width: 50px;
  height: 50px;
  position: relative;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #2a1804;
  background:
    linear-gradient(145deg, rgba(255, 244, 201, 0.98), rgba(243, 201, 109, 0.96) 42%, rgba(139, 100, 40, 0.96));
  border: 1px solid rgba(255, 245, 207, 0.78);
  font-size: 1.45rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -8px 18px rgba(86, 53, 10, 0.22),
    0 16px 30px rgba(0, 0, 0, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.52);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 11px;
  border: 1px solid rgba(57, 35, 7, 0.28);
  pointer-events: none;
}

.brand-text {
  display: grid;
  gap: 3px;
  line-height: 1.05;
}

.brand-text strong {
  color: #fff6db;
  font-size: 1.22rem;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
  text-transform: uppercase;
}

.brand-text small {
  color: rgba(243, 201, 109, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 700;
}

.nav a,
.actions a {
  transition: 0.22s ease;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.nav a:hover {
  color: #fff6db;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(243, 201, 109, 0.26);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.mobile-menu-check,
.mobile-menu-button,
.mobile-menu-panel {
  display: none;
}

.mobile-menu-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(243, 201, 109, 0.48);
  border-radius: 10px;
  background: rgba(2, 13, 26, 0.22);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #fff6db;
  box-shadow: 0 6px 0 #fff6db, 0 -6px 0 #fff6db;
}

.mobile-menu-button span + span {
  display: none;
}

.mobile-menu-panel {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav,
.mobile-actions {
  display: grid;
  gap: 8px;
}

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

.mobile-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(243, 201, 109, 0.24);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(2, 13, 26, 0.2);
  font-weight: 700;
}

.mobile-actions {
  margin-top: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(243, 201, 109, 0.28);
  border-radius: 9px;
  background: rgba(2, 13, 26, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lang-switch a {
  min-width: 34px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch a.is-active {
  color: #201306;
  background: linear-gradient(180deg, #fff4c9, var(--gold-bright));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.button,
.button-ghost,
.button-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(243, 201, 109, 0.5);
  transition: 0.25s ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 12px 26px rgba(31, 51, 72, 0.16);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 244, 201, 0.82);
}

.button-light {
  color: #fff6db;
  background: rgba(2, 13, 26, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.button-light:hover {
  color: #201306;
  background: linear-gradient(135deg, #fff4c9, var(--gold-bright) 54%, #d8a84a);
}

.button-ghost {
  color: #fff6db;
  background: rgba(2, 13, 26, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 244, 201, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

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

.button-link {
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button-link.danger {
  color: #9b1c1c;
}

.hero {
  padding: 46px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.panel,
.service,
.specialist-card,
.step,
.faq-item,
.cta-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 330px;
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.86fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,252,0.96));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(49, 80, 109, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "⚖";
  color: var(--gold-deep);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  letter-spacing: -0.04em;
}

.hero h1 {
  color: #0a1c31;
  text-shadow:
    0 1px 0 rgba(255, 244, 201, 0.72),
    0 3px 0 rgba(213, 162, 77, 0.2),
    0 14px 28px rgba(7, 24, 43, 0.14);
}

.hero h1::after {
  content: "";
  width: min(180px, 72%);
  height: 3px;
  display: block;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(213, 162, 77, 0.2));
  box-shadow: 0 6px 18px rgba(213, 162, 77, 0.24);
}

.hero p {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-points span {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(213, 162, 77, 0.12);
  border: 1px solid rgba(213, 162, 77, 0.18);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-visual {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(213, 162, 77, 0.16), transparent 62%),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(213, 162, 77, 0.12), 0 18px 34px rgba(24, 35, 49, 0.08);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  max-height: 286px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.panel-title,
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-title {
  margin-bottom: 18px;
}

.panel-title h2,
.section-head h2 {
  margin: 0;
  color: var(--navy-ink);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(243, 201, 109, 0.32);
}

.panel-icon,
.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #241604;
  background: linear-gradient(180deg, rgba(255, 244, 201, 0.78), rgba(213, 162, 77, 0.18));
  border: 1px solid rgba(213, 162, 77, 0.34);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contacts-panel {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: rgba(213, 162, 77, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
}

.contacts-panel .panel-title {
  min-height: 76px;
  margin: 0;
  padding: 22px 28px;
  color: var(--navy-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.94));
  border-bottom: 1px solid rgba(213, 162, 77, 0.22);
}

.contacts-panel .panel-title h2 {
  color: var(--navy-ink);
  font-size: 1.28rem;
  text-shadow: 0 1px 0 rgba(243, 201, 109, 0.32);
}

.contacts-panel .panel-icon {
  width: 32px;
  height: 32px;
  color: #241604;
}

.contacts-panel .contact-list {
  gap: 12px;
  padding: 24px 28px 28px;
}

.contact-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  line-height: 1.25;
  transition: 0.22s ease;
}

.contacts-panel .contact-row {
  min-height: 54px;
  padding: 0 16px;
  border-color: rgba(21, 33, 48, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.92));
  box-shadow: 0 10px 22px rgba(7, 24, 43, 0.04);
}

.contact-row span {
  color: var(--navy);
  font-weight: 700;
}

.contacts-panel .contact-row span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #241604;
  background: rgba(213, 162, 77, 0.16);
  border: 1px solid rgba(213, 162, 77, 0.26);
}

.contacts-panel .contact-row strong {
  color: var(--navy-ink);
}

a.contact-row:hover {
  border-color: rgba(213, 162, 77, 0.38);
  transform: translateY(-1px);
}

.contacts-panel a.contact-row:hover {
  border-color: rgba(213, 162, 77, 0.58);
  box-shadow: 0 14px 28px rgba(7, 24, 43, 0.08);
}

.section {
  padding: 36px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(21, 33, 48, 0.04);
  border-bottom: 1px solid rgba(21, 33, 48, 0.04);
}

.section-head {
  margin-bottom: 22px;
}

.service-grid,
.specialists,
.steps,
.faq {
  display: grid;
  gap: 18px;
}

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

.service,
.faq-item,
.step {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.service-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(49, 80, 109, 0.08);
}

.service-title span {
  color: var(--gold-deep);
  font-weight: 700;
}

.service-title h3,
.specialist-body h3,
.step h3,
.faq-item h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.service p,
.specialist-body p,
.step p,
.faq-item p,
.cta-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

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

.specialist-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.94));
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  font-weight: 700;
  letter-spacing: 0.04em;
}

img.avatar {
  object-fit: cover;
  padding: 0;
}

.avatar-gold {
  background: linear-gradient(135deg, #8a6a3f, #d5a24d);
}

.avatar-wine {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-2));
}

.specialist-body p {
  margin-top: 8px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--navy-ink);
  background: rgba(213, 162, 77, 0.14);
  border: 1px solid rgba(213, 162, 77, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.step span {
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  font-weight: 700;
}

.step h3,
.faq-item h3 {
  margin-bottom: 10px;
  color: var(--text);
}

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

.map-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

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

.request-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.request-form textarea {
  min-height: 130px;
  resize: vertical;
}

.request-form .full,
.request-form button {
  grid-column: 1 / -1;
}

.legal-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.legal-checkbox input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
  flex: 0 0 auto;
}

.legal-checkbox a {
  color: var(--navy);
  font-weight: 700;
}

.legal-document {
  display: grid;
  gap: 16px;
}

.legal-document p {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

.cta-section {
  padding: 28px 0 54px;
}

.cta-card {
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,249,252,0.94));
}

.cta-card h2 {
  margin: 0 0 8px;
  color: var(--navy-ink);
  font-size: 1.45rem;
  text-shadow: 0 1px 0 rgba(243, 201, 109, 0.32);
}

.footer {
  flex-shrink: 0;
  position: relative;
  padding: 22px 0 42px;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 118, 155, 0.22), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(100, 42, 126, 0.22), transparent 38%),
    linear-gradient(135deg, #06172a 0%, #0a233b 46%, #21123d 100%);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(243, 201, 109, 0.95), transparent);
  pointer-events: none;
}

.footer-content {
  display: grid;
  gap: 18px;
}

.footer-groups {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.25fr;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(243, 201, 109, 0.22);
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-group h2 {
  margin: 0 0 4px;
  color: var(--gold-bright);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.footer-group a,
.footer-group span {
  color: rgba(255, 255, 255, 0.82);
}

.footer-group a:hover {
  color: #fff0d1;
}

.footer-contact {
  font-style: normal;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 1120px) {
  .hero-grid,
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  h1 {
    max-width: 17ch;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    min-height: 72px;
  }

  .nav,
  .actions {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .mobile-menu-check:checked ~ .mobile-menu-panel {
    display: block;
  }

  .mobile-actions .lang-switch {
    width: fit-content;
  }

  .mobile-actions .button,
  .mobile-actions .button-ghost {
    width: 100%;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid,
  .service-grid,
  .steps,
  .specialists,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .panel,
  .cta-card {
    padding: 22px;
  }

  .hero-visual {
    min-height: 220px;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .footer-groups {
    grid-template-columns: 1fr;
  }

  .footer-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-panel iframe {
    height: 320px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-text strong {
    font-size: 1.04rem;
  }

  .brand-text small {
    font-size: 0.64rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .specialist-card {
    flex-direction: column;
  }
}
