:root {
    --brand-navy: #073274;
    --brand-blue: #0645ad;
    --brand-cyan: #08b9e8;
    --brand-sky: #eaf9ff;
    --gold: var(--brand-cyan);
    --gold-soft: #dff7ff;
    --ink: #082d66;
    --text: #142338;
    --muted: #607083;
    --line: #d7eaf4;
    --paper: #f5fbff;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 18px 56px rgba(6, 69, 173, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    line-height: 1.55;
}

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

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

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

.topbar {
    background: var(--brand-navy);
    color: #fff;
    font-size: 14px;
}

.topbar__grid {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1.5fr auto auto auto;
    gap: 24px;
    align-items: center;
}

.topbar span,
.footer p {
    display: flex;
    align-items: center;
    gap: 9px;
}

.topbar svg,
.footer svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex: 0 0 auto;
}

.topbar__social {
    justify-content: flex-end;
}

.topbar__social a,
.footer__social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: 12px;
    text-transform: uppercase;
}

.footer__social a svg {
    width: 16px;
    height: 16px;
}

.navwrap {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 104px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 285px;
}

.brand img {
    width: 88px;
    height: 110px;
    object-fit: contain;
}

.brand strong,
.brand em {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: normal;
    line-height: 1;
}

.brand strong {
    font-size: clamp(28px, 2.3vw, 40px);
    color: var(--brand-blue);
}

.brand em {
    color: var(--brand-cyan);
    font-size: clamp(17px, 1.4vw, 24px);
    font-weight: 700;
    margin-top: 7px;
}

.mainnav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1.2vw, 20px);
    font-weight: 700;
    font-size: 14px;
}

.mainnav a {
    padding: 37px 0 32px;
    position: relative;
    white-space: nowrap;
}

.mainnav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.mainnav a:hover::after,
.mainnav a.active::after {
    transform: scaleX(1);
}

.btn {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--gold {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
    color: #fff;
    box-shadow: 0 10px 28px rgba(8, 185, 232, .28);
}

.btn--black {
    background: var(--brand-navy);
    color: #fff;
    box-shadow: 0 10px 28px rgba(7, 50, 116, .18);
}

.btn--outline {
    background: #fff;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn--small {
    min-height: 42px;
    padding-inline: 20px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    place-items: center;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--brand-blue);
    display: block;
}

.hero {
    overflow: hidden;
    background: linear-gradient(100deg, #fff 0%, #fff 48%, var(--paper) 48%, var(--brand-sky) 100%);
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 32px;
    padding: 18px 0 28px;
}

.hero__copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1,
.inner-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    margin: 14px 0 18px;
    line-height: 1.05;
    color: var(--ink);
}

.hero h1 {
    font-size: clamp(36px, 4.2vw, 52px);
}

.hero h1 span,
.section-title h2 span {
    color: var(--gold);
}

.hero__copy p {
    font-size: clamp(17px, 1.55vw, 20px);
    max-width: 520px;
    margin: 0 0 24px;
}

.mini-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 0 26px;
    max-width: 520px;
}

.mini-features div {
    min-height: 86px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.mini-features div:last-child {
    border-right: 0;
}

.mini-features span,
.why-grid span,
.service-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--brand-blue);
    border: 1px solid #b8ecfb;
}

.mini-features svg,
.why-grid svg,
.service-card__icon svg {
    width: 30px;
    height: 30px;
    color: var(--brand-blue);
}

.mini-features strong {
    font-size: 14px;
    max-width: 120px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    min-height: 380px;
    align-self: stretch;
    position: relative;
    display: grid;
    align-items: center;
    justify-items: end;
    isolation: isolate;
}

.hero__image::before,
.hero__image::after {
    display: none;
}

.hero__image::before {
    content: "";
    display: block;
    position: absolute;
    inset: 40px -10px 0 54px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    z-index: -1;
}

.hero__image img {
    width: min(640px, 100%);
    height: 360px;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
    clip-path: none;
    border: 10px solid #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: #fff;
}

.hero__logo-badge {
    position: absolute;
    right: 18px;
    bottom: 22px;
    transform: none;
    display: grid;
    grid-template-columns: 42px auto;
    align-items: center;
    gap: 8px 10px;
    background: #fff;
    color: var(--brand-blue);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.hero__logo-badge img {
    width: 44px;
    height: 56px;
    object-fit: contain;
    clip-path: none;
    grid-row: span 2;
}

.hero__logo-badge strong {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
}

.hero__logo-badge span {
    color: var(--brand-cyan);
    font-size: 12px;
    font-weight: 800;
}

.section {
    padding: 42px 0;
}

.section-title {
    text-align: center;
    margin: 0 auto 26px;
}

.section-title h2,
.cta-panel h2,
.dentist-copy h2,
.dentist-copy h3,
.inner-hero h1,
.form-card h2,
.contact-info h2,
.side-panel h2 {
    font-family: Georgia, 'Times New Roman', serif;
}

.section-title h2 {
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.12;
    margin: 0;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 18px;
    margin: 10px auto 0;
    background:
        linear-gradient(var(--gold), var(--gold)) left 50% / 48px 2px no-repeat,
        linear-gradient(var(--brand-blue), var(--brand-blue)) right 50% / 48px 2px no-repeat;
    opacity: .75;
}

.section-title p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
}

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

.section-title--left h2::after {
    margin-left: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-grid--large {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    min-height: 194px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
    display: grid;
    place-items: center;
    align-content: start;
    gap: 11px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--brand-cyan);
}

.service-card__icon {
    margin-inline: auto;
}

.service-card strong {
    font-size: 16px;
    color: var(--ink);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.service-card p {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.center {
    text-align: center;
    margin-top: 24px;
}

.dentist-band {
    padding-top: 12px;
}

.dentist-card {
    position: relative;
    display: grid;
    grid-template-columns: 410px 1fr;
    gap: 54px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 54px 0 0;
    background: #fff;
    overflow: hidden;
    min-height: 450px;
}

.dentist-photo {
    position: relative;
    min-height: 430px;
    border-radius: 8px 34px 34px 8px;
    overflow: hidden;
    border-right: 8px solid var(--gold);
}

.dentist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.dentist-photo span {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--brand-navy);
    color: #fff;
    padding: 14px 18px;
    font-weight: 700;
    line-height: 1.1;
}

.dentist-photo span strong {
    display: block;
    color: var(--gold);
    font-size: 44px;
    font-family: Georgia, 'Times New Roman', serif;
}

.dentist-copy {
    align-self: center;
    max-width: 730px;
    position: relative;
    z-index: 1;
}

.dentist-copy h3,
.dentist-copy h2 {
    font-size: clamp(32px, 4vw, 50px);
    margin: 8px 0;
    line-height: 1.1;
}

.degree {
    font-weight: 800;
    color: var(--brand-blue);
    margin-top: 0;
}

.check-list {
    padding: 0;
    margin: 16px 0 24px;
    list-style: none;
}

.check-list li {
    margin: 8px 0;
    padding-left: 28px;
    position: relative;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 17px;
    height: 17px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 48%, var(--brand-cyan) 50%);
}

.dentist-watermark {
    position: absolute;
    right: 35px;
    top: 35px;
    width: 290px;
    opacity: .08;
    color: var(--brand-blue);
}

.split-feedback {
    background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.split-feedback__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
}

.trust-showcase {
    display: grid;
    gap: 24px;
}

.section-title--testimonials {
    margin-top: 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.why-grid div {
    text-align: center;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    min-height: 150px;
    padding: 20px 14px;
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 34px rgba(6, 69, 173, .08);
}

.why-grid--row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.testimonial-slider {
    min-height: 190px;
    position: relative;
}

.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 34px;
    box-shadow: var(--shadow);
    display: none;
}

.testimonial.active {
    display: block;
}

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

.testimonial-row .testimonial {
    display: block;
    min-height: 100%;
}

.testimonial--with-image {
    padding: 24px;
}

.testimonial__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial__head strong,
.testimonial__head span {
    display: block;
}

.testimonial__head span {
    color: var(--muted);
    font-size: 13px;
}

.testimonial__avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-soft);
    background: #fff;
    flex: 0 0 auto;
}

.testimonial--with-image .quote {
    display: block;
    font-size: 48px;
    margin: 4px 0 -2px;
}

.quote {
    color: var(--gold);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 62px;
    line-height: .6;
}

.testimonial p {
    margin: 0 0 12px;
}

.stars {
    color: var(--gold);
    margin-top: 8px;
}

.cta-section {
    padding-top: 6px;
}

.cta-panel {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    color: #fff;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 26px;
    padding: 28px 44px;
}

.cta-panel > span {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: grid;
    place-items: center;
}

.cta-panel > span svg {
    width: 62px;
    height: 62px;
}

.cta-panel h2 {
    font-size: clamp(28px, 3vw, 44px);
    margin: 0 0 6px;
}

.cta-panel p {
    margin: 0;
    font-weight: 700;
}

.inner-hero {
    padding: 66px 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(234, 249, 255, .88)),
        url('../images/clinic-hero.png') center / cover;
    border-bottom: 1px solid var(--line);
}

.inner-hero h1 {
    font-size: clamp(40px, 5vw, 68px);
    max-width: 920px;
}

.inner-hero p {
    max-width: 700px;
    font-size: 20px;
    margin: 0;
}

.content-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.content-image,
.blog-card img,
.gallery-item img,
.appointment-side img,
.blog-detail__image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.content-image {
    aspect-ratio: 1 / .75;
}

.rich-text {
    font-size: 17px;
}

.rich-text h2,
.rich-text h3 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
}

.rich-text a {
    color: var(--brand-blue);
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.detail-card,
.side-panel,
.form-card,
.contact-info,
.appointment-side {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 12px 45px rgba(6, 69, 173, .07);
}

.detail-icon {
    margin: 0 0 18px;
}

.side-panel {
    position: sticky;
    top: 150px;
}

.side-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.gallery-grid,
.blog-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-item {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 34px rgba(6, 69, 173, .06);
}

.gallery-trigger {
    appearance: none;
    border: 0;
    padding: 0;
    width: 100%;
    display: block;
    position: relative;
    cursor: pointer;
    background: #fff;
}

.gallery-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(7, 50, 116, .46));
    opacity: 0;
    transition: opacity .2s ease;
}

.gallery-trigger > span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--brand-blue);
    font-size: 28px;
    line-height: 1;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.gallery-trigger:hover::after,
.gallery-trigger:focus-visible::after,
.gallery-trigger:hover > span,
.gallery-trigger:focus-visible > span {
    opacity: 1;
    transform: translateY(0);
}

.gallery-trigger:focus-visible {
    outline: 3px solid var(--brand-cyan);
    outline-offset: -3px;
}

.gallery-item img {
    height: 260px;
    border-radius: 0;
}

.gallery-item figcaption {
    padding: 16px;
    font-weight: 900;
}

.gallery-item figcaption span {
    display: block;
    color: var(--gold);
    font-size: 13px;
    margin-top: 4px;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 76px;
    align-items: center;
    gap: 12px;
    padding: 34px;
    background: rgba(5, 24, 56, .9);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox__stage {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 16px;
}

.gallery-lightbox__stage img {
    max-width: min(100%, 1020px);
    max-height: calc(100vh - 164px);
    object-fit: contain;
    border: 8px solid #fff;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
    transform: translateX(0);
    opacity: 1;
    transition: opacity .16s ease, transform .16s ease;
}

.gallery-lightbox.is-changing .gallery-lightbox__stage img {
    opacity: 0;
    transform: translateX(22px);
}

.gallery-lightbox.is-changing.is-prev .gallery-lightbox__stage img {
    transform: translateX(-22px);
}

.gallery-lightbox__stage p {
    margin: 0;
    text-align: center;
    color: #fff;
}

.gallery-lightbox__stage strong,
.gallery-lightbox__stage span {
    display: block;
}

.gallery-lightbox__stage span {
    color: var(--brand-cyan);
    font-size: 14px;
    font-weight: 800;
    margin-top: 3px;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
    background: var(--brand-cyan);
    transform: translateY(-1px);
}

.gallery-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 28px;
}

.gallery-lightbox__nav {
    width: 58px;
    height: 58px;
    justify-self: center;
    font-size: 44px;
    line-height: 1;
}

body.lightbox-open {
    overflow: hidden;
}

.blog-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.blog-card img {
    height: 230px;
    border-radius: 0;
}

.blog-card > div {
    padding: 20px;
}

.blog-card time {
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 13px;
}

.blog-card h2 {
    font-family: Georgia, 'Times New Roman', serif;
    margin: 8px 0;
    line-height: 1.18;
}

.text-link {
    color: var(--brand-blue);
    font-weight: 900;
}

.blog-detail__image {
    max-height: 440px;
    margin-bottom: 24px;
}

.dentist-list {
    display: grid;
    gap: 24px;
}

.dentist-card--page {
    padding: 0 42px 0 0;
}

.contact-grid,
.appointment-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 28px;
}

.form-card {
    display: grid;
    gap: 15px;
}

.form-card label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.form-card input,
.form-card textarea,
.form-card select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c8e4f1;
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
}

.form-card textarea {
    resize: vertical;
}

.contact-info p {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-info svg {
    width: 22px;
    color: var(--gold);
    flex: 0 0 auto;
}

.map-embed {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.appointment-side {
    padding: 0;
    overflow: hidden;
}

.appointment-side img {
    height: 390px;
    border-radius: 0;
}

.appointment-side div {
    padding: 28px;
}

.flash {
    margin-top: 18px;
    border-radius: 8px;
    padding: 14px 18px;
    font-weight: 800;
}

.flash--success {
    background: #e8f9ff;
    color: var(--brand-blue);
}

.flash--error {
    background: #fff0f0;
    color: #9d1e1e;
}

.footer {
    background: var(--brand-navy);
    color: #fff;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.35fr .75fr 1fr 1fr 1.25fr;
    gap: 34px;
    padding: 38px 0;
}

.brand--footer {
    min-width: auto;
    margin-bottom: 16px;
}

.brand--footer img {
    width: 64px;
    height: 64px;
}

.brand--footer strong {
    color: #fff;
    font-size: 31px;
}

.brand--footer em {
    font-size: 17px;
}

.footer h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin: 7px 0;
    color: #f0f0f0;
}

.footer li::before {
    content: ">";
    color: var(--gold);
    margin-right: 8px;
}

.footer p {
    color: #e8e8e8;
    margin: 8px 0;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.copyright {
    background: var(--brand-cyan);
    color: var(--brand-navy);
    font-weight: 700;
    padding: 12px 0;
}

.copyright__grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.float-appointment {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #fff;
    box-shadow: var(--shadow);
    z-index: 40;
}

.float-appointment svg {
    width: 30px;
}

@media (max-width: 1180px) {
    .topbar__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 92px;
    }

    .menu-toggle {
        display: grid;
    }

    .mainnav {
        grid-column: 1 / -1;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--line);
        padding: 8px 0 16px;
    }

    .mainnav.open {
        display: flex;
    }

    .mainnav a {
        padding: 12px 0;
    }

    .mainnav a::after {
        bottom: 6px;
    }

    .nav__cta {
        display: none;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 34px;
    }

    .hero__image {
        min-height: 360px;
        justify-items: center;
    }

    .hero__image img {
        height: 360px;
        min-height: 0;
    }

    .service-grid,
    .service-grid--large {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 28px, 720px);
    }

    .topbar__grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 0;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 66px;
        height: 82px;
    }

    .brand strong {
        font-size: 25px;
    }

    .brand em {
        font-size: 15px;
    }

    .hero {
        background: #fff;
    }

    .hero__grid {
        min-height: auto;
        gap: 26px;
    }

    .mini-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .mini-features div {
        border: 1px solid var(--line);
    }

    .hero__image {
        min-height: 340px;
    }

    .hero__image img {
        width: min(640px, 100%);
        height: 340px;
    }

    .hero__image::before {
        inset: 30px 8px 0;
    }

    .hero__logo-badge {
        right: 50%;
        bottom: 18px;
        transform: translateX(50%);
    }

    .service-grid,
    .service-grid--large,
    .gallery-grid,
    .blog-grid,
    .testimonial-grid,
    .testimonial-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .dentist-card,
    .dentist-card--page,
    .split-feedback__grid,
    .content-layout,
    .detail-grid,
    .contact-grid,
    .appointment-grid {
        grid-template-columns: 1fr;
    }

    .dentist-card,
    .dentist-card--page {
        padding: 0;
    }

    .dentist-photo {
        border-right: 0;
        border-bottom: 8px solid var(--gold);
        border-radius: 8px 8px 30px 30px;
    }

    .dentist-copy {
        padding: 0 24px 28px;
    }

    .split-feedback {
        background: #fff;
    }

    .side-panel {
        position: static;
    }

    .cta-panel {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 28px;
    }

    .gallery-lightbox {
        grid-template-columns: 54px minmax(0, 1fr) 54px;
        gap: 6px;
        padding: 24px 12px;
    }

    .gallery-lightbox__stage img {
        max-height: calc(100vh - 150px);
        border-width: 5px;
    }

    .gallery-lightbox__nav {
        width: 46px;
        height: 46px;
        font-size: 34px;
    }

    .copyright__grid {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 32px;
        margin: 10px 0 12px;
    }

    .hero__copy p,
    .inner-hero p {
        font-size: 16px;
    }

    .hero__copy p {
        margin-bottom: 16px;
    }

    .hero__grid {
        gap: 16px;
        padding: 20px 0 18px;
    }

    .mini-features {
        gap: 8px;
        margin-bottom: 18px;
    }

    .mini-features div {
        min-height: 58px;
        grid-template-columns: auto 1fr;
        place-items: center start;
        padding: 8px 10px;
        text-align: left;
    }

    .mini-features span,
    .why-grid span,
    .service-card__icon {
        width: 42px;
        height: 42px;
    }

    .mini-features svg,
    .why-grid svg,
    .service-card__icon svg {
        width: 23px;
        height: 23px;
    }

    .mini-features strong {
        font-size: 12px;
        max-width: none;
    }

    .hero__actions {
        display: grid;
    }

    .btn {
        width: 100%;
        min-height: 50px;
        padding-inline: 18px;
    }

    .service-grid,
    .service-grid--large,
    .gallery-grid,
    .blog-grid,
    .testimonial-grid,
    .testimonial-row,
    .why-grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .hero__image {
        min-height: 260px;
    }

    .hero__image img {
        height: 260px;
    }

    .hero__image::before {
        inset: 24px 0 0;
    }

    .why-grid div {
        min-height: auto;
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
        padding: 14px;
    }

    .hero__logo-badge {
        display: none;
    }

    .gallery-lightbox {
        grid-template-columns: 1fr 1fr;
        align-items: end;
        padding: 58px 14px 18px;
    }

    .gallery-lightbox__stage {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .gallery-lightbox__nav {
        grid-row: 2;
    }

    .gallery-lightbox__nav--prev {
        justify-self: end;
    }

    .gallery-lightbox__nav--next {
        justify-self: start;
    }

    .section {
        padding: 32px 0;
    }

    .inner-hero {
        padding: 58px 0;
    }
}
