

:root {
    --teal: #088faa;
    --teal-deep: #087c95;
    --ink: #203b43;
    --body: #4d6268;
    --muted: #61757b;
    --warm: #faf9f7;
    --mist: #eef7f8;
    --powder: #e0f1f5;
    --blush: #f7ebef;
    --rose: #d7a7b6;
    --paper: #ffffff;
    --soft-border: #e5edee;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7.2rem;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3,
h4,
p,
ul,
li,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 660;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

ul {
    padding: 0;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

img,
video,
svg {
    display: block;
}

img,
video {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

.container {
    width: calc(100% - 3.2rem);
    max-width: 73.2rem;
    margin-inline: auto;
}

.section {
    padding-block: 5.6rem;
}

.section-head {
    margin-bottom: 2.8rem;
    text-align: center;
}

.section-head h2 {
    font-size: 2.6rem;
}

.button-primary,
.button-secondary,
.text-action {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 0.2rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
    border-color: #225766;
    background: #225766;
    color: #ffffff;
}

.button-primary:hover {
    border-color: #173e49;
    background: #173e49;
}

.button-secondary,
.text-action {
    border-color: #b5c9cc;
    background: transparent;
    color: #225766;
}

.button-secondary:hover,
.text-action:hover {
    border-color: #4a7580;
    background: #edf5f4;
}

.skip-link {
    position: absolute;
    z-index: 200;
    top: -8rem;
    left: 1.2rem;
    padding: 0.8rem 1.4rem;
    background: #ffffff;
}

.skip-link:focus {
    top: 1.2rem;
}

.site-header {
    position: relative;
    z-index: 30;
    background: #ffffff;
}

.header-inner {
    display: flex;
    min-height: 6.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: block;
    width: 8.2rem;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}

.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.desktop-nav a {
    font-size: 0.8rem;
    font-weight: 650;
    white-space: nowrap;
    transition: color 150ms ease;
}

.desktop-nav a:hover {
    color: var(--teal-deep);
}

.header-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.6rem;
}


.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid #aec9cd;
    border-radius: 0.2rem;
    background: transparent;
    color: #225766;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.header-contact:hover {
    border-color: #487f88;
    background: #eef7f8;
}

.header-cta-desktop {
    display: none;
}

.header-cta-mobile {
    display: inline;
}

.ui-icon {
    width: 1.4rem;
    height: 1.4rem;
}

.menu-toggle {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    padding: 0.6rem;
    border: none;
    border-radius: 0.6rem;
    background: var(--blush);
}

.menu-toggle img {
    grid-area: 1 / 1;
    width: 1.6rem;
    height: 1.6rem;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 1.2rem max(1.6rem, calc((100% - 73.2rem) / 2));
    background: #ffffff;
    box-shadow: 0 1.2rem 2.4rem rgba(12, 69, 78, 0.09);
}

.mobile-nav ul {
    display: grid;
    gap: 0.4rem;
    list-style: none;
}

.mobile-nav li a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    font-weight: 650;
}

.mobile-nav li a:hover {
    background: var(--mist);
}

.mobile-call {
    display: block;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.2rem;
    background: #225766;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-block: 3.2rem 5.2rem;
    background: #ffffff;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    gap: 3.2rem;
}

.hero-text {
    min-width: 0;
    text-align: center;
}

.hero h1 {
    max-width: 13ch;
    margin-inline: auto;
    color: var(--ink);
    font-size: 3.2rem;
}

.hero-lead {
    max-width: 36rem;
    margin: 1.6rem auto 0;
    color: var(--body);
    font-size: 1.2rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
}

.hero-media {
    width: 100%;
    min-width: 0;
    max-width: 37rem;
    margin-inline: auto;
}

.hero-photo {
    overflow: hidden;
    aspect-ratio: 1.06 / 1;
    background: #edf5f5;
    border-radius: 0.8rem;
}

.hero-photo img,
.hero-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about {
    padding-block: 5.6rem;
    background: var(--warm);
}

.about-grid {
    display: grid;
    width: 100%;
    max-width: 55rem;
    gap: 2.4rem;
    margin-inline: auto;
}

.about-heading {
    width: 100%;
    text-align: center;
}

.about h2 {
    margin-inline: auto;
    font-size: 2.6rem;
}

.about-copy {
    width: 100%;
    min-width: 0;
    max-width: 55rem;
    margin-inline: auto;
}

.about-paragraphs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
}

.about-paragraphs p {
    color: var(--body);
    line-height: 1.8;
}

.about .text-action {
    display: flex;
    width: fit-content;
    margin: 2.4rem auto 0;
}

.services {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.services-heading {
    margin-bottom: 4rem;
}

.services-collection {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 5.6rem;
    width: 100%;
    max-width: 69.2rem;
    margin-inline: auto;
}

.service-story {
    min-width: 0;
    padding: 0;
}

.service-story-header {
    width: 100%;
    margin: 0 0 1.8rem;
    text-align: left;
}

.service-story-header h3 {
    color: var(--ink);
    font-size: 2.4rem;
    font-weight: 690;
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.service-story-lead {
    max-width: 48rem;
    margin-top: 1rem;
    color: var(--body);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    text-wrap: pretty;
}

.service-story-body {
    display: grid;
    align-content: start;
    gap: 1.2rem;
    color: var(--body);
}

.service-story-body p {
    font-size: 1rem;
    line-height: 1.8;
}

.service-story-body h4 {
    margin-top: 1.2rem;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.4;
}

.service-story-body ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0;
    list-style: none;
}

.service-story-body li {
    padding: 0;
    color: var(--body);
    line-height: 1.7;
}

.diagnostics {
    padding-block: 6rem;
    background: #f4f8f7;
}

.diagnostics-header {
    width: 100%;
    max-width: 50rem;
    margin: 0 auto 3.4rem;
    text-align: center;
}

.diagnostics-header h2 {
    font-size: 2.8rem;
}

.diagnostics-header p {
    margin-top: 1.4rem;
    color: var(--body);
    font-size: 1.1rem;
    line-height: 1.8;
}

.diagnostics-grid {
    display: grid;
    align-items: center;
    gap: 3.6rem;
}

.diagnostics-photo {
    overflow: hidden;
    width: 100%;
    min-width: 0;
    max-width: 36rem;
    margin-inline: auto;
    border-radius: 0.2rem;
    background: #e3eeee;
}

.diagnostics-photo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
}

.diagnostics-content {
    min-width: 0;
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
}

.diagnostics-content h3 {
    margin-bottom: 1.6rem;
    color: var(--ink);
    font-size: 1.7rem;
    font-weight: 620;
}

.equipment-list {
    display: grid;
    gap: 1.4rem;
    margin-bottom: 2.4rem;
}

.equipment-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
}

.equipment-list dt {
    color: var(--ink);
    font-weight: 650;
}

.equipment-list dd {
    color: var(--body);
    line-height: 1.6;
}

.diagnostics-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.6rem;
    max-width: 69rem;
    margin: 5.2rem auto 0;
}

.diagnostics-info > div {
    min-width: 0;
}

.diagnostics-info h3 {
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
    font-weight: 650;
}

.diagnostics-audience ul {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding-left: 1.4rem;
    list-style: disc;
}

.diagnostics-audience li::marker {
    color: #527c82;
}

.diagnostics-audience li,
.diagnostics-result p {
    color: var(--body);
    line-height: 1.8;
}

.team {
    background: #ffffff;
}

.team-heading {
    margin-bottom: 3.6rem;
}

.team-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3.6rem 2.4rem;
}

.person {
    width: 100%;
    min-width: 0;
    max-width: 30rem;
}

.person-photo {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 0.90 / 1;
    border-radius: 0.6rem;
    background: var(--mist);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 220ms ease;
}

.person:hover .person-photo img {
    transform: scale(1.015);
}

.person-info {
    padding: 1.8rem 0 0;
}

.person-info h3 {
    font-size: 1.8rem;
    line-height: 1.25;
    text-align: center;
}

.person-role {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 1rem;
    text-align: center;
}

.person-specializations {
    margin-top: 0.8rem;
    color: var(--teal-deep);
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.6;
    text-align: center;
}

.person-description {
    margin-top: 1.8rem;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
}

.news {
    background: var(--warm);
}

.news-list {
    display: grid;
    gap: 1.2rem;
}

.news-item {
    display: grid;
    align-items: start;
    gap: 0.8rem;
    padding: 2rem;
    border-radius: 0.6rem;
    background: #ffffff;
}

.news-item-meta,
.news-item time {
    color: var(--teal-deep);
    font-size: 0.8rem;
}

.news-item h3 {
    font-size: 1.6rem;
}

.news-item p {
    margin-top: 0.6rem;
    color: var(--body);
}

.news-item-link,
.news-all-link {
    width: fit-content;
    padding: 0.6rem 1.2rem;
    border: 0;
    border-radius: 0.4rem;
    background: var(--powder);
    color: var(--teal-deep);
    font-weight: 650;
}

.news-all-link {
    margin-top: 1.8rem;
}


.news-empty {
    max-width: 42rem;
    margin-inline: auto;
    padding-block: 1.2rem;
    color: var(--body);
    font-size: 1rem;
    text-align: center;
}

.questions {
    background: #ffffff;
}

.questions-grid {
    display: grid;
    gap: 2rem;
}

.questions h2 {
    font-size: 2.6rem;
    text-align: center;
}

.faq-list {
    display: grid;
    width: 100%;
    max-width: 52rem;
    gap: 0.8rem;
    margin-inline: auto;
}

.faq-item {
    padding-inline: 1.6rem;
    border-radius: 0.6rem;
    background: var(--mist);
}

.faq-item summary {
    display: flex;
    min-height: 4.6rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.2rem;
    list-style: none;
    cursor: pointer;
    font-weight: 650;
}

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

.faq-chevron {
    width: 0.8rem;
    height: 0.8rem;
    flex-shrink: 0;
    margin-right: 0.4rem;
    border-right: 2px solid var(--teal-deep);
    border-bottom: 2px solid var(--teal-deep);
    transform: rotate(45deg);
    transition: transform 180ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(225deg);
}

.faq-item > p {
    max-width: 40rem;
    padding: 0 2rem 1.8rem 0;
    color: var(--body);
}

.contact {
    background: var(--powder);
}

.contact-grid {
    display: grid;
    gap: 3.2rem;
}

.contact-copy,
.contact-map-wrap {
    width: 100%;
    min-width: 0;
}

.contact h2 {
    font-size: 2.8rem;
}

.contact-copy > p {
    max-width: 34rem;
    margin-top: 1.4rem;
    color: var(--body);
}

.contact-details {
    display: grid;
    gap: 1.6rem;
    margin-top: 2.6rem;
}

.contact-details dt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: var(--teal-deep);
    font-size: 0.8rem;
    font-weight: 700;
}

.contact-details dt img {
    width: 1.2rem;
    height: 1.2rem;
}

.contact-details dd {
    overflow-wrap: anywhere;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.contact-socials a {
    display: inline-flex;
    min-width: 10.4rem;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid #b5c9cc;
    border-radius: 0.2rem;
    background: transparent;
    font-weight: 600;
}

.contact-socials img {
    width: 1.2rem;
    height: 1.2rem;
}

.contact-map-wrap {
    display: flex;
    flex-direction: column;
}


.contact-map {
    overflow: hidden;
    width: 100%;
    min-height: 24rem;
    border-radius: 0.6rem;
    background: var(--mist);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 28rem;
    min-height: 24rem;
    border: 0;
}

.map-directions {
    display: inline-flex;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    background: #ffffff;
    color: var(--teal-deep);
    font-weight: 650;
}

.footer {
    position: relative;
    overflow: hidden;
    background: var(--warm);
}

.footer-top {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    padding-block: 5.2rem 4.4rem;
}

.footer-brand,
.footer-nav,
.footer-contact {
    min-width: 0;
}

.footer-brand {
    text-align: center;
}

.footer-brand a {
    display: inline-block;
}

.footer-brand img {
    width: 11.2rem;
    height: auto;
}

.footer-brand p {
    max-width: 22rem;
    margin: 1rem auto 0;
    color: var(--body);
}

.footer h2 {
    margin-bottom: 1.4rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-nav {
    text-align: center;
}

.footer-nav ul {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    list-style: none;
}

.footer-nav a {
    color: var(--body);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--teal-deep);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.footer-contact h2 {
    margin-bottom: 0.6rem;
}

.footer-contact a,
.footer-contact p {
    overflow-wrap: anywhere;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-phone img {
    width: 1.4rem;
    height: 1.4rem;
}

.footer-email,
.footer-contact p {
    color: var(--body);
    font-size: 1rem;
}

.footer-facebook,
.footer-instagram {
    display: inline-flex;
    width: 10.4rem;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.4rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    background: var(--powder);
    color: var(--teal-deep);
    font-weight: 650;
    line-height: 1.4;
}

.footer-facebook:hover,
.footer-instagram:hover {
    border-color: #b5c9cc;
    background: #d6eaef;
}

.footer-facebook img,
.footer-instagram img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    padding-block: 1.8rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

.content-dialog {
    width: calc(100% - 3.2rem);
    max-width: 46rem;
    max-height: 88vh;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 0.8rem;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 2rem 6rem rgba(12, 50, 60, 0.20);
}

.content-dialog::backdrop {
    background: rgba(17, 52, 62, 0.62);
}

.dialog-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.6rem;
    background: #ffffff;
    color: var(--teal-deep);
    font-weight: 700;
}

.dialog-header button {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 0;
    border-radius: 0.6rem;
    background: var(--mist);
    font-size: 1.6rem;
}

.dialog-body {
    padding: 2rem;
}

.dialog-body time {
    color: var(--teal-deep);
    font-size: 0.8rem;
}

.dialog-body h2 {
    margin-top: 0.8rem;
    font-size: 2rem;
}

.dialog-body p {
    margin-top: 1.2rem;
    color: var(--body);
}

.dialog-image {
    max-height: 22rem;
    margin-bottom: 1.4rem;
    object-fit: cover;
}

.dialog-lead {
    font-weight: 650;
}

.all-news-row {
    display: grid;
    width: 100%;
    gap: 0.4rem;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid var(--soft-border);
    background: transparent;
    text-align: left;
}

.all-news-row time {
    color: var(--teal-deep);
    font-size: 0.8rem;
}

.legal-page {
    padding-block: 5.6rem 7.2rem;
    background: var(--warm);
}

.legal-content {
    max-width: 52rem;
}

.legal-content h1 {
    margin-bottom: 2.6rem;
    font-size: 3rem;
}

.legal-content h2 {
    margin-block: 2.8rem 1rem;
    font-size: 1.6rem;
}

.legal-content p {
    margin-bottom: 1.2rem;
    color: var(--body);
}

.legal-content a {
    color: var(--teal-deep);
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .container {
        width: calc(100% - 5.6rem);
    }

    .section {
        padding-block: 7.2rem;
    }

    .section-head h2,
    .about h2,
    .questions h2 {
        font-size: 3rem;
    }

    .header-inner {
        min-height: 7.2rem;
    }

    .logo {
        width: 10rem;
    }

    .hero {
        padding-block: 5.2rem 7.2rem;
    }

    .hero h1 {
        font-size: 4.2rem;
    }

    .hero-lead {
        font-size: 1.2rem;
    }

    .hero-photo {
        aspect-ratio: 1.5 / 1;
    }

    .about {
        padding-block: 7.2rem;
    }

    .about-paragraphs p:first-child {
        font-size: 1.2rem;
    }


    .diagnostics {
        padding-block: 7.2rem;
    }

    .diagnostics-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .diagnostics-header h2 {
        font-size: 3.2rem;
    }

    .diagnostics-measures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .person {
        flex: 0 1 calc((100% - 2.4rem) / 2);
    }

    .person-info h3 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 3.2rem;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) minmax(0, 1.2fr);
        align-items: start;
        gap: 3rem;
    }

    .footer-brand,
    .footer-nav,
    .footer-contact {
        text-align: left;
    }

    .footer-brand p {
        margin-left: 0;
    }

    .footer-nav ul {
        justify-items: start;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-bottom {
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .container {
        width: calc(100% - 7.2rem);
    }

    .desktop-nav {
        display: block;
    }

    .header-contact {
        min-width: 0;
        height: auto;
        min-height: 3.2rem;
        padding: 0.8rem 1.2rem;
        border-color: #225766;
        background: #225766;
        color: #ffffff;
    }

    .header-cta-mobile {
        display: none;
    }

    .header-cta-desktop {
        display: inline;
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 4.4rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero h1 {
        margin-left: 0;
        font-size: 4.2rem;
    }

    .hero-lead {
        margin-left: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-photo {
        aspect-ratio: 1.1 / 1;
    }

    .about-heading {
        text-align: center;
    }


    .diagnostics-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 4.8rem;
    }

    .diagnostics-header h2 {
        font-size: 3.6rem;
    }

    .diagnostics-info {
        margin-top: 4rem;
    }

    .person {
        flex: 0 1 calc((100% - 4.8rem) / 3);
        max-width: 23rem;
    }

    .person-info h3 {
        font-size: 2rem;
    }

    .news-item {
        grid-template-columns: 7rem minmax(0, 1fr) auto;
        gap: 2rem;
    }

    .contact-grid {
        gap: 5.2rem;
    }
}


@media (min-width: 768px) {
    .services-collection {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4.8rem;
        row-gap: 6.4rem;
    }

    .service-story-header h3 {
        font-size: 2.6rem;
    }

    .service-story-header {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-collection {
        column-gap: 7.2rem;
        row-gap: 7.2rem;
    }

    .service-story-header h3 {
        font-size: 3rem;
    }

    .services::before {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

.diagnostics-measures {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem 2.2rem;
    margin-top: 2rem;
}

.diagnostics-measures h4 {
    margin-bottom: 0.4rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 650;
}

.diagnostics-result .diagnostics-measures p {
    margin: 0;
    color: var(--body);
    font-size: 0.9rem;
}

.gallery-section {
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}

.gallery-photo {
    min-width: 0;
    margin: 0;
}

.gallery-photo img {
    display: block;
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.4rem;
}

.gallery-photo figcaption {
    margin-top: 0.8rem;
    color: var(--body);
    font-size: 1rem;
}

.reviews-section {
    background: #f7eef1;
}

.reviews-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}

.review-item {
    min-width: 0;
    margin: 0;
}

.review-item blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 1.4rem;
    line-height: 1.5;
}

.review-item figcaption {
    margin-top: 1rem;
    color: var(--body);
    font-size: 1rem;
}

.review-item figcaption a {
    display: inline-block;
    margin-left: 0.8rem;
    color: var(--teal-deep);
}

.hours-schedule {
    margin-top: 2rem;
    color: var(--body);
}

.hours-schedule h3 {
    color: var(--ink);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.news-item-photo img {
    display: block;
    width: 100%;
    max-height: 16rem;
    object-fit: cover;
    border-radius: 0.4rem;
}



@media (min-width: 768px) {
    .diagnostics-measures,
    .reviews-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .news-item:has(.news-item-photo) {
        grid-template-columns: 7rem 12rem minmax(0, 1fr) auto;
    }
}


.review-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: #b47736;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
}

.review-rating-count {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: normal;
}

.review-item figcaption strong {
    font-weight: 650;
    color: var(--ink);
}

.services-heading {
    margin-bottom: 2.4rem;
}

.offer-accordion {
    width: 100%;
    max-width: 68rem;
    margin-inline: auto;
}

.offer-accordion-item {
    min-width: 0;
    border-bottom: 1px solid #e3ebed;
}

.offer-accordion-item:first-child {
    border-top: 1px solid #e3ebed;
}

.offer-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
    padding: 1.8rem 0.8rem;
    cursor: pointer;
    list-style: none;
}

.offer-accordion-summary::-webkit-details-marker {
    display: none;
}

.offer-accordion-summary::marker {
    content: "";
}

.offer-summary-text {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 0.6rem;
}

.offer-service-title {
    display: block;
    color: var(--ink);
    font-size: 1.8rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.offer-service-lead {
    display: block;
    max-width: 54rem;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.6;
}

.offer-expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.8rem;
    width: 2.8rem;
    height: 2.8rem;
    color: #276877;
}

.offer-expand-icon svg {
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    transition: transform 180ms ease;
}

.offer-accordion-item[open] .offer-expand-icon svg {
    transform: rotate(180deg);
}

.offer-accordion-summary:hover .offer-service-title {
    color: #137b8a;
}

.offer-accordion-summary:focus-visible {
    border-radius: 0.4rem;
    outline: 2px solid #168599;
    outline-offset: -2px;
}

.offer-accordion-content {
    padding: 0 4.4rem 2.4rem 0.8rem;
}

.offer-rich-text {
    display: grid;
    max-width: 55rem;
    gap: 1.2rem;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.8;
}

.offer-rich-text h4 {
    margin-top: 0.4rem;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.4;
}

.offer-rich-text p {
    line-height: 1.8;
}

.offer-rich-text ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem 2.4rem;
    margin: 0.4rem 0;
    padding-left: 1.6rem;
    list-style: disc;
}

.offer-rich-text li {
    min-width: 0;
    padding-left: 0.2rem;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.7;
}

.offer-rich-text li::marker {
    color: #527c82;
    font-size: 0.9em;
}

@media (min-width: 1024px) {
    .offer-rich-text ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .offer-accordion-summary {
        padding: 2rem 1.2rem;
    }

    .offer-accordion-content {
        padding: 0 5rem 2.8rem 1.2rem;
    }
}

@media (min-width: 1024px) {
    .offer-service-title {
        font-size: 2rem;
    }

    .offer-summary-text {
        display: grid;
        align-items: baseline;
        grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.6fr);
        gap: 2.8rem;
    }

    .offer-accordion-summary {
        padding: 2.2rem 1.2rem;
    }

    .offer-accordion-content {
        padding: 0 5rem 3rem 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-expand-icon svg {
        transition: none;
    }
}

@keyframes dm-enter {
    from {
        opacity: 0.4;
        transform: translate3d(0, 0.8rem, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes dm-accordion-enter {
    from {
        opacity: 0.5;
        transform: translateY(-0.4rem);
    }

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

@media (prefers-reduced-motion: no-preference) {
    .dm-motion-entered {
        animation: dm-enter 660ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero-media.dm-motion-entered {
        animation-delay: 110ms;
        animation-duration: 820ms;
    }

    .offer-accordion-item[open] > .offer-accordion-content {
        animation: dm-accordion-enter 340ms ease-out both;
    }

    .person-photo img {
        transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dm-motion-entered,
    .offer-accordion-item[open] > .offer-accordion-content {
        animation: none !important;
    }
}


@media (max-width: 767px) {
    .about-copy,
    .about-paragraphs,
    .about-paragraphs p {
        text-align: center;
    }

    .header-inner {
        gap: 0.6rem;
    }

    .logo {
        width: 7.2rem;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .header-contact {
        padding-inline: 0.8rem;
    }

    .person-info {
        padding-inline: 0.2rem;
    }

    .person-role,
    .person-specializations {
        max-width: 27rem;
        margin-inline: auto;
    }
}

.person-role::before,
.person-role::after,
.person-specializations::before,
.person-specializations::after {
    content: none;
}

.legal-content .legal-note {
    margin-top: 2.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.social-embed {
    width: 100%;
    max-width: 560px;
    margin: 1.2rem auto;
    padding: 1rem;
    border: 1px solid #dce7e9;
    border-radius: 0.5rem;
    text-align: center;
}
.social-embed-frame {
    display: block;
    width: 100%;
    min-height: 530px;
    border: 0;
}
.social-embed a {
    display: inline-block;
    margin-top: 0.6rem;
    color: #174a55;
}

.legal-back-link {
    flex-shrink: 0;
    min-height: 3rem;
    padding-inline: 1.2rem;
    white-space: normal;
}

@media (max-width: 479px) {
    .legal-header .header-inner {
        gap: 0.8rem;
    }

    .legal-header .logo {
        width: 6.8rem;
    }

    .legal-back-link {
        max-width: 9rem;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.news-latest {
    min-width: 0;
    border-radius: 0.6rem;
    background: #ffffff;
    text-align: center;
    overflow-wrap: anywhere;
}

.news-latest h3 {
    margin-top: 0.8rem;
    font-size: 2rem;
}

.news-latest .dialog-image,
.news-dialog .dialog-image {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}

.news-dialog .dialog-header,
.reviews-dialog .dialog-header {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem;
    text-align: center;
    z-index: 1;
    border-bottom: 1px solid var(--soft-border);
}

.news-dialog .dialog-header span,
.reviews-dialog .dialog-header span {
    grid-column: 2;
}

.news-dialog .dialog-header button,
.reviews-dialog .dialog-header button {
    grid-column: 3;
}

.news-dialog .dialog-body,
.news-dialog .all-news-row {
    text-align: center;
    overflow-wrap: anywhere;
}

.news-all-link {
    display: block;
    margin-inline: auto;
    text-align: center;
}

.all-reviews-list {
    display: grid;
    gap: 1.8rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.all-reviews-list .review-item + .review-item {
    padding-top: 1.8rem;
    border-top: 1px solid var(--soft-border);
}

.all-reviews-list .review-rating {
    justify-content: center;
}

.social-embed {
    max-width: 500px;
    padding: 0;
    border: 0;
}

.social-embed-frame {
    min-height: 580px;
}

@media (max-width: 480px) {
    .news-latest,
    .news-dialog .dialog-body,
    .reviews-dialog .dialog-body {
        padding: 1.2rem;
    }
    .social-embed-frame {
        min-height: 480px;
    }
}


.reviews-list {
    max-width: 64rem;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
}

.review-item {
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
    text-align: center;
    overflow-wrap: anywhere;
}

.review-rating {
    justify-content: center;
}

@media (min-width: 768px) {
    .reviews-list .review-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
