:root {
    --navy-950: #04142f;
    --navy-900: #07265e;
    --navy-800: #0a337d;
    --navy-700: #124997;
    --blue-600: #3154e8;
    --violet-600: #4722f1;
    --cyan-500: #12a8c9;
    --cyan-100: #dff8fc;
    --red-600: #e92636;
    --red-100: #ffe6e8;
    --ink: #14213d;
    --muted: #61708b;
    --line: #dce4ef;
    --soft: #f4f7fb;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(5, 31, 77, 0.08);
    --shadow-md: 0 20px 55px rgba(5, 31, 77, 0.14);
    --shadow-lg: 0 30px 80px rgba(2, 20, 52, 0.22);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --container: 1180px;
    --header-height: 90px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.65em;
    color: var(--navy-950);
    font-family: "Manrope", sans-serif;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: 1.28rem;
}

p {
    margin: 0 0 1.2rem;
}

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

::selection {
    color: #fff;
    background: var(--navy-800);
}

:focus-visible {
    outline: 3px solid rgba(18, 168, 201, 0.55);
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 12px 18px;
    border-radius: 10px;
    color: #fff;
    background: var(--navy-950);
}

.skip-link:focus {
    transform: translateY(0);
}

.section {
    padding: 110px 0;
}

.section--soft {
    background: var(--soft);
}

.section--overlap {
    position: relative;
    z-index: 8;
    margin-top: -54px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--navy-700);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 3px;
    border-radius: 4px;
    background: var(--red-600);
    content: "";
}

.eyebrow--light {
    color: #d9e9ff;
}

.eyebrow--light::before {
    background: #ff5d68;
}

.lead {
    color: var(--navy-900);
    font-size: 1.18rem;
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

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

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--navy-700), var(--violet-600));
    box-shadow: 0 12px 28px rgba(48, 54, 213, 0.28);
}

.btn--primary:hover {
    box-shadow: 0 16px 35px rgba(48, 54, 213, 0.36);
}

.btn--white {
    color: var(--navy-900);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.btn--outline {
    color: var(--navy-800);
    border-color: #aebbd0;
    background: transparent;
}

.btn--outline:hover {
    color: #fff;
    border-color: var(--navy-800);
    background: var(--navy-800);
}

.btn--outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.btn--glass {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.btn--glass:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.btn--danger {
    color: #fff;
    background: var(--red-600);
    box-shadow: 0 14px 30px rgba(233, 38, 54, 0.3);
}

.btn--large {
    min-height: 58px;
    padding: 16px 26px;
}

.btn--small {
    min-height: 42px;
    padding: 10px 17px;
    font-size: 0.91rem;
}

.btn--block {
    width: 100%;
}

.topbar {
    position: relative;
    z-index: 1100;
    color: #dceaff;
    background: var(--navy-950);
    font-size: 0.86rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    gap: 20px;
}

.topbar p {
    margin: 0;
}

.topbar i {
    margin-right: 7px;
    color: #ff5965;
}

.topbar__contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar a:hover {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(9, 43, 96, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 35px rgba(5, 31, 77, 0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: 230px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav > a:not(.btn) {
    position: relative;
    padding: 33px 0 30px;
    color: #34445e;
    font-size: 0.94rem;
    font-weight: 700;
}

.main-nav > a:not(.btn)::after {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 3px;
    border-radius: 5px;
    background: var(--red-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
    content: "";
}

.main-nav > a:not(.btn):hover,
.main-nav > a.is-active:not(.btn) {
    color: var(--navy-800);
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a.is-active:not(.btn)::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--soft);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    border-radius: 4px;
    background: var(--navy-900);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    color: #fff;
    background: var(--navy-950);
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__media {
    background: url("../img/clinique-facade.jpg") center/cover no-repeat;
    transform: scale(1.025);
}

.hero__overlay {
    background:
        radial-gradient(circle at 76% 28%, rgba(19, 168, 202, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(3, 18, 48, 0.98) 0%, rgba(5, 31, 77, 0.92) 43%, rgba(5, 31, 77, 0.38) 74%, rgba(5, 31, 77, 0.18) 100%),
        linear-gradient(0deg, rgba(3, 18, 48, 0.5), transparent 45%);
}

.hero::after {
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.02);
    content: "";
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: center;
    min-height: 720px;
    gap: 80px;
    padding-top: 30px;
    padding-bottom: 90px;
}

.hero__copy {
    max-width: 790px;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #eaf4ff;
    background: rgba(255, 255, 255, 0.09);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 25px;
    color: #fff;
    font-size: clamp(3rem, 6.2vw, 5.7rem);
}

.hero h1 span {
    color: #9deaf7;
}

.hero__copy > p {
    max-width: 720px;
    margin-bottom: 32px;
    color: #d7e4f5;
    font-size: 1.17rem;
}

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

.hero__assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
    color: #d8e6f6;
    font-size: 0.9rem;
}

.hero__assurance span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__assurance i {
    color: #77e0ef;
}

.hero__card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.hero__card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--red-600), #ff7881);
    content: "";
}

.hero__card-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    border-radius: 18px;
    color: #fff;
    background: var(--red-600);
    place-items: center;
    font-size: 1.5rem;
}

.hero__card > span {
    display: block;
    color: #d9e6f8;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__card strong {
    display: block;
    margin: 8px 0 15px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 2.5rem;
    line-height: 1;
}

.hero__card p {
    color: #d8e5f4;
    font-size: 0.93rem;
}

.hero__card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
}

.quick-actions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(8, 44, 108, 0.09);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.quick-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 110px;
    padding: 24px 25px;
    border-right: 1px solid var(--line);
    gap: 15px;
    transition: background 0.2s ease, color 0.2s ease;
}

.quick-card:last-child {
    border-right: 0;
}

.quick-card:hover {
    color: #fff;
    background: var(--navy-800);
}

.quick-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: var(--navy-800);
    background: #e9effd;
    place-items: center;
    font-size: 1.15rem;
}

.quick-card__icon--red {
    color: var(--red-600);
    background: var(--red-100);
}

.quick-card strong,
.quick-card small {
    display: block;
}

.quick-card strong {
    color: var(--navy-950);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
}

.quick-card small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
}

.quick-card:hover strong,
.quick-card:hover small {
    color: #fff;
}

.quick-card > i {
    color: #8c9ab0;
    font-size: 0.85rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 85px;
}

.media-stack {
    position: relative;
    max-width: 500px;
    margin-inline: auto;
    padding: 0 35px 40px 0;
}

.media-stack::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border-radius: 28px;
    background: #dff5fa;
    content: "";
}

.media-stack__main {
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 620px;
    border-radius: 34px 34px 100px 34px;
    box-shadow: var(--shadow-md);
}

.media-stack__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-stack__accent {
    position: absolute;
    z-index: 2;
    right: -25px;
    bottom: 62px;
    display: grid;
    width: 210px;
    padding: 24px;
    border-radius: 20px;
    color: #fff;
    background: var(--navy-800);
    box-shadow: var(--shadow-md);
}

.media-stack__accent i {
    margin-bottom: 12px;
    color: #79e1ef;
    font-size: 1.6rem;
}

.media-stack__accent strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
}

.media-stack__accent span {
    margin-top: 4px;
    color: #d7e7f9;
    font-size: 0.85rem;
}

.section-copy h2 {
    margin-bottom: 24px;
}

.section-copy > p:not(.lead) {
    color: var(--muted);
}

.feature-list {
    display: grid;
    gap: 18px;
    margin: 30px 0 30px;
}

.feature-list > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 16px;
}

.feature-list i {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--navy-700);
    background: #e9effd;
    place-items: center;
}

.feature-list span,
.feature-list strong {
    display: block;
}

.feature-list span {
    color: var(--muted);
    font-size: 0.95rem;
}

.feature-list strong {
    margin-bottom: 2px;
    color: var(--navy-950);
    font-family: "Manrope", sans-serif;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-800);
    font-weight: 800;
}

.text-link i {
    transition: transform 0.2s ease;
}

.text-link:hover i {
    transform: translateX(5px);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading--split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    max-width: none;
    gap: 70px;
}

.section-heading--split p,
.section-heading--center > p {
    color: var(--muted);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 315px;
    padding: 28px;
    border: 1px solid #e1e7f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(6, 34, 83, 0.04);
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    z-index: 2;
    border-color: rgba(18, 73, 151, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: var(--navy-700);
    background: linear-gradient(135deg, #edf2ff, #e4f8fb);
    place-items: center;
    font-size: 1.35rem;
}

.service-card h3 {
    min-height: 2.3em;
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--navy-700);
    font-size: 0.9rem;
    font-weight: 800;
}

.service-card--emergency {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
}

.service-card--emergency::after {
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 145px;
    height: 145px;
    border: 28px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.service-card--emergency h3,
.service-card--emergency a {
    color: #fff;
}

.service-card--emergency p {
    color: #d9e5f5;
}

.service-card--emergency .service-card__icon {
    color: #fff;
    background: var(--red-600);
}

.centered-action {
    margin-top: 42px;
    text-align: center;
}

.commitment {
    position: relative;
    overflow: hidden;
    color: #dce9fa;
    background:
        radial-gradient(circle at 85% 15%, rgba(18, 168, 201, 0.2), transparent 26%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.commitment::before {
    position: absolute;
    top: -190px;
    right: -80px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
    content: "";
}

.commitment__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.commitment h2 {
    color: #fff;
}

.commitment__content > p {
    margin-bottom: 30px;
    color: #c9daee;
    font-size: 1.05rem;
}

.commitment__values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.commitment__values > div {
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
}

.commitment__values span {
    color: #70dae9;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
}

.commitment__values strong {
    display: block;
    margin: 18px 0 8px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 1.1rem;
}

.commitment__values p {
    margin: 0;
    color: #c9daee;
    font-size: 0.9rem;
}

.location-photo {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.location-photo img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.location-photo__label {
    position: absolute;
    right: 25px;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 17px;
    color: #fff;
    background: rgba(4, 20, 47, 0.82);
    backdrop-filter: blur(14px);
}

.location-photo__label i {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--red-600);
    place-items: center;
}

.location-photo__label span,
.location-photo__label strong {
    display: block;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin: 30px 0;
}

.contact-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: start;
    gap: 14px;
}

.contact-list i {
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--navy-700);
    background: #eaf0fd;
    place-items: center;
}

.contact-list span,
.contact-list strong {
    display: block;
}

.contact-list span {
    color: var(--muted);
}

.contact-list strong {
    color: var(--navy-950);
    font-size: 0.9rem;
}

.contact-list a {
    color: var(--navy-700);
    font-weight: 700;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--navy-900);
}

.page-hero::before,
.page-hero::after {
    position: absolute;
    inset: 0;
    content: "";
}

.page-hero::before {
    background: url("../img/clinique-facade.jpg") center/cover no-repeat;
}

.page-hero::after {
    background: linear-gradient(90deg, rgba(3,18,48,.98), rgba(6,44,108,.88) 52%, rgba(7,38,94,.45));
}

.page-hero--services::before {
    background-position: center 45%;
}

.page-hero--contact::before {
    background-position: center 62%;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 470px;
    padding-top: 60px;
    padding-bottom: 70px;
}

.page-hero__inner > div {
    max-width: 820px;
}

.page-hero h1 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.page-hero p {
    max-width: 700px;
    color: #d8e6f6;
    font-size: 1.12rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #c9d9ec;
    font-size: 0.86rem;
}

.breadcrumb i {
    font-size: 0.65rem;
}

.breadcrumb a:hover {
    color: #fff;
}

.split--about-page {
    align-items: start;
}

.about-gallery {
    position: relative;
    min-height: 620px;
}

.about-gallery img {
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.about-gallery__wide {
    width: 83%;
    height: 340px;
    margin-left: auto;
    border-radius: 28px;
}

.about-gallery__tall {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48%;
    height: 360px;
    border: 10px solid #fff;
    border-radius: 28px;
}

.about-gallery__quote {
    position: absolute;
    right: 0;
    bottom: 34px;
    width: 51%;
    padding: 26px;
    border-radius: 20px;
    color: #fff;
    background: var(--navy-800);
    box-shadow: var(--shadow-md);
}

.about-gallery__quote i {
    margin-bottom: 10px;
    color: #78e2ef;
    font-size: 1.35rem;
}

.about-gallery__quote p {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.mission-card {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.mission-card__number {
    position: absolute;
    top: 24px;
    right: 30px;
    color: #d9e1ee;
    font-family: "Manrope", sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.mission-card__icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 58px;
    border-radius: 20px;
    color: var(--navy-700);
    background: #eaf0ff;
    place-items: center;
    font-size: 1.55rem;
}

.mission-card p {
    color: var(--muted);
}

.mission-card--dark {
    color: #d9e7f7;
    border: 0;
    background: linear-gradient(145deg, var(--navy-950), var(--navy-700));
}

.mission-card--dark h3 {
    color: #fff;
}

.mission-card--dark p {
    color: #d3e1f2;
}

.mission-card--dark .mission-card__number {
    color: rgba(255,255,255,.12);
}

.mission-card--dark .mission-card__icon {
    color: #fff;
    background: var(--red-600);
}

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

.value-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}

.value-card > span {
    display: grid;
    width: 55px;
    height: 55px;
    margin-bottom: 24px;
    border-radius: 17px;
    color: var(--navy-700);
    background: linear-gradient(135deg, #eef2ff, #e2f8fc);
    place-items: center;
    font-size: 1.25rem;
}

.value-card p {
    margin: 0;
    color: var(--muted);
}

.institutional {
    color: #d7e5f5;
    background:
        radial-gradient(circle at 12% 15%, rgba(18,168,201,.18), transparent 25%),
        linear-gradient(135deg, var(--navy-950), #0b3b89);
}

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

.institutional__mark {
    display: grid;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    color: #80e3ef;
    background: rgba(255,255,255,.06);
    box-shadow: inset 0 0 0 30px rgba(255,255,255,.025);
    place-items: center;
    font-size: 5rem;
}

.institutional h2 {
    color: #fff;
}

.institutional__content p {
    max-width: 850px;
    color: #cfdeef;
    font-size: 1.04rem;
}

.service-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    gap: 25px;
}

.service-search {
    display: flex;
    align-items: center;
    width: min(100%, 340px);
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--soft);
}

.service-search i {
    color: #8b98ac;
}

.service-search input {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.service-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-filters button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #52617a;
    background: #fff;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
}

.service-filters button:hover,
.service-filters button.is-active {
    color: #fff;
    border-color: var(--navy-800);
    background: var(--navy-800);
}

.services-group {
    margin-bottom: 95px;
}

.services-group__heading {
    display: grid;
    grid-template-columns: 65px 1fr;
    align-items: start;
    margin-bottom: 32px;
    gap: 18px;
}

.services-group__heading > span {
    display: grid;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #fff;
    background: var(--navy-800);
    place-items: center;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.services-group__heading h2 {
    margin-bottom: 8px;
    font-size: 2rem;
}

.services-group__heading p {
    margin: 0;
    color: var(--muted);
}

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

.service-grid--full .service-card {
    min-height: 340px;
}

.service-item[hidden],
.services-group[hidden] {
    display: none !important;
}

.no-results {
    padding: 70px 25px;
    border: 1px dashed #b9c5d6;
    border-radius: 24px;
    text-align: center;
    background: var(--soft);
}

.no-results i {
    margin-bottom: 20px;
    color: var(--navy-700);
    font-size: 2rem;
}

.no-results p {
    color: var(--muted);
}

.service-note {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 24px 26px;
    border-radius: 18px;
    color: #36506d;
    background: #e9f7fa;
    gap: 18px;
}

.service-note > i {
    color: var(--cyan-500);
    font-size: 1.5rem;
}

.service-note p {
    margin: 0;
}

.service-note a {
    color: var(--navy-800);
    font-weight: 800;
    white-space: nowrap;
}

.emergency-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(233,38,54,.28), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.emergency-hero::after {
    position: absolute;
    right: -160px;
    bottom: -220px;
    width: 590px;
    height: 590px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
    content: "";
}

.emergency-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    min-height: 650px;
    gap: 80px;
    padding-top: 70px;
    padding-bottom: 80px;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: .87rem;
    font-weight: 700;
}

.emergency-badge span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #55e192;
    box-shadow: 0 0 0 6px rgba(85,225,146,.12);
}

.emergency-hero h1 {
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.4rem);
}

.emergency-hero h1 strong {
    color: #ff7a84;
}

.emergency-hero__grid > div:first-child > p {
    max-width: 700px;
    color: #d5e3f4;
    font-size: 1.14rem;
}

.emergency-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.emergency-address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px !important;
    font-size: .93rem !important;
}

.emergency-address i {
    color: #ff707b;
}

.emergency-hero__visual {
    position: relative;
    display: grid;
    min-height: 450px;
    place-items: center;
}

.pulse-ring {
    display: grid;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.02);
    place-items: center;
    font-size: 5.5rem;
}

.pulse-ring::after {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255, 98, 109, 0.65);
    border-radius: 50%;
    animation: pulse 2.2s infinite;
    content: "";
}

@keyframes pulse {
    0% { opacity: .75; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.65); }
}

.emergency-hero__card {
    position: absolute;
    right: 0;
    bottom: 20px;
    width: 230px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(15px);
}

.emergency-hero__card span,
.emergency-hero__card strong,
.emergency-hero__card small {
    display: block;
}

.emergency-hero__card span,
.emergency-hero__card small {
    color: #d3e2f4;
}

.emergency-hero__card strong {
    margin: 8px 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    position: relative;
    min-height: 280px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.step-card > span {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #dce3ed;
    font-family: "Manrope", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
}

.step-card > i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 45px;
    border-radius: 16px;
    color: var(--navy-700);
    background: #eaf0fd;
    place-items: center;
    font-size: 1.2rem;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 16px;
    margin: 30px 0;
}

.check-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 13px;
    color: #42536d;
}

.check-list i {
    display: grid;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    background: var(--cyan-500);
    place-items: center;
    font-size: .72rem;
}

.emergency-contact-card {
    padding: 45px;
    border-radius: 28px;
    color: #d7e5f5;
    background: linear-gradient(145deg, var(--navy-950), var(--navy-700));
    box-shadow: var(--shadow-md);
}

.emergency-contact-card__icon {
    display: grid;
    width: 65px;
    height: 65px;
    margin-bottom: 28px;
    border-radius: 20px;
    color: #fff;
    background: var(--red-600);
    place-items: center;
    font-size: 1.45rem;
}

.emergency-contact-card > span {
    color: #8ee4f0;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.emergency-contact-card h2 {
    margin-top: 10px;
    color: #fff;
    font-size: 2.2rem;
}

.emergency-contact-card p {
    color: #cfdeef;
}

.emergency-contact-card > a {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.emergency-contact-card small {
    display: block;
    margin-top: 22px;
    color: #a9bed7;
}

.contact-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: start;
    gap: 50px;
}

.contact-panel {
    position: sticky;
    top: 125px;
    padding: 40px;
    border-radius: 28px;
    color: #d7e5f5;
    background: linear-gradient(145deg, var(--navy-950), var(--navy-700));
    box-shadow: var(--shadow-md);
}

.contact-panel h2 {
    color: #fff;
}

.contact-panel > p {
    color: #ccdaec;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin: 30px 0;
}

.contact-methods > a {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    gap: 14px;
    transition: background .2s ease, transform .2s ease;
}

.contact-methods > a:hover {
    background: rgba(255,255,255,.12);
    transform: translateX(4px);
}

.contact-methods > a > span {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: rgba(18,168,201,.22);
    place-items: center;
}

.contact-methods small,
.contact-methods strong {
    display: block;
}

.contact-methods small {
    color: #9fb4ce;
}

.contact-methods strong {
    color: #fff;
    font-size: .98rem;
    word-break: break-word;
}

.availability-box {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    color: var(--navy-950);
    background: #fff;
    gap: 13px;
}

.availability-box i {
    display: grid;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    color: #fff;
    background: var(--red-600);
    place-items: center;
}

.availability-box strong,
.availability-box span {
    display: block;
}

.availability-box span {
    color: var(--muted);
    font-size: .85rem;
}

.appointment-card {
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.appointment-card__heading {
    margin-bottom: 32px;
}

.appointment-card__heading p {
    color: var(--muted);
}

.appointment-form {
    display: grid;
    gap: 20px;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: #2e3e57;
    font-size: .91rem;
    font-weight: 700;
}

.form-field label span,
.consent strong {
    color: var(--red-600);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cfd8e6;
    border-radius: 13px;
    outline: 0;
    color: var(--ink);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input,
.form-field select {
    height: 54px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 130px;
    padding: 15px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(18,168,201,.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9aa7b8;
}

.consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    color: var(--muted);
    font-size: .88rem;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--navy-700);
}

.form-note {
    margin: 0;
    color: #78869a;
    font-size: .82rem;
    text-align: center;
}

.form-note i {
    margin-right: 6px;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

.map-card {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    overflow: hidden;
    min-height: 500px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

.map-card__info {
    padding: 28px;
}

.map-card__info img {
    width: 100%;
    height: 210px;
    margin-bottom: 26px;
    border-radius: 18px;
    object-fit: cover;
}

.map-card__info span,
.map-card__info strong {
    display: block;
}

.map-card__info span {
    margin-bottom: 8px;
    color: var(--navy-700);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.map-card__info strong {
    color: var(--navy-950);
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
}

.map-card__info p {
    color: var(--muted);
}

.confirmation-page {
    display: grid;
    min-height: 700px;
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(18,168,201,.1), transparent 25%),
        var(--soft);
    place-items: center;
}

.confirmation-page__inner {
    display: grid;
    place-items: center;
}

.confirmation-card {
    width: min(100%, 760px);
    padding: 55px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.confirmation-card__icon {
    display: grid;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    color: #fff;
    background: var(--cyan-500);
    box-shadow: 0 0 0 12px rgba(18,168,201,.1);
    place-items: center;
    font-size: 2rem;
}

.confirmation-card--error .confirmation-card__icon {
    background: var(--red-600);
    box-shadow: 0 0 0 12px rgba(233,38,54,.1);
}

.confirmation-card p {
    color: var(--muted);
}

.reference-box {
    display: inline-grid;
    min-width: 260px;
    margin: 15px 0 30px;
    padding: 15px 25px;
    border: 1px dashed #9fb0c7;
    border-radius: 14px;
    background: var(--soft);
}

.reference-box small,
.reference-box strong {
    display: block;
}

.reference-box small {
    color: var(--muted);
}

.reference-box strong {
    color: var(--navy-900);
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
}

.confirmation-card__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.error-code {
    color: var(--navy-800);
    font-family: "Manrope", sans-serif;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
}

.cta-strip {
    color: #fff;
    background: linear-gradient(105deg, var(--blue-600), var(--violet-600));
}

.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 240px;
    padding-top: 45px;
    padding-bottom: 45px;
    gap: 50px;
}

.cta-strip h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 3rem);
}

.cta-strip p {
    margin: 0;
    color: #e5eaff;
}

.cta-strip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    color: #afbed1;
    background: var(--navy-950);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr .8fr .9fr 1.2fr;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 65px;
}

.brand--footer img {
    width: 245px;
    max-height: none;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

.footer__brand > p {
    max-width: 380px;
    margin-top: 22px;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 11px;
    color: #dbe7f6;
    background: rgba(255,255,255,.05);
    font-size: .82rem;
}

.footer__badge i {
    color: #75dfec;
}

.site-footer h3 {
    margin-bottom: 22px;
    color: #fff;
    font-size: 1rem;
}

.footer__links {
    display: grid;
    gap: 10px;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: #fff;
}

.footer__contact {
    display: grid;
    gap: 16px;
}

.footer__contact li {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 10px;
}

.footer__contact i {
    margin-top: 5px;
    color: #70dce9;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #8395ad;
    font-size: .85rem;
}

.footer__bottom p {
    margin: 0;
}

.floating-call {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 20px;
    border: 3px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--red-600);
    box-shadow: 0 12px 30px rgba(9, 26, 58, 0.28);
    font-weight: 800;
}

.floating-call:hover {
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    :root {
        --header-height: 80px;
    }

    .nav-toggle {
        display: block;
        z-index: 2;
    }

    .main-nav {
        position: fixed;
        top: calc(42px + var(--header-height));
        right: 0;
        left: 0;
        z-index: 1200;
        display: flex;
        max-height: calc(100vh - 122px);
        padding: 24px 20px 35px;
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 20px 35px rgba(5,31,77,.16);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity .22s ease, transform .22s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav > a:not(.btn) {
        padding: 15px 5px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .main-nav > a:not(.btn)::after {
        display: none;
    }

    .nav-appointment {
        margin-top: 18px;
    }

    .hero__content {
        grid-template-columns: 1fr;
        min-height: 740px;
        gap: 35px;
        padding-top: 75px;
        padding-bottom: 120px;
    }

    .hero__card {
        display: none;
    }

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

    .quick-card:nth-child(2) {
        border-right: 0;
    }

    .quick-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

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

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

    .footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer__grid > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 85px 0;
    }

    .split,
    .commitment__grid,
    .emergency-hero__grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .split--about .media-stack {
        order: 2;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .about-gallery {
        min-height: 580px;
    }

    .institutional__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .institutional__mark {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }

    .service-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .service-search {
        width: 100%;
    }

    .emergency-hero__grid {
        min-height: auto;
        padding-top: 90px;
    }

    .emergency-hero__visual {
        display: none;
    }

    .contact-panel {
        position: static;
    }

    .map-card {
        grid-template-columns: 1fr;
    }

    .map-card iframe {
        min-height: 420px;
    }

    .cta-strip__inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer__grid > div:last-child {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .topbar__inner {
        justify-content: center;
        min-height: 38px;
        text-align: center;
    }

    .topbar__contacts {
        display: none;
    }

    .topbar p {
        font-size: .78rem;
    }

    .site-header {
        height: 72px;
    }

    .brand img {
        width: 185px;
        max-height: 60px;
    }

    .main-nav {
        top: 110px;
        max-height: calc(100vh - 110px);
    }

    .hero {
        min-height: 720px;
    }

    .hero__content {
        min-height: 720px;
        padding-top: 60px;
        padding-bottom: 115px;
    }

    .hero__overlay {
        background: linear-gradient(90deg, rgba(3,18,48,.97), rgba(5,31,77,.84)), linear-gradient(0deg, rgba(3,18,48,.55), transparent);
    }

    .hero h1 {
        font-size: clamp(2.65rem, 14vw, 4.3rem);
    }

    .hero__copy > p {
        font-size: 1.02rem;
    }

    .hero__actions,
    .hero__actions .btn {
        width: 100%;
    }

    .hero__assurance {
        display: grid;
        gap: 10px;
    }

    .section--overlap {
        margin-top: -72px;
    }

    .quick-actions__grid {
        grid-template-columns: 1fr;
    }

    .quick-card,
    .quick-card:nth-child(2) {
        min-height: 95px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quick-card:last-child {
        border-bottom: 0;
    }

    .media-stack {
        padding-right: 15px;
    }

    .media-stack__main {
        height: 520px;
    }

    .media-stack__accent {
        right: -3px;
        bottom: 45px;
        width: 185px;
    }

    .service-grid,
    .service-grid--full,
    .values-grid,
    .mission-grid,
    .steps-grid,
    .commitment__values {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-grid--full .service-card {
        min-height: 285px;
    }

    .commitment__values > div {
        min-height: auto;
    }

    .page-hero__inner {
        min-height: 420px;
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .page-hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .about-gallery {
        min-height: 500px;
    }

    .about-gallery__wide {
        width: 100%;
        height: 270px;
    }

    .about-gallery__tall {
        width: 52%;
        height: 290px;
    }

    .about-gallery__quote {
        width: 54%;
        padding: 18px;
    }

    .mission-card {
        min-height: 0;
        padding: 32px;
    }

    .mission-card__icon {
        margin-bottom: 42px;
    }

    .institutional__mark {
        width: 120px;
        height: 120px;
        font-size: 2.7rem;
    }

    .service-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .service-filters button {
        flex: 0 0 auto;
    }

    .services-group__heading {
        grid-template-columns: 52px 1fr;
    }

    .services-group__heading > span {
        width: 50px;
        height: 50px;
    }

    .service-note {
        grid-template-columns: auto 1fr;
    }

    .service-note a {
        grid-column: 2;
    }

    .emergency-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.4rem);
    }

    .emergency-hero__actions,
    .emergency-hero__actions .btn {
        width: 100%;
    }

    .emergency-contact-card,
    .contact-panel,
    .appointment-card {
        padding: 30px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-card iframe {
        min-height: 350px;
    }

    .confirmation-card {
        padding: 40px 22px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer__bottom {
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 7px;
    }

    .floating-call {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
    }

    .floating-call span {
        display: none;
    }
}

.consent a,
.legal-content a,
.legal-summary a {
    color: var(--navy-700);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: start;
    gap: 65px;
}

.legal-summary {
    position: sticky;
    top: 125px;
    padding: 34px;
    border-radius: 24px;
    color: #d7e5f5;
    background: linear-gradient(145deg, var(--navy-950), var(--navy-700));
    box-shadow: var(--shadow-md);
}

.legal-summary > i {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 25px;
    border-radius: 19px;
    color: #fff;
    background: var(--cyan-500);
    place-items: center;
    font-size: 1.45rem;
}

.legal-summary h2 {
    color: #fff;
    font-size: 1.7rem;
}

.legal-summary p {
    color: #cfdeef;
}

.legal-summary a {
    color: #fff;
    word-break: break-word;
}

.legal-content {
    padding: 45px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .legal-page__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .legal-summary {
        position: static;
    }
}

@media (max-width: 700px) {
    .legal-content,
    .legal-summary {
        padding: 28px 22px;
    }
}
