:root{--green:#4bc19c;--green-deep:#219973;--purple:#7444ae;--ink:#1b1b1d;--muted:#5f5f61;--pale:#f5f7f8;--line:#e5e9ec}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 Roboto,Arial,sans-serif}a{color:inherit}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.shell{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.head-row{min-height:80px;display:flex;align-items:center;gap:40px}.logo img{display:block;width:93px;height:48px}.nav{margin-left:auto;display:flex;gap:27px}.nav a{text-decoration:none;color:var(--ink);font-weight:500}.nav a:hover,.text-link:hover{color:var(--green-deep)}.phone{white-space:nowrap;text-decoration:none;font-weight:700;font-size:18px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:12px 24px;background:var(--green);border:1px solid var(--green);border-radius:6px;color:#fff;text-decoration:none;font-weight:700;transition:background .2s,transform .2s}.button:hover{background:var(--green-deep);transform:translateY(-1px)}.button.ghost{background:#fff;color:var(--ink);border-color:#d8e0e2}.button.ghost:hover{border-color:var(--green)}.button.purple{background:var(--purple);border-color:var(--purple)}
.eyebrow{font-size:13px;font-weight:700;color:var(--purple);text-transform:uppercase;letter-spacing:.1em}.hero{background:linear-gradient(115deg,#f5faf8,#fff 62%);border-bottom:1px solid var(--line)}.hero .shell{padding:65px 0 75px;display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.hero h1,.profile h1{font-size:clamp(38px,4.4vw,60px);line-height:1.12;letter-spacing:-.035em;margin:14px 0 20px}.lead{font-size:19px;max-width:630px;color:#45494a;line-height:1.58}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-mosaic{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;min-height:370px;align-items:end}.hero-mosaic img{display:block;width:100%;height:315px;object-fit:cover;object-position:center top;background:#f1f3f3;border-radius:10px 10px 4px 4px}.hero-mosaic img:nth-child(even){height:360px}
section{padding:74px 0}.section-head{max-width:780px;margin:0 0 30px}.section-head h2{font-size:clamp(30px,3vw,40px);line-height:1.17;margin:8px 0 13px}.section-head p{color:var(--muted);margin:0}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}.filter{cursor:pointer;background:#fff;border:1px solid #cdd8d9;border-radius:6px;padding:10px 17px;color:#45494a;font-size:14px}.filter[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}
.price-section{background:var(--pale)}.price-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.price-row{min-height:76px;background:white;border:1px solid var(--line);border-radius:6px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.price-row[hidden]{display:none}.price-row .service{font-weight:500;line-height:1.36}.price-row .price{white-space:nowrap;font-weight:700;font-size:18px}.price-note{font-size:14px;color:var(--muted);margin:22px 0 0}
.doctor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.doctor-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.doctor-photo{height:285px;background:#f5f7f8;display:block;overflow:hidden}.doctor-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.doctor-card .body{padding:20px;display:flex;flex:1;flex-direction:column}.doctor-card h3{margin:0 0 7px;font-size:19px;line-height:1.3}.doctor-card p{margin:0 0 20px;color:var(--muted);font-size:14px}.text-link{color:var(--green-deep);text-decoration:none;font-weight:700;margin-top:auto}.callout{border-left:4px solid var(--green);background:#f5faf8;padding:16px 20px;color:#46524d;font-size:14px;margin-top:25px}
.profile{background:linear-gradient(115deg,#f5faf8,#fff 65%)}.profile .shell{display:grid;grid-template-columns:1.4fr .6fr;gap:70px;align-items:center;padding:60px 0}.breadcrumbs{font-size:13px;color:var(--muted)}.breadcrumbs a{text-decoration:none}.profile h1{font-size:clamp(38px,4vw,54px)}.profile .role{font-size:20px;margin:0 0 15px;color:var(--green-deep);font-weight:700}.profile .qual{font-size:15px;color:var(--muted)}.profile-portrait{height:440px;object-fit:contain;object-position:center bottom;width:100%;background:#f2f7f5;border-radius:10px}.profile .hero-actions{margin-top:25px}.info-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:55px}.info-grid h2{margin:0 0 20px;font-size:34px}.info-grid p{font-size:17px}.facts{background:var(--pale);padding:27px;border-radius:8px}.facts h3{margin:0 0 15px}.facts p{font-size:15px;margin:0 0 15px}.topics{display:grid;grid-template-columns:repeat(2,1fr);align-items:start;gap:10px}.topic{border:1px solid var(--line);border-radius:6px;background:#fff}.topic[open]{border-color:#a5dbca;box-shadow:0 3px 14px rgba(33,153,115,.08)}.topic summary{list-style:none;cursor:pointer;padding:17px 46px 17px 19px;font-weight:500;line-height:1.45;position:relative}.topic summary::-webkit-details-marker{display:none}.topic summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--green-deep);font-size:24px;line-height:1;font-weight:400}.topic[open] summary::after{content:"−"}.topic summary:hover{color:var(--green-deep)}.topic summary:focus-visible{outline:3px solid var(--purple);outline-offset:3px;border-radius:6px}.topic p{font-size:14px;line-height:1.55;color:var(--muted);margin:0;padding:0 19px 18px}.mini-prices{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mini-prices .price-row{min-height:96px}.cta{background:#7444ae;color:#fff}.cta .shell{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{font-size:clamp(28px,3vw,38px);margin:0 0 8px}.cta p{margin:0;color:#f0e8fa}.cta .button{flex-shrink:0}footer{padding:29px 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}footer .shell{display:flex;gap:20px;justify-content:space-between;align-items:center}.footer-logo{width:70px;height:auto}
.application{background:#f5faf8}.application-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:65px;align-items:start}.application h2{font-size:clamp(29px,3vw,38px);margin:9px 0 15px;line-height:1.2}.application p{color:var(--muted)}.application form{border:1px solid var(--line);border-radius:10px;padding:28px;background:#fff}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700}.field.wide{grid-column:1/-1}.field input,.field select{width:100%;min-height:49px;border:1px solid #cfdadd;border-radius:6px;padding:10px 13px;background:#fff;color:var(--ink);font:inherit;font-weight:400;font-size:16px}.field input:focus,.field select:focus{outline:2px solid var(--green);outline-offset:1px}.consent{display:flex;gap:10px;align-items:start;font-size:13px;color:var(--muted);margin:19px 0}.consent input{margin:3px 0 0;width:18px;height:18px;accent-color:var(--green-deep)}.form-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.form-status{font-size:14px;margin:0;color:var(--ink)}.form-status[data-state=error]{color:#b33232}.form-status[data-state=success]{color:#137f5f}.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:980px){.hero .shell{gap:25px}.doctor-grid{grid-template-columns:repeat(2,1fr)}.hero-mosaic{min-height:300px}.hero-mosaic img{height:250px}.hero-mosaic img:nth-child(even){height:280px}.profile .shell{gap:30px}}
@media(max-width:700px){.head-row{min-height:70px;flex-wrap:wrap;gap:10px;padding:9px 0}.nav{order:3;width:100%;overflow:auto;margin:0;padding:4px 0 8px;gap:22px;white-space:nowrap;font-size:14px}.phone{margin-left:auto;font-size:14px}.hero .shell{display:flex;flex-direction:column;align-items:stretch;padding:46px 0}.hero-mosaic{min-height:0}.hero-mosaic img{height:220px}.hero-mosaic img:nth-child(even){height:250px}.lead{font-size:17px}section{padding:54px 0}.price-list,.mini-prices,.info-grid,.application-grid{grid-template-columns:1fr}.profile .shell{grid-template-columns:1fr;padding:40px 0}.profile-portrait{height:380px}.cta .shell{display:block}.cta .button{margin-top:23px}footer .shell{display:block}footer .footer-logo{margin-bottom:12px}}
@media(max-width:460px){.shell{width:calc(100% - 28px)}.doctor-grid{grid-template-columns:1fr}.doctor-photo{height:270px}.hero h1,.profile h1{font-size:36px}.hero-mosaic img{height:155px}.hero-mosaic img:nth-child(even){height:180px}.topics,.form-fields{grid-template-columns:1fr}.application form{padding:19px}.price-row{padding:14px}.price-row .price{font-size:16px}}

/* WordPress additions */
.admin-bar .site-header{top:32px}@media(max-width:782px){.admin-bar .site-header{top:46px}}.notice-draft{margin-top:20px;color:#705508;background:#fff8df;padding:12px 18px;border-radius:6px}.price-row .service a{text-decoration:none}.price-row .service a:hover{color:var(--green-deep)}.entry-content{max-width:800px;margin:20px 0 0}.operation-detail{min-height:50vh}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Шапка, город, заявка и одинаковая высота свернутых направлений */
.head-row{gap:25px}.head-row .nav{gap:20px}.head-row .phone{font-size:16px}.header-city{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:18px;color:#46524d}.header-city svg{color:var(--green)}.header-apply{min-height:44px;padding:8px 15px;white-space:nowrap;gap:8px}.header-check{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:var(--green-deep);font-weight:700}.topics{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.topic{min-height:108px}.topic summary{min-height:106px;display:flex;align-items:center}section[id]{scroll-margin-top:100px}
@media(max-width:1020px){.head-row{flex-wrap:wrap;gap:14px 22px;padding:10px 0}.head-row .nav{order:5;width:100%;margin-left:0;padding:0 0 5px}.head-row .phone{margin-left:auto}}
@media(max-width:700px){.head-row .nav{order:3;width:100%;padding:4px 0 8px}.head-row .phone{order:2;margin-left:auto}.header-apply{order:4;width:100%}.header-city{font-size:16px}section[id]{scroll-margin-top:150px}}
@media(max-width:460px){.head-row{gap:8px}.head-row .phone{font-size:13px}.header-city{font-size:14px;gap:4px}.header-city svg{width:16px;height:16px}.topics{grid-template-columns:1fr}.topic summary{min-height:100px}}
/* Структурированная стоимость приема и адрес клиники */
.facts .consult-service{margin-bottom:5px;font-size:16px;color:var(--ink)}.facts .consult-price{font-weight:700;font-size:18px;color:var(--ink);margin-bottom:24px}.facts .clinic-address{font-size:16px;color:var(--ink);margin-bottom:14px}.route-link{display:inline-flex;align-items:center;gap:10px;color:var(--green-deep);font-weight:700;text-decoration:none;font-size:16px}.route-link:hover{text-decoration:underline}.route-link span{font-size:20px;line-height:1}
/* Компактная мобильная шапка: две строки и равный приоритет навигации с заявкой */
.mobile-label,.phone-icon{display:none}
@media(max-width:700px){
 .head-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"logo city phone" "nav nav apply";column-gap:8px;row-gap:9px;align-items:center;padding:9px 0 10px;min-height:0}
 .head-row .logo{grid-area:logo}.head-row .logo img{width:64px;height:36px;object-fit:contain}
 .header-city{grid-area:city;font-size:15px;gap:5px;min-width:0}.header-city svg{width:16px;height:16px;flex:none}
 .head-row .phone{grid-area:phone;order:0;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-height:40px;margin:0;color:var(--ink);font-size:13px}.phone-text{display:inline;white-space:nowrap}.phone-icon{display:block;order:-1;width:16px;height:16px;flex:none;color:var(--green-deep)}
 .head-row .nav{grid-area:nav;order:0;display:flex;align-items:center;gap:4px;width:auto;min-width:0;margin:0;padding:0;overflow:visible;white-space:nowrap}
 .head-row .nav a{display:inline-flex;align-items:center;min-height:40px;padding:6px 10px;border-radius:6px;background:#f1f7f5;color:#255745;font-weight:700;font-size:13px}.head-row .nav a:hover{background:#e1f2eb}
 .desktop-label{display:none}.mobile-label{display:inline}
 .header-apply{grid-area:apply;order:0;justify-self:end;width:auto;min-height:40px;gap:5px;padding:6px 10px;font-size:13px;line-height:1;white-space:nowrap}
 .header-check{width:17px;height:17px;font-size:12px}
 section[id]{scroll-margin-top:116px}
}
@media(max-width:380px){.head-row{grid-template-columns:54px minmax(0,1fr) auto;column-gap:4px}.head-row .logo img{width:54px;height:32px}.header-city{font-size:13px;gap:3px}.header-city svg{width:14px;height:14px}.head-row .phone{font-size:12px;gap:3px}.phone-icon{width:14px;height:14px}.head-row .nav a{padding:6px 8px;font-size:12px}.header-apply{padding:6px 8px;font-size:12px}}

/* ==========================================
   ПРОМЕДИКА - КАРТОЧКИ ВРАЧЕЙ
   Увеличение фотографий и баланс колонок
   ========================================== */

/* Компьютеры */
@media (min-width: 981px) {

    .profile .shell {
        display: grid;
        grid-template-columns:
            minmax(0, 1.3fr)
            minmax(0, 0.7fr);
        gap: 60px;
        align-items: center;
    }

    .profile-portrait {
        display: block;
        width: 100%;
        height: 485px;
        object-fit: contain;
        object-position: center bottom;
        background: #f2f7f5;
        border-radius: 10px;
    }

}

/* Планшеты - сохраняем существующую адаптацию */
@media (min-width: 701px) and (max-width: 980px) {

    .profile .shell {
        gap: 30px;
    }

    .profile-portrait {
        width: 100%;
        height: 440px;
        object-fit: contain;
        object-position: center bottom;
    }

}

/* Телефоны */
@media (max-width: 700px) {

    .profile .shell {
        grid-template-columns: 1fr;
    }

    .profile-portrait {
        display: block;
        width: 100%;
        height: 380px;
        object-fit: contain;
        object-position: center bottom;
    }

}
