.home-page{background:#fff}.reference-kicker{margin:0 0 20px;color:var(--gold);font-size:.84rem;font-weight:900;letter-spacing:.24em;text-transform:uppercase}.reference-title{max-width:980px;margin-bottom:48px}.reference-title--center{margin-inline:auto;text-align:center}.reference-title--center .lead{margin-inline:auto}.reference-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#f9f6f0 0%,#eee4d3 56%,#d8c29d 100%)}.reference-hero::before{content:"";position:absolute;right:-140px;top:40px;width:650px;height:650px;border:1px solid rgba(155,119,52,.28);border-radius:50%;box-shadow:inset 0 0 0 70px rgba(255,255,255,.15),inset 0 0 0 142px rgba(255,255,255,.08)}.reference-hero__grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(455px,.72fr);align-items:center;gap:30px;min-height:760px;padding:72px 0}.reference-hero h1{max-width:100%;margin-bottom:28px;font-size:clamp(3.35rem,4.55vw,5.15rem);line-height:1.04;letter-spacing:-.045em}.reference-hero__copy{min-width:0;position:relative;z-index:3}.reference-hero h1 span{display:block;white-space:nowrap}.reference-hero__visual{min-width:0}.reference-hero__text{max-width:680px;color:var(--muted);font-size:clamp(1.05rem,1.5vw,1.32rem)}.reference-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}.reference-hero__visual{position:relative;min-height:620px}.reference-hero__ring{position:absolute;inset:42px 28px 18px;border:1px solid rgba(155,119,52,.28);border-radius:49% 51% 46% 54%;transform:rotate(-8deg)}.reference-hero__doctor{position:absolute;display:block;object-fit:cover;object-position:center top;border:1px solid rgba(255,255,255,.82);border-radius:34px;background:#fff;box-shadow:var(--shadow)}.reference-hero__doctor--one{z-index:3;top:34px;right:94px;width:340px;height:520px}.reference-hero__doctor--two{z-index:2;bottom:18px;left:0;width:230px;height:320px}.reference-hero__doctor--three{z-index:4;right:0;bottom:0;width:220px;height:290px}
.reference-about,.reference-services,.reference-principles,.reference-doctors,.reference-reviews,.reference-contact{padding:110px 0}.reference-about{background:#fff}.reference-story{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:76px;margin-top:50px}.reference-story--reverse{grid-template-columns:.95fr 1.05fr}.reference-story--reverse .reference-story__image{order:2}.reference-story__image{margin:0;overflow:hidden;border-radius:34px;box-shadow:var(--shadow)}.reference-story__image img{width:100%;height:520px;object-fit:cover}.reference-story__text{font-size:1.12rem}.reference-story__text p{margin-bottom:22px}.reference-services{background:var(--cream)}.reference-services__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:var(--line)}.reference-service{display:flex;min-height:150px;flex-direction:column;justify-content:space-between;padding:28px;background:#fff;transition:.25s ease}.reference-service:hover{z-index:2;transform:translateY(-4px);background:#fbf8f2;box-shadow:0 18px 38px rgba(67,49,25,.1)}.reference-service span{color:var(--gold);font-size:.78rem;font-weight:900;letter-spacing:.12em}.reference-service strong{font-family:Georgia,"Times New Roman",serif;font-size:1.42rem}.reference-services__action,.reference-doctors__action{display:flex;justify-content:center;margin-top:42px}
.reference-feature{padding:100px 0}.reference-feature--light{background:#fff}.reference-feature--dark{color:#fff;background:#262019}.reference-feature--dark .eyebrow{color:#d4b777}.reference-feature--dark p{color:rgba(255,255,255,.76)}.reference-feature__grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px}.reference-feature__grid--reverse .reference-feature__photo{order:2}.reference-feature__photo{min-height:620px;overflow:hidden;border-radius:38px;background:linear-gradient(140deg,#eee5d8,#cbb38b);box-shadow:var(--shadow)}.reference-feature__photo img{width:100%;height:620px;object-fit:cover;object-position:center top}.reference-feature__photo--contain img{object-fit:contain}.reference-feature__copy h2{font-size:clamp(2.5rem,4.5vw,4.6rem)}.reference-feature__meta{color:var(--gold)!important;font-weight:800}.reference-checks{display:grid;gap:10px;margin:24px 0 30px;padding:0;list-style:none}.reference-checks li::before{content:"✓";margin-right:12px;color:#d4b777;font-weight:900}
.reference-numbers{padding:28px 0;background:#201b16;color:#fff}.reference-numbers__grid{display:grid;grid-template-columns:repeat(4,1fr)}.reference-numbers article{padding:46px 32px;border-right:1px solid rgba(255,255,255,.12)}.reference-numbers article:last-child{border-right:0}.reference-numbers strong{display:block;color:#d4b777;font-family:Georgia,serif;font-size:3rem;font-weight:400}.reference-numbers h3{margin:10px 0}.reference-numbers p{color:rgba(255,255,255,.62);font-size:.92rem}.reference-principles{background:#fff}.reference-principles__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.reference-principles__grid article{padding:32px;border-top:3px solid var(--gold);background:var(--cream)}.reference-principles__grid span{color:var(--gold);font-weight:900}.reference-principles__grid h3{margin-top:30px;font-family:Georgia,serif;font-size:1.55rem}.reference-doctors{background:var(--cream)}.reference-doctors__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.reference-doctor-card{overflow:hidden;border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:0 14px 38px rgba(49,39,29,.06)}.reference-doctor-card img{width:100%;height:370px;object-fit:cover;object-position:center top;background:#e9dfcf}.reference-doctor-card div{padding:28px}.reference-doctor-card p{color:var(--gold);font-weight:750}.reference-doctor-card small{display:block;min-height:42px;color:var(--muted)}.reference-doctor-card a{display:inline-block;margin-top:20px;color:var(--gold);font-weight:850}.reference-reviews{background:#fff}.reference-reviews__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.reference-reviews__grid article{padding:32px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 10px 32px rgba(49,39,29,.05)}.reference-reviews time{color:var(--gold);font-size:.82rem;font-weight:850}.reference-contact{color:#fff;background:linear-gradient(120deg,#5d451d,#9b7734)}.reference-contact .eyebrow{color:#ead5a7}.reference-contact__grid{display:grid;grid-template-columns:1fr auto;align-items:center;gap:60px}.reference-contact__actions{display:grid;justify-items:start;gap:12px}.reference-contact__actions>a:not(.btn){font-size:1.3rem;font-weight:850}
@media(max-width:1450px){.reference-hero__grid{grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr);gap:24px}.reference-hero h1{font-size:clamp(3.2rem,4.35vw,4.65rem)}.reference-hero__doctor--one{right:48px;width:286px;height:450px}.reference-hero__doctor--two{width:185px;height:258px}.reference-hero__doctor--three{width:172px;height:235px}.reference-services__grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1100px){.reference-hero__grid{grid-template-columns:1fr;min-height:auto;padding:70px 0 50px}.reference-hero__visual{min-height:580px}.reference-story,.reference-story--reverse,.reference-feature__grid{grid-template-columns:1fr}.reference-story--reverse .reference-story__image,.reference-feature__grid--reverse .reference-feature__photo{order:0}.reference-services__grid{grid-template-columns:repeat(2,1fr)}.reference-principles__grid,.reference-numbers__grid{grid-template-columns:repeat(2,1fr)}.reference-doctors__grid,.reference-reviews__grid{grid-template-columns:repeat(2,1fr)}.reference-contact__grid{grid-template-columns:1fr}}
@media(max-width:680px){.reference-about,.reference-services,.reference-principles,.reference-doctors,.reference-reviews,.reference-contact{padding:72px 0}.reference-hero__grid{padding:50px 0 38px}.reference-hero h1{font-size:clamp(3rem,15vw,4.4rem)}.reference-hero__visual{min-height:430px}.reference-hero__ring{inset:46px 0 10px}.reference-hero__doctor--one{top:44px;right:18px;width:220px;height:335px}.reference-hero__doctor--two{bottom:5px;width:138px;height:190px}.reference-hero__doctor--three{right:0;width:130px;height:178px}.reference-story{gap:28px;margin-top:34px}.reference-story__image img,.reference-feature__photo,.reference-feature__photo img{height:390px;min-height:390px}.reference-services__grid,.reference-principles__grid,.reference-numbers__grid,.reference-doctors__grid,.reference-reviews__grid{grid-template-columns:1fr}.reference-service{min-height:120px}.reference-numbers article{border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}.reference-contact__actions>a:not(.btn){font-size:1.05rem}}

/* Restored treatment directions section */
.home-treatment{background:var(--cream)}
.home-treatment .section-head{margin-bottom:42px}
.home-treatment .service-card{background:#fff}
@media(max-width:1220px) and (min-width:1101px){
  .reference-hero__grid{grid-template-columns:minmax(0,1fr) 390px;gap:20px}
  .reference-hero h1{font-size:clamp(3rem,4.15vw,4rem)}
  .reference-hero__doctor--one{right:38px;width:260px;height:410px}
  .reference-hero__doctor--two{width:165px;height:230px}
  .reference-hero__doctor--three{width:155px;height:214px}
}
@media(max-width:1100px){.reference-hero h1 span{white-space:normal}}

/* Link to the disease directory */
.treatment-diseases-action{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  margin-top:46px;
  text-align:center;
}
.treatment-diseases-action p{margin:0;color:var(--muted);font-size:1.02rem}
.treatment-diseases-button{
  min-width:360px;
  border-radius:4px;
  text-transform:uppercase;
  letter-spacing:.035em;
}
@media(max-width:680px){.treatment-diseases-button{min-width:0;width:100%}}

/* Reviews + 2GIS */
.reviews-shell{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.65fr);
  gap:28px;
  align-items:stretch;
}
.reviews-platform{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:100%;
  padding:34px;
  border-radius:30px;
  color:#fff;
  background:linear-gradient(145deg,#1fa64a 0%,#13873a 56%,#0d6f30 100%);
  box-shadow:0 18px 46px rgba(15,112,48,.2);
}
.reviews-platform__mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  min-height:42px;
  padding:0 14px;
  border-radius:13px;
  background:#fff;
  color:#13873a;
  font-size:1.03rem;
  font-weight:900;
  letter-spacing:.02em;
}
.reviews-platform__eyebrow{
  margin:30px 0 8px;
  color:rgba(255,255,255,.72);
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.reviews-platform h3{margin-bottom:14px;font-family:Georgia,"Times New Roman",serif;font-size:2rem;line-height:1.08}
.reviews-platform p{color:rgba(255,255,255,.82)}
.reviews-platform__button{
  margin-top:auto;
  border:1px solid rgba(255,255,255,.45);
  background:#fff;
  color:#116f31;
  box-shadow:none;
}
.reviews-platform__button:hover{background:#f4fff7;color:#0c5d28}
.reviews-slider{min-width:0;display:flex;flex-direction:column}
.reviews-slider__viewport{overflow:hidden;border-radius:30px}
.reviews-slider__track{display:flex;transition:transform .55s cubic-bezier(.22,1,.36,1);will-change:transform}
.review-card{
  flex:0 0 100%;
  min-height:360px;
  padding:38px;
  border:1px solid var(--line);
  border-radius:30px;
  background:linear-gradient(180deg,#fff 0%,#fcfaf6 100%);
  box-shadow:0 14px 38px rgba(49,39,29,.06);
}
.review-card__top{display:flex;align-items:center;gap:16px}
.review-card__avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--cream);color:var(--gold);font-family:Georgia,serif;font-size:1.4rem;font-weight:800}
.review-card h3{margin:0 0 2px;font-size:1.15rem}
.review-card time{color:var(--muted);font-size:.82rem}
.review-card__stars{margin:28px 0 22px;color:var(--gold);font-size:1.12rem;letter-spacing:.15em}
.review-card>p{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.28rem,2vw,1.72rem);line-height:1.48}
.reviews-slider__controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:22px}
.reviews-slider__arrow{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--gold);font-size:1.25rem;cursor:pointer;transition:.2s ease}
.reviews-slider__arrow:hover{transform:translateY(-2px);border-color:var(--gold);box-shadow:0 8px 18px rgba(49,39,29,.08)}
.reviews-slider__dots{display:flex;gap:8px}
.reviews-slider__dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:rgba(140,108,47,.25)}
.reviews-slider__dot.is-active{width:24px;border-radius:999px;background:var(--gold)}
@media(max-width:1100px){.reviews-shell{grid-template-columns:1fr}.reviews-platform{min-height:300px}.review-card{min-height:330px}}
@media(max-width:680px){
  .reviews-platform,.review-card{padding:26px;border-radius:24px}
  .reviews-platform h3{font-size:1.7rem}
  .review-card{min-height:350px}
  .reviews-slider__viewport{overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .reviews-slider__track{transform:none!important}
  .review-card{flex-basis:88%;margin-right:14px;scroll-snap-align:start}
  .reviews-slider__controls{display:none}
}


/* v6: centered hero without doctor photos */
.reference-hero::before{right:50%;top:50%;width:760px;height:760px;transform:translate(50%,-50%);opacity:.72}
.reference-hero__grid{grid-template-columns:1fr;min-height:720px;padding:92px 0;text-align:center}
.reference-hero__copy{max-width:1240px;margin:0 auto}
.reference-hero h1{max-width:1180px;margin:0 auto 30px;font-size:clamp(4rem,6.2vw,7.2rem);line-height:.98}
.reference-hero h1 span{white-space:normal}
.reference-hero__text{max-width:860px;margin:0 auto;font-size:clamp(1.15rem,1.6vw,1.45rem)}
.reference-hero__actions{justify-content:center;margin-top:38px}
.reference-hero__visual{display:none!important}

/* v6: larger, aligned contact action */
.reference-contact__grid{grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);align-items:center}
.reference-contact__actions{align-self:center;justify-items:stretch;min-width:360px}
.reference-contact__actions>a:not(.btn){font-size:1.35rem}
.reference-contact__actions .btn{width:100%;min-height:62px;padding:16px 34px;font-size:1.05rem}

@media(max-width:1100px){
  .reference-hero__grid{min-height:auto;padding:82px 0}
  .reference-hero h1{font-size:clamp(3.6rem,9vw,6.2rem)}
  .reference-contact__grid{grid-template-columns:1fr}
  .reference-contact__actions{min-width:0;max-width:420px}
}
@media(max-width:680px){
  .reference-hero__grid{padding:68px 0}
  .reference-hero h1{font-size:clamp(3rem,15vw,4.8rem)}
  .reference-hero__text{font-size:1.08rem}
  .reference-contact__actions{max-width:none}
}

/* Contact CTA polish */
.reference-contact__actions{
  width:min(100%,520px);
  min-width:0;
  gap:0;
  align-self:center;
  justify-self:end;
}
.reference-contact__item{
  width:100%;
  min-height:84px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 2px;
  border-bottom:1px solid rgba(255,255,255,.24);
  color:#fff;
  font-size:1.34rem;
  font-weight:850;
  transition:opacity .2s ease,transform .2s ease;
}
.reference-contact__item:hover{
  opacity:.88;
  transform:translateX(3px);
}
.reference-contact__icon{
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgba(234,213,167,.52);
  border-radius:50%;
  color:#ead5a7;
  font-size:1.15rem;
  line-height:1;
}
.reference-contact__button{
  width:100%;
  min-height:66px;
  margin-top:28px;
  padding:16px 28px;
  border-radius:16px;
  font-size:1.2rem;
  font-weight:800;
  box-shadow:0 14px 34px rgba(50,31,5,.18),inset 0 1px 0 rgba(255,255,255,.22);
}
.reference-contact__button:hover{
  transform:translateY(-2px);
}
@media(max-width:1100px){
  .reference-contact__actions{justify-self:start;max-width:520px;margin-top:10px}
}
@media(max-width:680px){
  .reference-contact__item{min-height:72px;font-size:1.05rem;gap:14px}
  .reference-contact__icon{flex-basis:42px;width:42px;height:42px;font-size:1rem}
  .reference-contact__button{min-height:60px;font-size:1.05rem;margin-top:22px}
}

/* === V17: home mobile fixes === */
@media(max-width:680px){
  .reference-hero__grid{padding:54px 0 46px;min-height:auto}
  .reference-hero h1{font-size:clamp(2.35rem,11.5vw,3.25rem);line-height:1.02}
  .reference-hero h1 span{display:block;white-space:normal;overflow-wrap:anywhere;hyphens:auto}
  .reference-hero__text{font-size:1rem;line-height:1.55}
  .reference-hero__actions{display:grid;grid-template-columns:1fr;width:100%;gap:10px}
  .reference-story__image img{height:300px;min-height:0}
  .reference-feature__photo,.reference-feature__photo img{height:340px;min-height:340px}
  .reference-feature__copy h2{font-size:2.2rem}
  .reference-title{margin-bottom:32px}
  .reference-about,.reference-services,.reference-principles,.reference-doctors,.reference-reviews,.reference-contact{padding:64px 0}
  .reference-doctor-card img{height:320px}
  .reviews-shell{gap:18px}
  .reviews-platform{min-height:0}
  .review-card{flex-basis:92%;min-height:310px;padding:24px}
  .review-card>p{font-size:1.18rem}
  .reference-contact__grid{gap:28px}
  .reference-contact__item{font-size:1rem;overflow-wrap:anywhere}
}
@media(max-width:390px){
  .reference-hero h1{font-size:2.2rem}
  .reference-story__image img{height:270px}
  .reference-feature__photo,.reference-feature__photo img{height:300px;min-height:300px}
  .reference-doctor-card img{height:285px}
}

/* === V18: home second mobile QA pass === */
@media(max-width:680px){
  .reference-hero h1{font-size:clamp(2.2rem,10.5vw,2.95rem)}
  .reference-title h2{font-size:clamp(1.85rem,8.5vw,2.45rem)}
  .reference-feature__copy h2{font-size:clamp(1.9rem,8.7vw,2.35rem)}
  .reference-numbers strong{font-size:2.25rem}
  .reference-principles__grid h3{font-size:1.35rem}
  .reference-contact h2{font-size:2rem}
}
@media(max-width:390px){
  .reference-hero h1{font-size:2.05rem}
  .reference-title h2,.reference-feature__copy h2{font-size:1.85rem}
}

/* === V23: final responsive typography and hero line-breaking === */
.reference-hero__copy{width:100%;max-width:1180px}
.reference-hero h1{
  width:100%;
  max-width:1120px;
  font-size:clamp(4rem,5.25vw,6.25rem);
  line-height:.96;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.reference-hero h1 span{
  display:block;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
@media(max-width:1500px){
  .reference-hero__grid{min-height:650px;padding:72px 0}
  .reference-hero h1{max-width:1000px;font-size:clamp(3.65rem,5.35vw,5.25rem)}
}
@media(max-width:1260px){
  .reference-hero__grid{min-height:600px;padding:64px 0}
  .reference-hero h1{max-width:900px;font-size:clamp(3.25rem,5.7vw,4.5rem)}
  .reference-hero__text{max-width:760px}
}
@media(max-width:980px){
  .reference-hero__grid{padding:58px 0}
  .reference-hero h1{max-width:760px;font-size:clamp(2.85rem,7.5vw,4rem)}
  .reference-hero h1 span{white-space:normal}
}
@media(max-width:680px){
  .reference-hero h1{
    max-width:100%;
    font-size:clamp(2.15rem,9.4vw,3rem);
    line-height:1.02;
    text-wrap:balance;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .reference-hero h1 span{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}
}
@media(max-width:370px){
  .reference-hero h1{font-size:2rem;letter-spacing:-.04em}
}

/* v29: featured doctor photo without decorative side fields */
.reference-feature--dark .reference-feature__photo--doctor{background:#fff;}
.reference-feature--dark .reference-feature__photo--doctor img{object-fit:cover;object-position:center top;}
