/* V2 — editorial bento direction */
:root {
  --v2-ink: #082832;
  --v2-paper: #f4f6f2;
  --v2-mint: #a9e1d9;
  --v2-mint-soft: #e4f3ef;
  --v2-coral: #ff7356;
  --v2-lime: #d7f19a;
}

body { background: var(--v2-paper); }

.site-header {
  top: 12px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.header-inner {
  min-height: 72px;
  padding: 9px 16px;
  border: 1px solid rgba(8, 40, 50, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 46px rgba(8, 40, 50, .1);
  backdrop-filter: blur(24px) saturate(160%);
}

.logo__img { width: 48px; height: 48px; }
.logo__desc { font-size: 9px; }
.logo__name { font-size: 20px; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--v2-coral); transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.header-tg { color: #fff; border: 0; background: var(--v2-ink); }
.header-tg:hover { color: #fff; background: #124653; border-color: transparent; }

.hero {
  min-height: 730px;
  margin: 24px 12px 0;
  padding: 104px 0 118px;
  border-radius: 42px;
  background:
    radial-gradient(750px 520px at 8% 4%, rgba(84, 187, 178, .3), transparent 64%),
    radial-gradient(600px 480px at 95% 98%, rgba(255, 115, 86, .18), transparent 65%),
    var(--v2-ink);
}

.hero::after {
  opacity: .52;
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 40%, #000, transparent 72%);
}

.hero__grid { gap: 86px; }
.hero__copy { max-width: 750px; }
.hero__eyebrow { margin-bottom: 30px; color: #ccebe6; background: rgba(169, 225, 217, .09); }
.hero h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(54px, 6.5vw, 88px); line-height: .9; letter-spacing: -.065em; }
.hero__line { display: block; }
.hero__accent { display: block; margin-top: 20px; color: var(--v2-mint); font-size: .43em; font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.hero__sub { max-width: 680px; color: #bcd0d3; font-size: 19px; }
.hero__cta { margin-top: 36px; }
.hero .btn--primary { color: var(--v2-ink); background: var(--v2-lime); box-shadow: 0 14px 34px rgba(215, 241, 154, .18); }
.hero .btn--primary:hover { filter: none; background: #e4f8b4; }
.hero .btn--outline { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.035); }
.hero__trust { margin-top: 34px; }
.hero__trust li::before { background: var(--v2-coral); }

.hero-visual {
  min-height: 490px;
  padding: 34px;
  border: 0;
  border-radius: 36px;
  background: #f7f8f5;
  box-shadow: 0 40px 100px rgba(0,0,0,.28);
  transform: rotate(2.25deg);
  isolation: isolate;
}
.hero-visual::before { width: 300px; height: 300px; right: -130px; top: -135px; background: var(--v2-mint); opacity: .55; z-index: -1; }
.hero-visual::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 90px; height: 90px; border-radius: 50%; border: 1px solid rgba(8,40,50,.1); box-shadow: 0 0 0 14px rgba(169,225,217,.16), 0 0 0 28px rgba(169,225,217,.08); z-index: -1; }
.hero-visual__code { display: block; margin-bottom: 18px; color: #8ba0a5; font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.hero-visual__top { padding-bottom: 26px; }
.hero-visual__badge { color: var(--v2-ink); background: var(--v2-lime); }
.route { padding-top: 42px; padding-bottom: 42px; }
.route__line { height: 92px; border-left-color: #85c9c0; }
.route__point span { font-size: 26px; }
.route__point::before { background: var(--v2-coral); box-shadow: 0 0 0 2px var(--v2-coral); }
.route__point--finish::before { background: var(--v2-ink); box-shadow: 0 0 0 2px var(--v2-ink); }
.hero-visual__footer { gap: 10px; }
.hero-visual__footer div { padding: 14px 12px; border-radius: 18px; background: #fff; border: 1px solid rgba(8,40,50,.07); }
.hero-visual__footer strong { color: var(--v2-coral); }

.clinic-strip { position: relative; z-index: 4; margin: -38px 12px 0; }
.clinic-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 28px;
  border: 1px solid rgba(8,40,50,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(8,40,50,.11);
  overflow-x: auto;
  scrollbar-width: none;
}
.clinic-strip__inner::-webkit-scrollbar { display: none; }
.clinic-strip span { position: relative; flex: 0 0 auto; padding-left: 17px; color: #46626a; font-size: 12px; font-weight: 600; letter-spacing: .015em; }
.clinic-strip span::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--v2-coral); }

main { counter-reset: editorial-section; }
.section { counter-increment: editorial-section; }
.section h2 { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; padding-bottom: 0; }
.section h2::before { content: "0" counter(editorial-section); grid-row: 1; color: var(--v2-coral); font-size: 12px; line-height: 1; letter-spacing: .08em; }
.section h2::after { display: none; }
.section--cta h2 { display: block; }
.section--cta h2::before { display: none; }

.section { padding: 118px 0; }
.section--tint {
  margin: 0 12px;
  border: 1px solid rgba(8,40,50,.045);
  border-radius: 46px;
  background: #eaf2ef;
}
.section-lead { margin-top: 22px; }

.services { margin-top: 36px; }
.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 30px;
  background: #fff;
  box-shadow: none;
}
.service-card p { font-size: 16px; }
.service-card .price-toggle, .service-card__price { margin-top: auto; align-self: flex-start; }
.service-card:nth-child(1) { color: #fff; border-color: transparent; background: var(--v2-ink); }
.service-card:nth-child(1) h3, .service-card:nth-child(1) p, .service-card:nth-child(1) .service-card__price { color: #fff !important; }
.service-card:nth-child(1) .service-card__ico { color: var(--v2-ink); background: var(--v2-mint); }
.service-card:nth-child(1) .price-toggle { color: var(--v2-ink); background: var(--v2-lime); }
.service-card:nth-child(2) { background: #ffe8e1; }
.service-card:nth-child(2) .service-card__ico { color: #a83f2a; background: #fff; }
.service-card:hover { transform: translateY(-8px) rotate(-.25deg); box-shadow: 0 26px 60px rgba(8,40,50,.12); }

.lead { font-size: 24px; }
.stats { margin-top: 34px; gap: 14px; }
.stat { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 28px; text-align: left; border-radius: 26px; background: #fff; }
.stat:nth-child(1) { color: #fff; border-color: transparent; background: var(--v2-ink); }
.stat:nth-child(1) .stat__num, .stat:nth-child(1) .stat__label { color: #fff; }
.stat:nth-child(2) { background: var(--v2-mint-soft); }
.stat:nth-child(3) { background: #ffe9e3; }
.stat:nth-child(4) { background: var(--v2-lime); }
.stat__num { font-size: 42px; }
.stat__label { max-width: 150px; text-align: left; }
.callout { margin-top: 28px; padding: 28px 32px; border: 1px solid rgba(8,40,50,.08); border-left: 1px solid rgba(8,40,50,.08); border-radius: 24px; background: rgba(255,255,255,.72); }

.timeline__item::before { color: var(--v2-ink); border: 0; background: var(--v2-lime); }
.timeline__item::after { background: #a7d5ce; }

.photo { border-radius: 30px; }
.photo-pair .photo { min-height: 280px; align-items: flex-start; justify-content: flex-end; text-align: left; }
.photo-pair .photo:first-child { color: #fff; background: linear-gradient(145deg, #0d3540, #176f76); }
.photo-pair .photo:first-child figcaption { color: #fff; }
.photo-pair .photo:last-child { background: linear-gradient(145deg, #d9f0eb, #f6cfc3); }
.photo-pair .photo::before { position: absolute; top: 26px; right: 26px; margin: 0; }
.galina { padding: 18px; border-radius: 38px; box-shadow: none; }
.galina__text { padding: 18px 18px 18px 10px; }
.photo--portrait { min-height: 390px; }

.facts { margin-top: 34px; border: 0; gap: 12px; overflow: visible; background: transparent; }
.facts li { min-height: 130px; padding: 24px; border: 1px solid rgba(8,40,50,.08) !important; border-radius: 22px; background: #fff; }
.photo-grid { display: none; }
.map-placeholder { margin-top: 16px; min-height: 230px; border-radius: 30px; }

.faq { margin-top: 32px; }
.faq details { border-radius: 22px; background: rgba(255,255,255,.76); }
.faq summary { padding: 24px 60px 24px 26px; font-size: 19px; }

.review { min-height: 300px; border-radius: 32px; }
.review__number { width: 50px; height: 50px; border-radius: 50%; }
.review blockquote { margin-top: auto; padding-top: 70px; font-size: 21px; }

.section--cta { margin: 12px; border-radius: 46px; background: var(--v2-ink); }
.contact-card { border-radius: 34px; box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.contact-card .btn--primary { color: var(--v2-ink); background: var(--v2-lime); box-shadow: none; }
.contact-card__safe strong { color: var(--blue); }

.site-footer { margin-top: 12px; background: #061c23; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr); }
  .services { grid-template-columns: repeat(12, 1fr); }
  .service-card { grid-column: span 6; }
  .service-card:nth-child(1) { grid-column: span 7; }
  .service-card:nth-child(2) { grid-column: span 5; }

  .timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .timeline__item { min-height: 260px; padding: 86px 26px 26px; border: 1px solid rgba(8,40,50,.08); border-radius: 26px; background: rgba(255,255,255,.76); }
  .timeline__item::before { left: 26px; top: 26px; }
  .timeline__item::after { display: none; }
  .timeline__item h3 { font-size: 21px; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .hero { min-height: auto; padding-top: 76px; }
  .hero__grid { gap: 58px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; transform: rotate(1deg); }
  .clinic-strip__inner { justify-content: flex-start; }
  .section { padding: 90px 0; }
  .section--tint { margin-left: 8px; margin-right: 8px; border-radius: 34px; }
}

@media (max-width: 719px) {
  .site-header { top: 0; padding: 0; }
  .header-inner { min-height: 66px; border-radius: 0 0 18px 18px; }
  .hero { margin: 10px 6px 0; padding: 64px 0 80px; border-radius: 30px; }
  .hero h1 { max-width: 100%; font-size: 42px; letter-spacing: -.055em; }
  .hero__accent { margin-top: 16px; font-size: .45em; }
  .hero__sub { font-size: 18px; }
  .hero-visual { min-height: auto; padding: 26px; border-radius: 28px; transform: none; }
  .clinic-strip { margin: -24px 6px 0; }
  .clinic-strip__inner { min-height: 66px; padding: 12px 18px; border-radius: 20px; }
  .section { padding: 82px 0; }
  .section h2 { column-gap: 10px; }
  .service-card { min-height: 280px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 165px; padding: 22px; }
  .stat__num { font-size: 32px; }
  .galina { padding: 10px; }
  .galina__text { padding: 20px 14px; }
  .section--cta { margin: 6px; border-radius: 32px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual { animation: card-float 7s ease-in-out infinite; }
  @keyframes card-float {
    0%, 100% { transform: rotate(2.25deg) translateY(0); }
    50% { transform: rotate(1.25deg) translateY(-10px); }
  }
}

@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .hero-visual { animation: none; }
}
