
:root{--navy:#19344d;--blue:#274a6d;--ink:#24313c;--beige:#eee7de;--gold:#a88855;--line:#e4e7e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.7 Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}.wrap{max-width:1180px;margin:auto;padding:0 25px}header{background:white;position:sticky;top:0;z-index:5;border-bottom:1px solid var(--line)}.head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:95px}.logo{width:110px;height:70px;object-fit:contain}nav{display:flex;flex-wrap:wrap;gap:17px;font-size:13px;font-weight:700}.btn{display:inline-block;background:var(--navy);color:white!important;border-radius:4px;padding:12px 22px;font-weight:700}.btn:hover{background:var(--blue)}.outline{border:1px solid var(--navy);background:white;color:var(--navy)!important}.hero{background:linear-gradient(110deg,#f8f7f4 0%,#f1ece5 100%);padding:85px 0}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;color:#8b734e;font-weight:bold}.hero h1{font:normal 54px/1.12 Georgia,serif;letter-spacing:-1.5px;margin:20px 0}.lead{font-size:19px;color:#56616b}.art{background:linear-gradient(145deg,#e9e0d3,#faf9f7);border:1px solid #d6cabc;min-height:360px;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;position:relative}.art:before{content:'';position:absolute;left:12%;top:10%;height:80%;width:4px;background:#b59b77}.art:after{content:'';position:absolute;right:13%;bottom:13%;width:27%;height:13px;background:#28476c;border-radius:2px}.art img{width:180px;max-width:80%;opacity:.9}section{padding:75px 0}.soft{background:#f7f6f3}.navy{background:var(--navy);color:white}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}h2{font:normal 38px/1.2 Georgia,serif;margin:0 0 20px}h3{font-size:21px;margin:0 0 10px}.muted{color:#65717b}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);padding:27px;min-height:205px;display:flex;flex-direction:column;gap:8px}.card p{margin:0;color:#65717b}.card a{margin-top:auto;color:#244c71;font-weight:700}.mini{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#a38658}.note{background:#f0ece6;border-left:3px solid var(--gold);padding:18px 22px}.textpage{max-width:840px}.textpage p{font-size:17px}.textpage h1{font:normal 46px/1.2 Georgia,serif}.crumb{font-size:13px;color:#73808c;margin:25px 0}.placeholder{border:1px dashed #b9b9b9;background:#faf9f6;padding:28px;color:#5d6871}.footer{background:var(--navy);color:white;padding:55px 0}.footgrid{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:45px}.footgrid a{display:block;margin:8px 0;color:#e6e9ec}.footlogo{width:100px;filter:brightness(0) invert(1)}.links{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.map{background:#e9edf0;border:1px solid #cdd5da;min-height:200px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px}.tag{display:inline-block;border:1px solid #ccd3d7;padding:6px 10px;margin:3px;font-size:12px}.sub{font-size:14px;color:#65717b}.hero .btn{margin:12px 8px 0 0}@media(max-width:900px){.head{flex-direction:column;padding-top:10px;padding-bottom:15px}nav{justify-content:center}.hero-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.footgrid{grid-template-columns:1fr 1fr}.hero h1{font-size:42px}}@media(max-width:600px){.cards,.footgrid{grid-template-columns:1fr}.hero{padding:55px 0}.hero h1{font-size:35px}h2{font-size:30px}section{padding:48px 0}.art{min-height:240px}}

.map-panel{padding:32px;border:1px solid var(--line);background:#f7f6f3;margin:30px 0 45px}.map-panel h2{font-size:29px}.map-panel .links{margin:22px 0}.map-panel .muted{max-width:750px}main h1{font:normal 46px/1.2 Georgia,serif}@media(max-width:600px){main h1{font-size:34px}.map-panel{padding:20px}.map-panel .btn{width:100%;text-align:center}}

/* Фотография главного врача — v7 */
.doctor-profile{display:grid;grid-template-columns:minmax(250px,390px) 1fr;gap:46px;align-items:center;margin:36px 0 56px;padding:28px;background:#f7f6f3;border:1px solid var(--line)}
.doctor-photo{background:#e8e4df;overflow:hidden;aspect-ratio:3/4}
.doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.doctor-info h3{font:normal 36px/1.2 Georgia,serif;margin:15px 0}
.doctor-info p{font-size:17px;line-height:1.75;color:#56616b}.doctor-info .btn{margin-top:14px}
.team-subhead{margin-top:40px}.doctor-card img{width:100%;height:240px;object-fit:cover;object-position:center 25%;display:block;margin-bottom:10px;background:#f0ede8}
@media(max-width:700px){.doctor-profile{grid-template-columns:1fr;gap:22px;padding:16px}.doctor-photo{max-height:500px}.doctor-info h3{font-size:29px}}

/* v8: full-length doctor portrait, uncropped and responsive */
.doctor-profile{grid-template-columns:minmax(350px, 0.95fr) 1fr;align-items:center;gap:clamp(24px,5vw,72px);padding:clamp(16px,3vw,42px)}
.doctor-photo{aspect-ratio:auto;overflow:visible;max-height:none}
.doctor-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.doctor-feature{background:#f7f6f3}
.doctor-feature-grid{display:grid;grid-template-columns:minmax(320px,0.95fr) 1fr;align-items:center;gap:clamp(28px,5vw,80px)}
.doctor-feature-image img{display:block;width:100%;height:auto;object-fit:contain}
.doctor-feature-content h2{font-size:clamp(32px,3.3vw,52px);line-height:1.17}
.doctor-feature-content h3{font-size:clamp(21px,2vw,29px);font-weight:500;margin:24px 0 12px}
.doctor-feature-content p{font-size:18px;line-height:1.65;margin-bottom:28px}
@media(max-width:760px){.doctor-profile,.doctor-feature-grid{grid-template-columns:1fr}.doctor-photo{max-height:none}.doctor-photo img{max-height:none}.doctor-feature-image{max-width:600px}.doctor-feature-content{padding-bottom:10px}}

/* v9: clinic photographs */
.hero-photo{min-height:0;padding:0;border:0;overflow:hidden;aspect-ratio:4/3;background:#ece8e3}
.hero-photo:before,.hero-photo:after{display:none}
.hero-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;opacity:1}
.gallery-section{background:#fff}
.interior-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.gallery-item{margin:0;overflow:hidden;border:1px solid var(--line);background:#fff}
.gallery-item:first-child{grid-column:span 2}
.gallery-item img{width:100%;height:320px;object-fit:cover;display:block}
.gallery-item:first-child img{height:440px}
.gallery-item figcaption{font-weight:600;padding:12px 17px;color:var(--navy)}
.steril-photo{margin:30px 0}.steril-photo img{width:100%;height:auto;display:block}.steril-photo figcaption{font-size:13px;color:#65717b;margin-top:8px}
@media(max-width:650px){.interior-gallery{grid-template-columns:1fr}.gallery-item:first-child{grid-column:auto}.gallery-item img,.gallery-item:first-child img{height:250px}.hero-photo{aspect-ratio:4/3}}

/* v11 price and contact blocks */
.price-category{margin:28px 0 36px;border:1px solid #e6e1d8;border-radius:18px;overflow:hidden;background:white;box-shadow:0 6px 18px rgba(25,34,48,.05)}
.price-category h2{background:#f0ece6;margin:0;padding:18px 24px;font-size:1.32rem}
.price-table{width:100%;border-collapse:collapse;font-size:1rem}
.price-table th{text-align:left;color:#817669;font-size:.78rem;letter-spacing:.07em;text-transform:uppercase;background:#faf9f7}
.price-table td,.price-table th{padding:15px 20px;border-bottom:1px solid #e9e5df;vertical-align:middle}
.price-table tr:last-child td{border-bottom:0}
.price-table td:nth-child(2){white-space:nowrap;color:#746f68}
.price-table td:last-child{white-space:nowrap;font-weight:700;color:#ae803f}
.contact-card{background:#f5f2ed;border:1px solid #e6e1d8;border-radius:18px;padding:25px;margin:20px 0}
.contact-card a{color:#123e60;font-weight:700}
.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
@media(max-width:650px){.price-table td,.price-table th{padding:12px 8px;font-size:.85rem}.price-category h2{padding:14px}.price-table td:nth-child(2){white-space:normal}.price-table td:last-child{white-space:normal}.contact-actions{flex-direction:column}}

/* v13: visible clinic photos directly on About page */
.about-intro{max-width:760px;margin:0 0 28px}.about-visible-gallery{margin:25px 0 65px}.about-more-title{margin-bottom:24px}.about-visible-gallery .gallery-item img{object-position:center}

/* v14 team */
.team-heading{max-width:850px;margin-bottom:34px}.team-heading h1{font-size:clamp(2.3rem,5vw,4rem);margin:12px 0}.staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.staff-card{border:1px solid #e5e0d9;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(24,43,59,.045)}.staff-card>img{width:100%;height:460px;object-fit:cover;object-position:center 20%;display:block;background:#eeeae5}.staff-content{padding:24px 26px 30px}.staff-content h2{font-size:1.48rem;line-height:1.25;margin:10px 0 13px}.staff-content p{color:#5d6771;line-height:1.65}.staff-content a{color:#173d60;font-weight:700}.bio-layout{display:grid;grid-template-columns:minmax(230px,380px) minmax(0,1fr);gap:48px;align-items:start;margin:32px 0}.bio-portrait{width:100%;height:auto;max-height:570px;object-fit:cover;object-position:top}.bio-layout h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.16}.bio-layout h2{font-size:1.45rem;margin-top:32px}.bio-layout li{margin:8px 0;line-height:1.55}@media(max-width:760px){.staff-grid,.bio-layout{grid-template-columns:1fr}.staff-card>img{height:390px}.bio-layout{gap:20px}}

/* v15: symmetric team gallery; consistent photo frames and content height */
.staff-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:26px}
.staff-card{display:flex;flex-direction:column;min-width:0}
.staff-card>img{width:100%;height:auto;aspect-ratio:1.20/1;object-fit:cover;object-position:center 24%;flex-shrink:0}
.staff-card:first-child>img{object-position:center 22%}
.staff-content{display:flex;flex-direction:column;flex:1;min-width:0}
.staff-content h2{overflow-wrap:anywhere}
.staff-content p{margin-top:0}
.staff-content a{margin-top:auto;padding-top:12px}
@media(max-width:760px){.staff-grid{grid-template-columns:1fr}.staff-card>img{height:auto;aspect-ratio:1.05/1}}

/* v17: equal complete portraits; no faces/shoulders cut off */
.staff-grid{align-items:stretch;grid-auto-flow:row}
.staff-card{display:flex;flex-direction:column}
.staff-photo{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;background:#f1eeea;overflow:hidden}
.staff-card .staff-photo>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center}
.staff-nameplate{position:absolute;bottom:12px;left:12px;right:12px;background:rgba(255,255,255,.96);border:1px solid #dcd4c8;padding:9px 12px;color:#19344d;box-shadow:0 2px 12px #00000014}
.staff-nameplate strong,.staff-nameplate span{display:block;font-size:12px;line-height:1.4}
.staff-nameplate span{font-size:11px;color:#596675}
@media(max-width:760px){.staff-photo{aspect-ratio:4/5}}

/* v18: matching physician portraits, previous headshot framing restored */
.staff-photo{aspect-ratio:1.20/1;display:block;background:#e9ddd2}
.staff-card .staff-photo>img{width:100%;height:100%;object-fit:cover;object-position:center 28%;transform:none}
.staff-card:nth-child(2) .staff-photo>img{object-position:center 20%;transform:scale(1.35);transform-origin:center 27%}
@media(max-width:760px){.staff-photo{aspect-ratio:1.10/1}}

/* v19: footer logo and contact layout */
.footer .footlogo{width:142px;height:auto;max-height:160px;object-fit:contain;filter:none;background:transparent;display:block;margin-bottom:18px}
.footer .footgrid>div:last-child p{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:14px 0 22px}
.footer .footgrid>div:last-child p a{display:block;margin:0;overflow-wrap:anywhere}
.footer .footgrid>div:last-child>a{margin:12px 0}

/* Working hours v20 */
.working-hours{margin:22px 0;padding:18px 22px;background:#f7f5f1;border-left:3px solid #b99565;border-radius:6px}.working-hours h2{margin:0 0 12px}.working-hours p{margin:7px 0}.hero-hours{margin:18px 0;color:#173550}.footer-hours{line-height:1.8;margin:12px 0 20px}

/* Equipment and diagnostics */
.equipment-feature{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;align-items:start;margin:30px 0 50px}.equipment-photo img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 14px 34px rgba(20,35,55,.12)}.equipment-copy h2{margin-top:4px}.equipment-copy h3{margin-top:22px}.equipment-copy li{margin:10px 0;line-height:1.65}.equipment-eyebrow{color:#95764d;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}.equipment-disclaimer{font-size:.82rem;color:#667085}@media(max-width:800px){.equipment-feature{grid-template-columns:1fr;gap:20px}}

.equipment-feature-extra{margin-top:44px}
.equipment-feature-extra .equipment-photo img{width:100%;height:auto;display:block;object-fit:cover;border-radius:14px}

/* Video gallery */
.atlas-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin:30px 0 36px}.atlas-video-card{margin:0;border:1px solid #e6e2dc;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(20,30,45,.06)}.atlas-video-card video{width:100%;height:360px;object-fit:contain;background:#111;display:block}.atlas-video-card figcaption{padding:12px 16px;font-weight:600;color:#253342}@media(max-width:600px){.atlas-video-card video{height:300px}}

/* Clinical case gallery */
.clinical-case{margin:38px 0 46px;padding:24px;background:#f8f7f4;border:1px solid #e9e4dc;border-radius:18px}.clinical-case h3{margin:0 0 10px;font-size:clamp(24px,3vw,34px)}.clinical-case>p{margin:0 0 20px;color:#435061}.clinical-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;align-items:start}.clinical-figure{margin:0;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e8e3dd}.clinical-figure img{width:100%;height:250px;object-fit:contain;background:#eae9e7;display:block}.clinical-figure figcaption{font-size:16px;font-weight:650;padding:12px 14px;color:#18314a}.clinical-note{font-size:14px;color:#64707a;margin:26px 0 40px}@media(max-width:650px){.clinical-case{padding:14px}.clinical-figure img{height:auto;max-height:360px}}
