:root{
  --gold:#9b7734;
  --gold-2:#c4a15d;
  --ink:#29231d;
  --muted:#70665c;
  --cream:#f7f3eb;
  --sand:#eadfce;
  --white:#fff;
  --line:rgba(155,119,52,.18);
  --shadow:0 24px 70px rgba(67,49,25,.12);
  --radius:28px;
  --container:1560px;
  --header-height:96px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--white);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55}
body.modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.section{padding:96px 0}
.section--soft{background:var(--cream)}
.section--dark{background:var(--ink);color:#fff}
.eyebrow{margin:0 0 14px;color:var(--gold);font-size:.77rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
h1,h2,h3{margin-top:0;line-height:1.08}
h1{margin-bottom:26px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,5.4vw,6.2rem);letter-spacing:-.045em}
h2{margin-bottom:18px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.2rem,4vw,4.1rem);letter-spacing:-.035em}
h3{margin-bottom:10px;font-size:1.15rem}
p{margin:0 0 16px}.lead{max-width:780px;color:var(--muted);font-size:clamp(1rem,1.45vw,1.22rem)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:13px 24px;border:1px solid transparent;border-radius:999px;cursor:pointer;font-weight:780;transition:.25s ease}
.btn:hover{transform:translateY(-2px)}
.btn--primary{color:#fff;background:linear-gradient(145deg,#c8a35d 0%,#a47e38 45%,#74541d 100%);box-shadow:0 14px 30px rgba(140,108,47,.25)}
.btn--outline{color:var(--gold);border-color:var(--gold);background:rgba(255,255,255,.42)}
.btn--light{color:var(--ink);background:#fff}.btn--small{min-height:42px;padding:10px 18px;font-size:.9rem}
.header{position:fixed;inset:0 0 auto 0;z-index:60;background:rgba(255,255,255,.9);border-bottom:1px solid rgba(155,119,52,.12);box-shadow:0 8px 28px rgba(48,35,20,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.header__inner{min-height:var(--header-height);display:flex;align-items:center;gap:26px}
.header~main{padding-top:var(--header-height)}
.logo{width:300px;flex:0 0 auto}.logo img{width:100%;height:auto}
.nav{margin-left:auto;display:flex;align-items:center;gap:28px;font-size:.96rem;font-weight:700;white-space:nowrap}
.nav a{position:relative;padding:8px 0;color:var(--muted)}
.nav a:hover,.nav a.active{color:var(--ink)}
.nav a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--gold-2),var(--gold));transition:right .25s ease}.nav a:hover::after,.nav a.active::after{right:0}
.header__phone{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;color:var(--gold);font-weight:850;padding:11px 18px;border:1px solid rgba(155,119,52,.24);border-radius:999px;background:#fff;box-shadow:0 7px 20px rgba(140,108,47,.1)}
.header__phone::before{content:"☎";font-size:1.05rem}.menu-toggle{display:none;margin-left:auto;width:46px;height:46px;border:1px solid var(--line);border-radius:14px;background:var(--cream);cursor:pointer}.menu-toggle span,.menu-toggle::before,.menu-toggle::after{content:"";display:block;width:22px;height:2px;margin:5px auto;background:var(--ink)}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fbf8f2 0%,#f0e7d7 55%,#dfcdae 100%)}
.hero::before{content:"";position:absolute;width:720px;height:720px;right:-160px;top:-30px;border:1px solid rgba(155,119,52,.26);border-radius:50%;box-shadow:inset 0 0 0 70px rgba(255,255,255,.18),inset 0 0 0 140px rgba(255,255,255,.1)}
.hero__inner{position:relative;z-index:1;min-height:760px;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(520px,.98fr);align-items:center;gap:72px;padding:76px 0}
.hero__content{max-width:780px}.hero__content h1 span{display:block;color:var(--gold)}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin:34px 0}.hero__facts{display:flex;flex-wrap:wrap;gap:34px;margin-top:40px}.hero__fact{min-width:150px}.hero__fact strong{display:block;color:var(--gold);font-family:Georgia,serif;font-size:1.65rem}.hero__fact span{color:var(--muted);font-size:.9rem}
.hero-visual{position:relative;min-height:610px}.hero-orbit{position:absolute;inset:40px 0 0 50px;border:1px solid rgba(155,119,52,.25);border-radius:48% 52% 51% 49%;transform:rotate(-8deg)}
.hero-doctor{position:absolute;overflow:hidden;border-radius:34px;background:#fff;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.85)}.hero-doctor img{width:100%;height:100%;object-fit:cover;object-position:center top}
.hero-doctor--main{width:340px;height:520px;right:98px;top:28px;z-index:3}.hero-doctor--side-a{width:220px;height:300px;left:0;bottom:12px;z-index:2}.hero-doctor--side-b{width:215px;height:286px;right:0;bottom:0;z-index:4}.hero-badge{position:absolute;left:150px;top:32px;z-index:5;padding:14px 18px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 18px 40px rgba(48,35,20,.12);backdrop-filter:blur(12px);font-size:.86rem;font-weight:800}.hero-badge strong{display:block;color:var(--gold);font-size:1.1rem}
.grid{display:grid;gap:24px}.grid--3{grid-template-columns:repeat(3,1fr)}.grid--4{grid-template-columns:repeat(4,1fr)}.split{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:44px}.section-head__copy{max-width:780px}
.card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 10px 32px rgba(49,39,29,.05)}.service-card{min-height:198px;transition:.2s ease}.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.service-card__icon{width:54px;height:54px;display:grid;place-items:center;margin-bottom:28px;border-radius:18px;color:var(--gold);background:var(--cream);font-size:1.45rem}.service-card p,.review small{color:var(--muted)}
.about-art{position:relative;min-height:520px;overflow:hidden;border-radius:38px;background:linear-gradient(145deg,#2c261f,#84642f);box-shadow:var(--shadow)}.about-art::before,.about-art::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.24);border-radius:50%}.about-art::before{width:430px;height:430px;left:-100px;bottom:-160px}.about-art::after{width:250px;height:250px;right:-40px;top:-40px}.about-art__content{position:absolute;left:42px;right:42px;bottom:42px;color:#fff}.about-art__content strong{display:block;font-family:Georgia,serif;font-size:3.2rem;font-weight:400}
.check-list{list-style:none;padding:0;margin:26px 0}.check-list li{position:relative;padding:9px 0 9px 34px}.check-list li::before{content:"✓";position:absolute;left:0;top:9px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:var(--gold);background:var(--cream);font-size:.8rem;font-weight:900}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;overflow:hidden;border-radius:28px;background:rgba(255,255,255,.15)}.stat{padding:36px 28px;background:rgba(255,255,255,.06)}.stat strong{display:block;color:#d5b676;font-family:Georgia,serif;font-size:2.75rem;font-weight:400}.stat span{color:rgba(255,255,255,.72)}
.principle{padding:28px 0 8px;border-top:1px solid var(--line)}.principle__num{color:var(--gold);font-size:.8rem;font-weight:800;letter-spacing:.12em}
.doctor-card{padding:0;overflow:hidden}.doctor-card__avatar{height:230px;position:relative;display:grid;place-items:center;background:linear-gradient(140deg,#ece3d4,#c9b28b)}.doctor-card__avatar::before{content:"";width:116px;height:116px;border-radius:50%;background:rgba(255,255,255,.62);box-shadow:0 48px 0 34px rgba(255,255,255,.44)}.doctor-card__avatar span{position:absolute;color:var(--gold);font-family:Georgia,serif;font-size:2.5rem;font-weight:700}.doctor-card__body{padding:24px}.doctor-card__spec{min-height:44px;color:var(--gold);font-size:.9rem;font-weight:750}.doctor-card__meta{margin-bottom:18px;color:var(--muted);font-size:.9rem}
.review{display:flex;flex-direction:column;min-height:250px}.review__stars{margin-bottom:22px;color:var(--gold);letter-spacing:.15em}.review blockquote{flex:1;margin:0 0 22px}.review cite{font-style:normal;font-weight:800}
.contact-band{display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px;padding:54px;border-radius:34px;color:#fff;background:linear-gradient(120deg,#6c5021,#9a7838);box-shadow:var(--shadow)}
.footer{padding:60px 0 26px;color:#fff;background:#201b16}.footer__grid{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:54px}.footer p,.footer a{color:rgba(255,255,255,.68)}.footer__links{display:grid;gap:10px}.footer__bottom{display:flex;justify-content:space-between;gap:20px;margin-top:42px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.5);font-size:.84rem}.footer-logo{width:260px;margin-bottom:18px}
.page-hero{padding:88px 0 66px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f8f5ef,#e9ddca)}.page-hero h1{font-size:clamp(2.7rem,5vw,4.6rem)}
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 34px}.filter{padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;cursor:pointer;font-weight:650}.filter.active{color:#fff;border-color:var(--gold);background:var(--gold)}.searchbox{width:100%;max-width:550px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;outline:none}
.price-nav{position:sticky;top:112px;z-index:20;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:36px;padding:14px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.price-nav a{padding:9px 13px;border-radius:999px;font-size:.88rem;font-weight:700}.price-group{scroll-margin-top:170px;margin-bottom:54px}.price-table{overflow:hidden;border:1px solid var(--line);border-radius:20px}.price-row{display:grid;grid-template-columns:150px 1fr 130px;gap:20px;align-items:center;padding:17px 22px;border-top:1px solid var(--line)}.price-row:first-child{border-top:0}.price-row:nth-child(even){background:#fbfaf7}.price-row__doctor{color:var(--muted);font-size:.86rem}.price-row__value{text-align:right;white-space:nowrap;color:var(--gold);font-weight:850}.price-note{margin:22px 0 34px;padding:18px 20px;border-left:4px solid var(--gold);border-radius:0 14px 14px 0;color:var(--muted);background:var(--cream)}
.contacts-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px}.contact-card{padding:32px}.contact-item{padding:18px 0;border-top:1px solid var(--line)}.contact-item:first-of-type{border-top:0}.contact-item strong{display:block;margin-bottom:4px}.contact-item a{color:var(--gold);font-weight:800}.map-card{position:relative;min-height:520px;overflow:hidden;background:linear-gradient(145deg,#eee6da,#cbb58e)}.map-card__caption{position:absolute;left:30px;right:30px;bottom:30px;padding:22px;border-radius:18px;background:rgba(255,255,255,.9)}
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(24,19,14,.68)}.modal.open{display:flex}.modal__dialog{position:relative;width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:32px;border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.25)}.modal__close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:0;border-radius:50%;background:var(--cream);cursor:pointer;font-size:1.4rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:7px}.field--full{grid-column:1/-1}.field label{font-size:.86rem;font-weight:760}.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;outline:none;background:#fff}.field textarea{min-height:100px;resize:vertical}.form-note{margin:14px 0;color:var(--muted);font-size:.78rem}.form-status{display:none;margin-top:14px;padding:12px;border-radius:12px;color:#315b2c;background:#eef7ed}.form-status.show{display:block}.hidden{display:none!important}
@media(max-width:1500px){:root{--container:1360px}.logo{width:260px}.nav{gap:18px;font-size:.9rem}.header__phone{padding:10px 14px;font-size:.9rem}.hero__inner{grid-template-columns:minmax(0,1fr) minmax(470px,.9fr);gap:44px}.hero-doctor--main{right:70px}}
@media(max-width:1220px){:root{--container:1140px}.logo{width:225px}.nav{gap:13px;font-size:.84rem}.header__phone{display:none}.hero__inner{grid-template-columns:1fr 480px}.hero-doctor--main{width:300px;height:470px;right:58px}.hero-doctor--side-a{width:190px;height:260px}.hero-doctor--side-b{width:180px;height:245px}}
@media(max-width:980px){:root{--header-height:84px}.nav,.header__phone,.header .btn{display:none}.menu-toggle{display:block}.nav.open{position:fixed;top:var(--header-height);left:0;right:0;display:flex;flex-direction:column;align-items:flex-start;margin:0;padding:24px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);box-shadow:0 16px 32px rgba(48,35,20,.08)}.hero__inner,.split,.contacts-grid{grid-template-columns:1fr}.hero__inner{gap:20px;padding:60px 0}.hero-visual{min-height:580px}.hero-doctor--main{right:18%;}.grid--4,.grid--3{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.footer__grid{grid-template-columns:1fr 1fr}.contact-band{grid-template-columns:1fr}}
@media(max-width:680px){:root{--header-height:76px}.container{width:min(100% - 28px,var(--container))}.section{padding:68px 0}.logo{width:205px}.hero__inner{min-height:auto;padding:46px 0}.hero__content h1{font-size:clamp(2.7rem,13vw,4.2rem)}.hero__facts{gap:18px}.hero-visual{min-height:440px}.hero-orbit{inset:40px 8px 0}.hero-doctor--main{width:220px;height:340px;right:18px}.hero-doctor--side-a{width:145px;height:190px;left:0}.hero-doctor--side-b{width:135px;height:180px;right:0}.hero-badge{left:18px;top:6px;padding:10px 12px}.grid--4,.grid--3,.stats,.footer__grid,.form-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.about-art{min-height:390px}.contact-band{padding:34px 25px}.footer__bottom{flex-direction:column}.price-row{grid-template-columns:1fr auto;gap:8px 15px}.price-row__doctor{grid-column:1/-1}.field--full{grid-column:auto}.footer-logo{width:220px}}


/* Updated specialist cards */
.doctors-section{background:linear-gradient(180deg,#fff 0%,#fbf8f2 100%)}
.doctors-intro{max-width:980px;margin:0 0 28px;color:var(--muted);font-size:1.06rem}
.doctors-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;align-items:stretch}
.doctor-card--profile{display:flex;flex-direction:column;min-height:100%;padding:0;overflow:hidden;border-color:rgba(140,108,47,.15);background:#fff;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.doctor-card--profile:hover{transform:translateY(-6px);border-color:rgba(140,108,47,.34);box-shadow:0 22px 54px rgba(66,48,23,.13)}
.doctor-card__photo{position:relative;height:360px;overflow:hidden;background:linear-gradient(145deg,#f5efe4,#ddcdb1)}
.doctor-card__photo img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .55s ease}
.doctor-card--profile:hover .doctor-card__photo img{transform:scale(1.025)}
.doctor-card__photo--placeholder{display:grid;place-content:center;text-align:center;color:var(--gold);background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.8),transparent 36%),linear-gradient(145deg,#eee4d4,#cfb98f)}
.doctor-card__photo--placeholder::before{content:"";position:absolute;inset:24px;border:1px solid rgba(140,108,47,.22);border-radius:28px}
.doctor-card__photo--placeholder span{font:700 3.1rem/1 Georgia,serif;position:relative}
.doctor-card__photo--placeholder small{position:relative;margin-top:12px;color:rgba(108,82,35,.72);font-weight:700;letter-spacing:.04em}
.doctor-card--profile .doctor-card__body{display:flex;flex:1;flex-direction:column;padding:25px}
.doctor-card--profile h3{font-family:Georgia,"Times New Roman",serif;font-size:1.38rem;line-height:1.14;margin:0 0 12px}
.doctor-card__stage{align-self:flex-start;margin-bottom:14px;padding:7px 11px;border-radius:999px;background:var(--cream);color:var(--gold);font-size:.78rem;font-weight:850}
.doctor-card--profile .doctor-card__spec{min-height:0;margin-bottom:22px;color:var(--muted);font-size:.94rem;font-weight:650;line-height:1.48}
.doctor-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}
.doctor-card__actions .btn{width:100%;padding-inline:12px}
.doctors-empty{margin-top:28px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--muted);text-align:center}
.doctor-details-dialog h2{font-size:clamp(2rem,5vw,3rem);margin-right:42px}
.doctor-details-spec{font-size:1.08rem;color:var(--muted)}
.doctor-details-stage{display:inline-flex;margin:4px 0 24px;padding:9px 14px;border-radius:999px;background:var(--cream);color:var(--gold);font-weight:850}
@media(max-width:1380px){.doctors-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.doctor-card__photo{height:340px}}
@media(max-width:980px){.doctors-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doctor-card__photo{height:350px}}
@media(max-width:620px){.doctors-grid{grid-template-columns:1fr}.doctor-card__photo{height:390px}.doctor-card__actions{grid-template-columns:1fr}.filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.filter{flex:0 0 auto}}

/* === PRICE PAGE V9 === */
.price-page{background:#fbfaf7}.price-hero{padding:100px 0 78px;background:radial-gradient(circle at 84% 18%,rgba(170,136,73,.22),transparent 23%),linear-gradient(135deg,#fbf9f5,#eee4d4);border-bottom:1px solid var(--line)}.price-hero__grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.price-hero h1{max-width:900px;margin-bottom:20px}.price-hero .lead{max-width:760px;margin-bottom:30px}.price-hero__panel{display:grid;gap:14px;padding:30px;border:1px solid rgba(140,108,47,.18);border-radius:28px;background:rgba(255,255,255,.8);box-shadow:var(--shadow);backdrop-filter:blur(12px)}.price-hero__check{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:center;padding:15px 0;border-top:1px solid var(--line)}.price-hero__check:first-child{border-top:0}.price-hero__check>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--cream);color:var(--gold);font-weight:900}.price-hero__check strong{display:block;margin-bottom:3px}.price-hero__check small{color:var(--muted)}.price-toolbar{position:relative;z-index:10;padding:32px 0 0;background:#fbfaf7}.price-search{position:relative;display:flex;align-items:center;gap:14px;padding:0 18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(48,35,20,.06)}.price-search__icon{font-size:1.5rem;color:var(--gold)}.price-search input{width:100%;height:64px;border:0;outline:0;background:transparent;font-size:1.05rem}.price-search__count{white-space:nowrap;color:var(--muted);font-size:.88rem}.price-chips{position:sticky;top:88px;z-index:20;display:flex;gap:10px;overflow-x:auto;padding:18px 0 12px;background:rgba(251,250,247,.94);backdrop-filter:blur(10px)}.price-chip{flex:0 0 auto;padding:11px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--gold);font-weight:760;transition:.2s ease}.price-chip:hover{transform:translateY(-2px);background:var(--cream)}.price-alert{margin-top:14px;padding:18px 20px;border-left:4px solid var(--gold);border-radius:0 16px 16px 0;background:var(--cream);color:var(--muted)}.price-content{padding-top:54px}.price-section{scroll-margin-top:170px;margin-bottom:76px}.price-section__head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.price-section__head h2{margin-bottom:0}.price-section__count{padding:9px 13px;border-radius:999px;background:var(--cream);color:var(--gold);font-weight:800;font-size:.82rem}.price-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.price-card{display:flex;flex-direction:column;min-height:230px;padding:24px;border:1px solid rgba(140,108,47,.16);border-radius:22px;background:#fff;box-shadow:0 8px 26px rgba(48,35,20,.05);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.price-card:hover{transform:translateY(-5px);border-color:rgba(140,108,47,.34);box-shadow:0 20px 48px rgba(48,35,20,.10)}.price-card__top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.price-card__doctor{color:var(--gold);font-size:.82rem;font-weight:850;letter-spacing:.03em;text-transform:uppercase}.price-card__price{white-space:nowrap;color:var(--gold);font:400 1.65rem/1 Georgia,serif}.price-card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.35rem;line-height:1.24;margin-bottom:24px}.price-card__bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:auto}.price-card__category{color:var(--muted);font-size:.82rem}.price-card.hidden,.price-section.hidden{display:none}.price-empty{padding:40px;border:1px dashed var(--line);border-radius:20px;background:#fff;text-align:center;color:var(--muted);margin-bottom:50px}.price-cta{margin-top:20px}.price-to-top{position:fixed;right:24px;bottom:24px;z-index:35;width:48px;height:48px;border:0;border-radius:50%;background:var(--gold);color:#fff;box-shadow:0 12px 28px rgba(140,108,47,.3);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s ease}.price-to-top.visible{opacity:1;pointer-events:auto;transform:none}@media(max-width:1100px){.price-hero__grid{grid-template-columns:1fr}.price-hero__panel{max-width:720px}.price-cards{grid-template-columns:1fr}}@media(max-width:680px){.price-hero{padding:70px 0 54px}.price-hero__panel{padding:22px}.price-search input{height:56px;font-size:.96rem}.price-search__count{display:none}.price-section__head{align-items:flex-start;flex-direction:column}.price-card{min-height:0;padding:20px}.price-card__top,.price-card__bottom{align-items:flex-start}.price-card__bottom{flex-direction:column}.price-card__bottom .btn{width:100%}.price-to-top{right:14px;bottom:14px}}

/* === V11 EXACT PRICE CONTENT === */
.price-card--exact{display:flex;flex-direction:column;gap:14px;min-height:250px}
.price-card__meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.price-card__code,.price-card__doctor,.price-card__badge{display:inline-flex;padding:7px 11px;border-radius:999px;font-size:.76rem;font-weight:800;line-height:1.2}
.price-card__code{background:#f2ecdf;color:#6c5021;border:1px solid rgba(140,108,47,.2)}
.price-card__doctor{background:#fff;color:var(--ink);border:1px solid var(--line)}
.price-card__badge{background:var(--gold);color:#fff}
.price-card--exact h3{font-size:1.06rem;line-height:1.4;flex:1}
.price-card__prices{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.price-card__old{text-decoration:line-through;color:#9b8f82;font-weight:700}
.price-card__note{color:var(--muted);font-size:.84rem;margin:0}
.price-recommendation{margin:0 0 24px;padding:28px;border:1px solid rgba(140,108,47,.25);border-radius:24px;background:linear-gradient(135deg,#fff,#faf6ee)}
.price-recommendation h3{color:var(--gold);font-size:1rem;letter-spacing:.08em}
.price-recommendation strong{display:block;margin:18px 0 8px}
.price-recommendation ul{columns:2;column-gap:40px;margin:0 0 14px;padding-left:20px}
.price-section__notice{margin-top:20px;padding:16px 18px;border-left:4px solid var(--gold);border-radius:0 14px 14px 0;background:var(--cream);color:var(--muted);font-size:.88rem}
@media(max-width:680px){.price-recommendation ul{columns:1}.price-card--exact{min-height:auto}}


/* === V12: About and contacts pages === */
.about-hero,.contacts-hero{padding:110px 0 86px;background:linear-gradient(135deg,#fbf8f2 0%,#efe5d5 58%,#ddc9a7 100%);border-bottom:1px solid var(--line)}
.about-hero__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:center;gap:72px}
.about-hero__panel{padding:38px;border:1px solid rgba(255,255,255,.76);border-radius:34px;background:rgba(255,255,255,.72);box-shadow:var(--shadow);backdrop-filter:blur(14px)}
.about-hero__panel span{display:block;margin-bottom:18px;color:var(--gold);font-weight:850;letter-spacing:.1em;text-transform:uppercase;font-size:.78rem}.about-hero__panel strong{display:block;margin-bottom:16px;font-family:Georgia,serif;font-size:2.35rem;line-height:1.1}.about-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.about-page__art{min-height:520px;display:flex;align-items:flex-end;padding:44px;border-radius:38px;color:#fff;background:linear-gradient(145deg,#2d261e,#8d6a32);box-shadow:var(--shadow);position:relative;overflow:hidden}.about-page__art::before{content:"";position:absolute;width:430px;height:430px;left:-130px;bottom:-180px;border:1px solid rgba(255,255,255,.22);border-radius:50%;box-shadow:inset 0 0 0 58px rgba(255,255,255,.04),inset 0 0 0 118px rgba(255,255,255,.04)}.about-page__art>div{position:relative;z-index:1}.about-page__art span{display:block;margin-bottom:12px;color:#e9d3a7;font-weight:800}.about-page__art strong{display:block;margin-bottom:16px;font-family:Georgia,serif;font-size:3.2rem;line-height:1.06}.about-values{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.about-values article,.visit-cards article{padding:30px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(49,39,29,.05)}.about-values span,.visit-cards span{display:inline-flex;margin-bottom:22px;color:var(--gold);font-size:.82rem;font-weight:900;letter-spacing:.14em}.about-values p,.visit-cards p{color:var(--muted)}.about-stats{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid var(--line);border-radius:28px;background:#fff}.about-stats>div{padding:34px 28px;border-left:1px solid var(--line)}.about-stats>div:first-child{border-left:0}.about-stats strong{display:block;margin-bottom:8px;color:var(--gold);font-family:Georgia,serif;font-size:2.25rem;font-weight:400}.about-stats span{color:var(--muted)}
.contacts-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:34px;align-items:stretch}.contacts-panel{padding:38px;border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:var(--shadow)}.contacts-panel__head h2{font-size:3rem}.contacts-row{display:grid;grid-template-columns:120px 1fr;gap:22px;padding:20px 0;border-top:1px solid var(--line)}.contacts-row span{color:var(--muted);font-size:.9rem}.contacts-row strong{font-size:1.06rem}.contacts-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.contacts-map{position:relative;min-height:580px;overflow:hidden;border-radius:30px;background:linear-gradient(145deg,#f0e9dd,#cdb78f);box-shadow:var(--shadow)}.contacts-map__grid{position:absolute;inset:-40px;opacity:.55;background-image:linear-gradient(28deg,transparent 47%,rgba(255,255,255,.9) 48% 51%,transparent 52%),linear-gradient(118deg,transparent 47%,rgba(255,255,255,.9) 48% 51%,transparent 52%);background-size:92px 92px;transform:rotate(3deg)}.contacts-map__pin{position:absolute;left:54%;top:42%;width:82px;height:82px;border-radius:50% 50% 50% 0;background:var(--gold);transform:translate(-50%,-50%) rotate(-45deg);box-shadow:0 22px 48px rgba(70,47,10,.28)}.contacts-map__pin::after{content:"";position:absolute;width:28px;height:28px;left:27px;top:27px;border-radius:50%;background:#fff}.contacts-map__card{position:absolute;left:28px;right:28px;bottom:28px;padding:24px;border:1px solid rgba(255,255,255,.8);border-radius:20px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px)}.contacts-map__card span{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;color:#247d3d;background:#e9f8ec;font-size:.82rem;font-weight:900}.contacts-map__card strong{display:block;font-size:1.35rem}.contacts-map__card p{margin:6px 0 0;color:var(--muted)}.visit-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:1100px){.about-hero__grid,.contacts-layout{grid-template-columns:1fr}.about-values,.about-stats{grid-template-columns:repeat(2,1fr)}.about-stats>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.about-stats>div:nth-child(4){border-top:1px solid var(--line)}.contacts-map{min-height:480px}}
@media(max-width:680px){.about-hero,.contacts-hero{padding:78px 0 60px}.about-hero__panel{padding:26px}.about-page__art{min-height:390px;padding:28px}.about-page__art strong{font-size:2.35rem}.about-values,.about-stats,.visit-cards{grid-template-columns:1fr}.about-stats>div{border-left:0;border-top:1px solid var(--line)}.about-stats>div:first-child{border-top:0}.contacts-panel{padding:26px}.contacts-row{grid-template-columns:1fr;gap:5px}.contacts-actions .btn{width:100%}.contacts-map{min-height:420px}.contacts-map__card{left:18px;right:18px;bottom:18px}}


/* === V13: exact contacts map and requisites === */
.contacts-map--embed{position:relative;min-height:580px;background:#eee6da}
.contacts-map--embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.contacts-map--embed .contacts-map__card{z-index:2}
.contacts-map__link{display:inline-flex;margin-top:12px;color:var(--gold);font-weight:850}
.contacts-details-section{padding-top:24px}
.requisites-card{padding:34px;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow)}
.requisites-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}
.requisites-card dl>div{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:18px 0;border-top:1px solid var(--line)}
.requisites-card dl>div:nth-child(1),.requisites-card dl>div:nth-child(2){border-top:0}
.requisites-card__wide{grid-column:1/-1}
.requisites-card dt{color:var(--muted);font-size:.9rem}
.requisites-card dd{margin:0;font-weight:780;color:var(--ink)}
.requisites-card a{color:var(--gold)}
@media(max-width:900px){.requisites-card dl{grid-template-columns:1fr}.requisites-card dl>div:nth-child(2){border-top:1px solid var(--line)}.requisites-card__wide{grid-column:auto}}
@media(max-width:680px){.contacts-map--embed{min-height:440px}.requisites-card{padding:24px}.requisites-card dl>div{grid-template-columns:1fr;gap:6px}}

/* === V17: mobile responsiveness hardening === */
html,body{max-width:100%;overflow-x:hidden}
body{overflow-wrap:break-word}
img,svg,video,iframe{max-width:100%}
button,a,input,select,textarea{min-width:0}

@media(max-width:980px){
  .header__inner{gap:12px}
  .logo{max-width:calc(100% - 64px)}
  .menu-toggle{flex:0 0 46px}
  .nav.open{
    max-height:calc(100dvh - var(--header-height));
    overflow-y:auto;
    overscroll-behavior:contain;
    padding-bottom:calc(24px + env(safe-area-inset-bottom));
  }
  .nav.open a{width:100%;padding:12px 0;font-size:1rem}
  .modal{padding:12px}
  .modal__dialog{max-height:calc(100dvh - 24px);padding:28px 22px}
}

@media(max-width:680px){
  :root{--header-height:72px}
  .container{width:calc(100% - 24px)}
  .header__inner{min-height:var(--header-height)}
  .logo{width:176px;max-width:calc(100% - 58px)}
  .menu-toggle{width:44px;height:44px;flex-basis:44px}

  h1{font-size:clamp(2.25rem,11vw,3.35rem);line-height:1.02;overflow-wrap:anywhere}
  h2{font-size:clamp(1.9rem,9vw,2.75rem);line-height:1.08;overflow-wrap:anywhere}
  h3{overflow-wrap:anywhere}
  .lead{font-size:1rem}
  .eyebrow{font-size:.7rem;letter-spacing:.12em}

  .btn{width:100%;min-height:50px;padding:12px 18px;text-align:center}
  .hero__actions,.about-hero__actions,.contacts-actions{display:grid;grid-template-columns:1fr;width:100%}
  .section-head{gap:18px;margin-bottom:30px}

  .card{padding:22px;border-radius:22px}
  .footer{padding-top:44px}
  .footer__grid{gap:34px}
  .footer-logo{width:190px}

  .contacts-map,.contacts-map--embed{min-height:360px;border-radius:22px}
  .contacts-panel{padding:22px;border-radius:22px}
  .contacts-panel__head h2{font-size:2.25rem}
  .contacts-row strong,.contacts-row a{overflow-wrap:anywhere}
  .requisites-card{padding:20px;border-radius:22px}
  .requisites-card dl>div{padding:14px 0}

  .price-hero__grid{gap:28px}
  .price-hero__panel{padding:20px;border-radius:22px}
  .price-search{padding:0 12px}
  .price-search input{min-width:0}
  .price-chips{top:var(--header-height);margin-inline:-12px;padding-inline:12px;scrollbar-width:none}
  .price-chips::-webkit-scrollbar{display:none}
  .price-card h3{font-size:1.16rem}
  .price-card__meta{gap:8px}
  .price-card__code,.price-card__doctor,.price-card__badge{max-width:100%;overflow-wrap:anywhere}
  .price-section__count{white-space:normal}

  .doctor-card__photo{height:320px}
  .doctor-card--profile .doctor-card__body{padding:21px}
  .doctor-card--profile h3{font-size:1.25rem}
  .searchbox{max-width:none}
  .filters{margin:20px 0 28px}

  .contact-band{padding:28px 22px;border-radius:24px}
}

@media(max-width:390px){
  .container{width:calc(100% - 20px)}
  .logo{width:164px}
  h1{font-size:2.2rem}
  h2{font-size:1.9rem}
  .doctor-card__photo{height:285px}
  .price-card{padding:18px}
}

/* === V18: second mobile QA pass === */
@media(max-width:680px){
  .page-hero,.about-hero,.contacts-hero,.price-hero,.diseases-hero,.disease-detail-hero{padding-top:58px;padding-bottom:46px}
  .page-hero h1,.about-hero h1,.contacts-hero h1,.diseases-hero h1,.disease-detail-hero h1{font-size:clamp(2.05rem,9.8vw,2.85rem);line-height:1.03}

  .price-hero h1{font-size:clamp(2.1rem,10vw,2.8rem);line-height:1.04;margin-bottom:16px}
  .price-hero .lead{font-size:.98rem;margin-bottom:22px}
  .price-hero__panel{gap:8px}
  .price-hero__check{grid-template-columns:38px 1fr;gap:11px;padding:11px 0}
  .price-hero__check>span{width:36px;height:36px}
  .price-hero__check strong{font-size:.95rem}
  .price-hero__check small{font-size:.82rem;line-height:1.35}

  .price-toolbar{padding-top:22px}
  .price-search{border-radius:14px}
  .price-search input{height:52px;font-size:.91rem}
  .price-search__icon{font-size:1.25rem}
  .price-chip{padding:9px 13px;font-size:.8rem}
  .price-alert{padding:14px 15px;font-size:.86rem;line-height:1.45}
  .price-content{padding-top:38px}
  .price-section{margin-bottom:52px;scroll-margin-top:145px}
  .price-section__head{gap:10px;margin-bottom:18px}
  .price-section__head .eyebrow{margin-bottom:8px;font-size:.64rem;letter-spacing:.1em}
  .price-section__head h2{font-size:clamp(1.5rem,7.4vw,2rem);line-height:1.08;letter-spacing:-.02em;overflow-wrap:anywhere}
  .price-section__count{padding:7px 10px;font-size:.72rem}

  .price-cards{gap:14px}
  .price-card{padding:17px;border-radius:18px}
  .price-card__meta{display:flex;flex-wrap:wrap;align-items:flex-start}
  .price-card__code,.price-card__doctor,.price-card__badge{font-size:.68rem;line-height:1.25}
  .price-card h3{font-size:1.02rem;line-height:1.3;margin-bottom:16px;letter-spacing:0}
  .price-card__note{font-size:.82rem;line-height:1.4}
  .price-card__bottom{gap:12px}
  .price-card__price{font-size:1.35rem}
  .price-card__old{font-size:.86rem}
  .price-card__bottom .btn{min-height:46px;font-size:.88rem}

  .price-recommendation{padding:18px;border-radius:18px}
  .price-recommendation h3{font-size:.86rem;line-height:1.35;letter-spacing:.04em}
  .price-recommendation p,.price-recommendation li{font-size:.84rem;line-height:1.45}
  .price-recommendation ul{padding-left:18px}

  .contacts-panel__head h2{font-size:2rem}
  .requisites-card dd{overflow-wrap:anywhere}
  .visit-cards article{padding:22px}

  .disease-card strong{font-size:1.18rem}
  .disease-detail-layout{gap:34px}
  .disease-article h2{font-size:1.65rem;margin-top:34px}
}

@media(max-width:390px){
  .page-hero h1,.about-hero h1,.contacts-hero h1,.price-hero h1,.diseases-hero h1,.disease-detail-hero h1{font-size:2rem}
  .price-section__head h2{font-size:1.42rem}
  .price-card h3{font-size:.97rem}
  .price-card__price{font-size:1.25rem}
  .price-chip{font-size:.76rem;padding:8px 11px}
  .price-alert{font-size:.82rem}
}

/* === V20: restore original rectangular appointment modal, compact without scroll === */
@media (max-width:680px){
  .modal{
    align-items:center;
    padding:12px;
  }
  .modal__dialog{
    width:min(560px,calc(100% - 8px));
    max-height:calc(100dvh - 24px);
    overflow:hidden;
    padding:22px 20px 18px;
    border-radius:26px;
    display:block;
  }
  .modal__close{
    top:12px;
    right:12px;
    width:38px;
    height:38px;
    font-size:1.2rem;
  }
  .modal__dialog>.eyebrow{
    margin-bottom:6px;
    font-size:.64rem;
  }
  .modal__dialog h2,
  .modal__dialog #modal-title{
    margin:0 46px 6px 0!important;
    font-size:1.55rem!important;
    line-height:1.05!important;
  }
  .modal__dialog h2+p,
  .modal__dialog #modal-title+p{
    margin:0 44px 10px 0;
    font-size:.78rem;
    line-height:1.25;
  }
  .modal__dialog .form-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
  .modal__dialog .field,
  .modal__dialog .field--full{
    grid-column:auto;
    gap:3px;
  }
  .modal__dialog .field label{
    font-size:.68rem;
    line-height:1.15;
  }
  .modal__dialog .field input,
  .modal__dialog .field select,
  .modal__dialog .field textarea{
    min-height:39px;
    padding:7px 10px;
    border-radius:10px;
    font-size:16px;
    line-height:1.2;
  }
  .modal__dialog .field textarea{
    min-height:48px;
    max-height:48px;
    resize:none;
  }
  .modal__dialog .form-note{
    margin:7px 0 6px;
    font-size:.61rem;
    line-height:1.2;
  }
  .modal__dialog form>.btn{
    width:100%;
    min-height:43px;
    padding:9px 14px;
    font-size:.88rem;
  }
  .modal__dialog .form-status{
    margin-top:6px;
    padding:7px 9px;
    font-size:.74rem;
  }
}

@media (max-width:360px), (max-height:640px){
  .modal{padding:7px}
  .modal__dialog{
    width:calc(100% - 2px);
    max-height:calc(100dvh - 14px);
    padding:15px 14px 12px;
    border-radius:22px;
  }
  .modal__close{top:8px;right:8px;width:34px;height:34px}
  .modal__dialog>.eyebrow{display:none}
  .modal__dialog h2,
  .modal__dialog #modal-title{font-size:1.3rem!important;margin-right:40px!important;margin-bottom:5px!important}
  .modal__dialog h2+p,
  .modal__dialog #modal-title+p{margin-right:40px;margin-bottom:7px;font-size:.7rem}
  .modal__dialog .form-grid{gap:5px}
  .modal__dialog .field label{font-size:.62rem}
  .modal__dialog .field input,
  .modal__dialog .field select,
  .modal__dialog .field textarea{min-height:35px;padding:5px 8px}
  .modal__dialog .field textarea{min-height:39px;max-height:39px}
  .modal__dialog .form-note{margin:5px 0 4px;font-size:.56rem}
  .modal__dialog form>.btn{min-height:38px;padding:7px 10px;font-size:.82rem}
}

/* === V21: mobile appointment form as an elongated, organic bottom sheet === */
@media (max-width:680px){
  .modal{
    align-items:flex-end;
    justify-content:center;
    padding:12px 10px max(12px, env(safe-area-inset-bottom));
  }
  .modal__dialog{
    width:min(430px,94vw);
    max-height:calc(100dvh - 24px);
    overflow:hidden;
    padding:22px 20px 18px;
    border-radius:28px 28px 20px 20px;
    box-shadow:0 -16px 56px rgba(24,19,14,.28);
    transform:translateY(0);
  }
  .modal__dialog::before{
    content:"";
    display:block;
    width:42px;
    height:4px;
    margin:-10px auto 12px;
    border-radius:999px;
    background:rgba(112,102,92,.24);
  }
  .modal__close{
    top:13px;
    right:14px;
  }
  .modal__dialog>.eyebrow{margin-bottom:5px}
  .modal__dialog h2,
  .modal__dialog #modal-title{
    margin-right:48px!important;
    font-size:1.5rem!important;
  }
  .modal__dialog h2+p,
  .modal__dialog #modal-title+p{
    max-width:320px;
    margin-right:44px;
    margin-bottom:9px;
  }
  .modal__dialog .form-grid{gap:6px}
  .modal__dialog .field input,
  .modal__dialog .field select,
  .modal__dialog .field textarea{
    min-height:40px;
    border-radius:12px;
  }
  .modal__dialog .field textarea{
    min-height:46px;
    max-height:46px;
  }
  .modal__dialog form>.btn{
    min-height:44px;
    border-radius:14px;
  }
}

@media (max-width:360px), (max-height:640px){
  .modal{padding:7px 6px max(7px, env(safe-area-inset-bottom))}
  .modal__dialog{
    width:min(420px,96vw);
    max-height:calc(100dvh - 14px);
    padding:14px 13px 11px;
    border-radius:24px 24px 16px 16px;
  }
  .modal__dialog::before{
    width:36px;
    margin:-5px auto 8px;
  }
  .modal__dialog h2,
  .modal__dialog #modal-title{font-size:1.28rem!important}
  .modal__dialog .field input,
  .modal__dialog .field select,
  .modal__dialog .field textarea{min-height:34px}
  .modal__dialog .field textarea{min-height:38px;max-height:38px}
  .modal__dialog form>.btn{min-height:38px;border-radius:12px}
}

/* === V22: full-screen appointment form on phones === */
@media (max-width:680px){
  .modal{
    align-items:stretch;
    justify-content:stretch;
    padding:0;
    background:#fff;
  }
  .modal.open{display:flex}
  .modal__dialog{
    width:100vw;
    max-width:none;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    margin:0;
    padding:20px 18px max(16px,env(safe-area-inset-bottom));
    border-radius:0;
    box-shadow:none;
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }
  .modal__dialog::before{display:none}
  .modal__close{
    position:absolute;
    top:max(12px,env(safe-area-inset-top));
    right:14px;
    width:40px;
    height:40px;
    z-index:2;
  }
  .modal__dialog>.eyebrow{
    margin:0 48px 5px 0;
    padding-top:max(2px,env(safe-area-inset-top));
    font-size:.66rem;
  }
  .modal__dialog h2,
  .modal__dialog #modal-title{
    margin:0 50px 5px 0!important;
    font-size:1.55rem!important;
    line-height:1.05!important;
  }
  .modal__dialog h2+p,
  .modal__dialog #modal-title+p{
    margin:0 48px 10px 0;
    max-width:none;
    font-size:.78rem;
    line-height:1.25;
  }
  .modal__dialog form{
    flex:1;
    min-height:0;
    display:flex;
    flex-direction:column;
  }
  .modal__dialog .form-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    flex:0 0 auto;
  }
  .modal__dialog .field,
  .modal__dialog .field--full{grid-column:auto;gap:3px}
  .modal__dialog .field label{font-size:.69rem;line-height:1.1}
  .modal__dialog .field input,
  .modal__dialog .field select,
  .modal__dialog .field textarea{
    min-height:42px;
    padding:8px 10px;
    border-radius:11px;
    font-size:16px;
    line-height:1.2;
  }
  .modal__dialog .field textarea{
    min-height:52px;
    max-height:52px;
    resize:none;
  }
  .modal__dialog .form-note{
    margin:8px 0 7px;
    font-size:.62rem;
    line-height:1.2;
  }
  .modal__dialog form>.btn{
    width:100%;
    min-height:48px;
    margin-top:auto;
    padding:10px 14px;
    border-radius:14px;
    font-size:.9rem;
    flex:0 0 auto;
  }
  .modal__dialog .form-status{
    margin-top:6px;
    padding:7px 9px;
    font-size:.74rem;
    flex:0 0 auto;
  }
}

@media (max-width:360px), (max-height:640px){
  .modal__dialog{
    width:100vw;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    padding:12px 12px max(10px,env(safe-area-inset-bottom));
    border-radius:0;
  }
  .modal__close{top:max(8px,env(safe-area-inset-top));right:9px;width:34px;height:34px}
  .modal__dialog>.eyebrow{display:none}
  .modal__dialog h2,
  .modal__dialog #modal-title{font-size:1.28rem!important;margin:0 40px 4px 0!important;padding-top:max(1px,env(safe-area-inset-top))}
  .modal__dialog h2+p,
  .modal__dialog #modal-title+p{margin:0 40px 6px 0;font-size:.69rem}
  .modal__dialog .form-grid{gap:5px}
  .modal__dialog .field label{font-size:.61rem}
  .modal__dialog .field input,
  .modal__dialog .field select,
  .modal__dialog .field textarea{min-height:35px;padding:5px 8px}
  .modal__dialog .field textarea{min-height:40px;max-height:40px}
  .modal__dialog .form-note{margin:5px 0 4px;font-size:.55rem}
  .modal__dialog form>.btn{min-height:40px;padding:7px 10px;border-radius:11px;font-size:.82rem}
}

/* === V23: final responsive QA across all pages === */
@media(min-width:681px){
  h1,h2,h3{overflow-wrap:normal;word-break:normal;hyphens:none}
}
@media(max-width:1500px) and (min-width:981px){
  .page-hero h1,.price-hero h1,.about-hero h1,.diseases-hero h1,.disease-detail-hero h1{
    font-size:clamp(3rem,4.5vw,4.75rem);
    line-height:1.02;
    text-wrap:balance;
  }
  .price-section__head h2{font-size:clamp(2rem,3.1vw,3.15rem);text-wrap:balance}
}
@media(max-width:1220px) and (min-width:981px){
  .section{padding:82px 0}
  .page-hero,.price-hero{padding:76px 0 58px}
  .price-hero__grid{gap:38px}
  .price-section__head h2{font-size:clamp(1.8rem,3vw,2.65rem)}
  .price-card h3{font-size:1.03rem;line-height:1.3}
}
@media(max-width:980px){
  .page-hero h1,.price-hero h1,.about-hero h1,.diseases-hero h1,.disease-detail-hero h1{
    font-size:clamp(2.5rem,7.5vw,3.8rem);
    line-height:1.02;
    text-wrap:balance;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .price-section__head{align-items:flex-start}
  .price-section__head h2{
    font-size:clamp(1.75rem,5.2vw,2.45rem);
    line-height:1.08;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    text-wrap:balance;
  }
}
@media(max-width:680px){
  body{overflow-wrap:normal}
  h1,h2,h3{word-break:normal;hyphens:none;text-wrap:balance}
  .page-hero h1,.price-hero h1,.about-hero h1,.diseases-hero h1,.disease-detail-hero h1{
    font-size:clamp(2.05rem,9.2vw,2.8rem);
    line-height:1.06;
    overflow-wrap:normal;
  }
  .price-hero{padding:52px 0 40px}
  .price-section{margin-bottom:54px}
  .price-section__head{display:block;margin-bottom:18px}
  .price-section__head h2{
    font-size:clamp(1.38rem,6.2vw,1.8rem);
    line-height:1.12;
    letter-spacing:-.018em;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .price-section__count{display:inline-flex;margin-top:10px;font-size:.72rem}
  .price-card h3{
    font-size:.98rem;
    line-height:1.32;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
  }
  .price-card__code,.price-card__doctor,.price-card__badge{overflow-wrap:break-word;word-break:normal}
  .price-recommendation h3{font-size:1.08rem;line-height:1.25}
  .price-recommendation{padding:20px 18px}
  .price-search input{font-size:.95rem}
  .section-head h2{font-size:clamp(1.85rem,8vw,2.45rem)}
  .contact-band h2,.reference-contact h2{font-size:clamp(1.85rem,8vw,2.35rem)}
}
@media(max-width:380px){
  .price-section__head h2{font-size:1.32rem}
  .price-card h3{font-size:.92rem}
  .price-chip{padding:9px 12px;font-size:.78rem}
  .page-hero h1,.price-hero h1,.about-hero h1,.diseases-hero h1,.disease-detail-hero h1{font-size:1.95rem}
}


/* === PRICE V24: dynamic catalogue from 02.02.2026 === */
.price-hero--v24{padding:clamp(72px,7vw,112px) 0;background:radial-gradient(circle at 82% 25%,rgba(196,161,93,.28),transparent 25%),linear-gradient(135deg,#fbf9f5,#ede1ce)}
.price-hero--v24 h1{max-width:920px;font-size:clamp(3rem,5.2vw,5.8rem);overflow-wrap:normal;word-break:normal;hyphens:none}
.price-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.price-summary{grid-template-columns:repeat(3,1fr);gap:1px;padding:1px;overflow:hidden;background:rgba(155,119,52,.18)}
.price-summary>div{padding:24px 18px;background:rgba(255,255,255,.92)}
.price-summary strong{display:block;color:var(--gold);font-family:Georgia,serif;font-size:2.15rem;font-weight:500}
.price-summary span{display:block;color:var(--muted);font-size:.84rem}
.price-summary p{grid-column:1/-1;margin:0;padding:20px;background:#fff;color:var(--muted);font-size:.86rem}
.price-catalog-v24{padding:92px 0;background:#fbfaf7}
.price-catalog__intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:end;margin-bottom:38px}.price-catalog__intro p{color:var(--muted)}
.price-controls{position:sticky;top:calc(var(--header-height) + 10px);z-index:25;padding:18px;border:1px solid var(--line);border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 16px 45px rgba(49,39,29,.09);backdrop-filter:blur(16px)}
.price-search-v24{position:relative;display:grid;gap:6px}.price-search-v24>span,.price-filter-row label>span{color:var(--muted);font-size:.75rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.price-search-v24 input{width:100%;height:58px;padding:0 48px 0 18px;border:1px solid var(--line);border-radius:16px;outline:0;background:#fff;font-size:1rem}.price-search-v24 input:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(155,119,52,.1)}
#price-clear{position:absolute;right:10px;bottom:8px;width:42px;height:42px;border:0;border-radius:50%;background:var(--cream);color:var(--gold);cursor:pointer;font-size:1.3rem}
.price-scope-tabs{display:flex;gap:8px;overflow-x:auto;margin:14px 0;padding-bottom:3px}.price-scope-tabs button{flex:0 0 auto;padding:10px 15px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--gold);cursor:pointer;font-weight:800}.price-scope-tabs button.active{border-color:var(--gold);background:var(--gold);color:#fff}
.price-filter-row{display:grid;grid-template-columns:1fr 280px;gap:12px}.price-filter-row label{display:grid;gap:6px}.price-filter-row select{width:100%;height:46px;padding:0 40px 0 13px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink)}
.price-results-head{display:flex;justify-content:space-between;align-items:center;margin:30px 0 16px}.price-results-head strong{color:var(--gold);font-family:Georgia,serif;font-size:2rem}.price-results-head button{border:0;background:transparent;color:var(--gold);cursor:pointer;font-weight:800}
.price-list-v24{display:grid;gap:10px}.price-item-v24{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:22px 24px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 7px 22px rgba(49,39,29,.04);transition:.2s ease}.price-item-v24:hover{transform:translateY(-2px);border-color:rgba(155,119,52,.38);box-shadow:0 14px 32px rgba(49,39,29,.09)}
.price-item__main{min-width:0}.price-item__meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.price-item__meta span{padding:5px 9px;border-radius:999px;background:var(--cream);color:var(--gold);font-size:.72rem;font-weight:800}.price-item__meta .price-item__code{background:#f2f2f0;color:var(--muted)}
.price-item-v24 h3{margin:0;font-size:1.03rem;line-height:1.4;overflow-wrap:anywhere}.price-item__action{display:grid;grid-template-columns:auto auto;gap:16px;align-items:center}.price-item__action strong{min-width:110px;text-align:right;color:var(--gold);font-size:1.08rem;white-space:nowrap}
.price-load-wrap{display:flex;justify-content:center;margin-top:28px}.price-empty-v24{padding:56px 24px;border:1px dashed var(--line);border-radius:24px;background:#fff;text-align:center}.price-source-note{display:grid;grid-template-columns:auto 1fr;gap:16px;margin-top:38px;padding:22px;border-left:4px solid var(--gold);border-radius:0 18px 18px 0;background:var(--cream)}.price-source-note strong{color:var(--gold)}.price-source-note p{margin:0;color:var(--muted)}.price-source-note a{color:var(--gold);font-weight:800}
@media(max-width:1100px){.price-summary{grid-template-columns:repeat(3,1fr)}.price-catalog__intro{grid-template-columns:1fr;gap:15px}.price-controls{position:relative;top:auto}.price-item-v24{grid-template-columns:1fr}.price-item__action{justify-content:space-between}.price-item__action strong{text-align:left}}
@media(max-width:680px){.price-hero--v24{padding:54px 0}.price-hero--v24 h1{font-size:clamp(2.55rem,12vw,3.65rem);line-height:1.02}.price-hero__actions{display:grid}.price-hero__actions .btn{width:100%}.price-summary{grid-template-columns:1fr}.price-summary p{grid-column:auto}.price-catalog-v24{padding:62px 0}.price-controls{margin-inline:-4px;padding:13px;border-radius:20px}.price-search-v24 input{height:52px;font-size:16px}.price-filter-row{grid-template-columns:1fr}.price-results-head{margin-top:22px}.price-item-v24{gap:16px;padding:18px 16px;border-radius:17px}.price-item-v24 h3{font-size:.98rem}.price-item__action{grid-template-columns:1fr;gap:11px}.price-item__action strong{font-size:1.15rem}.price-item__action .btn{width:100%}.price-source-note{grid-template-columns:1fr}.price-scope-tabs{margin-right:-13px}.price-summary strong{font-size:1.75rem}}


/* v25: two clinic phone numbers */
.header__phones{display:flex;flex-direction:column;gap:4px;flex:0 0 auto}
.header__phones .header__phone{min-height:34px;padding:6px 14px;font-size:.84rem;justify-content:flex-start}
.header__phone--secondary::before{content:"☎"}
@media(max-width:1500px){.header__phones .header__phone{padding:5px 11px;font-size:.78rem}}
@media(max-width:1220px){.header__phones{display:none}}
@media(max-width:980px){.header__phones{display:none}}


/* v27: semantic medical icons */
.service-card__icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.service-card__icon{width:58px;height:58px;transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
.service-card:hover .service-card__icon{transform:translateY(-2px);background:#f1e7d6;box-shadow:0 10px 22px rgba(155,119,52,.14)}

/* === DOCTOR POSTERS V28 === */
.doctor-card__photo--poster{height:auto;aspect-ratio:1/1;background:#f2eadf}
.doctor-card__photo--poster img{width:100%;height:100%;object-fit:contain;object-position:center;background:#f2eadf}
.doctor-card--profile:hover .doctor-card__photo--poster img{transform:scale(1.012)}
@media(max-width:980px){.doctor-card__photo--poster{height:auto}}
@media(max-width:620px){.doctor-card__photo--poster{height:auto}}


/* Personal-data consent */
.consent-row{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;margin:16px 0;font-size:.86rem;line-height:1.45;color:var(--muted,#5f6670)}
.consent-row input{width:20px;height:20px;margin:1px 0 0;accent-color:#8c6c2f;cursor:pointer}
.consent-row label{cursor:pointer}
.consent-row a{text-decoration:underline;text-underline-offset:2px}
.js-callback-form input:disabled,.js-callback-form button:disabled{opacity:.58;cursor:not-allowed}
.legal-page{padding:120px 0 70px}
.legal-page__content{max-width:900px;margin:0 auto;background:#fff;border-radius:24px;padding:42px;box-shadow:0 10px 35px rgba(34,44,54,.06)}
.legal-page__content h1{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.15;margin-bottom:22px}
.legal-page__content h2{font-size:1.25rem;line-height:1.3;margin:28px 0 10px}
.legal-page__content p,.legal-page__content li{font-size:1rem;line-height:1.7;color:#333}
.legal-page__content a{color:#96702f;text-decoration:underline;text-underline-offset:3px}
.legal-page__content a:hover{color:#6f501e}
@media(max-width:680px){.legal-page{padding:110px 0 48px}.legal-page__content{padding:24px 18px;border-radius:18px}.consent-row{font-size:.8rem}}
.medical-data-warning{margin:.45rem 0 0;font-size:.78rem;line-height:1.35;color:#7a5960}


/* Стили ссылок согласия */
.consent-row label a.consent-link{color:#9b7428;text-decoration:underline;font-weight:600;cursor:pointer;transition:.2s}.consent-row label a.consent-link:hover{color:#6f5015}
.legal-page__content{max-width:900px;font-size:16px;line-height:1.7}.legal-page__content h1{font-size:64px;line-height:1.1;margin-bottom:35px}.legal-page__content h2{font-size:28px;margin:35px 0 15px}


/* улучшенное оформление ссылок согласия */
.consent-link{
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight:600;
  transition:.2s ease;
}
.consent-link:hover{
  color:#6f501d;
}

/* страница документов */
.privacy-page{
  max-width:1100px;
  margin:70px auto;
  padding:0 24px 80px;
  color:var(--ink);
}
.privacy-page h1{
  font-size:clamp(2.2rem,4vw,4rem);
  margin-bottom:35px;
}
.privacy-page h2{
  font-family:Inter, sans-serif;
  font-size:1.35rem;
  letter-spacing:0;
  margin-top:35px;
  margin-bottom:15px;
}
.privacy-page p{
  font-size:1rem;
  line-height:1.8;
  color:#4f463b;
  margin-bottom:20px;
}


/* Personal data consent */
.consent-link {
  color: #2b7de9;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .2s ease;
}

.consent-link:hover {
  color: #1d5fb8;
}

input.locked {
  background: #fafafa;
}

.consent-link {
 color:#2b7de9 !important;
 text-decoration:underline !important;
 text-underline-offset:3px;
 cursor:pointer;
}
.consent-link:hover {color:#165fc0 !important;}

/* Final consent links */
.consent-row a.consent-link { color:#2684ff !important; text-decoration:underline !important; text-underline-offset:3px; cursor:pointer; }
.consent-row a.consent-link:hover { color:#0b5ed7 !important; }
.js-callback-form input.locked { background:#fafafa; }


/* Ссылки согласия в формах */
.consent-row label {
  line-height: 1.5;
}
.consent-link {
  color: #2563eb !important;
  text-decoration: underline !important;
  cursor: pointer;
}
.consent-link:hover {
  color: #1d4ed8 !important;
}

/* Страницы политики */
.policy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
  color: #2d2926;
  font-size: 16px;
  line-height: 1.7;
}
.policy-page h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 35px;
}
.policy-page h2 {
  font-size: 24px;
  margin: 25px 0 15px;
}
.policy-page a {
  color:#2563eb;
  text-decoration:underline;
}
