/* Scoped local working copy. Source previews are read-only. */
:root, html[data-font="pair"] body {
  --green: #1E4D41; --sage: #A9B7A7; --cream: #F6F3EC; --coral: #C75B3F;
  --font-heading:var(--site-heading-font,"Montserrat",sans-serif); --font-sans:var(--site-body-font,"Golos Text",sans-serif);
}
html body, .home .hs-over { background: #F6F3EC; color: #1E4D41; }
.home .hs-over { display: flow-root; --block-gap: clamp(64px, 6.5vw, 104px); }
.home .hs-over > section { margin-block: 0 !important; }
.home .hs-over > section + section { margin-top: var(--block-gap) !important; }
.home .hs-over > section:last-child { margin-bottom: var(--block-gap) !important; }
.home .hs-over > :is(#specialists,#reviews,#space,#blog) { padding-block: 0 !important; }
.home .hs-over > .final-cta { padding-block: 0 !important; }
.home .hs-over > :is(#space,#blog) {
  width: min(100% - 64px, 1320px) !important; max-width: none !important;
  margin-inline: auto !important; background: transparent !important;
  border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
}
.home .hs-over > #space::before, .home .hs-over > #space::after { display: none !important; }
.home :is(h1,h2,h3) { font-family:var(--site-heading-font,"Montserrat",sans-serif)!important; font-weight: 300 !important; letter-spacing: -.025em !important; }
.home .hp .hp-title { font-weight: 400 !important; }
.home :is(.ac-section) { font-family: "Golos Text", sans-serif; }
.home .ac-section * { box-sizing: border-box; }
.home .ac-section a { text-decoration: none; }
.home .ac-section h3, .home .ac-section p, .home .ac-section figure { margin: 0; }
.home .ac-heading { margin: 0 0 28px; font-size: clamp(30px,3vw,44px) !important; line-height: 1.13; color: #1E4D41; text-wrap: balance; }
.ac-intro { align-self: center; min-width: 0; }
.home .ac-intro p { font-size: 17px; line-height: 1.5; max-width: 33ch; margin: 0 0 28px; text-wrap: pretty; }
.ac-pill { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 12px 25px; border-radius: 999px !important; background: #C75B3F; color: #fff !important; font-size: 16px; line-height: 1.25; font-weight: 500; }
.ac-pill--light { color: #1E4D41 !important; background: #e3e8df; }
.ac-pill:hover { background: #aa432c; }
.ac-pill--light:hover { background: #d2dccf; }
.ac-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; background: #F6F3EC; color: #1E4D41; }
.ac-arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
a:hover > .ac-arrow svg, a:hover .ac-arrow svg { transform: translateX(3px); }
.home :is(a,button,input,textarea,summary):focus-visible { outline: 3px solid #C75B3F !important; outline-offset: 4px !important; }
.home button, .home .button, .home .sc-arrow { border-radius: 999px !important; }
/* Blog: a 7/12 lead and two equal rows. */
.ac-blog-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 24px; }
.ac-article { min-width: 0; border-radius: 24px; overflow: hidden; position: relative; color: #1E4D41; }
.ac-article img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ac-article time { display: block; font: 400 13px/1.4 "Golos Text",sans-serif; }
.ac-article--lead { display: flex; align-items: flex-end; min-height: 480px; color: white !important; background: #1E4D41; }
.ac-article--lead > img ,
.ac-article--lead > :where(picture[data-public-photo-delivery="v1"]) > img{ position: absolute; inset: 0; }
.ac-article--lead::after { content: ''; position: absolute; inset: 0;}
.ac-article--lead .ac-article-copy { position: relative; z-index: 1; padding: 32px; width: 100%; }
.home .ac-article--lead h3 { font-size: clamp(26px,2.35vw,34px) !important; line-height: 1.14; color: white; margin: 12px 0; text-wrap: balance; }
.home .ac-article--lead p { max-width: 56ch; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-article--lead .ac-arrow { margin-top: 24px; }
.ac-blog-side { display: grid; grid-template-rows: repeat(2,1fr); gap: 20px; min-width: 0; }
.ac-article--side { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr); align-items: center; gap: 18px; padding: 16px; background: #eeebe4; }
.ac-article--side > img ,
.ac-article--side > :where(picture[data-public-photo-delivery="v1"]) > img{ aspect-ratio: 4/3; height: auto; border-radius: 16px; }
.ac-article--side .ac-article-copy { min-width: 0; }
.home .ac-article--side h3 { font-size: clamp(18px,1.4vw,22px) !important; line-height: 1.22; margin: 10px 0 16px; color: #1E4D41; text-wrap: pretty; }
.ac-article--side .ac-arrow { width: 34px; height: 34px; margin-left: auto; }
.ac-blog-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
/* Clinic: copy + a large real photograph and two small ones. */
.home #space.ac-gallery { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,8fr); gap: 32px; }
.ac-gallery-photos { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,3fr); gap: 18px; min-height: 430px; }
.home .ac-gallery figure { min-width: 0; overflow: hidden; border-radius: 24px; }
.ac-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ac-gallery-main img { object-position: 53% center; }
.ac-gallery-small { display: grid; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 18px; }
.ac-gallery-small img { max-height: 210px; }

.ac-text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 16px; font-weight: 500; color: #1E4D41 !important; padding-block: 6px; border-bottom: 1px solid #A9B7A7; }
/* Added tags only; carousel dimensions and timing stay in specialists.css/js. */
.sc-tags { display: flex; flex-wrap: wrap; align-content: flex-start; min-height: var(--sc-tags-h,auto);}
.sc-tag { display: inline-flex; align-items: center; max-width: 100%; border-radius: 999px; font: 400 13px/1.25 "Golos Text",sans-serif;}
.sc-tags:empty { background: transparent; }
.sc-card a:focus-visible { outline-offset: -3px !important; }
@media (max-width:1100px) {
 .ac-blog-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 18px; }
 .ac-article--side { padding: 12px; gap: 12px; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }






 .home #space.ac-gallery { grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 24px; }
 .ac-gallery-photos { grid-template-columns: minmax(0,5fr) minmax(0,3fr); min-height: 370px; gap: 12px; }
 .ac-gallery-small { gap: 12px; }
 .ac-gallery-small img { max-height: 180px; }
}
@media (max-width:760px) {
 .home .hs-over { --block-gap: 56px; }
 .home .hs-over > :is(#space,#blog) { width: calc(100% - 32px) !important; }
 .home .ac-heading { font-size: 30px !important; margin-bottom: 22px; }
 .ac-blog-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .ac-article--lead { min-height: 440px; }
 .ac-article--lead .ac-article-copy { padding: 24px; }
 .home .ac-article--lead h3 { font-size: 27px !important; }
 .ac-blog-side { gap: 14px; }
 .ac-article--side { padding: 12px; gap: 14px;}
 .home .ac-article--side h3 { font-size: 19px !important; margin: 8px 0 12px; }
 .ac-blog-foot { margin-top: 20px; }
 .home #space.ac-gallery { grid-template-columns: 1fr; gap: 28px; }
 .ac-gallery-photos { grid-template-columns: 1fr; min-height: 0; gap: 14px; }
 .ac-gallery-main { aspect-ratio: 4/3; }
 .ac-gallery-small { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; gap: 14px; }
 .ac-gallery-small figure { aspect-ratio: 4/3; }
 .ac-gallery-small img { max-height: none; }
 .home .ac-intro p { font-size: 16px; max-width: 36ch; margin-bottom: 24px; }






 .sc-tags { font-size: 13px; }
}
@media (max-width:360px) {
 .home .ac-heading { font-size: 27px !important; }
 .ac-article--lead .ac-article-copy { padding: 20px; }
 .home .ac-article--lead h3 { font-size: 24px !important; }

 .ac-article--side { gap: 10px; grid-template-columns: 90px minmax(0,1fr); }


}
@media (prefers-reduced-motion:reduce) { .ac-arrow svg { transition: none; } }
/* Keep the intended 7/12 hierarchy until the layout needs to stack. */
@media (min-width:901px) { .ac-blog-grid { grid-template-columns: minmax(0,7fr) minmax(0,5fr); } }
@media (min-width:761px) and (max-width:900px) { .ac-blog-grid { grid-template-columns: 1fr; } .ac-article--side { grid-template-columns: minmax(0,1fr) minmax(0,2fr); } }
@media (max-width:760px) { .ac-article--side { grid-template-columns: 90px minmax(0,1fr); } }
@media (max-width:360px) { .home .ac-article--side h3 { font-size: 16px !important; } }
.ac-section { scroll-margin-top: 140px; }

@media (max-width:760px) { .ac-section { scroll-margin-top: 160px; } }

/* October 6 revision: all overrides belong to this working copy. */
.home .ac-view-all {
 display:inline-flex!important;align-items:center;justify-content:center;gap:20px;
 width:fit-content;min-height:50px;padding:12px 24px!important;margin:0;
 border:1px solid #1E4D41!important;border-radius:999px!important;
 background:transparent!important;color:#1E4D41!important;box-shadow:none!important;
 font:500 16px/1.25 "Golos Text",sans-serif!important;text-decoration:none!important;
 transition:background .2s,color .2s;
}
.home .ac-view-all:hover {background:#1E4D41!important;color:#fff!important;}
.home .ac-blog-foot,.home .clinic-reviews__action {justify-content:flex-start!important;}

.home .sc-all {flex:none;}
.sc-card a {gap:0;}
.sc-photo {margin-bottom:16px;}
.sc-identity {display:flex;flex-direction:column;gap:7px;min-height:var(--sc-identity-h,auto);}
.sc-name,.sc-role {min-height:0;}
.sc-tags {padding:0;margin:12px 0 14px;border:0;border-radius:0;background:transparent;box-shadow:none;gap:6px;align-items:flex-start;}
.sc-tag {background:#E8EDE6;color:#1E4D41;padding:5px 11px;border:0;box-shadow:none;font-size:13px;}
.home #reviews .review-list {align-items:start;grid-template-columns:repeat(3,minmax(0,1fr));}
.home #reviews .review-quote {border-radius:24px!important;background:#FBF9F5!important;border:1px solid #E4DED3!important;min-height:0!important;height:auto;padding:28px;}
.home #reviews .review-quote blockquote {font:400 17px/1.5 "Golos Text",sans-serif;-webkit-box-orient:vertical;}

.home .final-cta,.home .final-cta__grid,.home .final-cta__intro {background:transparent!important;box-shadow:none!important;}
.home .final-cta__intro {padding:0!important;min-height:0!important;align-self:center;border:0!important;border-radius:0!important;}
.home .final-cta__grid {width:min(100% - 64px,1320px)!important;max-width:none!important;padding:0!important;margin-inline:auto!important;gap:48px;}
.home .final-cta__form {border-radius:24px!important;}
.home .final-cta__intro h2 {font-size:clamp(34px,3.7vw,56px)!important;}
.home .hs-btn--primary,.home .button--appointment,.home .final-cta button[type=submit] {background:#C75B3F!important;}
.home .hp-more p {opacity:1;}
.home .hs-over > section {scroll-margin-top:140px;}
.home .mobile-booking {display:none;}
@media(max-width:760px) {
 html body.home .site-header .header-contact-bar {display:none!important;}
 html body.home .site-header > .shell.nav {display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:4px!important;height:58px!important;min-height:58px!important;padding:0 10px!important;margin:0 auto!important;}
 html body.home .site-header .brand {display:inline-grid!important;grid-template-columns:1fr!important;width:230px!important;min-width:230px!important;flex:0 0 230px!important;margin:0!important;}
 html body.home .site-header .brand-logo {width:230px!important;max-width:none!important;height:auto!important;}
 html body.home .site-header .nav-tools {display:flex!important;order:2;flex:0 0 auto;gap:0!important;margin-left:auto;}
 html body.home .site-header .nav-tools > .button--appointment,html body.home .site-header .account-trigger {display:none!important;}
 html body.home .site-header .menu-toggle {order:3;display:flex!important;align-items:center;justify-content:center;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;}
 html body.home .site-header .menu-toggle > span {display:none!important;}
 html body.home .site-header .nav-links.is-open {position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;width:100%!important;max-height:calc(100svh - 100px);overflow:auto;}
 html body.home .site-header .nav-links .mobile-booking {display:block!important;color:#C75B3F!important;}
 .home #reviews .review-list {grid-template-columns:1fr;}

 .home .sc-foot {flex-wrap:wrap;}
 .home .sc-all {padding-inline:20px!important;}
 .home .sc-arrows {margin-left:auto;}
 .home .sc-arrow {width:40px;height:40px;}
 .home .final-cta__grid {width:calc(100% - 32px)!important;gap:28px!important;}
 .home .final-cta__intro {padding:0!important;}
 .home .hs-over > section {scroll-margin-top:90px;}
 .home .hp {width:calc(100% - 32px);}
 .home .ac-article--side h3 {line-height:1.28;}

}
@media(max-width:360px) {
 html body.home .site-header > .shell.nav {padding-inline:2px!important;gap:2px!important;}
 html body.home .site-header .menu-toggle {width:24px!important;min-width:24px!important;flex-basis:24px!important;}
 .home .ac-article--side h3 {font-size:16px!important;}

}
@media(max-width:340px) {
 html body.home .site-header > .shell.nav {padding-inline:0!important;}
 html body.home .site-header .menu-toggle {width:18px!important;min-width:18px!important;flex-basis:18px!important;}
}
.home .site-header.is-scrolled .account-trigger .dashicons {color:#1E4D41!important;}
@media(max-width:760px) {
 .ac-article--side {display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;}
 .home .ac-article--side h3 {font-size:16px!important;}
}
@media(max-width:360px) {
 .ac-article--side {grid-template-columns:64px minmax(0,1fr);gap:12px;}
 .ac-article--side .ac-article-copy {display:contents;}
 .ac-article--side > img ,
.ac-article--side > :where(picture[data-public-photo-delivery="v1"]) > img{grid-row:1;grid-column:1;}
 .ac-article--side time {grid-row:1;grid-column:2;}
 .home .ac-article--side h3 {grid-column:1/-1;margin:0;}
 .ac-article--side .ac-arrow {grid-column:2;}
}

/* Continuous, gently interactive specialist carousel. */
.home .sc-viewport {margin-top:10px;padding-block:18px;margin-bottom:-18px;}
.home .sc-track {transition:none!important;}
.home .sc-card {position:relative;}
.home .sc-card > a {
 transform:translate3d(0,0,0) scale(1);
 transform-origin:var(--sc-origin,center center);}
.home .sc-card .sc-photo img {transform:none!important;transition:none;}
.home .sc-name {font-size:var(--sc-name-size,16px);line-height:1.28;height:2.56em;min-height:0;}
.home .sc-name > span {display:block;white-space:nowrap;}
.home .sc-card a:focus-visible {transform:none;transition:none;}

@media(hover:hover) and (pointer:fine) {
 .home .sc-card.is-hovered {z-index:2;}
 .home .sc-card.is-hovered > a {
  transform:translate3d(var(--sc-magnet-x,0px),calc(-5px + var(--sc-magnet-y,0px)),0) scale(1.025);
  transition-duration:200ms;
 }
}
@media(max-width:760px) {.home .sc-name {font-size:var(--sc-name-size,15px);}}
@media(prefers-reduced-motion:reduce) {
 .home .sc-card > a,.home .sc-card.is-hovered > a {transform:none!important;transition:none!important;}
}

/* Shared heading row, soft carousel edges and local gallery. */
.home .site-header .header-contact-bar {height:34px!important;padding:0!important;}
.home .site-header .header-contact-bar__inner {height:46px!important;min-height:0!important;padding-block:0!important;display:flex!important;align-items:center!important;}
.home .site-header .header-contact-bar__label,.home .site-header .header-phone {margin:0!important;line-height:20px!important;}
.home .site-header .header-messengers {align-items:center!important;margin-block:0!important;}
.home .ac-section-head {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px;margin:0 0 28px!important;}
.home .ac-section-head > div {min-width:0;}
.home .ac-section-head h2 {margin:0!important;text-wrap:balance;}

.home .ac-section-head > .ac-view-all {flex:none;white-space:nowrap;margin-left:auto;}
.home .ac-carousel-stage {--bleed:clamp(20px,var(--container-edge,84px),96px);--edge-fade:min(40px,var(--bleed));position:relative;margin-inline:calc(-1 * var(--bleed));}
/* Cards dissolve smoothly from 32px inside the grid to 14px outside it; both engines share the same mask. */
.home .ac-carousel-stage .sc-viewport {margin:0;padding:20px var(--bleed);overflow:hidden;
 mask-image:linear-gradient(to right,transparent,rgba(0,0,0,0.0) calc(var(--bleed) - 14.0px),rgba(0,0,0,0.02) calc(var(--bleed) - 10.2px),rgba(0,0,0,0.074) calc(var(--bleed) - 6.3px),rgba(0,0,0,0.156) calc(var(--bleed) - 2.5px),rgba(0,0,0,0.259) calc(var(--bleed) + 1.3px),rgba(0,0,0,0.376) calc(var(--bleed) + 5.2px),rgba(0,0,0,0.5) calc(var(--bleed) + 9.0px),rgba(0,0,0,0.624) calc(var(--bleed) + 12.8px),rgba(0,0,0,0.741) calc(var(--bleed) + 16.7px),rgba(0,0,0,0.844) calc(var(--bleed) + 20.5px),rgba(0,0,0,0.926) calc(var(--bleed) + 24.3px),rgba(0,0,0,0.98) calc(var(--bleed) + 28.2px),rgba(0,0,0,1.0) calc(var(--bleed) + 32.0px),rgba(0,0,0,1.0) calc(100% - var(--bleed) - 32.0px),rgba(0,0,0,0.98) calc(100% - var(--bleed) - 28.2px),rgba(0,0,0,0.926) calc(100% - var(--bleed) - 24.3px),rgba(0,0,0,0.844) calc(100% - var(--bleed) - 20.5px),rgba(0,0,0,0.741) calc(100% - var(--bleed) - 16.7px),rgba(0,0,0,0.624) calc(100% - var(--bleed) - 12.8px),rgba(0,0,0,0.5) calc(100% - var(--bleed) - 9.0px),rgba(0,0,0,0.376) calc(100% - var(--bleed) - 5.2px),rgba(0,0,0,0.259) calc(100% - var(--bleed) - 1.3px),rgba(0,0,0,0.156) calc(100% - var(--bleed) + 2.5px),rgba(0,0,0,0.074) calc(100% - var(--bleed) + 6.3px),rgba(0,0,0,0.02) calc(100% - var(--bleed) + 10.2px),rgba(0,0,0,0.0) calc(100% - var(--bleed) + 14.0px),transparent);-webkit-mask-image:linear-gradient(to right,transparent,rgba(0,0,0,0.0) calc(var(--bleed) - 14.0px),rgba(0,0,0,0.02) calc(var(--bleed) - 10.2px),rgba(0,0,0,0.074) calc(var(--bleed) - 6.3px),rgba(0,0,0,0.156) calc(var(--bleed) - 2.5px),rgba(0,0,0,0.259) calc(var(--bleed) + 1.3px),rgba(0,0,0,0.376) calc(var(--bleed) + 5.2px),rgba(0,0,0,0.5) calc(var(--bleed) + 9.0px),rgba(0,0,0,0.624) calc(var(--bleed) + 12.8px),rgba(0,0,0,0.741) calc(var(--bleed) + 16.7px),rgba(0,0,0,0.844) calc(var(--bleed) + 20.5px),rgba(0,0,0,0.926) calc(var(--bleed) + 24.3px),rgba(0,0,0,0.98) calc(var(--bleed) + 28.2px),rgba(0,0,0,1.0) calc(var(--bleed) + 32.0px),rgba(0,0,0,1.0) calc(100% - var(--bleed) - 32.0px),rgba(0,0,0,0.98) calc(100% - var(--bleed) - 28.2px),rgba(0,0,0,0.926) calc(100% - var(--bleed) - 24.3px),rgba(0,0,0,0.844) calc(100% - var(--bleed) - 20.5px),rgba(0,0,0,0.741) calc(100% - var(--bleed) - 16.7px),rgba(0,0,0,0.624) calc(100% - var(--bleed) - 12.8px),rgba(0,0,0,0.5) calc(100% - var(--bleed) - 9.0px),rgba(0,0,0,0.376) calc(100% - var(--bleed) - 5.2px),rgba(0,0,0,0.259) calc(100% - var(--bleed) - 1.3px),rgba(0,0,0,0.156) calc(100% - var(--bleed) + 2.5px),rgba(0,0,0,0.074) calc(100% - var(--bleed) + 6.3px),rgba(0,0,0,0.02) calc(100% - var(--bleed) + 10.2px),rgba(0,0,0,0.0) calc(100% - var(--bleed) + 14.0px),transparent);}
.home .ac-carousel-stage .sc-track {width:100%;overflow:visible;}
.home .ac-carousel-stage .ac-edge {position:absolute;top:0;bottom:0;z-index:3;pointer-events:none;}
.home .ac-edge--left {left:0;mask-image:linear-gradient(to right,#000,transparent);}
.home .ac-edge--right {right:0;mask-image:linear-gradient(to left,#000,transparent);}
.home .ac-carousel-stage .sc-arrows {display:contents;}
/* Light arrows: a thin chevron with no plate, in the faded strip outside the grid; a soft halo keeps it legible over a photo */
.home .ac-carousel-stage .sc-arrow {position:absolute;top:calc(50% - 20px);z-index:4;width:40px;height:40px;border:0;background:transparent;box-shadow:none;color:rgba(30,77,65,.7);}
.home .ac-carousel-stage .sc-arrow:hover {color:#1E4D41;}
.home .ac-carousel-stage .sc-arrow svg {width:26px;height:26px;stroke-width:1.3;filter:drop-shadow(0 0 5px rgba(246,243,236,.95));transition:transform .28s var(--motion-ease,ease);}
.home .ac-carousel-stage [data-sc-prev]:hover svg {transform:translateX(-2px);}
.home .ac-carousel-stage [data-sc-next]:hover svg {transform:translateX(2px);}
.home .ac-carousel-stage [data-sc-prev] {left:max(0px,calc((var(--bleed) - var(--edge-fade)) / 2 - 20px));}
.home .ac-carousel-stage [data-sc-next] {right:max(0px,calc((var(--bleed) - var(--edge-fade)) / 2 - 20px));}
.home #specialists .ac-carousel-stage .sc-arrow {top:calc((100% - 190px)/2 - 20px);}
.home #reviews .rc-track {display:flex;gap:20px;align-items:flex-start;}
.home #reviews .rc-card {flex:0 0 calc((100% - 40px)/3);min-width:0;}
.home #reviews .review-quote {width:100%;box-sizing:border-box;display:block;transform-origin:var(--sc-origin,center top);}
.home #reviews .rc-viewport {box-sizing:border-box;}
.home #reviews .review-quote blockquote {margin:20px 0 12px;line-height:1.5;}
.home #reviews .review-quote footer {margin-top:20px;}
.home #reviews .review-rating-row {display:flex;align-items:center;justify-content:space-between;gap:8px;}
.home #reviews .review-rating-row time {white-space:nowrap;font-size:12px;}
.home #reviews .rc-expand {border:0;padding:5px 0;background:none;color:#1E4D41;cursor:pointer;font:500 13px/1.3 "Golos Text",sans-serif;text-decoration:underline;text-underline-offset:4px;}
.home #reviews .rc-card.is-expanded blockquote {display:block;overflow:visible;-webkit-line-clamp:unset;}
@media(hover:hover) and (pointer:fine) {
 .home #reviews .rc-card.is-hovered blockquote {display:block;overflow:visible;-webkit-line-clamp:unset;}
 .home #reviews .rc-card.is-hovered .review-quote {transform:translate3d(var(--sc-magnet-x,0px),-4px,0) scale(1.025);}
}
.home #space button.ac-pill {cursor:pointer;}
.home .ac-lightbox {box-sizing:border-box;}
.ac-lightbox::backdrop {background:rgba(10,28,23,.72);backdrop-filter:blur(8px);}
.ac-lightbox-head {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;}

.ac-gallery-close {width:44px;height:44px;border:1px solid #1E4D4160;background:transparent;color:#1E4D41;font-size:32px;line-height:1;cursor:pointer;flex:none;}
.ac-lightbox-photo {position:relative;display:grid;place-items:center;}
.ac-lightbox-photo > img ,
.ac-lightbox-photo > :where(picture[data-public-photo-delivery="v1"]) > img{display:block;width:100%;height:min(60svh,640px);object-fit:contain;border-radius:16px;background:#e8e4dc;}
.ac-lightbox-photo .sc-arrow {position:absolute;top:calc(50% - 23px);background:#F6F3EC;}
.ac-lightbox-photo [data-gallery-prev] {left:12px;}.ac-lightbox-photo [data-gallery-next] {right:12px;}
.ac-gallery-caption {font-size:14px;line-height:1.4;margin:16px 0;}
.ac-gallery-thumbs {display:flex;gap:10px;}
.home .ac-gallery-thumbs button {cursor:pointer;}
.ac-gallery-thumbs button[aria-pressed=true] {border-color:#1E4D41;}
.ac-gallery-thumbs img {display:block;width:88px;height:62px;object-fit:cover;border-radius:8px;}
@media(max-width:1100px) {.home #reviews .rc-card {flex-basis:calc((100% - 20px)/2);}}
@media(max-width:760px) {
 .home .ac-section-head {margin-bottom:22px!important;}
 .home .ac-section-head > .ac-view-all {align-self:flex-end;}

 .home .ac-carousel-stage {--bleed:var(--container-gutter,20px);}
 .home .ac-carousel-stage .sc-arrow {width:34px;height:34px;top:calc(50% - 17px);}
 .home #specialists .ac-carousel-stage .sc-arrow {top:100px;}
 .home #reviews .rc-track {gap:14px;}
 .home #reviews .rc-card {flex-basis:88%;}
 .home #reviews .review-quote {padding:24px;}
 .home .ac-lightbox {width:calc(100% - 24px);max-height:calc(100svh - 24px);padding:16px;}

 .ac-lightbox-photo > img ,
.ac-lightbox-photo > :where(picture[data-public-photo-delivery="v1"]) > img{height:50svh;}
 .ac-gallery-thumbs img {width:70px;height:52px;}
}
@media(prefers-reduced-motion:reduce) {
 .home #reviews .rc-viewport,.home #reviews .review-quote {transition:none;}
 .home #reviews .rc-card.is-hovered .review-quote {transform:none;}
}
.ac-gallery-thumbs {overflow-x:auto;max-width:100%;padding-bottom:4px;}
.ac-gallery-thumbs button {flex:none;}
.home #reviews .review-stars {white-space:nowrap;}
.home #reviews .review-patient {font-size:14px;line-height:1.35;}
.home #reviews .review-author small {font-size:12px;line-height:1.4;}
.home .ac-lightbox h2 {font-size:26px!important;}
@media(max-width:760px) {.home .ac-lightbox h2 {font-size:22px!important;}}
.home .site-header .header-messengers {margin-left:auto!important;}
/* Same 550 ms easing as the opening cards in the second block. */
.home #reviews .review-quote blockquote {
 display:block!important;-webkit-line-clamp:unset;height:var(--rc-closed-h,102px);overflow:hidden!important;
 transition:height .55s cubic-bezier(.2,.7,.2,1);
}
.home #reviews .rc-viewport {transition:height .55s cubic-bezier(.2,.7,.2,1);}
.home #reviews .review-quote {transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.home #reviews .rc-card.is-expanded blockquote {height:var(--rc-full-h);}
@media(hover:hover) and (pointer:fine) and (min-width:861px) {
 .home #reviews .rc-card.is-hovered blockquote {height:var(--rc-full-h);}
}
@media(max-width:860px),(hover:none) {
 .home #reviews .review-quote {cursor:pointer;}
 .home #reviews .rc-card.is-expanded .review-quote {transform:translateY(-3px) scale(1.015);}
}
@media(prefers-reduced-motion:reduce) {
 .home #reviews .review-quote blockquote,.home #reviews .rc-viewport,.home #reviews .review-quote {transition:none!important;}
 .home #reviews .rc-card.is-expanded .review-quote {transform:none;}
}

/* Keep the compact blog heading and its action on one mobile row. */
@media (max-width:860px) {
 .home #blog .ac-section-head {flex-direction:row;align-items:center!important;gap:12px;}
 .home #blog .ac-section-head > .ac-view-all {align-self:center;padding:11px 16px;font-size:14px;gap:12px;}
 .home #blog .ac-section-head h2 {font-size:clamp(28px,7.5vw,36px);}
}

/* Shared motion rhythm. The track itself remains driven directly by RAF. */
.home {--motion-ease:cubic-bezier(.2,.7,.2,1);}
.home :is(.ac-view-all,.ac-pill,.hs-btn,.hs-round,.sc-arrow,.ac-gallery-close,.btn,.button) {
 transition:background-color .28s var(--motion-ease),color .28s var(--motion-ease),border-color .28s var(--motion-ease),box-shadow .28s var(--motion-ease),transform .28s var(--motion-ease);
}
.home .sc-card > a {transition:transform .5s var(--motion-ease);}
.home .hs-media {transition-timing-function:cubic-bezier(.4,0,.2,1);}
.home .hs-slide,.home .hs-slide.is-active {transition-timing-function:var(--motion-ease);}
.home .ac-arrow svg {transition:transform .3s var(--motion-ease);}
.home .ac-lightbox {opacity:0;transition:opacity .3s var(--motion-ease),transform .3s var(--motion-ease);}
.home .ac-lightbox.is-visible {opacity:1;transform:none;}
.home .ac-lightbox::backdrop {background:rgba(10,28,23,0);backdrop-filter:blur(0);transition:background-color .3s var(--motion-ease),backdrop-filter .3s var(--motion-ease);}
.home .ac-lightbox.is-visible::backdrop {background:rgba(10,28,23,.72);backdrop-filter:blur(8px);}
.home .ac-lightbox-photo > img ,
.home .ac-lightbox-photo > :where(picture[data-public-photo-delivery="v1"]) > img{opacity:1;transition:opacity .2s var(--motion-ease);}
.home .ac-lightbox-photo > img.is-changing ,
.home .ac-lightbox-photo > :where(picture[data-public-photo-delivery="v1"]) > img.is-changing{opacity:0;}

@media(prefers-reduced-motion:reduce) {
 html {scroll-behavior:auto!important;}
 .home *, .home *::before,.home *::after {animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:0s!important;transition-delay:0s!important;scroll-behavior:auto!important;}
}

/* Legacy edge elements stay inert; optical fading belongs to the viewport. */
.home .ac-carousel-stage .ac-edge {width:var(--bleed);backdrop-filter:none;-webkit-backdrop-filter:none;}
.home .ac-edge > span {position:absolute;inset:0;pointer-events:none;}
.home .ac-edge--left {--edge-direction:to right;}
.home .ac-edge--right {--edge-direction:to left;}
/* The cards only fade to transparent (the viewport mask above), on a smooth S-curve that starts 32px inside the grid
   and ends 14px past it, so the carousel keeps to the side lines of the other blocks: no blur, no step. */
.home .ac-carousel-stage .ac-edge {display:none !important;}
/* Full-screen clinic lightbox, with no image or window backing plates. */
.home .ac-lightbox {position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#fff;overflow:hidden;box-shadow:none;transform:none;}
.home .ac-lightbox::backdrop,.home .ac-lightbox.is-visible::backdrop {background:rgba(10,18,15,.88);backdrop-filter:blur(14px);}
.home .ac-lightbox-head {position:absolute;top:max(28px,env(safe-area-inset-top));left:32px;right:32px;z-index:2;align-items:flex-start;margin:0;}
.home .ac-lightbox h2 {font:400 18px/1.4 'Golos Text',sans-serif!important;color:#fff;margin:0;}
.home .ac-gallery-caption {font:400 14px/1.4 'Golos Text',sans-serif;color:rgba(255,255,255,.7);margin:6px 0 0;}
.home .ac-lightbox-photo {position:absolute;inset:100px 0 120px;display:flex;align-items:center;justify-content:center;pointer-events:none;}
.home .ac-lightbox-photo > img ,
.home .ac-lightbox-photo > :where(picture[data-public-photo-delivery="v1"]) > img{width:auto;height:auto;max-width:calc(100vw - 200px);max-height:calc(100dvh - 220px);object-fit:contain;border-radius:12px;background:none;pointer-events:auto;touch-action:pan-y;}
.home .ac-lightbox :is(.ac-gallery-close,.sc-arrow) {width:52px;height:52px;padding:0;border:0!important;border-radius:999px;background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:none!important;outline:none;display:grid;place-items:center;cursor:pointer;pointer-events:auto;}
.home .ac-lightbox .ac-gallery-close {width:44px;height:44px;font-size:30px;flex:none;}
.home .ac-lightbox :is(.ac-gallery-close,.sc-arrow):hover {background:rgba(255,255,255,.16)!important;}
.home .ac-lightbox-photo .sc-arrow {top:calc(50% - 26px);}
.home .ac-lightbox-photo [data-gallery-prev] {left:24px;}
.home .ac-lightbox-photo [data-gallery-next] {right:24px;}
.home .ac-lightbox button:focus-visible {outline:2px solid #fff!important;outline-offset:4px;}
.home .ac-gallery-thumbs {position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:24px;right:24px;gap:10px;padding:6px 0;scrollbar-width:none;}
.home .ac-gallery-thumbs::-webkit-scrollbar {display:none;}
.home .ac-gallery-thumbs button {padding:0;border:2px solid transparent;border-radius:8px!important;opacity:.45;background:none;transition:opacity .2s,border-color .2s;}
.home .ac-gallery-thumbs button[aria-pressed=true] {opacity:1;border-color:rgba(255,255,255,.9);}
.home .ac-gallery-thumbs img {width:72px;height:52px;border-radius:6px;}
@media(max-width:760px) {
 .home .ac-lightbox-head {left:16px;right:16px;top:max(16px,env(safe-area-inset-top));gap:12px;}
 .home .ac-lightbox-head > div {min-width:0;}
 .home .ac-lightbox-photo {inset:105px 0 calc(80px + env(safe-area-inset-bottom));}
 .home .ac-lightbox-photo > img ,
.home .ac-lightbox-photo > :where(picture[data-public-photo-delivery="v1"]) > img{max-width:100vw;max-height:calc(100dvh - 185px - env(safe-area-inset-bottom));border-radius:0;}
 .home .ac-lightbox-photo .sc-arrow {display:none;}
 .home .ac-gallery-thumbs {left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));gap:8px;}
 .home .ac-gallery-thumbs img {width:56px;height:40px;}
}
@media(prefers-reduced-motion:reduce) {.home .ac-lightbox,.home .ac-lightbox::backdrop,.home .ac-lightbox * {transition:none!important;scroll-behavior:auto!important;}}
.home .ac-gallery-thumbs {padding-inline:calc(50% - 62px);box-sizing:border-box;}
@media(max-width:760px) {.home .ac-gallery-thumbs {padding-inline:calc(50% - 42px);}}

/* Photographs open their existing destination; clinic images open the lightbox. */
.home .ac-gallery-photo-open {display:block;width:100%;height:100%;border:0;padding:0;border-radius:24px!important;background:none;cursor:zoom-in;overflow:hidden;}
.home :is(.ac-gallery-photo-open img,.ac-article > img) ,
.home :is(.ac-gallery-photo-open img,.ac-article > :where(picture[data-public-photo-delivery="v1"]) > img){transition:transform .55s cubic-bezier(.2,.7,.2,1);}
@media(hover:hover) and (pointer:fine) {
 .home .ac-gallery-photo-open:hover img,.home .ac-article:hover > img ,
.home .ac-gallery-photo-open:hover img,.home .ac-article:hover > :where(picture[data-public-photo-delivery="v1"]) > img{transform:scale(1.045);}
}
.home .ac-gallery-photo-open:focus-visible {outline:2px solid #1E4D41;outline-offset:4px;}
@media(prefers-reduced-motion:reduce) {.home :is(.ac-gallery-photo-open img,.ac-article > img) ,
.home :is(.ac-gallery-photo-open img,.ac-article > :where(picture[data-public-photo-delivery="v1"]) > img){transition:none!important;transform:none!important;}}

/* ---- Review fixes, 7 Oct (Claude) ---- */
/* One text palette: headings and body #1E4D41, accents terracotta, secondary text #626B65 */
.home main :is(h2.section-title, h2.ac-heading), .home .final-cta__intro h2 {color:#1E4D41!important;}
.home main :is(h2.section-title, h2.ac-heading) em, .home .final-cta__intro h2 em {color:#C75B3F!important;}
.home .hp {--hp-forest:#1E4D41;}
.home .sc-role {color:#626B65!important;}
/* One heading size for every section; the closing «Не обязательно знать…» stays larger */
.home main :is(h2.section-title, h2.ac-heading) {font-size:clamp(30px,3vw,44px)!important;font-weight:300!important;}
/* One button weight */
.home [data-text-button], .home .site-header .button, .home .final-cta button[type="submit"] {font-weight:600!important;}
/* The form card does not repeat the block title */
.home .final-cta__form > h2 {display:none!important;}
/* Scrolled menu bar: a dense milky glass, so cards and photos underneath do not smudge through */
.home .site-header.is-scrolled > .shell.nav {background:rgba(246,243,236,.71)!important;}
@media(max-width:760px) {
 .home main :is(h2.section-title, h2.ac-heading), .home #faq h2.section-title {font-size:30px!important;}
 /* «Все …» buttons always under the title on the left */
 .home .ac-section-head {flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:20px!important;}
 .home .ac-section-head .ac-view-all {align-self:flex-start!important;margin-left:0!important;}
 /* Phones swipe the rows; arrows would only cover the text */
 .home .ac-carousel-stage .sc-arrows {display:none!important;}
}
/* Reviews react to the pointer (lift, tilt toward it) but open only by «Показать полностью» */
.home #reviews .rc-card.is-hovered:not(.is-expanded) blockquote {height:var(--rc-closed-h,102px)!important;}
/* Lead article: the photo is always darkened under the text, whatever image the article brings */
.ac-article--lead::after {background:linear-gradient(180deg,rgba(12,31,24,.22) 0%,rgba(12,31,24,.42) 34%,rgba(12,31,24,.78) 58%,rgba(12,31,24,.94) 100%)!important;}
.home .ac-article--lead :is(h3,p,time,span) {text-shadow:0 1px 14px rgba(8,20,16,.35);}
/* Narrow blur edges (32 px below 1360): smaller arrows pressed to the window edge stay clear of the text */
@media(min-width:761px) and (max-width:1359px) {
 .home .ac-carousel-stage .sc-arrow {width:28px;}
 .home .ac-carousel-stage .sc-arrow svg {width:22px;height:22px;}
}

/* Section title and its «Все …» button stand on one text line: the button's label sits on the title's baseline */
@media(min-width:761px) {.home .ac-section-head {align-items:baseline!important;}}
/* Server motion preference mirrors the existing reduced-motion route; no layout
   or form/focus controller is disabled. Defaults keep the approved design. */
html[data-site-motion="off"] :is(.hp-face,.hp-bg,.hp-more,.hp-body,.rv,.ac-lightbox,.ac-lightbox-photo img,.ac-gallery-thumbs,.nav-links) {
 transition:none!important;animation:none!important;scroll-behavior:auto!important;
}
html[data-site-motion="off"] .rv {opacity:1!important;transform:none!important;filter:none!important;}
/* Canonical donor button polish/reveal, externalized from its inline style. */
[data-text-button]::after {content:none!important;}
:root, html body {--cta-radius:999px!important;}
:is(.button,a.button,button[type="submit"],[data-text-button],.account-trigger):is(:hover,:focus-visible,:active) {transform:none!important;}
.account-trigger,.account-trigger:hover {border-radius:999px!important;}
form :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus-visible {outline:none!important;border-color:#1E4D41!important;box-shadow:0 0 0 3px rgba(30,77,65,.12)!important;}
form :is(input,textarea).is-invalid {border-color:#B5523A!important;}
form :is(input,textarea).is-invalid:focus-visible {box-shadow:0 0 0 3px rgba(181,82,58,.14)!important;}
form .field-note {display:block;margin-top:6px;font:500 13px/1.35 'Golos Text',Arial,sans-serif;color:#B5523A;}
@keyframes rv-rise {from {opacity:0;translate:0 28px;}}
html.reveal-on .rv:not(.rv-in) {opacity:0;}
html.reveal-on .rv.rv-in:not(.rv-instant) {animation:rv-rise .8s cubic-bezier(.2,.7,.2,1) var(--rv-delay,0ms) both;}
@media(max-width:760px) {.footer-note__legal > span[aria-hidden="true"] {display:none!important;}}
@media(prefers-reduced-motion:reduce) {.rv {animation:none!important;opacity:1!important;translate:none!important;}}
