:root {
    --blue-900: #073b66;
    --blue-800: #074e86;
    --blue-700: #005ca9;
    --blue-600: #1376bd;
    --blue-100: #e8f3fb;
    --blue-050: #f3f8fc;
    --orange-700: #bd5700;
    --orange-500: #ef7d00;
    --orange-100: #fff0de;
    --ink: #173042;
    --muted: #526878;
    --line: #d8e2e8;
    --surface: #ffffff;
    --surface-warm: #fbfaf7;
    --surface-blue: #f0f7fc;
    --success: #23693d;
    --error: #a52b28;
    --shadow-sm: 0 10px 30px rgb(7 59 102 / 8%);
    --shadow-md: 0 22px 60px rgb(7 59 102 / 14%);
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 2rem;
    --container: 75rem;
    --header-height: 5.5rem;
    --mobile-contact-bar-height: 3.75rem;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--sticky-header-height, var(--header-height)) + 1rem);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

/* Keep whole words together; hyphenate only if one exceeds its text column. */
.text-word {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    vertical-align: baseline;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: auto;
}

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

img {
    height: auto;
}

a {
    color: var(--blue-700);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--blue-900);
}

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

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

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

::selection {
    color: var(--surface);
    background: var(--blue-700);
}

h1,
h2,
h3 {
    margin: 0 0 0.75rem;
    color: var(--blue-900);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.7rem);
}

h2 {
    font-size: clamp(1.85rem, 3.5vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
    margin: 0 0 1rem;
}

address {
    font-style: normal;
}

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

.section {
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section,
.home-hero,
.page-hero,
.legal-hero,
.contact-band {
    border-bottom: 1px solid var(--line);
}

.section--compact {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.section--light {
    background: var(--surface-warm);
}

.section--tint {
    background: var(--surface-blue);
}

.section-heading {
    max-width: 47rem;
    margin-bottom: 2.5rem;
}

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

.section-heading--row {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.1rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--orange-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

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

.lead {
    max-width: 43rem;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.32rem);
    line-height: 1.65;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem 1rem;
    color: var(--surface);
    background: var(--blue-900);
    border-radius: var(--radius-sm);
    transform: translateY(-150%);
}

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

.topbar {
    color: #eaf5fc;
    background: var(--blue-900);
    font-size: 0.88rem;
}

.topbar__inner {
    display: flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.topbar a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.topbar a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid rgb(216 226 232 / 80%);
    box-shadow: 0 6px 20px rgb(7 59 102 / 4%);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    position: relative;
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: block;
    flex: 0 0 auto;
    width: clamp(11rem, 19vw, 15.25rem);
}

.brand img {
    width: 100%;
}

.menu-toggle {
    display: none;
    min-height: 2.8rem;
    align-items: center;
    gap: 0.65rem;
    color: var(--blue-900);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 750;
    padding: 0.55rem 0.9rem;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__lines {
    position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__lines::before {
    top: -0.4rem;
}

.menu-toggle__lines::after {
    top: 0.4rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.site-nav__list,
.submenu,
.footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.site-nav__list > li > a,
.nav-parent__label > a {
    display: block;
    padding: 0.85rem 0.72rem;
    color: var(--ink);
    border-radius: 0.6rem;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"],
.site-nav__list a.is-section-active {
    color: var(--blue-700);
    background: var(--blue-050);
}

.nav-parent {
    position: relative;
}

.nav-parent__label {
    display: flex;
    align-items: center;
}

.nav-parent__label button {
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0.42rem;
    color: var(--blue-900);
    background: transparent;
    border: 0;
    border-radius: 50%;
    place-items: center;
}

.nav-parent__label button:hover {
    background: var(--blue-100);
}

.nav-parent__label svg {
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 180ms ease;
}

.submenu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    display: grid;
    width: min(22rem, 90vw);
    padding: 0.65rem;
    visibility: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-0.35rem);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.submenu::before {
    position: absolute;
    top: -0.7rem;
    left: 0;
    width: 100%;
    height: 0.8rem;
    content: "";
}

.submenu a {
    display: block;
    padding: 0.7rem 0.8rem;
    color: var(--ink);
    border-radius: 0.55rem;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.no-js .nav-parent:hover .submenu,
.no-js .nav-parent:focus-within .submenu,
.js .nav-parent.is-open .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.no-js .nav-parent:hover .nav-parent__label svg,
.no-js .nav-parent:focus-within .nav-parent__label svg,
.js .nav-parent.is-open .nav-parent__label svg {
    transform: rotate(180deg);
}

.site-nav__booking {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
}

.site-nav__booking small {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1;
}

.button-row,
.contact-band__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.button-row--center {
    justify-content: center;
}

.button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgb(7 59 102 / 16%);
}

.button--small {
    min-height: 2.75rem;
    padding: 0.62rem 1rem;
    font-size: 0.9rem;
}

.button--full {
    width: 100%;
}

.button--primary {
    color: #ffffff;
    background: var(--blue-700);
}

.button--primary:hover {
    color: #ffffff;
    background: var(--blue-900);
}

.button--accent {
    color: #1d3140;
    background: var(--orange-500);
}

.button--accent:hover {
    color: #142b3a;
    background: #ff951f;
}

.button--light {
    color: var(--blue-900);
    background: #ffffff;
}

.button--light:hover {
    color: var(--blue-900);
    background: var(--blue-100);
}

.button--outline-light {
    color: #ffffff;
    background: transparent;
    border-color: rgb(255 255 255 / 52%);
}

.button--outline-light:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.button--outline {
    color: var(--blue-900);
    background: transparent;
    border-color: rgb(7 59 102 / 32%);
}

.button--outline:hover {
    color: var(--blue-900);
    background: var(--blue-100);
    border-color: var(--blue-700);
}

.booking-button:disabled,
.mobile-contact-bar__booking:disabled {
    color: #203746;
    background: #f09a3e;
    cursor: not-allowed;
    filter: saturate(0.82);
    opacity: 1;
    box-shadow: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue-700);
    font-weight: 800;
    text-decoration-thickness: 2px;
}

.breadcrumbs {
    padding-block: 1rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.86rem;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    gap: 0.45rem;
}

.breadcrumbs a {
    color: var(--blue-700);
}

.home-hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f9fc 0%, #ffffff 56%, #fff7ed 100%);
}

.breadcrumbs + .page-hero {
    margin-top: 0;
    border-top: 1px solid var(--line);
}

.page-hero + .section {
    background: #e8f3fa;
}

.home-hero::before,
.page-hero::before {
    position: absolute;
    top: -14rem;
    right: -10rem;
    width: 34rem;
    height: 34rem;
    background: radial-gradient(circle, rgb(239 125 0 / 12%), transparent 68%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-hero__grid,
.page-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: min(48rem, calc(100svh - 8rem));
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.page-hero__grid {
    padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.home-hero__content,
.page-hero__content {
    position: relative;
    z-index: 1;
}

.home-hero__content h1 {
    max-width: 100%;
}

.page-hero__content h1,
.legal-hero h1 {
    font-size: clamp(2.15rem, 4.1vw, 3.65rem);
}

.home-hero__content .lead,
.page-hero__content .lead {
    margin-bottom: 1.8rem;
}

.home-hero__media,
.page-hero__media {
    position: relative;
    margin: 0;
}

.home-hero__media::before,
.page-hero__media::before {
    position: absolute;
    z-index: 0;
    right: -1rem;
    bottom: -1rem;
    width: 55%;
    height: 48%;
    background: var(--orange-500);
    border-radius: var(--radius-lg);
    content: "";
}

.home-hero__media img,
.page-hero__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.page-hero--service .page-hero__media img {
    aspect-ratio: 3 / 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--blue-800);
    font-size: 0.9rem;
    font-weight: 800;
}

.hero-kicker::before {
    width: 2.3rem;
    height: 3px;
    background: var(--orange-500);
    border-radius: 3px;
    content: "";
}

.quick-info {
    position: relative;
    z-index: 3;
    margin-top: -2.1rem;
}

.quick-info__grid {
    display: grid;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.quick-info__item {
    position: relative;
    padding: 1.5rem;
}

.quick-info__item + .quick-info__item {
    border-top: 1px solid var(--line);
}

.quick-info__item span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--orange-700);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.quick-info__item strong,
.quick-info__item a {
    display: block;
    color: var(--blue-900);
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
}

.quick-info__item p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.service-grid {
    display: grid;
    gap: 1.25rem;
}

.service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
    color: var(--ink);
    border-color: rgb(0 92 169 / 35%);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-card__media {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--blue-100);
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.035);
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.4rem;
}

.service-card__body h3 {
    margin-bottom: 0.55rem;
}

.service-card__body p {
    color: var(--muted);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: var(--blue-700);
    font-weight: 800;
}

.service-card__link svg,
.related-card svg {
    width: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.split-layout {
    display: grid;
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.split-layout__media {
    position: relative;
}

.split-layout__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.split-layout__content p {
    color: var(--muted);
    font-size: 1.06rem;
}

.jobs-hero .page-hero__grid {
    min-height: auto;
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.jobs-grid {
    display: grid;
    gap: 1.5rem;
}

.job-card,
.jobs-info {
    min-width: 0;
    padding: clamp(1.4rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.job-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    border-top: 3px solid var(--orange-500);
}

.job-card__type {
    margin-bottom: 1.25rem;
    color: var(--blue-700);
    font-size: 0.85rem;
    font-weight: 800;
}

.job-card h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.25;
}

.job-card p,
.jobs-info p {
    color: var(--muted);
}

.job-card .button {
    margin-top: auto;
}

.jobs-info--benefits {
    background: var(--surface-blue);
}

.jobs-info .check-list:last-child {
    margin-bottom: 0;
}

.hiring-notice {
    position: fixed;
    z-index: 105;
    left: calc(1.25rem + env(safe-area-inset-left, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    width: min(19rem, calc(100% - 7rem));
    padding: 1rem 2.8rem 1rem 1.1rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue-700);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.hiring-notice[hidden] {
    display: none;
}

.hiring-notice h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.hiring-notice p {
    margin: 0 0 0.45rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.hiring-notice > a {
    display: inline-block;
    padding-block: 0.2rem;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.4;
}

.hiring-notice__close {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    place-items: center;
}

.hiring-notice__close:hover {
    color: var(--blue-900);
    background: var(--blue-050);
}

.hiring-notice__close svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

@media (min-width: 50rem) {
    .jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 42.99rem) {
    .hiring-notice {
        left: calc(0.75rem + env(safe-area-inset-left, 0px));
        bottom: calc(var(--mobile-contact-bar-height) + 1rem + env(safe-area-inset-bottom, 0px));
        width: min(19rem, calc(100% - 6.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
        padding: 0.85rem 2.6rem 0.85rem 0.85rem;
    }

    .mobile-contact-bar.mobile-contact-bar--jobs {
        grid-template-columns: 1fr 1.5fr;
    }
}

.practice-timeline,
.practice-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.practice-timeline li {
    min-width: 0;
    padding: clamp(1.35rem, 3vw, 2rem);
    background: var(--surface);
    border-top: 3px solid var(--orange-500);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.practice-timeline__date {
    display: block;
    margin-bottom: 1rem;
    color: var(--blue-700);
    font-size: 0.9rem;
    font-weight: 800;
}

.practice-timeline h3 {
    font-size: 1.25rem;
}

.practice-timeline p,
.practice-memory p {
    color: var(--muted);
}

.practice-timeline p:last-child,
.practice-memory p:last-child {
    margin-bottom: 0;
}

.practice-memory {
    display: grid;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

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

.practice-photo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.page-hero__media.practice-photo img,
.home-hero__media.practice-photo img {
    aspect-ratio: 16 / 9;
}

.practice-photo figcaption {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.practice-steps {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.practice-location {
    display: grid;
    min-width: 0;
    gap: 1.75rem;
}

.practice-location .contact-card h3 {
    color: var(--surface);
}

@media (min-width: 50rem) {
    .practice-timeline,
    .practice-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .practice-memory {
        grid-template-columns: 1.1fr 1fr;
    }
}

.history-hero .page-hero__grid {
    min-height: auto;
    padding-block: clamp(3rem, 6vw, 5rem);
}

.history-body {
    padding-block: clamp(2.5rem, 6vw, 5rem);
    background: var(--surface-warm);
}

.history-layout {
    display: grid;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.history-contents {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.history-contents .eyebrow {
    margin-bottom: 0.5rem;
}

.history-contents h2 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.history-contents ol {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--orange-700);
    font-variant-numeric: tabular-nums;
}

.history-contents li {
    padding-left: 0.25rem;
}

.history-contents li + li {
    margin-top: 0.2rem;
}

.history-contents li::marker {
    font-size: 0.8rem;
    font-weight: 750;
}

.history-contents li a {
    display: block;
    padding-block: 0.4rem;
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.5;
    text-decoration: none;
}

.history-contents li a:hover {
    color: var(--blue-700);
    text-decoration: underline;
}

.history-contents__back {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.history-article {
    width: 100%;
    min-width: 0;
    max-width: 47rem;
    margin-inline: auto;
}

.history-chapter + .history-chapter {
    margin-top: clamp(2.75rem, 5vw, 4.5rem);
    padding-top: clamp(2.75rem, 5vw, 4.5rem);
    border-top: 1px solid var(--line);
}

.history-chapter h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.18;
}

.history-chapter h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.history-chapter > p {
    font-size: 1.0625rem;
    line-height: 1.85;
}

.history-chapter > :last-child {
    margin-bottom: 0;
}

.history-quote {
    margin: 2rem 0;
    padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
    color: var(--blue-900);
    background: var(--blue-100);
    border-left: 4px solid var(--orange-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.history-quote p {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 650;
    line-height: 1.7;
}

.history-quote--dialect p {
    font-size: 1.0625rem;
    font-weight: 500;
}

.history-quote footer {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.history-photo {
    margin-block: 2rem;
}

.history-photo img {
    max-height: 32rem;
    object-fit: contain;
    background: var(--blue-100);
}

.history-closing {
    margin-top: 2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--blue-100);
    border-radius: var(--radius-md);
}

.history-closing h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

.history-sources {
    margin-top: 3rem;
    padding-block: 1.25rem;
    color: var(--muted);
    border-block: 1px solid var(--line);
    font-size: 0.9rem;
}

.history-sources summary {
    color: var(--blue-900);
    cursor: pointer;
    font-weight: 700;
}

.history-sources[open] summary {
    margin-bottom: 1rem;
}

.history-sources li + li {
    margin-top: 0.5rem;
}

.history-top-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 700;
}

@media (min-width: 64rem) {
    .history-layout {
        grid-template-columns: 16rem minmax(0, 1fr);
    }

    .history-contents {
        position: sticky;
        top: calc(var(--header-height) + 1.5rem);
        max-height: calc(100svh - var(--header-height) - 3rem);
        overflow-y: auto;
    }
}

@media print {
    .history-contents,
    .history-top-link {
        display: none;
    }

    .history-layout {
        display: block;
    }

    .history-chapter,
    .history-photo,
    .history-quote {
        break-inside: avoid;
    }
}

.story-layout {
    display: grid;
    grid-template-areas:
        "heading"
        "media"
        "body";
    align-items: center;
    gap: 1.5rem;
}

.story-layout__heading {
    grid-area: heading;
}

.story-layout__heading h2 {
    margin-bottom: 0;
}

.story-layout__media {
    grid-area: media;
}

.story-layout__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.story-layout__body {
    grid-area: body;
}

.story-layout__body p {
    color: var(--muted);
    font-size: 1.06rem;
}

.trust-grid,
.feature-grid,
.team-grid,
.contact-options {
    display: grid;
    gap: 1.25rem;
}

.trust-card,
.feature-card,
.team-card,
.contact-option {
    min-width: 0;
    padding: clamp(1.4rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.split-layout > .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.trust-card__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.2rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border-radius: 50%;
    place-items: center;
}

.trust-card__icon svg {
    width: 1.45rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.trust-card p,
.feature-card p,
.team-card p,
.contact-option p {
    color: var(--muted);
}

.feature-card {
    position: relative;
    padding-top: 3.5rem;
}

.feature-card__number {
    position: absolute;
    top: 1.2rem;
    left: 1.5rem;
    color: var(--orange-700);
    font-size: 0.8rem;
    font-weight: 900;
}

.content-layout {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.prose {
    max-width: 48rem;
}

.prose h2:not(:first-of-type) {
    margin-top: 2.6rem;
}

.prose h3 {
    margin-top: 2rem;
}

.prose p,
.legal-content p,
.legal-content li {
    color: var(--muted);
    font-size: 1.02rem;
}

.check-list {
    display: grid;
    gap: 0.7rem;
    margin: 1.4rem 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
}

.check-list li::before {
    position: absolute;
    top: 0.22rem;
    left: 0;
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--blue-900);
    background: var(--orange-100);
    border-radius: 50%;
    content: "✓";
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    place-items: center;
}

.info-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--blue-100);
    border-left: 4px solid var(--blue-700);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-note strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--blue-900);
}

.info-note p {
    margin: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.tag-list span {
    padding: 0.45rem 0.75rem;
    color: var(--blue-900);
    background: var(--blue-100);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    color: #ffffff;
    background: var(--blue-900);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-card h2,
.contact-card p {
    color: #ffffff;
}

.contact-card__phone {
    display: block;
    margin: 1.5rem 0 0.25rem;
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 850;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.contact-card__phone:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-card__hours {
    margin-bottom: 1.5rem;
    color: #d6eaf8 !important;
}

.contact-card small {
    display: block;
    margin-top: 0.5rem;
    color: #d6eaf8;
    text-align: center;
}

.faq-layout {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 0;
    color: var(--blue-900);
    cursor: pointer;
    font-size: 1.07rem;
    font-weight: 800;
    list-style: none;
}

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

.faq-list summary::after {
    width: 2rem;
    height: 2rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23074e86' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 1rem 1rem no-repeat,
        var(--blue-100);
    border-radius: 50%;
    color: var(--blue-800);
    content: "";
    justify-self: end;
    transition: background-color 180ms ease, transform 180ms ease;
}

.faq-list details[open] summary::after {
    transform: rotate(180deg);
}

.faq-list details p {
    max-width: 43rem;
    padding: 0 3rem 1.25rem 0;
    color: var(--muted);
}

.faq-list details[open] p {
    animation: faq-content-in 220ms ease both;
}

@keyframes faq-content-in {
    from {
        opacity: 0;
        transform: translateY(-0.35rem);
    }

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

.process-grid {
    display: grid;
    gap: 1.25rem;
}

.process-card,
.preparation-card {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.process-card__number {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.1rem;
    color: #ffffff;
    background: var(--blue-700);
    border-radius: 50%;
    font-weight: 850;
    place-items: center;
}

.process-card p,
.preparation-card p {
    color: var(--muted);
}

.local-service-grid {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.preparation-card .check-list {
    margin-bottom: 0;
}

.related-grid {
    display: grid;
    gap: 1rem;
}

.related-card {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    color: var(--blue-900);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-weight: 800;
    text-decoration: none;
}

.related-card:hover {
    color: var(--blue-700);
    border-color: var(--blue-600);
}

.team-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.team-card__content {
    min-width: 0;
    flex: 1;
}

.team-card__initials {
    display: grid;
    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;
    color: var(--blue-900);
    background: linear-gradient(135deg, var(--blue-100), var(--orange-100));
    border: 1px solid rgb(0 92 169 / 12%);
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 850;
    place-items: center;
}

.team-card h2 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.team-card p {
    margin: 0;
    font-size: 0.92rem;
}

.team-card .team-card__role {
    color: var(--blue-700);
    font-weight: 800;
}

.team-card h3 {
    margin: 1.15rem 0 0.55rem;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.team-card__skills {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.42rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.team-card__description {
    margin-top: 0.9rem !important;
    max-width: 46rem;
}

.contact-options {
    margin-top: 2rem;
}

.booking-layout,
.price-intro {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 6vw, 4.5rem);
}

.booking-layout > *,
.price-intro > * {
    min-width: 0;
}

.booking-section .info-note {
    margin-top: 2rem;
}

.booking-section .button-row {
    margin-top: 1.5rem;
}

.booking-section .external-service-note {
    margin-top: 1rem;
}

.booking-summary {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 4px solid var(--orange-500);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.booking-summary h3 {
    margin-bottom: 1rem;
}

.booking-summary dl {
    margin: 0;
}

.booking-summary dl div {
    padding-block: 0.85rem;
    border-top: 1px solid var(--line);
}

.booking-summary dt {
    color: var(--blue-900);
    font-weight: 800;
}

.booking-summary dd {
    margin: 0.15rem 0 0;
    color: var(--muted);
}

.external-service-note,
.price-footnote {
    color: var(--muted);
    font-size: 0.9rem;
}

.app-note {
    display: grid;
    grid-template-areas:
        "heading"
        "image"
        "body";
    max-width: 58rem;
    align-items: center;
    gap: 1.4rem;
    margin-inline: auto;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.app-section .app-note {
    background: var(--surface);
}

.app-note img {
    grid-area: image;
    width: 8.5rem;
    margin-inline: auto;
    padding: 0.35rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.app-note__heading {
    grid-area: heading;
}

.app-note__body {
    grid-area: body;
}

.app-note__body h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.app-steps {
    display: grid;
    gap: 0.9rem;
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
    color: var(--muted);
}

.app-steps li {
    padding-left: 0.25rem;
}

.app-steps li::marker,
.app-steps strong {
    color: var(--blue-900);
    font-weight: 700;
}

.app-note .app-note__reminder {
    padding: 0.9rem 1rem;
    color: var(--blue-900);
    background: var(--blue-050);
    border-left: 3px solid var(--blue-700);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.app-note h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.app-note p {
    margin-bottom: 0.65rem;
    color: var(--muted);
}

.price-note.info-note {
    margin-top: 0;
}

.price-table-wrap {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.price-table th,
.price-table td {
    padding: 0.9rem clamp(0.9rem, 3vw, 1.4rem);
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.price-table thead th {
    color: #ffffff;
    background: var(--blue-900);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.price-table tbody th {
    color: var(--ink);
    font-weight: 700;
}

.price-table tbody tr:nth-child(even) {
    background: var(--blue-050);
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-table th:last-child,
.price-table td:last-child {
    width: 11rem;
    text-align: right;
    white-space: nowrap;
}

.price-footnote {
    margin: 1rem 0 0;
}

.contact-option a {
    color: var(--blue-900);
    font-size: 1.1rem;
    font-weight: 800;
    word-break: break-word;
}

.hours-list {
    margin: 0;
}

.hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.65rem;
    border-bottom: 1px solid var(--line);
}

.hours-list dt {
    font-weight: 700;
}

.hours-list dd {
    margin: 0;
    color: var(--muted);
    text-align: right;
}

.contact-grid {
    display: grid;
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.contact-form {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    gap: 1.15rem;
}

.form-row {
    display: grid;
    gap: 1.15rem;
}

.form-field label,
.form-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--blue-900);
    font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.82rem 0.9rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid #a9bbc7;
    border-radius: 0.6rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue-700);
    outline: 3px solid rgb(0 92 169 / 16%);
}

.form-field textarea {
    min-height: 10rem;
    resize: vertical;
}

.form-help {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.checkbox-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.7rem;
}

.checkbox-field input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.18rem;
    accent-color: var(--blue-700);
}

.form-errors {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    color: #741c19;
    background: #fff0ef;
    border: 1px solid #efb4b1;
    border-radius: var(--radius-sm);
}

.form-errors h2 {
    margin-bottom: 0.5rem;
    color: #741c19;
    font-size: 1.1rem;
}

.form-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.legal-hero {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    background: var(--surface-blue);
}

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

.legal-content h2 {
    margin-top: 2.8rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-content h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.legal-content a {
    word-break: break-word;
}

.status-page {
    display: grid;
    min-height: 55vh;
    place-items: center;
    text-align: center;
}

.status-page__inner {
    max-width: 44rem;
}

.status-code {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--orange-500);
    font-size: clamp(4rem, 13vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
}

.contact-band {
    color: var(--ink);
    background: linear-gradient(120deg, #fff0de 0%, #fff8ef 46%, #edf6fb 100%);
}

.contact-band__inner {
    display: grid;
    align-items: center;
    gap: 2rem;
    padding-block: clamp(3rem, 7vw, 5rem);
}

.contact-band h2,
.contact-band p {
    color: var(--blue-900);
}

.contact-band h2 {
    max-width: 18ch;
}

.contact-band p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    color: #d9e7f0;
    background: #082d4b;
}

.site-footer__grid {
    display: grid;
    gap: 2.5rem;
}

.site-footer__brand img {
    width: min(15rem, 100%);
    margin-bottom: 1.2rem;
}

.site-footer__brand p {
    max-width: 19rem;
}

.site-footer h2 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.site-footer a {
    color: #ffffff;
}

.site-footer address {
    margin-bottom: 0.8rem;
}

.footer-link {
    font-weight: 750;
}

.footer-hours {
    margin: 0;
}

.footer-hours div {
    margin-bottom: 0.8rem;
}

.footer-hours dt {
    color: #ffffff;
    font-weight: 700;
}

.footer-hours dd {
    margin: 0;
}

.footer-nav {
    display: grid;
    gap: 0.45rem;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    margin-top: 3rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 16%);
    font-size: 0.82rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1.25rem;
    padding-right: 5rem;
}

.site-footer__legal a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: inherit;
    text-decoration: underline;
}

.whatsapp-button {
    position: fixed;
    z-index: 110;
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    background: #128c4e;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgb(0 0 0 / 22%);
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.whatsapp-button img {
    width: 2rem;
    height: 2rem;
}

.whatsapp-button:hover {
    background: #0d703e;
    box-shadow: 0 6px 22px rgb(0 0 0 / 28%);
}

.whatsapp-button:focus-visible {
    outline: 3px solid var(--blue-900);
    outline-offset: 3px;
}

.mobile-contact-bar {
    display: none;
}

@media (min-width: 43rem) {
    .quick-info__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-info__item + .quick-info__item {
        border-top: 0;
        border-left: 1px solid var(--line);
    }

    .service-grid,
    .trust-grid,
    .feature-grid,
    .team-grid,
    .contact-options,
    .related-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid.team-grid--detailed {
        grid-template-columns: 1fr;
    }

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

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

@media (min-width: 56rem) {
    .home-hero__grid,
    .page-hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .split-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .split-layout--reverse .split-layout__media {
        order: 2;
    }

    .story-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "media heading"
            "media body";
        column-gap: clamp(2.5rem, 7vw, 6rem);
        row-gap: 0;
    }

    .story-layout__heading {
        align-self: end;
    }

    .story-layout__body {
        align-self: start;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    }

    .contact-card {
        position: sticky;
        top: 8.25rem;
    }

    .faq-layout {
        grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
    }

    .contact-grid {
        grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
    }

    .booking-layout,
    .price-intro {
        grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    }

    .app-note {
        grid-template-columns: 8.5rem minmax(0, 1fr);
        grid-template-areas:
            "image heading"
            "image body";
        align-items: start;
    }

    .local-service-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    }

    .contact-band__inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .contact-band__actions {
        justify-content: flex-end;
    }
}

@media (min-width: 64rem) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

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

    .team-grid--detailed .team-card--reception {
        grid-column: 1 / -1;
    }

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

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

    .site-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr 0.72fr;
    }
}

@media (min-width: 70.01rem) {
    #submenu-practice {
        right: 0;
        left: auto;
    }
}

@media (max-width: 70rem) {
    .js .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: block;
    }

    .js .site-nav {
        position: absolute;
        top: calc(100% - 0.3rem);
        right: 1rem;
        left: 1rem;
        display: block;
        max-height: calc(100vh - 8rem);
        padding: 1rem;
        overflow-y: auto;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-0.75rem) scale(0.985);
        transform-origin: top center;
        transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    }

    .js .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .site-nav__list {
        display: grid;
        align-items: stretch;
        gap: 0.15rem;
    }

    .site-nav__list > li > a,
    .nav-parent__label > a {
        width: 100%;
        padding: 0.8rem;
    }

    .nav-parent__label {
        justify-content: space-between;
    }

    .nav-parent__label button {
        width: 2.6rem;
        height: 2.6rem;
        flex: 0 0 auto;
    }

    .submenu {
        position: static;
        display: grid;
        width: auto;
        margin: 0 0 0.5rem 0.8rem;
        padding: 0 0 0 0.7rem;
        visibility: visible;
        background: transparent;
        border: 0;
        border-left: 2px solid var(--blue-100);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .js .submenu {
        max-height: 0;
        margin-bottom: 0;
        visibility: hidden;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-0.4rem);
        transition: max-height 260ms ease, margin-bottom 260ms ease, opacity 200ms ease, transform 260ms ease, visibility 260ms;
    }

    .js .nav-parent.is-open .submenu {
        max-height: 40rem;
        margin-bottom: 0.5rem;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .js .nav-parent.is-open .nav-parent__label svg {
        transform: rotate(180deg);
    }

    .site-nav__booking {
        margin-top: 0.75rem;
        padding-top: 1rem;
        border-top: 1px solid var(--line);
    }

    .site-nav__booking .button {
        width: 100%;
    }
}

@media (max-width: 42.99rem) {
    :root {
        --header-height: 4.75rem;
    }

    body {
        padding-bottom: calc(var(--mobile-contact-bar-height) + env(safe-area-inset-bottom, 0px));
    }

    .whatsapp-button {
        right: calc(1rem + env(safe-area-inset-right, 0px));
        bottom: calc(var(--mobile-contact-bar-height) + 1rem + env(safe-area-inset-bottom, 0px));
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__inner span,
    .topbar__inner a:last-child {
        display: none;
    }

    .site-header__inner {
        min-height: 4.75rem;
        gap: 0.5rem;
    }

    .brand {
        width: min(9.75rem, calc(100% - 7rem));
    }

    .menu-toggle {
        flex: 0 0 auto;
        gap: 0.5rem;
        padding-inline: 0.7rem;
    }

    .section-heading--row {
        align-items: start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .home-hero__grid,
    .page-hero__grid {
        min-height: auto;
        padding-top: 3rem;
        row-gap: 0;
    }

    .home-hero__content,
    .page-hero__content {
        display: contents;
    }

    .home-hero__content .hero-kicker,
    .page-hero__content .eyebrow {
        order: 1;
    }

    .home-hero__content h1,
    .page-hero__content h1 {
        order: 2;
        margin-bottom: 1.5rem;
    }

    .home-hero__media,
    .page-hero__media {
        order: 3;
        margin-bottom: 1.75rem;
    }

    .home-hero__content .lead,
    .page-hero__content .lead {
        order: 4;
    }

    .home-hero__content .button-row,
    .page-hero__content .button-row {
        order: 5;
    }

    .home-hero__media::before,
    .page-hero__media::before {
        right: -0.5rem;
        bottom: -0.5rem;
    }

    .button-row .button,
    .button-row .text-link {
        width: 100%;
        justify-content: center;
    }

    .price-table-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .price-table,
    .price-table tbody {
        display: block;
        width: 100%;
    }

    .price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    .price-table tbody {
        display: grid;
        gap: 0.75rem;
    }

    .price-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        align-items: center;
        width: 100%;
        padding: 0.95rem 1rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 0.9rem;
        box-shadow: var(--shadow-sm);
    }

    .price-table tbody tr:nth-child(even) {
        background: var(--blue-050);
    }

    .price-table tbody th,
    .price-table tbody td,
    .price-table tbody td:last-child,
    .price-table tbody tr:last-child th,
    .price-table tbody tr:last-child td {
        width: auto;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .price-table tbody th {
        line-height: 1.35;
    }

    .price-table tbody td {
        justify-self: end;
        color: var(--blue-900);
        font-weight: 800;
        line-height: 1.3;
        text-align: right;
        white-space: nowrap;
    }

    .price-table tbody .price-table__row--inquiry {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.3rem;
    }

    .price-table tbody .price-table__row--inquiry td {
        justify-self: start;
        text-align: left;
        white-space: normal;
    }

    .quick-info {
        margin-top: -0.8rem;
    }

    .hours-list div {
        align-items: start;
        flex-direction: column;
        gap: 0.15rem;
    }

    .hours-list dd {
        text-align: left;
    }

    .contact-band__actions .button {
        width: 100%;
    }

    .site-footer__bottom {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 1.5rem;
        text-align: center;
    }

    .site-footer__legal {
        justify-content: center;
        padding-right: 0;
    }

    .site-footer,
    .site-footer__grid {
        text-align: center;
    }

    .site-footer__grid > * {
        justify-items: center;
    }

    .site-footer__brand img,
    .site-footer__brand p {
        margin-inline: auto;
    }

    .footer-hours div {
        display: grid;
        justify-items: center;
    }

    .footer-nav {
        justify-items: center;
    }

    .mobile-contact-bar {
        position: fixed;
        z-index: 120;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        min-height: calc(var(--mobile-contact-bar-height) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
        background: var(--blue-900);
        box-shadow: 0 -8px 24px rgb(7 59 102 / 18%);
    }

    .mobile-contact-bar a,
    .mobile-contact-bar button {
        display: grid;
        min-width: 0;
        min-height: var(--mobile-contact-bar-height);
        padding: 0.55rem 0.25rem;
        color: #ffffff;
        background: transparent;
        border: 0;
        border-right: 1px solid rgb(255 255 255 / 18%);
        font-size: 0.8rem;
        font-weight: 800;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        place-items: center;
    }

    .mobile-contact-bar__booking:disabled {
        color: #203746;
        background: #f09a3e;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .hiring-notice {
        display: none;
    }

    .topbar,
    .site-header,
    .contact-band,
    .site-footer,
    .mobile-contact-bar,
    .whatsapp-button,
    .button,
    .breadcrumbs {
        display: none !important;
    }

    body {
        color: #000000;
        background: #ffffff;
        font-size: 11pt;
    }

    a {
        color: #000000;
        text-decoration: none;
    }

    .section,
    .legal-hero {
        padding-block: 1.5rem;
    }
}
