/* Base. Color and type tokens live in css/tokens.css. */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
}
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}
#adminLink {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
}

/* Layout */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.mw {
    max-width: 640px;
}
.sec {
    padding: 96px 0;
}
.sec.tint {
    background: var(--bg2);
}
.sec.first {
    padding-top: 72px;
}
.head {
    padding: 64px 0 48px;
}
.head.photo {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 64px;
}
.head img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rimg);
}
.head .lead {
    max-width: 600px;
}
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.visit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 80px;
}
.row2:last-child {
    margin-bottom: 0;
}
.row2 img,
.row2 .ph {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rimg);
}
.row2.rev > *:first-child {
    order: 2;
}

/* Buttons and links */
.btn {
    display: inline-block;
    padding: 15px 24px;
    border-radius: var(--r);
    background: var(--accent);
    color: #fff;
    font-family: var(--body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    border: 1.5px solid var(--accent);
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.btn:hover {
    background: var(--accent2);
    border-color: var(--accent2);
}
.btn.alt {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn.alt:hover {
    background: var(--ink);
    color: #fff;
}
.btn.small {
    padding: 10px 16px;
    font-size: 15px;
}
.btn:disabled {
    opacity: .6;
    cursor: wait;
}
.btnrow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}
.link {
    font-weight: 600;
    text-decoration: none;
    color: var(--accent);
    border-bottom: 1.5px solid rgba(31, 111, 106, .35);
    padding-bottom: 1px;
}
.link:hover {
    border-color: var(--accent);
}

@media (max-width: 980px) {
    .two, .visit, .row2, .head.photo {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .three {
        grid-template-columns: 1fr;
    }
    .row2.rev > *:first-child {
        order: 0;
    }
    .sec {
        padding: 64px 0;
    }
    .head {
        padding: 40px 0 32px;
    }
    .head.photo {
        padding-bottom: 40px;
    }
}
@media (max-width: 600px) {
    .wrap {
        padding: 0 22px;
    }
    .btnrow .btn {
        width: 100%;
        text-align: center;
    }
}
