:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f6f9ff;
  --color-primary: #1d6fe8;
  --color-primary-dark: #1559bd;
  --color-text: #172033;
  --color-muted: #5d6b82;
  --color-border: #e4ebf7;
  --color-card: #ffffff;
  --shadow-soft: 0 18px 48px rgba(29, 111, 232, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1120px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.15rem;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--color-bg-soft), #ffffff);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(228, 235, 247, 0.86);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-main {
  display: inline-flex;
  align-items: center;
}

.brand-name {
  color: var(--color-text);
  font-weight: 600;
}

.brand-divider {
  margin: 0 6px;
  color: #9ca3af;
}

.brand-role {
  color: #6b7280;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--color-text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(circle at top right, rgba(29, 111, 232, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-left {
  max-width: 520px;
}

.two-column,
.specialist-layout,
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 22px;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 650;
}

.hero-text {
  max-width: 520px;
  margin-top: 14px;
  font-size: 0.95rem;
  color: #4b5563;
}

.hero-focus {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
}

.hero-note {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(29, 111, 232, 0.20);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-primary-dark);
}


.hero-card,
.specialist-card,
.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  border-radius: 16px;
  height: fit-content;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  font-size: 0.95rem;
  color: #111827;
}

.content-block p:last-child,
.specialist-card p:last-child,
.contact-panel p:last-child,
.footer-content p:last-child {
  margin-bottom: 0;
}

.specialist-card {
  padding: 34px;
}

.specialist-name {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--color-text);
  font-weight: 800;
}

.license {
  color: var(--color-text);
}


.contact-section {
  padding-top: 76px;
}

.contact-panel {
  padding: 34px;
}

.contact-panel a:not(.button) {
  color: var(--color-primary);
  font-weight: 800;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  background: #fbfdff;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  font-size: 0.92rem;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 72px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 20px auto;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px 10px;
  }

  .two-column,
  .specialist-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-card {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-card,
  .specialist-card,
  .contact-panel {
    padding: 24px;
    border-radius: var(--radius-md);
  }


  .footer-content {
    display: grid;
  }
}
