:root {
    --green: #103a29;
    --green2: #175940;
    --mint: #e9f4ec;
    --gold: #cba563;
    --ink: #172b24;
    --muted: #708077;
    --paper: #fbfaf6;
    --line: #e9eae2
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #e9ede8;
    font: 15px/1.55 'DM Sans', sans-serif;
    color: var(--ink)
}

button,
a {
    font: inherit
}

button {
    cursor: pointer
}

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

.ico {
    width: 23px;
    height: 23px;
    flex: none
}

.app-shell {
    width: min(100%, 450px);
    margin: 0 auto;
    min-height: 100dvh;
    background: var(--paper);
    position: relative;
    box-shadow: 0 10px 75px #002c1a15;
    overflow: hidden;
    padding-bottom: calc(92px + env(safe-area-inset-bottom))
}

.topbar {
    height: 76px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #eeeae3
}

.topbar-brand {
    height: 74px;
    width: 240px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.topbar-brand img {
    width: auto;
    height: 80px;
    object-fit: fill;
    filter: drop-shadow(0 2px 2px #00000005)
}

.topbar-share {
    position: absolute;
    right: 17px;
    top: 21px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--green)
}

.topbar-share .ico {
    width: 18px
}

.cover {
    height: 225px;
    background: radial-gradient(ellipse at 15% 35%, #32785e 0, transparent 45%), linear-gradient(120deg, #153d2e, #0b281d);
    position: relative;
    overflow: hidden
}

.cover:after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-32deg, transparent 0 54px, #fff1 55px 56px);
    opacity: .45
}

.cover-orb {
    position: absolute;
    border: 1px solid #e0bf7e40;
    border-radius: 50%
}

.orb-a {
    width: 280px;
    height: 280px;
    right: -105px;
    top: -126px
}

.orb-b {
    width: 230px;
    height: 230px;
    left: -115px;
    bottom: -120px
}

.cover-ornament {
    position: absolute;
    color: #d8b46a40;
    font-size: 200px;
    right: 3px;
    top: -57px;
    line-height: 1;
    transform: rotate(30deg)
}

.cover-copy {
    position: absolute;
    left: 29px;
    top: 48px;
    color: #faf9f4;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -.055em;
    z-index: 1
}

.cover-copy em {
    font-weight: 500;
    color: #e9c98e;
    font-style: normal
}

.profile-card {
    text-align: center;
    background: var(--paper);
    position: relative;
    padding: 79px 20px 26px;
    border-radius: 25px 25px 0 0;
    margin-top: -20px
}

.portrait {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 148px;
    height: 148px;
    border: 5px solid var(--paper);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 20%, #285c46, #0d3224);
    box-shadow: 0 7px 28px #031f162f;
    overflow: hidden;
    display: grid;
    place-items: center
}

.portrait:before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid #c7a66e55;
    border-radius: 50%
}

.portrait img {
    width: 126%;
    max-width: none;
    height: 126%;
    object-fit: contain;
    position: relative
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--green2);
    margin-bottom: 12px
}

.profile-location .ico {
    width: 14px;
    height: 14px
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-family: Manrope, sans-serif;
    letter-spacing: -.045em
}

h1 {
    font-size: 27px;
    line-height: 1.21;
    font-weight: 800;
    color: var(--green)
}

.profile-specialty {
    font-size: 13px;
    line-height: 1.5;
    max-width: 315px;
    margin: 12px auto 0;
    color: #54665d
}

.clinic-name {
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 800;
    color: #a88046;
    text-transform: uppercase;
    margin: 12px 0 25px
}

.primary-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 26px
}

.contact-action {
    border: 0;
    background: transparent;
    color: var(--ink);
    min-width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 12px
}

.contact-action span {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 1.5px solid #bdd0c2;
    background: #fff;
    border-radius: 50%;
    color: var(--green);
    box-shadow: 0 5px 10px #123b2a08;
    transition: transform .2s, background .2s
}

.contact-action:active span {
    transform: scale(.94);
    background: var(--mint)
}

.contact-action .ico {
    width: 25px;
    height: 25px
}

.save-contact {
    width: 100%;
    min-height: 50px;
    background: var(--green);
    color: white;
    border: 0;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 14px #0b382421
}

.save-contact .ico {
    width: 19px;
    height: 19px
}

.home-menu {
    padding: 0 20px
}

.feature-button {
    width: 100%;
    border: 0;
    border-radius: 15px;
    min-height: 66px;
    background: linear-gradient(100deg, #e5d4ad, #d1b16e);
    color: #153929;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 21px;
    font-family: Manrope;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -.04em
}

.feature-button .ico {
    width: 25px
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin-top: 17px
}

.mini-grid button {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    font-weight: 700;
    font-size: 12px;
    color: #3a5747
}

.mini-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--green)
}

.mini-icon .ico {
    width: 21px;
    height: 21px
}

.home-disclaimer {
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
    color: #8a958e;
    padding: 17px 30px 0
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 450px);
    height: calc(76px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #103a29;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 -4px 30px #092a1d13;
    z-index: 10
}

.bottom-nav button {
    border: 0;
    background: transparent;
    color: #a4c6b3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    position: relative
}

.bottom-nav button.active {
    color: #fff
}

.bottom-nav button.active:before {
    content: '';
    position: absolute;
    top: 0;
    width: 45%;
    height: 3px;
    background: var(--gold);
    border-radius: 0 0 5px 5px
}

.bottom-nav .ico {
    width: 24px;
    height: 24px
}

.view {
    display: none
}

.view.active {
    display: block;
    animation: appear .3s ease
}

@keyframes appear {
    from {
        opacity: .4;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.inner-view {
    padding: 32px 21px 42px
}

.view-heading {
    margin-bottom: 25px
}

.view-heading h2 {
    font-size: 30px;
    line-height: 1.17;
    font-weight: 800;
    color: var(--green)
}

.view-heading p {
    color: var(--muted);
    margin-top: 9px;
    font-size: 14px
}

.service-list {
    display: grid;
    gap: 10px
}

.service-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden
}

.service-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 72px;
    padding: 13px 15px;
    cursor: pointer
}

.service-item summary::-webkit-details-marker {
    display: none
}

.service-symbol {
    height: 42px;
    width: 42px;
    border-radius: 12px;
    background: var(--mint);
    display: grid;
    place-items: center;
    color: var(--green)
}

.service-title {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 800
}

.service-plus {
    font-size: 24px;
    color: #b49862;
    font-weight: 400
}

.service-item[open] .service-plus {
    transform: rotate(45deg)
}

.service-item p {
    font-size: 13px;
    line-height: 1.7;
    padding: 0 18px 20px 70px;
    color: var(--muted)
}

.caution {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11px;
    color: #718077;
    padding: 22px 3px;
    line-height: 1.65
}

.caution .ico {
    width: 17px;
    height: 17px;
    margin-top: 2px
}

.solid-small {
    border: 0;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 19px;
    font-weight: 700;
    font-size: 13px;
    width: 100%
}

.solid-small .ico {
    width: 18px
}

.location-visual {
    height: 245px;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 50%, #41896c55 0 3%, transparent 4%), repeating-linear-gradient(0deg, transparent 0 32px, #a6bca83b 33px 34px), repeating-linear-gradient(90deg, transparent 0 43px, #a6bca83b 44px 45px), linear-gradient(120deg, #dfeae0, #cbdacb);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: left;
    color: var(--green);
    font-size: 20px;
    font-family: Manrope;
    font-weight: 800;
    line-height: 1.2
}

.map-pin {
    background: var(--green);
    color: white;
    border-radius: 50%;
    height: 53px;
    width: 53px;
    display: grid;
    place-items: center;
    box-shadow: 0 5px 15px #113d2b33
}

.location-visual small {
    font-size: 10px;
    letter-spacing: .2em;
    color: #60816f
}

.info-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    margin-top: 17px
}

.info-panel h3 {
    font-size: 21px;
    color: var(--green)
}

.info-panel p {
    margin: 10px 0 17px;
    color: #68776d;
    line-height: 1.7
}

.opening-line {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--green);
    font-size: 12px;
    margin-bottom: 25px;
    font-weight: 700
}

.opening-line .ico {
    width: 18px
}

.about-emblem {
    height: 175px;
    background: #FFF;
    border-radius: 18px;
    display: grid;
    place-items: center;
    padding: 10px
}

.about-emblem img {
    width: 100%;
    height: 162px;
    object-fit: contain
}

.about-name {
    font-size: 23px;
    margin-top: 24px;
    color: var(--green);
    line-height: 1.25
}

.about-lead {
    font-size: 16px;
    line-height: 1.55;
    margin: 13px 0;
    color: #4d6355;
    font-weight: 600
}

.credential-box {
    background: white;
    border: 1px solid var(--line);
    padding: 20px;
    border-radius: 15px;
    margin: 23px 0
}

.credential-box p {
    font-size: 13px;
    padding: 10px 0;
    color: #46594e
}

.credential-box p+p {
    border-top: 1px solid var(--line)
}

.splash {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, #22644a, #0b2d20 65%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 100;
    transition: opacity .6s ease, visibility .6s ease
}

.splash.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.splash-halo {
    width: min(87vw, 330px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #d3ad644a;
    border-radius: 50%;
    box-shadow: 0 0 0 25px #d3ad6408, 0 0 0 55px #d3ad6405;
    animation: splash-grow .7s both
}

.splash-halo img {
    width: 115%;
    height: 115%;
    object-fit: contain
}

.splash-tag {
    font-family: Manrope;
    font-size: 10px;
    letter-spacing: .35em;
    color: #e1c185;
    margin-top: 43px;
    font-weight: 800
}

.splash-track {
    width: 66px;
    height: 2px;
    background: #d4b06e;
    margin-top: 24px;
    animation: track 1.4s ease both
}

@keyframes splash-grow {
    from {
        opacity: 0;
        transform: scale(.88)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes track {
    from {
        width: 0
    }

    to {
        width: 66px
    }
}

.toast {
    position: fixed;
    z-index: 150;
    left: 50%;
    bottom: calc(92px + env(safe-area-inset-bottom));
    transform: translate(-50%, 20px);
    width: min(calc(100% - 36px), 420px);
    padding: 13px 17px;
    background: #1b3328;
    color: white;
    border-radius: 12px;
    text-align: center;
    font-size: 12px;
    box-shadow: 0 8px 30px #0020113b;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

@media(min-width:650px) {
    .app-shell {
        margin: 25px auto;
        min-height: calc(100dvh - 50px);
        border-radius: 26px
    }

    .bottom-nav {
        bottom: 0px;
        border-radius: 0px;
    }

    .splash {
        inset: 0
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }
}