@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f2f9fa;
  --surface: #ffffff;
  --surface-soft: #edf7f8;
  --text: #1f3240;
  --text-soft: #5d7282;
  --accent: #8cd3db;
  --accent-soft: #8cd3db36;
  --accent-alt: #63bcc8;
  --line: #c9e3e8;
  --ok: #2f7a5d;
  --warn: #a26638;
  --error: #a13f3f;
  --radius: 16px;
  --shadow: 0 16px 48px rgba(20, 69, 99, 0.12);
  --font-primary: "IBM Plex Sans", "Noto Sans", "Trebuchet MS", sans-serif;
  --font-secondary: "Inter", "Noto Sans", "Trebuchet MS", sans-serif;
  --font-main: var(--font-secondary);
  --type-headline: clamp(2.5rem, 5.4vw, 6rem);
  --type-subline: clamp(1.7rem, 3.2vw, 3rem);
  --type-body: clamp(1rem, 0.4vw + 0.92rem, 1.125rem);
  --layout-max: 1320px;
  --layout-fluid: 92vw;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  font-size: var(--type-body);
  font-weight: 400;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #eaf6fc 0%, transparent 35%),
    radial-gradient(circle at 90% 15%, #d6ecf7 0%, transparent 45%), var(--bg);
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--layout-max), var(--layout-fluid));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 249, 253, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(211, 231, 242, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a8e2e8);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.logo-mark {
  width: auto;
  height: 72px;
  max-width: min(430px, 48vw);
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav a {
  font-family: var(--font-primary);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  display: inline-flex;
  padding: 2px;
}

.lang-switch button {
  font-family: var(--font-primary);
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-soft);
  font-weight: 700;
}

.lang-switch button.is-active {
  background: #1b9ed9;
  color: #f7fdff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 55, 80, 0.1);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--text);
}

.hero {
  padding: 72px 0 52px;
}

.hero-card {
  background: linear-gradient(140deg, #ffffff 0%, #edf7fc 100%);
  border-radius: 28px;
  border: 1px solid #d7eaf5;
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -80px;
  background: radial-gradient(circle, rgba(140, 211, 219, 0.18) 0%, rgba(140, 211, 219, 0) 70%);
}

h1,
h2,
h3 {
  font-family: var(--font-primary);
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: -0.02em;
  color: #132b39;
}

h1 {
  font-size: var(--type-headline);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 18px;
}

h2 {
  font-size: var(--type-subline);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px;
  font-family: var(--font-secondary);
  color: var(--text-soft);
  font-size: 1em;
}

.lead {
  font-size: clamp(1.05rem, 0.68vw + 0.96rem, 1.32rem);
  color: #2f4a5e;
}

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

.btn {
  font-family: var(--font-primary);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

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

.btn:focus-visible {
  outline: 2px solid rgba(27, 158, 217, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: #1b9ed9;
  color: #f7fdff;
  border: 1px solid #1b9ed9;
  box-shadow: 0 8px 24px rgba(27, 158, 217, 0.3);
}

.btn-secondary {
  background: #9f9f9f;
  color: #f7fdff;
  border: 1px solid #9f9f9f;
  box-shadow: 0 8px 24px rgba(159, 159, 159, 0.24);
}

.btn-soft {
  background: #9f9f9f;
  color: #f7fdff;
  border: 1px solid #9f9f9f;
  box-shadow: 0 8px 24px rgba(159, 159, 159, 0.24);
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 36px 0;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(20, 61, 88, 0.07);
}

.card-muted {
  background: var(--surface-soft);
}

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

.team-card {
  text-align: left;
}

.team-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d6670;
  border: 1px dashed #9fd4da;
  background: linear-gradient(160deg, rgba(140, 211, 219, 0.22), rgba(140, 211, 219, 0.08));
}

.team-card h3 {
  margin-bottom: 6px;
}

.team-card p {
  margin: 0;
}

.pill {
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pill-accent {
  background: #dceffc;
  color: #13597c;
}

.pill-alt {
  background: #e6f4fb;
  color: #0f4f6e;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  color: #3f5d70;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.93rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfeff;
}

textarea {
  min-height: 115px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(140, 211, 219, 0.36);
  border-color: var(--accent);
}

.small {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.window-status {
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

.window-status.open {
  color: var(--ok);
}

.window-status.closed {
  color: var(--warn);
}

.form-feedback {
  margin-top: 12px;
  font-weight: 600;
}

.form-feedback.success {
  color: var(--ok);
}

.form-feedback.error {
  color: var(--error);
}

details.accordion {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 14px;
}

details.accordion + details.accordion {
  margin-top: 10px;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: #294a5e;
}

.catalog-controls,
.news-controls {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.catalog-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.specialist-card,
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.specialist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.meta-tag {
  font-size: 0.76rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6f4fb;
  color: #2f5f79;
}

.meta-tag.alt {
  background: #d6edf9;
  color: #0f4f6e;
}

.empty-state {
  border: 1px dashed #c2dced;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: var(--text-soft);
}

.schedule-list {
  margin: 0;
  padding-left: 20px;
  color: #3f5f73;
}

.schedule-list li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 6px;
  font-size: 0.93rem;
}

th {
  color: #2c4e63;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  font-size: 0.88rem;
}

.site-shell {
  background: linear-gradient(180deg, #dff3ff 0%, #c9e9fb 100%);
  padding: 16px 16px 0;
}

.page-canvas {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(247, 249, 251, 0.94));
  border-radius: 34px;
  border: 1px solid rgba(210, 233, 247, 0.95);
  box-shadow: 0 24px 60px rgba(140, 211, 219, 0.2);
  min-height: calc(100vh - 16px);
  overflow: hidden;
}

.site-shell .container {
  width: min(var(--layout-max), var(--layout-fluid));
}

.site-shell .site-header {
  position: static;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.site-shell .header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  position: relative;
}

.site-shell .logo-mark {
  height: 56px;
  max-width: min(360px, 36vw);
}

.site-shell .main-nav {
  justify-self: center;
  border-radius: 999px;
  border: 1px solid #c6e4e8;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(140, 211, 219, 0.2);
  padding: 7px;
  gap: 4px;
}

.site-shell .main-nav a {
  border-radius: 999px;
  padding: 10px 16px;
  color: #355a6f;
  font-size: 0.95rem;
}

.site-shell .main-nav a:hover,
.site-shell .main-nav a[aria-current="page"] {
  background: #e8f5fd;
  color: #1f4d67;
}

.site-shell .main-nav .nav-cta {
  background: linear-gradient(120deg, #1b9ed9, #168ac1);
  color: #f7fdff;
  box-shadow: 0 8px 20px rgba(27, 158, 217, 0.28);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-shell .main-nav .nav-cta:hover,
.site-shell .main-nav .nav-cta:focus-visible {
  background: linear-gradient(120deg, #1b9ed9, #168ac1);
  color: #f7fdff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(27, 158, 217, 0.33);
  filter: brightness(1.04);
}

.site-shell .header-controls {
  justify-self: end;
}

.site-shell .lang-switch {
  border-color: #c6e4e8;
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(140, 211, 219, 0.18);
}

.site-shell .lang-switch button {
  padding: 8px 13px;
  border-radius: 999px;
}

.site-shell main {
  padding-bottom: 26px;
}

.site-shell .section {
  padding: clamp(52px, 6vw, 88px) 0;
}

.site-shell .section-tight {
  padding: clamp(28px, 4vw, 48px) 0;
}

.site-shell:not(.home-preview) .hero {
  padding: clamp(12px, 2.2vw, 22px) 0 clamp(10px, 2.8vw, 30px);
}

.site-shell:not(.home-preview) .hero-card {
  min-height: clamp(260px, 30vw, 420px);
  border: 1px solid #cee2f0;
  border-radius: 42px;
  background: linear-gradient(172deg, #f4f9fd 0%, #e9f2f9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 42px rgba(140, 211, 219, 0.15);
  padding: clamp(28px, 3.2vw, 44px);
  overflow: hidden;
}

.site-shell:not(.home-preview) .hero-card::after {
  width: 320px;
  height: 320px;
  right: -94px;
  top: -106px;
  background: radial-gradient(circle, rgba(140, 211, 219, 0.22) 0%, rgba(140, 211, 219, 0) 72%);
}

.site-shell:not(.home-preview) .hero-card h1 {
  font-size: clamp(2.05rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin-bottom: 14px;
}

.site-shell:not(.home-preview) .hero-card .lead {
  max-width: 60ch;
  font-size: clamp(1.02rem, 0.65vw + 0.92rem, 1.25rem);
  color: #45657d;
}

.site-shell:not(.home-preview) .hero-card .actions {
  margin-top: 20px;
}

.site-shell:not(.home-preview) .section {
  padding: clamp(46px, 5.8vw, 82px) 0;
}

.site-shell:not(.home-preview) .section-tight {
  padding: clamp(22px, 3.3vw, 42px) 0;
}

.site-shell:not(.home-preview) .split {
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}

.site-shell:not(.home-preview) .card,
.site-shell:not(.home-preview) .form-wrap,
.site-shell:not(.home-preview) .catalog-controls,
.site-shell:not(.home-preview) .news-controls,
.site-shell:not(.home-preview) .specialist-card,
.site-shell:not(.home-preview) .news-card {
  border: 1px solid #d2e5f2;
  border-radius: 30px;
  background: linear-gradient(176deg, #f7fbff 0%, #edf4fa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 14px 36px rgba(140, 211, 219, 0.13);
}

.site-shell:not(.home-preview) details.accordion {
  border: 1px solid #d2e5f2;
  border-radius: 24px;
  background: linear-gradient(176deg, #f8fbff 0%, #eef5fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 30px rgba(140, 211, 219, 0.12);
  padding: 14px 18px;
}

.site-shell:not(.home-preview) details.accordion + details.accordion {
  margin-top: 12px;
}

.site-shell:not(.home-preview) .inline-list li {
  border: 1px solid #c3d8e8;
  background: rgba(255, 255, 255, 0.88);
  color: #355a72;
  font-family: var(--font-primary);
  font-weight: 600;
}

.site-shell:not(.home-preview) .schedule-list {
  color: #405f75;
}

.site-shell:not(.home-preview) .small {
  color: #567188;
}

.site-shell:not(.home-preview) th {
  color: #2f5268;
}

.site-shell:not(.home-preview) td {
  color: #405f75;
}

.site-shell:not(.home-preview) input,
.site-shell:not(.home-preview) select,
.site-shell:not(.home-preview) textarea {
  border-color: #cde1ee;
  background: rgba(255, 255, 255, 0.86);
}

.site-shell:not(.home-preview) input:focus,
.site-shell:not(.home-preview) select:focus,
.site-shell:not(.home-preview) textarea:focus {
  outline: 2px solid rgba(27, 158, 217, 0.25);
  border-color: #8cc8e0;
}

.site-shell .hero-card,
.site-shell .card,
.site-shell .form-wrap,
.site-shell .catalog-controls,
.site-shell .news-controls,
.site-shell .specialist-card,
.site-shell .news-card,
.site-shell details.accordion {
  border-color: #d8eaf6;
  box-shadow: 0 18px 40px rgba(140, 211, 219, 0.14);
}

.site-shell .hero-card,
.site-shell .card,
.site-shell .form-wrap,
.site-shell .catalog-controls,
.site-shell .news-controls {
  border-radius: 28px;
}

.site-shell .site-footer {
  margin-top: clamp(64px, 8vw, 112px);
  padding: 0 0 28px;
}

.site-footer .container {
  width: min(var(--layout-max), var(--layout-fluid));
}

.footer-panel {
  border: 1px solid #cfe3f1;
  border-radius: 22px;
  background: linear-gradient(180deg, #f3f8fc 0%, #eaf2f8 100%);
  min-height: clamp(320px, 36vw, 560px);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand img {
  width: min(340px, 44vw);
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.footer-subscribe-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #11283a;
  text-wrap: balance;
}

.btn-dark {
  background: #0e1a2a;
  color: #f7fcff;
  border: 1px solid #0e1a2a;
  box-shadow: 0 10px 26px rgba(9, 20, 34, 0.24);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #101e31;
  color: #f7fcff;
}

.footer-contact-btn {
  min-width: 188px;
  justify-content: center;
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 2px 0;
}

.footer-meta-left p {
  margin: 0;
  color: #607686;
  font-size: 0.95rem;
}

.footer-meta-left p + p {
  margin-top: 4px;
  font-size: 0.88rem;
}

.footer-meta-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: #607686;
  font-size: 0.93rem;
}

.footer-meta-right a,
.footer-meta-right span {
  color: inherit;
}

.footer-meta-right a:hover,
.footer-meta-right a:focus-visible {
  color: #1f4d67;
}

.hero-modern {
  padding: 8px 0 34px;
}

.hero-modern .container {
  min-height: clamp(560px, calc(100svh - 148px), 820px);
  display: flex;
}

.hero-modern-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.92fr);
  gap: clamp(26px, 3.5vw, 52px);
  width: 100%;
  align-items: stretch;
}

.hero-main-copy {
  padding: clamp(18px, 2.6vw, 34px) 0 10px;
  min-width: 0;
  max-width: none;
  align-self: center;
}

.hero-kicker {
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #4a6f85;
  margin-bottom: 22px;
}

.hero-kicker::before {
  content: "✦";
  color: #63bcc8;
  font-size: 0.88rem;
}

.hero-main-copy h1 {
  font-size: clamp(2rem, 3.9vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: #243845;
  text-wrap: balance;
}

.home-preview .hero .lead {
  max-width: 66ch;
  color: #3f6278;
  margin-bottom: 14px;
}

.home-preview .hero .actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.home-preview .hero .actions .btn {
  white-space: nowrap;
  padding-inline: 18px;
}

.home-preview .hero .btn-secondary,
.home-preview .hero .btn-soft {
  background: #9f9f9f;
  color: #f7fdff;
  border: 1px solid #9f9f9f;
  box-shadow: 0 8px 22px rgba(159, 159, 159, 0.28);
}

.hero-support {
  margin: 0;
  max-width: 68ch;
  color: #547389;
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-image-placeholder {
  min-height: clamp(380px, 56vh, 620px);
  border-radius: 28px;
  border: 1px dashed #b9dcef;
  background: linear-gradient(145deg, #eef7fd 0%, #dcecf8 100%);
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 16px 34px rgba(140, 211, 219, 0.2);
}

.hero-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(130, 181, 210, 0.35);
  pointer-events: none;
  z-index: 2;
}

.hero-image-placeholder::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(140, 211, 219, 0.28) 0%, rgba(140, 211, 219, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-media {
  border-radius: 28px;
  overflow: hidden;
  border: 0;
  background: #8cd3db;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 0;
}

.hero-image-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-preview main > section + section {
  margin-top: clamp(36px, 6vw, 88px);
}

.home-membership-block {
  padding-bottom: 22px;
}

.home-events-block {
  padding-top: 0;
}

.home-feature-card {
  min-height: clamp(420px, 46vw, 720px);
  border: 1px solid #cfe3f1;
  border-radius: 42px;
  background: linear-gradient(180deg, #f3f8fc 0%, #eaf2f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.home-feature-card-with-media {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}

.home-feature-card-with-media .home-feature-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.home-feature-card-with-media .home-feature-bottom {
  justify-content: flex-start;
}

.home-feature-media {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #c8ddeb;
  background: #dcebf8;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 40vw, 640px);
  align-self: stretch;
  position: relative;
  z-index: 2;
}

.home-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-feature-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -96px;
  top: -96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 211, 219, 0.2) 0%, rgba(140, 211, 219, 0) 72%);
  pointer-events: none;
}

.home-feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.home-feature-chip {
  font-family: var(--font-primary);
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #a9bfd0;
  color: #2c4556;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 9px 14px;
}

.home-feature-arrow {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 0.8;
  color: #95adff;
  font-weight: 600;
}

.home-feature-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.4vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #163447;
}

.home-feature-text {
  margin: 0;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #496781;
}

.home-feature-window {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.34rem);
  line-height: 1.25;
  color: #506c82;
}

.home-feature-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
}

.home-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 20px;
  font-size: clamp(0.9rem, 0.95vw, 1.02rem);
}

.home-feature-cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.36rem;
  line-height: 1;
}

.direction-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 30px;
}

.direction-card {
  min-height: clamp(420px, 34vw, 520px);
  border: 1px solid #d7e6f2;
  border-radius: 30px;
  background: linear-gradient(180deg, #f3f7fb 0%, #e8f0f6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  padding: clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.direction-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -86px;
  top: -86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 211, 219, 0.2) 0%, rgba(140, 211, 219, 0) 72%);
  pointer-events: none;
}

.direction-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.direction-chip {
  font-family: var(--font-primary);
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #a9bfd0;
  color: #2c4556;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 9px 14px;
}

.direction-arrow {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.85;
  color: #a9bbff;
  font-weight: 600;
}

.direction-card h3 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.4vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #142d3b;
}

.direction-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #47637a;
  max-width: 34ch;
}

.direction-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.direction-number {
  font-size: clamp(4.5rem, 7vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #102c3a;
}

.direction-explore {
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #1b9ed9;
  border-radius: 999px;
  background: #1b9ed9;
  padding: 7px 12px 7px 14px;
  color: #f7fdff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.direction-explore-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  color: #f7fdff;
}

.direction-card:hover {
  transform: translateY(-4px);
  border-color: #c8ddec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 14px 30px rgba(20, 72, 104, 0.12);
}

.direction-explore:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.direction-explore:focus-visible {
  outline: 2px solid rgba(27, 158, 217, 0.35);
  outline-offset: 2px;
}

.site-footer {
  margin-top: 60px;
  border-top: 0;
  padding: 30px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.footer-inner p {
  margin: 0 0 6px;
}

[data-animate] {
  animation: fade-rise 0.65s ease both;
}

[data-animate-delay="1"] {
  animation-delay: 0.08s;
}

[data-animate-delay="2"] {
  animation-delay: 0.16s;
}

[data-animate-delay="3"] {
  animation-delay: 0.24s;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (max-width: 1080px) {
  .card-grid,
  .catalog-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-main-copy h1 {
    max-width: 17ch;
  }

  .hero-modern .container {
    min-height: clamp(520px, calc(100svh - 138px), 700px);
  }

  .hero-modern-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.88fr);
    gap: 22px;
  }

  .hero-image-placeholder {
    min-height: clamp(300px, 36vw, 430px);
    padding: 0;
  }

  .hero-image-media {
    min-height: 100%;
  }

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

  .direction-card {
    min-height: clamp(360px, 38vw, 440px);
  }

  .direction-number {
    font-size: clamp(4.1rem, 7.4vw, 6.1rem);
  }

  .home-feature-card {
    min-height: clamp(360px, 52vw, 560px);
    border-radius: 34px;
    padding: clamp(22px, 2.8vw, 32px);
  }

  .home-feature-card-with-media {
    grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.9fr);
  }

  .home-feature-media {
    min-height: clamp(240px, 34vw, 460px);
    border-radius: 24px;
  }

  .home-feature-title {
    max-width: 16ch;
    font-size: clamp(1.68rem, 3vw, 2.2rem);
  }

  .home-feature-text {
    max-width: 38ch;
    font-size: 0.96rem;
  }

}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 92px;
    left: 4vw;
    right: 4vw;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 44px rgba(21, 63, 90, 0.14);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .header-controls {
    margin-left: auto;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .logo-mark {
    height: 64px;
  }

  .site-shell {
    padding: 10px 10px 0;
  }

  .page-canvas {
    border-radius: 24px;
  }

  .site-shell .header-inner {
    min-height: 94px;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
  }

  .site-shell .logo-mark {
    height: 46px;
    max-width: min(230px, 56vw);
  }

  .site-shell .main-nav {
    top: 94px;
    justify-self: stretch;
    border-radius: 14px;
    padding: 10px;
  }

  .site-shell .main-nav .nav-cta {
    text-align: center;
    white-space: normal;
  }

  .site-shell .header-controls {
    margin-left: 0;
    justify-self: end;
  }

  .hero-modern .container {
    min-height: 0;
  }

  .hero-modern-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-main-copy {
    padding: 8px 0 2px;
    align-self: auto;
  }

  .home-preview .hero .actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .home-preview .hero .actions .btn {
    white-space: normal;
  }

  .hero-image-placeholder {
    min-height: 220px;
    padding: 0;
  }

  .hero-support {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-image-media {
    min-height: 100%;
  }

  .hero-image-placeholder::before {
    inset: 0;
    border-radius: inherit;
  }

  .catalog-controls,
  .news-controls {
    grid-template-columns: 1fr 1fr;
  }

  .direction-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .direction-card {
    min-height: clamp(320px, 65vw, 420px);
    border-radius: 24px;
  }

  .direction-card h3 {
    max-width: 100%;
  }

  .home-feature-card {
    min-height: 340px;
    border-radius: 28px;
    padding: 20px;
    gap: 14px;
  }

  .home-feature-card-with-media {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-feature-card-with-media .home-feature-bottom {
    align-self: start;
    justify-content: flex-start;
  }

  .home-feature-card-with-media .home-feature-media {
    width: 100%;
  }

  .home-feature-media {
    min-height: 260px;
    border-radius: 20px;
  }

  .home-feature-chip {
    min-height: 34px;
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .home-feature-arrow {
    font-size: 2rem;
  }

  .home-feature-title {
    max-width: 100%;
    font-size: clamp(1.56rem, 4.8vw, 2.05rem);
  }

  .home-feature-text {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .home-feature-window {
    font-size: 1rem;
  }

  .home-feature-bottom {
    align-items: center;
    justify-content: flex-start;
  }

  .home-feature-cta {
    font-size: 0.9rem;
    padding: 9px 11px 9px 16px;
  }

  .home-feature-cta-icon {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .footer-panel {
    min-height: clamp(280px, 48vw, 420px);
    border-radius: 18px;
    padding: 24px 16px 30px;
  }

  .footer-subscribe-title {
    max-width: 17ch;
    font-size: clamp(1.5rem, 6.5vw, 2.45rem);
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
  }

  .footer-meta-right {
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .card-grid,
  .team-grid,
  .catalog-grid,
  .news-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .catalog-controls,
  .news-controls {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .logo-mark {
    height: 52px;
    max-width: min(300px, 60vw);
  }

  .site-shell .lang-switch button {
    padding: 6px 10px;
  }

  .hero-main-copy h1 {
    font-size: clamp(1.8rem, 9.8vw, 2.9rem);
    max-width: 100%;
  }

  .hero-kicker {
    margin-bottom: 14px;
  }

  .direction-chip {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .hero-image-placeholder {
    min-height: 180px;
    border-radius: 22px;
  }

  .hero-support {
    font-size: 0.92rem;
  }

  .hero-image-media {
    min-height: 100%;
  }

  .home-feature-card {
    min-height: 320px;
    border-radius: 22px;
    padding: 18px;
    gap: 12px;
  }

  .home-feature-media {
    min-height: 210px;
    border-radius: 16px;
  }

  .home-feature-top {
    gap: 8px;
  }

  .home-feature-chip {
    min-height: 30px;
    font-size: 0.72rem;
    padding: 7px 9px;
  }

  .home-feature-arrow {
    font-size: 1.7rem;
  }

  .home-feature-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
    line-height: 1.1;
  }

  .home-feature-text {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .home-feature-window {
    font-size: 0.96rem;
  }

  .home-feature-bottom {
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
  }

  .home-feature-cta {
    font-size: 0.86rem;
    padding: 8px 10px 8px 13px;
    gap: 8px;
    width: auto;
  }

  .home-feature-cta-icon {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }

  .direction-card h3 {
    font-size: 1.58rem;
  }

  .direction-text {
    font-size: 0.93rem;
  }

  .direction-number {
    font-size: 4.2rem;
  }

  .direction-explore {
    font-size: 0.86rem;
    padding: 6px 10px 6px 12px;
  }

  .footer-brand img {
    width: min(250px, 72vw);
  }

  .footer-contact-btn {
    width: 100%;
    max-width: 280px;
  }
}
