:root {
    --ink: #173337;
    --teal: #0d6766;
    --wine: #8d304d;
    --cream: #f7f3ec;
    --paper: #fffdf9;
    --line: #dce6e2;
    --muted: #5f7374
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial,sans-serif;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1180px,calc(100% - 40px));
    margin: auto
}

.narrow {
    width: min(930px,calc(100% - 40px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,253,249,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #e4ebe8
}

.header-inner {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand>span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50% 50% 50% 10%;
    background: var(--teal);
    color: #fff;
    font-weight: 800
}

.brand strong {
    font-family: Georgia,serif
}

.brand small {
    display: block;
    font: 10px Arial;
    color: var(--muted);
    margin-top: 3px
}

.header-inner nav {
    display: flex;
    gap: 26px;
    font-size: 13px;
    font-weight: 700
}

.header-phone {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: #0d6766;
    padding: 1%;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: white;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    padding: 10px
}

.menu-toggle i {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 4px
}

.hero {
    padding: 75px 0 0;
    background: radial-gradient(circle at 87% 13%,#d8eee8 0,transparent 28%),linear-gradient(145deg,#fffdf9 40%,#f1f7f4)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center
}

.eyebrow,.kicker,.section-head>span,.contact-grid>div>span {
    color: var(--wine);
    font-size: 11px;
    letter-spacing: .17em;
    font-weight: 800
}

.hero h1,.section h2,.contact h2,.article-hero h1 {
    font: 500 clamp(48px,6vw,80px)/.99 Georgia,serif;
    letter-spacing: -.04em;
    margin: 20px 0 24px
}

.hero h1 em {
    display: block;
    color: var(--teal)
}

.lead {
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted)
}

.actions {
    display: flex;
    gap: 12px;
    margin: 28px 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fff;
    font-size: 14px;
    font-weight: 800
}

.btn.primary {
    background: var(--teal);
    color: white;
    border-color: var(--teal)
}

.note {
    font-size: 12px;
    color: var(--muted)
}

.hero-photo {
    /* height:590px; */
    position: relative;
    border-radius: 230px 230px 30px 30px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(23,51,55,.18)
}

.hero-photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 45%
}

.doctor-label {
    position: absolute;
    left: 25px;
    bottom: 25px;
    background: white;
    padding: 15px 18px;
    border-radius: 14px
}

.doctor-label small,.doctor-label b {
    display: block
}

.doctor-label small {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 5px
}

.trust {
    transform: translateY(35px);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(23,51,55,.1);
    padding: 22px
}

.trust>div {
    padding: 0 18px;
    border-right: 1px solid var(--line)
}

.trust>div:last-child {
    border: 0
}

.trust b,.trust small {
    display: block
}

.trust b {
    font-size: 13px
}

.trust small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px
}

.section {
    padding: 115px 0
}

.soft,.gallery {
    background: var(--cream)
}

.soft {
    padding-top: 145px
}

.section-head {
    max-width: 740px;
    text-align: center;
    margin: 0 auto 48px
}

.section-head.left {
    text-align: left;
    margin-left: 0
}

.section-head h2,.contact h2 {
    font-size: clamp(38px,4.5vw,57px);
    line-height: 1.05
}

.section-head p {
    color: var(--muted);
    line-height: 1.7
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.cards article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: white;
    min-height: 245px
}

.cards article>span {
    color: #9bb2ae
}

.cards h3 {
    font: 24px/1.2 Georgia,serif;
    margin: 23px 0 12px
}

.cards p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65
}

.cards a {
    display: inline-block;
    margin-top: 15px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800
}

.dark {
    background: var(--ink);
    color: white
}

.unwanted {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: center
}

.unwanted h2 {
    font-size: 55px
}

.unwanted p {
    color: #cad8d6;
    line-height: 1.8
}

.light-kicker {
    color: #90d3ca
}

.unwanted-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.unwanted-list a {
    display: grid;
    grid-template-columns: 32px 1fr 15px;
    gap: 8px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    font-size: 12px;
    background: rgba(255,255,255,.04)
}

.unwanted-list span {
    color: #8fd1c9
}

.topic-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 9px
}

.topic-list a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    font-size: 12px
}

.topic-list span {
    color: var(--wine);
    font-weight: 800
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.doctor-images {
    position: relative;
    height: 620px
}

.doctor-images .portrait {
    position: absolute;
    left: 0;
    top: 0;
    width: 72%;
    height: 540px;
    object-fit: cover;
    border-radius: 180px 180px 25px 25px
}

.doctor-images .wide {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 66%;
    height: 220px;
    object-fit: cover;
    border: 9px solid var(--paper);
    border-radius: 20px
}

.doctor-grid h2 {
    font-size: 56px;
    margin: 14px 0
}

.doctor-grid h3 {
    color: var(--wine)
}

.doctor-grid p {
    color: var(--muted);
    line-height: 1.8
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 300px 250px;
    gap: 14px
}

.gallery-grid img {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.gallery-grid img:first-child {
    grid-row: 1/3
}

.gallery-grid img:last-child {
    grid-column: 2/4
}

.contact {
    padding: 90px 0;
    background: var(--teal);
    color: #fff
}

.contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 75px
}

.contact p {
    color: #c7dfdc;
    line-height: 1.7
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.contact-cards>* {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    background: rgba(255,255,255,.08)
}

.contact-cards small,.contact-cards b {
    display: block
}

.contact-cards small {
    font-size: 10px;
    color: #bfdbd8;
    margin-bottom: 5px
}

.contact-cards b {
    font-size: 12px;
    line-height: 1.5
}

footer {
    background: #10282b;
    color: white;
    padding: 35px 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr .5fr;
    gap: 30px;
    align-items: center
}

.footer-grid p {
    font-size: 11px;
    color: #9eb2b3;
    line-height: 1.6
}

.float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #128c7e;
    color: white;
    padding: 14px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 15px 35px #0003
}

.article-hero {
    padding: 80px 0;
    background: linear-gradient(145deg,#f2f8f5,#fff9f2)
}

.article-hero .category {
    display: inline-block;
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    margin-top: 30px
}

.article-hero h1 {
    font-size: clamp(42px,6vw,72px)
}

.article-hero>div>p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7
}

.back {
    font-size: 13px;
    color: var(--teal);
    font-weight: 800
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--muted);
    font-size: 11px
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 250px;
    gap: 50px;
    padding: 70px 0
}

.article-content {
    font-size: 16px;
    line-height: 1.85;
    color: #344d50
}

.article-content h2 {
    font: 33px/1.2 Georgia,serif;
    color: var(--ink);
    margin: 42px 0 15px
}

.article-cover {
    width: 100%;
    /*max-height: 500px;*/
    object-fit: cover;
    border-radius: 25px;
    margin-bottom: 38px
}

.disclaimer {
    margin-top: 45px;
    padding: 24px;
    border-radius: 18px;
    background: #edf5f2;
    border-left: 4px solid var(--teal)
}

.source {
    font-size: 12px
}

.article-layout aside {
    position: sticky;
    top: 110px;
    align-self: start
}

.article-layout aside h3 {
    font: 22px Georgia,serif
}

.article-layout aside>a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.4
}

.aside-contact {
    margin-top: 25px;
    padding: 18px;
    background: var(--ink);
    color: white;
    border-radius: 16px
}

.aside-contact small,.aside-contact b,.aside-contact a {
    display: block
}

.aside-contact b {
    margin: 7px 0 13px
}

.aside-contact a {
    font-size: 12px;
    color: #9edbd4
}

@media(max-width: 900px) {
    .header-inner nav {
        display:none;
        position: fixed;
        inset: 72px 0 auto;
        background: white;
        padding: 28px;
        flex-direction: column;
        box-shadow: 0 20px 35px #0002
    }

    .header-inner nav.open {
        display: flex
    }

    .menu-toggle {
        display: block
    }

    .header-phone {
        display: none
    }

    .hero-grid,.unwanted,.doctor-grid,.contact-grid {
        grid-template-columns: 1fr
    }

    .hero-photo {
        height: 500px;
        max-width: 540px;
        margin: auto
    }

    .trust {
        grid-template-columns: 1fr 1fr
    }

    .cards {
        grid-template-columns: 1fr 1fr
    }

    .topic-list {
        grid-template-columns: 1fr 1fr
    }

    .unwanted {
        gap: 40px
    }

    .article-layout {
        grid-template-columns: 1fr
    }

    .article-layout aside {
        position: static
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width: 600px) {
    .container,.narrow {
        width:calc(100% - 28px)
    }

    .header-inner {
        height: 72px
    }

    .hero {
        padding-top: 45px
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-photo {
        height: 290px
    }

    .actions {
        display: grid
    }

    .trust {
        grid-template-columns: 1fr
    }

    .trust>div {
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .section {
        padding: 80px 0
    }

    .soft {
        padding-top: 115px
    }

    .cards,.topic-list,.unwanted-list,.contact-cards {
        grid-template-columns: 1fr
    }

    .unwanted h2,.doctor-grid h2 {
        font-size: 40px
    }

    .doctor-images {
        height: 470px
    }

    .doctor-images .portrait {
        height: 410px
    }

    .doctor-images .wide {
        height: 150px
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 220px
    }

    .gallery-grid img:first-child {
        grid-row: auto
    }

    .gallery-grid img:last-child {
        grid-column: 1/3
    }

    .article-hero {
        padding: 55px 0
    }

    .article-content h2 {
        font-size: 28px
    }

    .float {
        padding: 13px;
        font-size: 0;
        width: 52px;
        height: 52px
    }

    .float:after {
        content: '↗';
        font-size: 22px
    }
}
