:root {
  --navy: #071e34;
  --navy-2: #0c2d4a;
  --slate: #122a40;
  --slate-soft: #dbe5ec;
  --teal: #0f9f9a;
  --teal-2: #0b817d;
  --gold: #c8a46b;
  --gold-2: #ead9b8;
  --ink: #152434;
  --muted: #66788b;
  --line: rgba(18, 42, 64, .12);
  --bg: #f5f8fa;
  --white: #fff;
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow: 0 28px 70px rgba(7, 30, 52, .14);
  --shadow-soft: 0 18px 42px rgba(7, 30, 52, .08);
  --container: 1180px;
  --transition: 260ms cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, rgba(15, 159, 154, .09), transparent 30rem), linear-gradient(180deg, #f8fbfc 0%, #f1f6f8 100%);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0
}

body.is-locked {
  overflow: hidden
}

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

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

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

button {
  cursor: pointer
}

:focus-visible {
  outline: 3px solid rgba(15, 159, 154, .35);
  outline-offset: 3px;
  border-radius: 12px
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff
}

.skip-link:focus {
  top: 16px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 252, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition)
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(7, 30, 52, .07);
  border-bottom-color: var(--line)
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-weight: 850;
  letter-spacing: .01em
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 16px 34px rgba(15, 159, 154, .22)
}

.logo-text {
  line-height: 1.08
}

.logo-text small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.logo--footer {
  min-width: auto;
  color: #fff
}

.logo--footer .logo-text small {
  color: rgba(255, 255, 255, .62)
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  color: #3d5165;
  white-space: nowrap
}

.nav a:hover,
.nav a.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-soft)
}

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

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  position: relative
}

.burger span,
.burger:before,
.burger:after {
  content: "";
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy)
}

.burger span {
  top: 23px
}

.burger:before {
  top: 17px
}

.burger:after {
  top: 29px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: 0 18px 38px rgba(7, 30, 52, .18);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition)
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(7, 30, 52, .22);
  background: var(--navy-2)
}

.btn--teal {
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(15, 159, 154, .2)
}

.btn--teal:hover {
  background: var(--teal-2)
}

.btn--gold {
  background: var(--gold);
  /*color: #14202d;*/
  box-shadow: 0 18px 40px rgba(200, 164, 107, .24)
}

.btn--ghost {
  background: rgba(255, 255, 255, .78);
  color: var(--navy);
  border-color: var(--line);
  box-shadow: none
}

.btn--ghost:hover {
  background: #fff;
  border-color: rgba(7, 30, 52, .22)
}

.btn--on-dark {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .18)
}

.btn--small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14px
}

.btn--wide {
  width: 100%
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900
}

.badge {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.badge:before,
.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(15, 159, 154, .12)
}

.badge--gold:before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 164, 107, .15)
}

.eyebrow {
  color: var(--teal);
  margin-bottom: 12px
}

.eyebrow:before {
  background: var(--gold)
}

.hero {
  position: relative;
  overflow: hidden
}

.hero--premium {
  background: linear-gradient(135deg, #06182b 0%, #0d314f 58%, #0b595a 120%);
  color: #fff;
  padding: 86px 0 118px
}

.hero--premium:before {
  content: "";
  position: absolute;
  inset: -22% -14% auto auto;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 107, .2), transparent 64%);
  filter: blur(2px)
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .82fr);
  gap: 54px;
  align-items: center
}

.hero h1,
.page-hero h1 {
  margin: 18px 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.06em
}

.hero h1 {
  color: #fff
}

.hero-lead,
.page-lead {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255, 255, 255, .78);
  max-width: 760px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
  max-width: 760px
}

.trust-row div {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(12px)
}

.trust-row b {
  display: block;
  font-size: 24px;
  color: #fff
}

.trust-row span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.35
}

.hero-visual {
  position: relative;
  border-radius: 40px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .24);
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden
}

.hero-visual>img {
  position: relative;
  z-index: 2;
  width: min(420px, 100%)
}

.science-orbit {
  position: absolute;
  inset: 20px;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 45%, rgba(15, 159, 154, .25), transparent 26%), linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
}

.science-orbit span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite
}

.science-orbit span:nth-child(1) {
  width: 300px;
  height: 300px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

.science-orbit span:nth-child(2) {
  width: 390px;
  height: 170px;
  left: 48%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(-24deg);
  animation-delay: 1s
}

.science-orbit span:nth-child(3) {
  width: 190px;
  height: 390px;
  left: 52%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(28deg);
  animation-delay: 2s
}

.glass-card {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(6, 24, 43, .66);
  backdrop-filter: blur(16px)
}

.glass-card strong {
  display: block;
  font-size: 22px
}

.glass-card span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.45
}

.section {
  padding: 92px 0
}

.section--overlap {
  padding: 0;
  position: relative;
  margin-top: -64px;
  z-index: 5
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(235, 244, 247, .68));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.section--blue {
  background: linear-gradient(135deg, var(--navy), #0f385b);
  color: #fff;
  overflow: hidden
}

.section--compact {
  padding: 64px 0
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px
}

.section-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em
}

.section--blue .section-title {
  color: #fff
}

.section-desc {
  margin: 0;
  color: #5b6f82;
  font-size: 19px;
  max-width: 760px
}

.section--blue .section-desc {
  color: rgba(255, 255, 255, .74)
}

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr)
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr)
}

.section-grid-2 {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
  align-items: start
}

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

.metric-card,
.info-card,
.service-card,
.program-card,
.content-block,
.sidebar-card,
.blog-card {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft)
}

.metric-card {
  padding: 24px;
  min-height: 170px;
  backdrop-filter: blur(10px)
}

.metric-card span,
.service-card__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #eef7f7;
  color: var(--teal);
  font-weight: 900
}

.metric-card b {
  display: block;
  margin: 22px 0 7px;
  font-size: 22px;
  color: var(--navy)
}

.metric-card p,
.info-card p,
.service-card p,
.program-card p {
  margin: 0;
  color: var(--muted)
}

.info-card {
  padding: 26px
}

.info-card i {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  margin-bottom: 18px
}

.info-card h3,
.service-card h3,
.program-card h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.15
}

.service-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 310px
}

.service-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 850
}

.program-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.program-card b {
  font-size: 26px;
  color: var(--navy);
  margin-top: auto
}

.pill {
  display: inline-flex;
  width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em
}

.pill--gold {
  background: rgba(200, 164, 107, .18);
  color: #876737
}

.pill--teal {
  background: rgba(15, 159, 154, .13);
  color: #06736f
}

.pill--slate {
  background: #eef3f6;
  color: #31475c
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) 1fr;
  gap: 60px;
  align-items: center
}

.feature-media {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 26px 0
}

.timeline div {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line)
}

.timeline b {
  min-width: 155px;
  color: var(--navy)
}

.timeline span {
  color: var(--muted)
}

.timeline--vertical div {
  display: block
}

.timeline--vertical b {
  display: block;
  min-width: 0;
  margin-bottom: 6px
}

.expert-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  align-items: center
}

.expert-photo-card {
  border-radius: 40px;
  padding: 24px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .18)
}

.regalia-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0
}

.regalia {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12)
}

.regalia strong {
  display: block;
  color: #fff
}

.regalia span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.45
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--navy), #0d3b5d);
  color: #fff;
  box-shadow: var(--shadow)
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, .74)
}

.page-hero {
  padding: 76px 0 70px;
  background: linear-gradient(135deg, #071e34, #123a5b);
  color: #fff;
  overflow: hidden
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  align-items: center
}

.page-hero h1 {
  max-width: 860px;
  color: #fff
}

.page-hero .page-lead {
  color: rgba(255, 255, 255, .76)
}

.page-hero__image {
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  min-height: 300px;
  display: grid;
  place-items: center
}

.page-hero--text .container {
  max-width: 900px
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start
}

.page-sidebar {
  position: sticky;
  top: 104px
}

.sidebar-card {
  padding: 20px
}

.side-nav {
  display: grid;
  gap: 6px;
  margin: 8px 0 20px
}

.side-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 14px;
  color: #40566a;
  font-weight: 800
}

.side-nav a:hover {
  background: #f2f7f8;
  color: var(--navy)
}

.sidebar-cta {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbfc, #eef6f7)
}

.sidebar-cta h3 {
  margin: 0 0 6px;
  color: var(--navy)
}

.sidebar-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px
}

.content-flow {
  display: grid;
  gap: 22px
}

.content-block {
  padding: 34px
}

.content-block h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -.035em
}

.content-block p {
  color: #52687b
}

.content-block--cta {
  background: linear-gradient(135deg, #fff, #eef8f7)
}

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

.check-list p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff
}

.service-line {
  margin-top: 22px;
  padding: 18px;
  border-radius: 20px;
  background: #f3f8f9;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between
}

.program-detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start
}

.price-box {
  padding: 22px;
  border-radius: 24px;
  background: #f4f8fa;
  border: 1px solid var(--line)
}

.price-box span {
  display: block;
  color: var(--muted);
  font-weight: 800
}

.price-box b {
  display: block;
  margin: 5px 0 18px;
  font-size: 30px;
  color: var(--navy)
}

.duration-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px
}

.duration-switch button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  font-weight: 850;
  color: var(--navy)
}

.duration-switch button.is-active {
  border-color: rgba(15, 159, 154, .38);
  background: #e9f7f6;
  color: var(--teal)
}

.table-wrap {
  overflow: auto
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden
}

th,
td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line)
}

th {
  color: var(--navy);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em
}

td button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 900
}

.expert-tags,
.tag-cloud,
.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.expert-tags span,
.tag-cloud a,
.footer-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef7f7;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.cert-grid div {
  min-height: 140px;
  border: 1px dashed rgba(18, 42, 64, .22);
  border-radius: 18px;
  background: #fbfdfe;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  padding: 16px
}

.publication-list {
  display: grid;
  gap: 12px
}

.publication-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff
}

.publication-list span {
  color: var(--gold);
  font-weight: 900
}

.publication-list b {
  display: block;
  color: var(--navy);
  font-size: 20px
}

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

.blog-card {
  overflow: hidden
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eef6f7
}

.blog-card span,
.blog-card h3,
.blog-card p,
.blog-card a {
  margin-left: 20px;
  margin-right: 20px
}

.blog-card span {
  display: block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.blog-card h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18
}

.blog-card a {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal);
  font-weight: 900
}

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

.contact-list p,
.schedule-list p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line)
}

.schedule-list p {
  display: flex;
  justify-content: space-between;
  gap: 14px
}

.map-box {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #eaf2f5;
  border: 1px solid var(--line)
}

.map-box img {
  width: 100%;
  height: 320px;
  object-fit: cover
}

.map-box div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, .92);
  border-radius: 18px;
  padding: 16px
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.dashboard-preview div {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line)
}

.dashboard-preview span {
  display: block;
  color: var(--muted)
}

.dashboard-preview b {
  display: block;
  color: var(--navy);
  font-size: 22px
}

.narrow-content {
  max-width: 900px
}

.narrow-content .content-block h2 {
  margin-top: 24px
}

.narrow-content .content-block h2:first-child {
  margin-top: 0
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none
}

.drawer.is-open,
.modal.is-open {
  display: block
}

.drawer__overlay,
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 14, 25, .48);
  backdrop-filter: blur(5px);
  animation: fadeIn var(--transition)
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(430px, calc(100vw - 28px));
  background: #fff;
  box-shadow: -30px 0 90px rgba(7, 30, 52, .24);
  padding: 22px;
  overflow: auto;
  animation: slideIn var(--transition)
}

.drawer__panel--main {
  border-radius: 28px 0 0 28px
}

.drawer__panel--side {
  width: min(360px, calc(100vw - 28px));
  border-radius: 28px 0 0 28px
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px
}

.drawer__head--compact {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.icon-btn,
.modal__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  font-size: 26px;
  line-height: 1
}

.drawer-nav {
  display: grid;
  gap: 8px
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 18px;
  font-weight: 900;
  color: var(--navy);
  background: #f6f9fa
}

.drawer-link span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--teal)
}

.drawer-link.is-active {
  background: #eaf7f6
}

.drawer-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7fbfc, #eaf7f6);
  border: 1px solid var(--line)
}

.drawer-card h3 {
  margin: 8px 0;
  color: var(--navy)
}

.drawer-card p {
  color: var(--muted)
}

.side-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 94px;
  z-index: 90;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-soft)
}

.modal {
  z-index: 500
}

.modal__dialog {
  position: relative;
  width: min(620px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  margin: 14px auto;
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 36px 110px rgba(7, 30, 52, .28);
  animation: modalIn var(--transition)
}

.modal__dialog--small {
  width: min(480px, calc(100vw - 28px))
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px
}

.modal h2 {
  margin: 0 48px 10px 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.04em
}

.modal__lead {
  margin-top: 0;
  color: var(--muted)
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 20px
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbfc;
  padding: 14px 15px;
  min-height: 52px;
  color: var(--ink)
}

.form textarea {
  resize: vertical
}

.check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600 !important;
  color: var(--muted) !important
}

.check input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0;
  margin-top: 4px
}

.form-message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eaf7f6;
  color: #096d69;
  font-weight: 800
}

.form-message.is-visible {
  display: block
}

.form-help {
  text-align: center;
  color: var(--muted);
  font-size: 14px
}

.form-help a {
  color: var(--teal);
  font-weight: 850
}

.site-footer {
  background: #06182b;
  color: rgba(255, 255, 255, .72);
  padding: 62px 0 88px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 42px
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff
}

.site-footer p {
  margin: 18px 0;
  color: rgba(255, 255, 255, .66)
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  font-weight: 800
}

.footer-links a.is-active,
.footer-links a:hover {
  color: #fff
}

.footer-badges span {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px
}

.app-nav {
  display: none
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease
}

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

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    transform: translateX(40px);
    opacity: .5
  }

  to {
    transform: none;
    opacity: 1
  }
}

@keyframes modalIn {
  from {
    transform: translateY(18px) scale(.98);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

@keyframes float {

  0%,
  100% {
    opacity: .82
  }

  50% {
    opacity: .36
  }
}

@media (max-width:1120px) {
  .nav {
    display: none
  }

  .burger {
    display: block
  }

  .header-account {
    display: none
  }

  .hero-grid,
  .page-hero__grid,
  .feature-row,
  .expert-panel,
  .section-grid-2 {
    grid-template-columns: 1fr
  }

  .hero-visual {
    min-height: 440px
  }

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

  .layout-with-sidebar {
    grid-template-columns: 1fr
  }

  .page-sidebar {
    display: none
  }

  .side-fab {
    display: inline-flex
  }

  .program-detail {
    grid-template-columns: 1fr
  }

  .page-hero__image {
    max-width: 520px
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:760px) {
  body {
    font-size: 16px;
    padding-bottom: 78px
  }

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

  .header-inner {
    min-height: 70px
  }

  .logo {
    min-width: 0
  }

  .logo-text {
    font-size: 15px
  }

  .logo-text small {
    font-size: 9px
  }

  .header-actions .btn {
    display: none
  }

  .burger {
    display: block
  }

  .hero--premium {
    padding: 54px 0 86px
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    letter-spacing: -.055em
  }

  .hero-lead,
  .page-lead {
    font-size: 18px
  }

  .trust-row {
    grid-template-columns: 1fr
  }

  .hero-visual {
    min-height: 370px;
    border-radius: 28px
  }

  .glass-card {
    left: 14px;
    right: 14px;
    bottom: 14px
  }

  .section {
    padding: 62px 0
  }

  .section--overlap {
    margin-top: -42px
  }

  .section-head {
    display: grid;
    align-items: start
  }

  .grid--4,
  .grid--3,
  .grid--2,
  .mini-cards,
  .blog-grid,
  .dashboard-preview,
  .footer-grid,
  .regalia-list {
    grid-template-columns: 1fr
  }

  .metric-card {
    min-height: auto
  }

  .feature-row {
    gap: 28px
  }

  .section-title {
    font-size: 34px
  }

  .content-block {
    padding: 24px;
    border-radius: 22px
  }

  .content-block h2 {
    font-size: 28px
  }

  .page-hero {
    padding: 52px 0
  }

  .page-hero__grid {
    gap: 28px
  }

  .page-hero__image {
    min-height: 220px;
    border-radius: 24px
  }

  .service-line {
    display: grid;
    align-items: start
  }

  .cert-grid {
    grid-template-columns: 1fr
  }

  .schedule-list p {
    display: grid
  }

  .cta-band {
    display: grid;
    padding: 26px;
    border-radius: 26px
  }

  .footer-bottom {
    display: grid
  }

  .site-footer {
    padding-bottom: 104px
  }

  .app-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 26px;
    background: rgba(6, 24, 43, .88);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 56px rgba(7, 30, 52, .24)
  }

  .app-nav__item {
    min-height: 56px;
    border-radius: 19px;
    color: rgba(255, 255, 255, .68);
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 11px;
    font-weight: 850
  }

  .app-nav__item span {
    font-size: 18px;
    line-height: 1
  }

  .app-nav__item b {
    font-size: 10px;
    line-height: 1
  }

  .app-nav__item.is-active {
    background: rgba(255, 255, 255, .12);
    color: #fff
  }

  .side-fab {
    bottom: 84px
  }

  .modal__dialog {
    padding: 28px 20px;
    border-radius: 24px
  }

  .modal h2 {
    font-size: 28px
  }

  .drawer__panel {
    width: calc(100vw - 16px);
    border-radius: 24px 0 0 24px
  }

  .drawer__panel--side {
    width: calc(100vw - 36px)
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }

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


/* EVERGENE.PRO MOBILE PROGRAMS + LOGO PATCH */
.logo-img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 48px;
  object-fit: contain;
}

.logo--footer .logo-img {
  max-height: 56px;
}

.layout-with-sidebar,
.content-flow,
.content-block,
.program-detail,
.program-detail>*,
.price-box,
.price-box>*,
.duration-switch,
.duration-switch button {
  min-width: 0;
  box-sizing: border-box;
}

.content-block {
  overflow: hidden;
}

.program-detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
}

.program-detail h2,
.program-detail p,
.program-detail li,
.price-box b,
.duration-switch button {
  overflow-wrap: anywhere;
  word-break: normal;
}

.price-box {
  width: 100%;
  max-width: 100%;
}

.duration-switch button {
  width: 100%;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

@media (max-width: 760px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

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

  .content-flow {
    gap: 16px;
  }

  .content-block {
    padding: 20px;
    border-radius: 22px;
  }

  .program-detail {
    display: block;
  }

  .program-detail>div+div {
    margin-top: 18px;
  }

  .program-detail ul {
    padding-left: 18px;
    margin-bottom: 0;
  }

  .program-detail li {
    margin-bottom: 5px;
  }

  .price-box {
    padding: 18px;
    border-radius: 20px;
  }

  .price-box b {
    font-size: 26px;
    line-height: 1.15;
  }

  .duration-switch {
    gap: 9px;
  }

  .duration-switch button {
    min-height: 48px;
    padding: 10px 12px;
    line-height: 1.2;
  }

  .btn--wide {
    max-width: 100%;
  }

  .app-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: 96px;
  }

  .logo-img {
    max-width: 170px;
    max-height: 42px;
  }
}

@media (max-width: 420px) {
  .content-block {
    padding: 18px;
  }

  .price-box {
    padding: 16px;
  }

  .program-detail h2 {
    font-size: 27px;
    line-height: 1.08;
  }

  .app-nav__item {
    min-width: 0;
  }

  .app-nav__item b {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* EVERGENE.PRO MOBILE HEADER / FOOTER / APP NAV FIX 2026-06-30 */
@media (max-width: 760px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 0 !important;
    background: #061d31;
  }

  main {
    background: #f6fafb;
  }

  .site-header,
  .header,
  .topbar {
    background: #f6fafb;
  }

  .header-inner .logo,
  .site-header .logo {
    min-width: 0;
    flex: 0 1 auto;
  }

  .header-inner .logo-img,
  .site-header .logo-img {
    max-width: min(205px, calc(100vw - 110px));
    max-height: 48px;
    object-fit: contain;
  }

  .header-actions,
  .header-buttons,
  .mobile-toggle-wrap {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .burger,
  .menu-toggle,
  .mobile-menu-toggle,
  .nav-toggle,
  [data-drawer-open="mobileMenu"],
  [data-menu-open],
  .header-inner>button:last-child {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-footer {
    padding-bottom: 118px !important;
    background: #061d31;
  }

  .site-footer+* {
    background: #061d31;
  }

  .app-nav {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    padding: 8px;
    border-radius: 28px;
    background: rgba(7, 30, 52, .96);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
  }

  .app-nav__item {
    min-width: 0;
    gap: 5px;
    color: rgba(255, 255, 255, .72);
  }

  .app-nav__item.is-active,
  .app-nav__item.active,
  .app-nav__item[aria-current="page"] {
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
  }

  .app-nav__item b {
    font-size: 10px;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .app-nav__icon,
  .app-nav__item>span:first-child {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    font-size: 0 !important;
    line-height: 0 !important;
    color: currentColor;
  }

  .app-nav__icon::before,
  .app-nav__item>span:first-child::before {
    content: "";
    position: absolute;
    inset: 2px;
    display: block;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .app-nav__item:nth-child(1)>span:first-child::before,
  .app-nav__item:nth-child(1) .app-nav__icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11.5 12 5l8 6.5V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-8.5Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11.5 12 5l8 6.5V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-8.5Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .app-nav__item:nth-child(2)>span:first-child::before,
  .app-nav__item:nth-child(2) .app-nav__icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 14.4 9.6 21 12l-6.6 2.4L12 21l-2.4-6.6L3 12l6.6-2.4L12 3Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 14.4 9.6 21 12l-6.6 2.4L12 21l-2.4-6.6L3 12l6.6-2.4L12 3Z' fill='black'/%3E%3C/svg%3E");
  }

  .app-nav__item:nth-child(3)>span:first-child::before,
  .app-nav__item:nth-child(3) .app-nav__icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5h14v14H5V5Zm3 3v8h8V8H8Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5h14v14H5V5Zm3 3v8h8V8H8Z' fill='black'/%3E%3C/svg%3E");
  }

  .app-nav__item:nth-child(4)>span:first-child::before,
  .app-nav__item:nth-child(4) .app-nav__icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6V5Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6V5Z' fill='black'/%3E%3C/svg%3E");
  }

  .app-nav__item:nth-child(5)>span:first-child::before,
  .app-nav__item:nth-child(5) .app-nav__icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 9a7 7 0 0 1 14 0H5Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 9a7 7 0 0 1 14 0H5Z' fill='black'/%3E%3C/svg%3E");
  }
}

@media (max-width: 420px) {

  .header-inner .logo-img,
  .site-header .logo-img {
    max-width: min(190px, calc(100vw - 104px));
  }

  .app-nav {
    left: 8px;
    right: 8px;
    padding: 7px;
  }

  .app-nav__item b {
    font-size: 9px;
  }
}

/* EVERGENE.PRO PUBLIC HOME BUILDER */
.home-builder {
  background: #f5fafb;
}

.hb-section {
  padding: 96px 0;
  background: #f5fafb;
  overflow: hidden;
}

.hb-section--white {
  background: #fff;
}

.hb-section--dark {
  background:
    radial-gradient(circle at 86% 12%, rgba(0, 159, 155, .28), transparent 34%),
    linear-gradient(135deg, #061d31 0%, #0a3350 52%, #07585b 100%);
  color: #fff;
}

.hb-section--dark h1,
.hb-section--dark h2,
.hb-section--dark h3,
.hb-section--dark p,
.hb-section--dark li {
  color: #fff;
}

.hb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: 70px;
  align-items: center;
}

.hb-hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.7vw, 72px);
  line-height: 1.05;
  margin: 28px 0;
}

.hb-hero__media {
  padding: 34px;
  border-radius: 42px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
}

.hb-hero__media img {
  display: block;
  width: 100%;
  border-radius: 28px;
}

.hb-text {
  color: inherit;
}

.hb-section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.hb-section-head h2,
.hb-split__text h2,
.hb-cta h2,
.hb-text-image h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  margin: 14px 0;
}

.hb-section-head p,
.hb-split__text p,
.hb-cta p,
.hb-text-image p {
  color: #607389;
  font-size: 20px;
  line-height: 1.65;
}

.hb-steps,
.hb-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.hb-card {
  min-width: 0;
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(9, 30, 55, .1);
  box-shadow: 0 22px 70px rgba(9, 30, 55, .08);
}

.hb-card img {
  display: block;
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hb-card h3 {
  margin: 18px 0 12px;
  color: #082039;
  font-size: 26px;
  line-height: 1.15;
}

.hb-card p,
.hb-card li {
  color: #607389;
  line-height: 1.65;
}

.hb-card a {
  color: #009f9b;
  font-weight: 800;
}

.hb-step span,
.hb-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 159, 155, .1);
  color: #009f9b;
  font-weight: 900;
}

.hb-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: center;
}

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

.hb-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #00a8a4, #c5a16e);
  color: #fff;
  font-weight: 900;
}

.hb-cta {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 58px;
  border-radius: 36px;
  background: #fff;
  border: 1px solid rgba(9, 30, 55, .1);
  box-shadow: 0 22px 70px rgba(9, 30, 55, .08);
}

.hb-text-image {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
}

.hb-text-image img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

@media (max-width: 1024px) {

  .hb-hero,
  .hb-split,
  .hb-text-image {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 760px) {
  .hb-section {
    padding: 58px 0;
  }

  .hb-hero h1 {
    font-size: 34px;
  }

  .hb-hero__media {
    padding: 18px;
    border-radius: 28px;
  }

  .hb-steps,
  .hb-card-grid,
  .hb-feature-grid {
    grid-template-columns: 1fr;
  }

  .hb-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hb-section-head h2,
  .hb-split__text h2,
  .hb-cta h2,
  .hb-text-image h2 {
    font-size: 34px;
  }

  .hb-cta {
    padding: 30px 22px;
    border-radius: 26px;
  }
}


/* EVERGENE.PRO LEGAL PAGES WIDTH + MOBILE HEADER CLEANUP */
.page-hero--text .container,
.narrow-content {
  max-width: var(--container, 1320px) !important;
}

@media (max-width: 760px) {

  .page-hero--text .container,
  .narrow-content {
    max-width: var(--container, 1320px) !important;
  }
}


/* EVERGENE.PRO MENU BUILDER */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item.has-sub>.nav-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}

.nav-dropdown,
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
}

.nav-item:hover>.nav-dropdown,
.nav-item:focus-within>.nav-dropdown,
.nav-item:hover>.mega-menu,
.nav-item:focus-within>.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown {
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.nav-dropdown a {
  display: block;
  border-radius: 14px;
  padding: 10px 12px;
  white-space: normal;
}

.nav-item.is-mega {
  position: static;
}

.mega-menu {
  left: 50%;
  width: min(980px, calc(100vw - 32px));
  transform: translate(-50%, 8px);
}

.nav-item:hover>.mega-menu,
.nav-item:focus-within>.mega-menu {
  transform: translate(-50%, 0);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 28px 80px rgba(7, 30, 52, .16);
  backdrop-filter: blur(18px);
}

.mega-menu__col {
  min-width: 0;
  padding: 14px;
  border-radius: 20px;
  background: #f7fbfc;
}

.mega-menu__title {
  display: inline-flex;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--navy) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

.mega-menu__col p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mega-menu__links {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.mega-menu__links a {
  padding: 7px 0 !important;
  border-radius: 0 !important;
  color: #3d5165 !important;
  box-shadow: none !important;
  white-space: normal;
}

.drawer-menu-item {
  display: grid;
  gap: 6px;
}

.drawer-subnav {
  display: grid;
  gap: 4px;
  margin: -2px 0 8px 45px;
}

.drawer-subnav a {
  display: block;
  padding: 8px 12px;
  border-radius: 13px;
  color: #3d5165;
  background: #f8fbfc;
  font-weight: 800;
  font-size: 14px;
}

.drawer-subnav a.is-active {
  color: var(--navy);
  background: #eaf7f6;
}

.drawer-subnav--deep {
  margin: 4px 0 4px 14px;
}

@media (max-width: 1120px) {

  .nav-dropdown,
  .mega-menu {
    display: none;
  }
}

@media (max-width: 760px) {
  .app-nav {
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  }
}


/* EVERGENE.PRO BOOTSTRAP MENU ICONS 2026-07-08 */
@media (max-width: 760px) {
  .app-nav {
    grid-template-columns: repeat(var(--app-nav-count, 4), minmax(0, 1fr)) !important;
  }

  .app-nav__item {
    min-width: 0;
  }

  .app-nav__item>.menu-icon {
    position: relative;
    display: grid !important;
    place-items: center;
    width: 24px;
    height: 24px;
    font-size: 20px !important;
    line-height: 1 !important;
    color: currentColor;
  }

  .app-nav__item>.menu-icon::before {
    content: none !important;
    display: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .app-nav__item>.menu-icon i {
    display: block;
    font-size: 20px;
    line-height: 1;
  }

  .drawer-link .menu-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 13px;
    background: #ffffff;
    color: var(--teal);
    font-size: 18px;
    line-height: 1;
  }

  .drawer-link .menu-icon i {
    display: block;
    font-size: 18px;
    line-height: 1;
  }
}

@media (max-width: 420px) {
  .app-nav {
    grid-template-columns: repeat(var(--app-nav-count, 4), minmax(0, 1fr)) !important;
  }
}


/* EVERGENE.PRO CONTACTS FROM SITE SETTINGS */
.contacts-actions,
.contacts-socials {
  margin-top: 18px;
}

.map-box--embed {
  min-height: 380px;
  background: #eaf2f5;
}

.map-box--embed iframe,
.map-box--embed>ymaps,
.map-box--embed>div {
  width: 100% !important;
  min-height: 380px;
  border: 0;
}

.map-box--embed iframe {
  display: block;
  height: 380px !important;
}

@media (max-width: 760px) {

  .map-box--embed,
  .map-box--embed iframe,
  .map-box--embed>ymaps,
  .map-box--embed>div {
    min-height: 300px;
  }

  .map-box--embed iframe {
    height: 300px !important;
  }
}


/* EVERGENE.PRO WORK HOURS LINES */
.work-hours-lines {
  display: block;
  line-height: 1.75;
  text-align: right;
}

@media (max-width: 760px) {
  .schedule-list p {
    align-items: flex-start;
  }

  .work-hours-lines {
    text-align: left;
  }
}


/* EVERGENE.PRO CONTACTS HERO SETTINGS */
.contacts-hero__card {
  overflow: hidden;
}

.contacts-hero__map {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .72);
}

.contacts-hero__map iframe,
.contacts-hero__map>ymaps,
.contacts-hero__map>div {
  width: 100% !important;
  height: 100% !important;
  min-height: 280px;
  border: 0;
}

.contacts-hero__info {
  display: grid;
  gap: 12px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(225, 245, 244, .92));
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.contacts-hero__info strong {
  font-size: 24px;
  font-weight: 900;
}

.contacts-hero__info span {
  color: #496174;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 760px) {

  .contacts-hero__map,
  .contacts-hero__map iframe,
  .contacts-hero__map>ymaps,
  .contacts-hero__map>div {
    min-height: 230px;
  }

  .contacts-hero__info {
    padding: 22px;
  }
}


/* EVERGENE.PRO SOCIAL LINKS CONSTRUCTOR */
.contacts-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fbfc;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 166, 160, .32);
  box-shadow: var(--shadow-soft);
}

.social-card img,
.social-card span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
}

.social-card img {
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.social-card span {
  display: grid;
  place-items: center;
  background: #eaf7f6;
  color: var(--teal);
  font-size: 18px;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.footer-social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-social-links span {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 760px) {
  .contacts-social-grid {
    grid-template-columns: 1fr;
  }
}


/* EVERGENE.PRO WORK HOURS FIX 2 */
.work-hours-lines {
  display: block;
  line-height: 1.75;
  white-space: normal;
  text-align: right;
}

@media (max-width: 760px) {
  .work-hours-lines {
    text-align: left;
  }
}


/* EVERGENE.PRO BLOG LIST REDESIGN */
.blog-hero .container {
  max-width: 1180px;
}

.blog-hero h1 {
  max-width: 820px;
}

.blog-hero .page-lead {
  max-width: 760px;
}

.blog-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.blog-section-head h2 {
  margin-bottom: 0;
}

.blog-article-list {
  display: grid;
  gap: 16px;
}

.blog-list-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(7, 30, 52, .06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.blog-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 166, 160, .28);
  box-shadow: 0 22px 64px rgba(7, 30, 52, .1);
}

.blog-list-card__image {
  display: block;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  background: #eaf2f5;
}

.blog-list-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list-card__body {
  min-width: 0;
}

.blog-list-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.blog-list-card__meta time {
  color: var(--muted);
}

.blog-list-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
}

.blog-list-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.blog-list-card p {
  margin: 12px 0 0;
  color: #526b80;
  font-size: 17px;
  line-height: 1.65;
}

.blog-list-card__action {
  align-self: center;
  justify-self: end;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: #f8fbfc;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .blog-list-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .blog-list-card__action {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .blog-section-head {
    display: grid;
  }

  .blog-list-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .blog-list-card__image {
    height: 190px;
  }

  .blog-list-card__action {
    grid-column: auto;
    justify-self: stretch;
  }

  .blog-list-card__action .btn {
    width: 100%;
  }
}


/* EVERGENE.PRO BLOG PAGINATION */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.blog-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-pagination__btn,
.blog-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.blog-pagination__page {
  padding: 0;
}

.blog-pagination__btn:hover,
.blog-pagination__page:hover,
.blog-pagination__page.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  transform: translateY(-1px);
}

.blog-pagination__btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}

@media (max-width: 680px) {
  .blog-pagination {
    gap: 8px;
  }

  .blog-pagination__btn {
    min-width: auto;
    padding: 0 12px;
  }

  .blog-pagination__page {
    min-width: 38px;
    height: 38px;
  }
}


/* EVERGENE.PRO HOME HERO CAPTION FIELDS */
.hero-card__caption h3 {
  margin: 0 0 8px;
}

.hero-card__caption p {
  margin: 0;
  line-height: 1.55;
}


/* EVERGENE.PRO BLOG CARD COMPACT FIX */
.blog-list-card {
  grid-template-columns: 220px minmax(0, 1fr) 116px !important;
  align-items: center !important;
  gap: 20px !important;
  min-height: auto !important;
}

.blog-list-card__image {
  width: 220px !important;
  height: 145px !important;
  align-self: center !important;
}

.blog-list-card__body {
  align-self: center !important;
}

.blog-list-card h3 {
  max-width: 620px;
  font-size: clamp(22px, 1.7vw, 28px) !important;
  line-height: 1.15 !important;
}

.blog-list-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list-card p {
  max-width: 680px;
  margin-top: 12px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list-card__meta {
  margin-bottom: 9px !important;
}

.blog-list-card__action {
  width: 116px;
  justify-self: end !important;
}

.blog-list-card__action .btn {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .blog-list-card {
    grid-template-columns: 190px minmax(0, 1fr) !important;
  }

  .blog-list-card__image {
    width: 190px !important;
    height: 130px !important;
  }

  .blog-list-card__action {
    grid-column: 2 !important;
    width: auto;
    justify-self: start !important;
  }

  .blog-list-card h3 {
    font-size: 23px !important;
  }
}

@media (max-width: 680px) {
  .blog-list-card {
    grid-template-columns: 1fr !important;
  }

  .blog-list-card__image {
    width: 100% !important;
    height: 190px !important;
  }

  .blog-list-card__action {
    grid-column: auto !important;
    width: 100%;
  }

  .blog-list-card h3 a {
    -webkit-line-clamp: 4;
  }

  .blog-list-card p {
    -webkit-line-clamp: 5;
  }
}

/* EVERGENE.PRO FITNESS PAGE REDESIGN */
.fitness-page-content {
  display: grid;
  gap: 26px;
}

.fitness-page-content h2,
.fitness-page-content h3,
.fitness-page-content p {
  margin-top: 0;
}

.fitness-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fitness-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.fitness-intro-card,
.fitness-highlight,
.fitness-age-block,
.fitness-method-card,
.fitness-final-cta {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(7, 30, 52, .06);
}

.fitness-intro-card {
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f6fbfc);
}

.fitness-intro-card h2,
.fitness-highlight h2,
.fitness-age-block h2,
.fitness-method-card h2,
.fitness-final-cta h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
}

.fitness-intro-card p,
.fitness-highlight p,
.fitness-age-block p,
.fitness-method-card p,
.fitness-final-cta p {
  color: #526b80;
  font-size: 18px;
  line-height: 1.75;
}

.fitness-intro-card p:last-child,
.fitness-highlight p:last-child,
.fitness-age-block p:last-child,
.fitness-method-card p:last-child,
.fitness-final-cta p:last-child {
  margin-bottom: 0;
}

.fitness-highlight {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.fitness-highlight h2,
.fitness-highlight p {
  color: #fff;
}

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

.fitness-benefits-grid article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(7, 30, 52, .05);
  overflow: hidden;
}

.fitness-benefits-grid article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(20, 166, 160, .08);
}

.fitness-benefits-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.fitness-benefits-grid h3 {
  position: relative;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
  z-index: 1;
}

.fitness-benefits-grid p {
  position: relative;
  margin-bottom: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  z-index: 1;
}

.fitness-age-block {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 171, 102, .16), transparent 34%),
    #fff;
}

.fitness-age-number {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--teal), #0b4052);
  color: #fff;
  font-size: 46px;
  font-weight: 1000;
  box-shadow: 0 22px 60px rgba(20, 166, 160, .24);
}

.fitness-method-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 32px;
  padding: clamp(26px, 4vw, 42px);
}

.fitness-method-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fitness-method-card li {
  position: relative;
  padding: 15px 16px 15px 46px;
  border-radius: 18px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 800;
}

.fitness-method-card li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 166, 160, .12);
}

.fitness-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.fitness-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .fitness-highlight,
  .fitness-method-card,
  .fitness-final-cta {
    grid-template-columns: 1fr;
  }

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

  .fitness-age-block {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .fitness-age-number {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    font-size: 36px;
  }
}

@media (max-width: 680px) {

  .fitness-benefits-grid,
  .fitness-age-block {
    grid-template-columns: 1fr;
  }

  .fitness-age-number {
    width: 100%;
    height: 100px;
  }

  .fitness-final-cta .btn {
    width: 100%;
  }
}

/* EVERGENE.PRO FITNESS PAGE WRAPPER FIX */
.fitness-page-content {
  display: grid;
  gap: 24px;
}

.fitness-page-content h2,
.fitness-page-content h3,
.fitness-page-content p {
  margin-top: 0;
}

.fitness-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fitness-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.fitness-intro-card,
.fitness-highlight,
.fitness-age-block,
.fitness-method-card,
.fitness-final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 30, 52, .06);
}

.fitness-intro-card {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 36%),
    linear-gradient(135deg, #ffffff, #f6fbfc);
}

.fitness-intro-card h2,
.fitness-highlight h2,
.fitness-age-block h2,
.fitness-method-card h2,
.fitness-final-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.fitness-intro-card p,
.fitness-highlight p,
.fitness-age-block p,
.fitness-method-card p,
.fitness-final-cta p {
  color: #526b80;
  font-size: 17px;
  line-height: 1.72;
}

.fitness-intro-card p:last-child,
.fitness-highlight p:last-child,
.fitness-age-block p:last-child,
.fitness-method-card p:last-child,
.fitness-final-cta p:last-child {
  margin-bottom: 0;
}

.fitness-highlight {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.fitness-highlight h2,
.fitness-highlight p {
  color: #fff;
}

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

.fitness-benefits-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 30, 52, .05);
  overflow: hidden;
}

.fitness-benefits-grid article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 166, 160, .08);
}

.fitness-benefits-grid article span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.fitness-benefits-grid h3 {
  position: relative;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
  z-index: 1;
}

.fitness-benefits-grid p {
  position: relative;
  margin-bottom: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  z-index: 1;
}

.fitness-age-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 171, 102, .16), transparent 34%),
    #fff;
}

.fitness-age-number {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--teal), #0b4052);
  color: #fff;
  font-size: 40px;
  font-weight: 1000;
  box-shadow: 0 20px 54px rgba(20, 166, 160, .24);
}

.fitness-method-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
}

.fitness-method-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fitness-method-card li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 800;
}

.fitness-method-card li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 166, 160, .12);
}

.fitness-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.fitness-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .fitness-highlight,
  .fitness-method-card,
  .fitness-final-cta {
    grid-template-columns: 1fr;
  }

  .fitness-benefits-grid {
    grid-template-columns: 1fr;
  }

  .fitness-age-block {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .fitness-age-number {
    width: 105px;
    height: 105px;
    border-radius: 28px;
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .fitness-age-block {
    grid-template-columns: 1fr;
  }

  .fitness-age-number {
    width: 100%;
    height: 96px;
  }

  .fitness-final-cta .btn {
    width: 100%;
  }
}


/* EVERGENE.PRO CLINIC LONGREAD PAGES */
.clinic-longread {
  display: grid;
  gap: 24px;
}

.clinic-longread h2,
.clinic-longread h3,
.clinic-longread p {
  margin-top: 0;
}

.clinic-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clinic-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.clinic-intro-card,
.clinic-highlight,
.clinic-age-block,
.clinic-method-card,
.clinic-final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 30, 52, .06);
}

.clinic-intro-card {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 36%),
    linear-gradient(135deg, #ffffff, #f6fbfc);
}

.clinic-intro-card h2,
.clinic-highlight h2,
.clinic-age-block h2,
.clinic-method-card h2,
.clinic-final-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.clinic-intro-card p,
.clinic-highlight p,
.clinic-age-block p,
.clinic-method-card p,
.clinic-final-cta p {
  color: #526b80;
  font-size: 17px;
  line-height: 1.72;
}

.clinic-intro-card p:last-child,
.clinic-highlight p:last-child,
.clinic-age-block p:last-child,
.clinic-method-card p:last-child,
.clinic-final-cta p:last-child {
  margin-bottom: 0;
}

.clinic-highlight {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.clinic-highlight h2,
.clinic-highlight p {
  color: #fff;
}

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

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

.clinic-benefits-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 30, 52, .05);
  overflow: hidden;
}

.clinic-benefits-grid article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 166, 160, .08);
}

.clinic-benefits-grid article span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.clinic-benefits-grid h3 {
  position: relative;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
  z-index: 1;
}

.clinic-benefits-grid p {
  position: relative;
  margin-bottom: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  z-index: 1;
}

.clinic-age-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 171, 102, .16), transparent 34%),
    #fff;
}

.clinic-age-number {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--teal), #0b4052);
  color: #fff;
  font-size: 40px;
  font-weight: 1000;
  box-shadow: 0 20px 54px rgba(20, 166, 160, .24);
}

.clinic-method-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
}

.clinic-method-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clinic-method-card li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 800;
}

.clinic-method-card li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 166, 160, .12);
}

.clinic-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.clinic-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .clinic-highlight,
  .clinic-method-card,
  .clinic-final-cta {
    grid-template-columns: 1fr;
  }

  .clinic-benefits-grid,
  .clinic-benefits-grid--three {
    grid-template-columns: 1fr;
  }

  .clinic-age-block {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .clinic-age-number {
    width: 105px;
    height: 105px;
    border-radius: 28px;
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .clinic-age-block {
    grid-template-columns: 1fr;
  }

  .clinic-age-number {
    width: 100%;
    height: 96px;
  }

  .clinic-final-cta .btn {
    width: 100%;
  }
}


/* EVERGENE.PRO B2B PAGE */
.b2b-page-content {
  display: grid;
  gap: 24px;
}

.b2b-hero .page-lead {
  max-width: 900px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .82);
}

.b2b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.b2b-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.b2b-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.b2b-page-content h2,
.b2b-page-content h3,
.b2b-page-content p {
  margin-top: 0;
}

.b2b-problem-card,
.b2b-solution-card,
.b2b-template-card,
.b2b-legal-card,
.b2b-models-card,
.b2b-packages-card,
.b2b-effect-card,
.b2b-marketing-card,
.b2b-ads-card,
.b2b-materials-card,
.b2b-final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 30, 52, .06);
  padding: clamp(24px, 4vw, 42px);
}

.b2b-problem-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 36%),
    linear-gradient(135deg, #fff, #f6fbfc);
}

.b2b-page-content h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.b2b-page-content h3 {
  color: var(--navy);
}

.b2b-page-content p {
  color: #526b80;
  font-size: 17px;
  line-height: 1.7;
}

.b2b-problem-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.b2b-big-number {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--teal), #0b4052);
  color: #fff;
}

.b2b-big-number strong {
  font-size: 48px;
  line-height: 1;
}

.b2b-big-number span {
  font-weight: 800;
  line-height: 1.35;
}

.b2b-solution-card,
.b2b-models-card,
.b2b-packages-card,
.b2b-marketing-card,
.b2b-ads-card,
.b2b-materials-card {
  display: grid;
  gap: 24px;
}

.b2b-steps,
.b2b-mini-grid,
.b2b-tech-grid,
.b2b-models-grid,
.b2b-price-grid,
.b2b-effect-grid {
  display: grid;
  gap: 16px;
}

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

.b2b-mini-grid,
.b2b-tech-grid,
.b2b-effect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.b2b-steps article,
.b2b-mini-grid article,
.b2b-tech-grid article,
.b2b-models-grid article,
.b2b-price-grid article,
.b2b-effect-grid article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8fbfc;
  overflow: hidden;
}

.b2b-steps article>span,
.b2b-tech-grid article>span,
.b2b-price-grid article>span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.b2b-steps h3,
.b2b-mini-grid h3,
.b2b-tech-grid h3,
.b2b-models-grid h3,
.b2b-price-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.b2b-models-grid ul,
.b2b-do-dont ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.b2b-models-grid li,
.b2b-do-dont li {
  position: relative;
  padding-left: 22px;
  color: #526b80;
  line-height: 1.55;
}

.b2b-models-grid li::before,
.b2b-do-dont li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.b2b-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.b2b-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.b2b-table th,
.b2b-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.b2b-table th {
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 900;
}

.b2b-table td {
  color: #526b80;
  line-height: 1.5;
}

.b2b-table tr:last-child td {
  border-bottom: 0;
}

.b2b-good,
.b2b-bad {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.b2b-good {
  background: rgba(20, 166, 160, .12);
  color: #087d78;
}

.b2b-bad {
  background: rgba(212, 73, 73, .1);
  color: #b73333;
}

.b2b-tech-grid article {
  background: linear-gradient(135deg, #fff, #f6fbfc);
}

.b2b-price-grid article.is-featured {
  background: linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.b2b-price-grid article.is-featured h3,
.b2b-price-grid article.is-featured p,
.b2b-price-grid article.is-featured span {
  color: #fff;
}

.b2b-note,
.b2b-warning {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f6fbfc;
  font-weight: 700;
}

.b2b-effect-card {
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.b2b-effect-grid article {
  display: grid;
  gap: 8px;
  background: #fff;
}

.b2b-effect-grid strong {
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.b2b-effect-grid span {
  color: var(--navy);
  font-weight: 900;
}

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

.b2b-do-dont article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8fbfc;
}

.b2b-do-dont article:nth-child(2) li::before {
  background: #d44949;
}

.b2b-materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.b2b-materials-list span {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 900;
}

.b2b-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.b2b-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .b2b-problem-grid,
  .b2b-steps,
  .b2b-mini-grid,
  .b2b-tech-grid,
  .b2b-models-grid,
  .b2b-price-grid,
  .b2b-effect-grid,
  .b2b-do-dont,
  .b2b-final-cta {
    grid-template-columns: 1fr;
  }

  .b2b-big-number {
    max-width: 280px;
  }
}

@media (max-width: 680px) {

  .b2b-hero-actions .btn,
  .b2b-final-cta .btn {
    width: 100%;
  }

  .b2b-big-number {
    max-width: none;
  }
}

/* EVERGENE.PRO REVEAL FALLBACK FIX */
.reveal {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* EVERGENE.PRO B2B MOBILE ADAPTIVE FIX */
@media (max-width: 760px) {
  body:has(.b2b-page-content) {
    overflow-x: hidden;
  }

  .b2b-hero.page-hero {
    padding: 46px 0 34px;
  }

  .b2b-hero h1 {
    font-size: 34px;
    line-height: 1.05;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .b2b-hero .page-lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  .b2b-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .b2b-hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .b2b-page-content {
    gap: 16px;
  }

  .b2b-problem-card,
  .b2b-solution-card,
  .b2b-template-card,
  .b2b-legal-card,
  .b2b-models-card,
  .b2b-packages-card,
  .b2b-effect-card,
  .b2b-marketing-card,
  .b2b-ads-card,
  .b2b-materials-card,
  .b2b-final-cta {
    padding: 20px;
    border-radius: 22px;
  }

  .b2b-page-content h2 {
    font-size: 27px;
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .b2b-page-content h3 {
    font-size: 20px;
    line-height: 1.18;
  }

  .b2b-page-content p {
    font-size: 15.5px;
    line-height: 1.62;
  }

  .b2b-kicker {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .07em;
  }

  .b2b-problem-grid,
  .b2b-steps,
  .b2b-mini-grid,
  .b2b-tech-grid,
  .b2b-models-grid,
  .b2b-price-grid,
  .b2b-effect-grid,
  .b2b-do-dont,
  .b2b-final-cta {
    grid-template-columns: 1fr !important;
  }

  .b2b-big-number {
    max-width: none;
    padding: 20px;
    border-radius: 22px;
  }

  .b2b-big-number strong {
    font-size: 42px;
  }

  .b2b-steps article,
  .b2b-mini-grid article,
  .b2b-tech-grid article,
  .b2b-models-grid article,
  .b2b-price-grid article,
  .b2b-effect-grid article,
  .b2b-do-dont article {
    padding: 18px;
    border-radius: 20px;
  }

  .b2b-materials-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .b2b-materials-list span {
    justify-content: flex-start;
    border-radius: 16px;
    line-height: 1.35;
  }

  .b2b-final-cta .btn {
    width: 100%;
  }

  .b2b-note,
  .b2b-warning {
    font-size: 14.5px;
    line-height: 1.55;
  }

  /* Таблицы на мобильной превращаем в карточки */
  .b2b-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .b2b-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .b2b-table thead {
    display: none;
  }

  .b2b-table,
  .b2b-table tbody,
  .b2b-table tr,
  .b2b-table td {
    display: block;
  }

  .b2b-table tr {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbfc;
  }

  .b2b-table td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(7, 30, 52, .08);
    font-size: 14.5px;
  }

  .b2b-table td:last-child {
    border-bottom: 0;
  }

  .b2b-table td:first-child {
    color: var(--navy);
    font-weight: 900;
    font-size: 15.5px;
  }

  .b2b-good,
  .b2b-bad {
    white-space: normal;
    line-height: 1.35;
  }
}

@media (max-width: 390px) {
  .b2b-hero h1 {
    font-size: 30px;
  }

  .b2b-page-content h2 {
    font-size: 24px;
  }

  .b2b-problem-card,
  .b2b-solution-card,
  .b2b-template-card,
  .b2b-legal-card,
  .b2b-models-card,
  .b2b-packages-card,
  .b2b-effect-card,
  .b2b-marketing-card,
  .b2b-ads-card,
  .b2b-materials-card,
  .b2b-final-cta {
    padding: 16px;
  }
}

/* EVERGENE.PRO HERO BUILDER ITEM LINKS */
.hero-topic-link {
  display: grid;
  gap: 6px;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hero-topic-link b,
.hero-topic-link span {
  color: inherit;
}

.hero-topic-link:hover b {
  color: var(--teal);
}

.hero-topic-link:focus-visible {
  outline: 3px solid rgba(20, 166, 160, .35);
  outline-offset: 4px;
  border-radius: 18px;
}

/* EVERGENE.PRO BUILDER ITEM MORE BUTTON */
.builder-item-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(20, 166, 160, .28);
  border-radius: 999px;
  background: rgba(20, 166, 160, .1);
  color: var(--teal);
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.builder-item-more:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-1px);
}

.builder-item-more:focus-visible {
  outline: 3px solid rgba(20, 166, 160, .35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .builder-item-more {
    width: 100%;
  }
}


/* EVERGENE.PRO DIAGNOSTICS PAGE */
.diagnostics-hero-lead {
  max-width: 860px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.65;
}

.diagnostics-longread {
  display: grid;
  gap: 24px;
}

.diagnostics-longread h2,
.diagnostics-longread h3,
.diagnostics-longread p {
  margin-top: 0;
}

.diagnostics-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.diagnostics-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.diagnostics-intro-card,
.diagnostics-highlight,
.diagnostics-steps-card,
.diagnostics-route-card,
.diagnostics-redflags-card,
.diagnostics-prepare-card,
.diagnostics-final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 30, 52, .06);
}

.diagnostics-intro-card {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 36%),
    linear-gradient(135deg, #fff, #f6fbfc);
}

.diagnostics-intro-card h2,
.diagnostics-highlight h2,
.diagnostics-steps-card h2,
.diagnostics-route-card h2,
.diagnostics-redflags-card h2,
.diagnostics-prepare-card h2,
.diagnostics-final-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.diagnostics-intro-card p,
.diagnostics-highlight p,
.diagnostics-route-card p,
.diagnostics-redflags-card p,
.diagnostics-final-cta p {
  color: #526b80;
  font-size: 17px;
  line-height: 1.72;
}

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

.diagnostics-focus-grid article,
.diagnostics-route-grid article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 30, 52, .05);
  overflow: hidden;
}

.diagnostics-focus-grid article::after,
.diagnostics-route-grid article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 166, 160, .08);
}

.diagnostics-focus-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.diagnostics-focus-grid h3,
.diagnostics-route-grid h3,
.diagnostics-steps-list h3 {
  position: relative;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
  z-index: 1;
}

.diagnostics-focus-grid p,
.diagnostics-route-grid p,
.diagnostics-steps-list p {
  position: relative;
  margin-bottom: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  z-index: 1;
}

.diagnostics-highlight {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.diagnostics-highlight h2,
.diagnostics-highlight p {
  color: #fff;
}

.diagnostics-steps-card,
.diagnostics-route-card,
.diagnostics-redflags-card,
.diagnostics-prepare-card,
.diagnostics-final-cta {
  padding: clamp(24px, 4vw, 38px);
}

.diagnostics-steps-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.diagnostics-steps-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbfc;
}

.diagnostics-step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(20, 166, 160, .12);
  color: var(--teal);
  font-weight: 1000;
}

.diagnostics-route-card {
  display: grid;
  gap: 22px;
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 171, 102, .14), transparent 34%),
    #fff;
}

.diagnostics-redflags-card {
  border-color: rgba(207, 171, 102, .34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 248, 235, .88));
}

.diagnostics-prepare-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.diagnostics-prepare-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnostics-prepare-card li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 800;
}

.diagnostics-prepare-card li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 166, 160, .12);
}

.diagnostics-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.diagnostics-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .diagnostics-highlight,
  .diagnostics-prepare-card,
  .diagnostics-final-cta {
    grid-template-columns: 1fr;
  }

  .diagnostics-focus-grid,
  .diagnostics-route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .diagnostics-hero-lead {
    font-size: 16px;
  }

  .diagnostics-intro-card,
  .diagnostics-steps-card,
  .diagnostics-route-card,
  .diagnostics-redflags-card,
  .diagnostics-prepare-card,
  .diagnostics-final-cta {
    border-radius: 22px;
  }

  .diagnostics-steps-list article {
    grid-template-columns: 1fr;
  }

  .diagnostics-final-cta .btn {
    width: 100%;
  }
}


/* EVERGENE.PRO LONGEVITY PROGRAM PAGE */
.longevity-hero-lead {
  max-width: 880px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.65;
}

.longevity-longread {
  display: grid;
  gap: 24px;
}

.longevity-longread h2,
.longevity-longread h3,
.longevity-longread p {
  margin-top: 0;
}

.longevity-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.longevity-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.longevity-intro-card,
.longevity-target-card,
.longevity-highlight,
.longevity-methods-card,
.longevity-stages-card,
.longevity-result-card,
.longevity-format-card,
.longevity-final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 30, 52, .06);
}

.longevity-intro-card {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 36%),
    linear-gradient(135deg, #fff, #f6fbfc);
}

.longevity-intro-card h2,
.longevity-target-card h2,
.longevity-highlight h2,
.longevity-methods-card h2,
.longevity-stages-card h2,
.longevity-result-card h2,
.longevity-format-card h2,
.longevity-final-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.longevity-intro-card p,
.longevity-highlight p,
.longevity-format-card p,
.longevity-final-cta p {
  color: #526b80;
  font-size: 17px;
  line-height: 1.72;
}

.longevity-target-card,
.longevity-methods-card,
.longevity-stages-card,
.longevity-result-card,
.longevity-format-card,
.longevity-final-cta {
  padding: clamp(24px, 4vw, 38px);
}

.longevity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.longevity-tags span {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.35;
}

.longevity-highlight {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.longevity-highlight h2,
.longevity-highlight p {
  color: #fff;
}

.longevity-goals-grid,
.longevity-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.longevity-goals-grid article,
.longevity-stages article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 30, 52, .05);
  overflow: hidden;
}

.longevity-goals-grid article::after,
.longevity-stages article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 166, 160, .08);
}

.longevity-goals-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.longevity-goals-grid h3,
.longevity-stages h3,
.longevity-methods-list b {
  position: relative;
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  z-index: 1;
}

.longevity-goals-grid p,
.longevity-stages p,
.longevity-methods-list p {
  position: relative;
  margin-bottom: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  z-index: 1;
}

.longevity-methods-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.longevity-methods-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbfc;
}

.longevity-stage-time {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(20, 166, 160, .12);
  color: var(--teal);
  font-weight: 1000;
}

.longevity-result-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.longevity-result-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.longevity-result-card li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 800;
}

.longevity-result-card li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 166, 160, .12);
}

.longevity-format-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 171, 102, .16), transparent 34%),
    #fff;
}

.longevity-format-number {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--teal), #0b4052);
  color: #fff;
  font-size: 40px;
  font-weight: 1000;
  box-shadow: 0 20px 54px rgba(20, 166, 160, .24);
}

.longevity-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.longevity-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .longevity-highlight,
  .longevity-result-card,
  .longevity-final-cta {
    grid-template-columns: 1fr;
  }

  .longevity-goals-grid,
  .longevity-stages {
    grid-template-columns: 1fr;
  }

  .longevity-format-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .longevity-format-number {
    width: 105px;
    height: 105px;
    border-radius: 28px;
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .longevity-hero-lead {
    font-size: 16px;
  }

  .longevity-intro-card,
  .longevity-target-card,
  .longevity-methods-card,
  .longevity-stages-card,
  .longevity-result-card,
  .longevity-format-card,
  .longevity-final-cta {
    border-radius: 22px;
  }

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

  .longevity-format-number {
    width: 100%;
    height: 96px;
  }

  .longevity-final-cta .btn {
    width: 100%;
  }
}


/* EVERGENE.PRO PROGRAM DETAIL PAGES */
.program-hero-lead {
  max-width: 880px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.65;
}

.program-longread {
  display: grid;
  gap: 24px;
}

.program-longread h2,
.program-longread h3,
.program-longread p {
  margin-top: 0;
}

.program-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.program-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid rgba(207, 171, 102, .45);
  border-radius: 50%;
  background: var(--teal);
}

.program-intro-card,
.program-tags-card,
.program-highlight,
.program-methods-card,
.program-stages-card,
.program-result-card,
.program-safety-card,
.program-format-card,
.program-final-cta {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 30, 52, .06);
}

.program-intro-card,
.program-tags-card,
.program-methods-card,
.program-stages-card,
.program-result-card,
.program-safety-card,
.program-format-card,
.program-final-cta {
  padding: clamp(24px, 4vw, 38px);
}

.program-intro-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 166, 160, .12), transparent 36%),
    linear-gradient(135deg, #fff, #f6fbfc);
}

.program-intro-card--face {
  background:
    radial-gradient(circle at 100% 0%, rgba(207, 171, 102, .16), transparent 36%),
    linear-gradient(135deg, #fff, #f6fbfc);
}

.program-intro-card h2,
.program-tags-card h2,
.program-highlight h2,
.program-methods-card h2,
.program-stages-card h2,
.program-result-card h2,
.program-safety-card h2,
.program-format-card h2,
.program-final-cta h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.program-intro-card p,
.program-highlight p,
.program-safety-card p,
.program-format-card p,
.program-final-cta p {
  color: #526b80;
  font-size: 17px;
  line-height: 1.72;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.program-tags span {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.35;
}

.program-highlight {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, rgba(7, 30, 52, .96), rgba(10, 103, 110, .92));
  color: #fff;
}

.program-highlight h2,
.program-highlight p {
  color: #fff;
}

.program-goals-grid,
.program-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-goals-grid article,
.program-stages article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 30, 52, .05);
  overflow: hidden;
}

.program-goals-grid article::after,
.program-stages article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 166, 160, .08);
}

.program-goals-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.program-goals-grid h3,
.program-stages h3,
.program-methods-list b {
  position: relative;
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  z-index: 1;
}

.program-goals-grid p,
.program-stages p,
.program-methods-list p {
  position: relative;
  margin-bottom: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  z-index: 1;
}

.program-methods-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.program-methods-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbfc;
}

.program-stage-time {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(20, 166, 160, .12);
  color: var(--teal);
  font-weight: 1000;
}

.program-result-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.program-result-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-result-card li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: #f6fbfc;
  color: var(--navy);
  font-weight: 800;
}

.program-result-card li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 166, 160, .12);
}

.program-safety-card {
  border-color: rgba(207, 171, 102, .34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 248, 235, .88));
}

.program-format-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 171, 102, .16), transparent 34%),
    #fff;
}

.program-format-number {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--teal), #0b4052);
  color: #fff;
  font-size: 40px;
  font-weight: 1000;
  box-shadow: 0 20px 54px rgba(20, 166, 160, .24);
}

.program-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(235, 247, 247, .95), rgba(255, 255, 255, .98));
}

.program-final-cta .btn {
  white-space: nowrap;
}

@media (max-width: 980px) {

  .program-highlight,
  .program-result-card,
  .program-final-cta {
    grid-template-columns: 1fr;
  }

  .program-goals-grid,
  .program-stages {
    grid-template-columns: 1fr;
  }

  .program-format-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .program-format-number {
    width: 105px;
    height: 105px;
    border-radius: 28px;
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .program-hero-lead {
    font-size: 16px;
  }

  .program-intro-card,
  .program-tags-card,
  .program-methods-card,
  .program-stages-card,
  .program-result-card,
  .program-safety-card,
  .program-format-card,
  .program-final-cta {
    border-radius: 22px;
  }

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

  .program-format-number {
    width: 100%;
    height: 96px;
  }

  .program-final-cta .btn {
    width: 100%;
  }
}

/* EVERGENE.PRO USER STYLE RESTORE 20260718
   Аккуратное восстановление правок пользователя:
   - выпадающее меню без большого разрыва от родителя;
   - единый адаптивный размер h1 для desktop/mobile через clamp.
*/
.nav-dropdown,
.mega-menu {
  top: calc(100% + 1px) !important;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0;
  font-size: clamp(35px, 4vw, 63px);
  line-height: .98;
  letter-spacing: -.06em;
}

/* EVERGENE.PRO DESKTOP NESTED NAV DROPDOWN */
.nav-dropdown--nested {
  min-width: 260px;
}

.nav-dropdown__group {
  display: grid;
  gap: 4px;
}

.nav-dropdown__group+.nav-dropdown__group {
  margin-top: 4px;
}

.nav-dropdown__children {
  display: grid;
  gap: 2px;
  padding: 2px 0 6px 14px;
}

.nav-dropdown .nav-dropdown__parent {
  font-weight: 900;
}

.nav-dropdown .nav-dropdown__sub {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.35;
  opacity: .9;
}

.nav-dropdown .nav-dropdown__sub::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateY(-50%);
  opacity: .75;
}

.nav-dropdown .nav-dropdown__sub:hover {
  opacity: 1;
}