:root {
    --bg-color: #121212;
    --text-primary: #EDEDED;
    --text-muted: #a6a6a6;
    --pane-divider-opacity: 0;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Manrope', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1.5rem;
    --space-md: 4rem;
    --space-lg: 8rem;
    --dot-size: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    line-height: 1.5;
}

/* ── Typography ── */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.branding-center {
    width: 70%;
}

.service-title,
.content-block h2,
.page-content h2,
.page-content h2.page-subheading,
.page-content h3,
.certificate-highlight__intro h2,
.branding-center h1 {
    text-wrap: balance;
    text-wrap-style: balance;
    line-height: 1;
}

@media (min-width: 1025px) {
    .service-title,
    .content-block h2,
    .page-content h2,
    .page-content h2.page-subheading,
    .page-content h3,
    .certificate-highlight__intro h2,
    .branding-center h1 {
        width: 70%;
    }
}

.label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 400;
}

.brand-statement {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.brand-logo {
    display: block;
    height: auto;
    color: currentColor;
}

.brand-logo--hero {
    width: clamp(7rem, 14vw, 10rem);
}

.brand-logo--header {
    width: 4rem;
}

.text-italic { font-style: italic; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

a:hover {
    opacity: 1;
    color: #fff;
}

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

/* ── Layout ── */

.page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    height: 100vh;
    position: relative;
}

.header-anchor {
    position: fixed;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    display: flex;
    justify-content: space-between;
    z-index: 200;
    pointer-events: none;
}

.header-anchor > * {
    pointer-events: auto;
}

.header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.header-brand-name {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    line-height: 0;
}

.menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    width: 0.85rem;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-0.28rem); }
.menu-toggle span:nth-child(2) { transform: translateY(0); }
.menu-toggle span:nth-child(3) { transform: translateY(0.28rem); }

body.nav-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

/* ── Fixed left panel ── */

.fixed-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    z-index: 100;
    pointer-events: none;
}

.fixed-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.14);
    opacity: var(--pane-divider-opacity);
    pointer-events: none;
    will-change: opacity;
}

.fixed-left .nav-vertical,
.fixed-left .nav-vertical *,
.fixed-left__cta {
    pointer-events: auto;
}

.fixed-left--home {
    justify-content: center;
}

/* ── Logo separator between panels ── */

.separator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    color: var(--text-primary);
    opacity: 1;
    will-change: opacity;
}

@media (min-width: 1025px) {
    .separator {
        left: 35%;
    }
}

.separator svg {
    width: 100%;
    height: 100%;
}

.branding-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.branding-center--home {
    min-height: calc(100vh - 6rem);
}

.branding-center--home .brand-statement {
    letter-spacing: 0.2em;
    font-size: 1rem;
    font-weight: 400;
}

.branding-center h1 {
    font-size: clamp(2.5rem, 4vw, 5rem);
    line-height: 1;
    margin: 1rem 0 1.5rem 0;
}

.branding-center--page .brand-statement {
    margin-bottom: 1rem;
}

.branding-center--page h1 {
    margin-bottom: 1rem;
}

.branding-center--page .hero-subtitle {
    max-width: 26rem;
    margin-bottom: 0;
}

.nav-vertical {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    gap: 1.5rem;
    padding: max(6rem, calc(env(safe-area-inset-top) + 4.5rem)) 1.5rem max(2rem, calc(env(safe-area-inset-bottom) + 1.5rem));
    text-align: center;
    background: var(--bg-color);
    z-index: 180;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.nav-open .nav-vertical {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-vertical a {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.nav-vertical a.active {
    color: var(--text-primary);
}

/* ── Scrollable right panel ── */

.scroll-right {
    grid-column: 1 / -1;
    height: 100vh;
    overflow-y: auto;
    padding: 0 4rem 0 calc(50vw + 4rem);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overscroll-behavior-y: contain;
}

.dot {
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    background-color: var(--text-primary);
    display: inline-block;
}

.dot-pair {
    display: flex;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.fixed-left__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.fixed-left__cta:hover,
.fixed-left__cta:focus-visible {
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.page-content__cta {
    display: none;
}

/* ── Sections ── */

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section:last-child {
    border-bottom: none;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.4;
}

/* ── Images ── */

.image-container {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1) brightness(0.8);
}

.image-container .label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

.image-wide {
    aspect-ratio: 16/9;
}

.image-container--natural {
    aspect-ratio: auto;
    overflow: visible;
}

.image-container--natural img {
    height: auto;
    object-fit: contain;
}

/* ── Content blocks ── */

.content-block {
    max-width: 480px;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.content-block p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.section .content-block strong {
    color: #fff;
    font-weight: 600;
}

/* ── Service list ── */

.service-list {
    list-style: none;
    margin-top: 2rem;
}

.service-item {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.service-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service-item a {
    display: block;
}

.service-number {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.service-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.service-title-row .service-title {
    margin-bottom: 0;
}

.service-description {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.25s ease;
    margin-top: 0.5rem;
}

.service-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #fff;
    color: #121212;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-item a:hover .service-title,
.service-item a:hover .service-description {
    color: #fff;
}

/* ── CTA link ── */

.cta-link {
    border-bottom: 1px solid var(--text-muted);
    padding-bottom: 0.5rem;
    display: inline-block;
    transition: opacity 0.4s ease, border-color 0.4s ease;
}

.cta-link:hover {
    border-color: #fff;
}

.cta-link--button {
    padding-left: 0;
    padding-right: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background: none;
    color: var(--text-primary);
    cursor: pointer;
}

.cta-link--button:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* ── Sub-page content ── */

.page-content {
    padding: var(--space-lg) 0;
}

.page-content--top {
    padding-top: 7rem;
}

.page-content--top > :first-child {
    margin-top: 0;
}

.page-content--top .service-list:first-child {
    margin-top: 0;
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-content h2.page-subheading,
.page-content h3 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.page-content ul,
.page-content ol {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    max-width: 520px;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.about-doctor {
    display: block;
    max-width: 520px;
    margin: 1.5rem 0 2.5rem;
}

.about-doctor__image,
.about-doctor__image img,
.about-doctor__content {
    width: 100%;
}

.about-doctor__image {
    max-width: 420px;
    margin: 0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 99%;
}

.about-doctor__image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}

.about-doctor__content p {
    max-width: none;
}

.about-doctor__content p:last-child {
    margin-bottom: 0;
}

.page-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.page-content a:not(.cta-link) {
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

.page-content .service-list a,
.page-content h1 a,
.page-content h2 a,
.page-content h3 a,
.page-content h4 a,
.page-content h5 a,
.page-content h6 a,
.page-content .page-subheading a {
    text-decoration: none;
}

.certificates-archive {
    max-width: 920px;
    margin: 2rem 0 0;
}

.certificate-highlight {
    margin: 2.5rem 0 4rem;
}

.certificate-highlight__intro {
    max-width: 42rem;
    margin: 0 0 2rem;
    text-align: left;
}

.certificate-highlight__intro h2 {
    margin-bottom: 0.75rem;
}

.certificate-highlight__intro p {
    max-width: none;
}

.certificate-group {
    margin-top: 3.5rem;
}

.certificate-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    max-width: none;
}

.page-content .certificate-list {
    color: inherit;
    margin-bottom: 0;
}

.page-content .certificate-list li {
    margin-bottom: 0;
}

.certificate-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.certificate-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.certificate-card__trigger {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 1rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.certificate-card__trigger--highlight {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.5rem;
    max-width: 38rem;
    margin: 0 auto;
    padding: 0;
}

.certificate-card__thumb {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.certificate-card__thumb--highlight {
    width: min(100%, 30rem);
    height: auto;
    border-radius: 1.5rem;
    background: transparent;
    border: 0;
}

.certificate-card__thumb--highlight img {
    height: auto;
    object-fit: contain;
}

.certificate-card__content--highlight {
    max-width: 32rem;
    text-align: center;
}

.certificate-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.certificate-card__trigger:hover .certificate-card__thumb img,
.certificate-card__trigger:focus-visible .certificate-card__thumb img {
    transform: scale(1.04);
    opacity: 0.96;
}

.certificate-card__trigger:focus-visible {
    outline: none;
}

.certificate-card__date {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.certificate-card__description {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.photo-gallery__hero {
    max-width: 900px;
    margin: 2rem 0 1rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 0 2rem;
}

.photo-gallery figure {
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.photo-gallery__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.photo-gallery__trigger:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: -1px;
}

.photo-gallery__trigger img {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.photo-gallery__trigger:hover img,
.photo-gallery__trigger:focus-visible img {
    transform: scale(1.02);
    opacity: 0.96;
}

.photo-gallery img,
.photo-gallery__hero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-gallery__hero img {
    aspect-ratio: 16 / 9;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.92);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 2rem 5.5rem;
}

.gallery-lightbox__figure {
    width: min(100%, 1180px);
    margin: 0;
}

.gallery-lightbox__image {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.gallery-lightbox__caption,
.gallery-lightbox__counter {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gallery-lightbox__caption {
    margin-top: 1rem;
}

.gallery-lightbox__counter {
    margin-top: 0.35rem;
    letter-spacing: 0.08em;
}

.gallery-lightbox__button {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(18, 18, 18, 0.78);
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.gallery-lightbox__button:hover,
.gallery-lightbox__button:focus-visible {
    background: rgba(28, 28, 28, 0.95);
    border-color: rgba(255, 255, 255, 0.45);
}

.gallery-lightbox__button:focus-visible {
    outline: none;
}

.gallery-lightbox__button--close {
    top: 1.25rem;
    right: 1.25rem;
}

.gallery-lightbox__button--prev,
.gallery-lightbox__button--next {
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox__button--prev {
    left: 1.25rem;
}

.gallery-lightbox__button--next {
    right: 1.25rem;
}

body.lightbox-open {
    overflow: hidden;
}

body.lightbox-open .scroll-right {
    overflow: hidden;
}

/* ── Pricing table ── */

.price-table {
    width: 100%;
    max-width: 520px;
    margin: 2rem 0;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
}

.price-table th {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 400;
}

.price-table td {
    color: var(--text-muted);
}

.price-table td:first-child {
    color: var(--text-primary);
}

/* ── Contact info ── */

.contact-info {
    margin: 2rem 0;
}

.contact-person {
    margin: 2rem 0 0;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.contact-info dt {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info dt:first-child {
    margin-top: 0;
}

.contact-info dd {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.contact-map {
    margin: 2rem 0 3rem;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a0a0a;
}

.contact-map::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, var(--bg-color), transparent) top / 100% 12% no-repeat,
        linear-gradient(to top, var(--bg-color), transparent) bottom / 100% 12% no-repeat,
        linear-gradient(to right, var(--bg-color), transparent) left / 12% 100% no-repeat,
        linear-gradient(to left, var(--bg-color), transparent) right / 12% 100% no-repeat;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(1) contrast(1.08) brightness(0.82);
}

.contact-map-cta {
    margin: -0.75rem 0 3rem;
}

.contact-form-cta {
    margin: 1.75rem 0 0;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.contact-form-open {
    overflow: hidden;
}

body.contact-form-open .contact-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.97);
}

.contact-modal__panel {
    position: relative;
    width: min(100%, 42rem);
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #141414;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.35);
}

.contact-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-modal__header h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.contact-modal__close {
    position: relative;
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.contact-modal__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.85rem;
    height: 1px;
    background: currentColor;
}

.contact-modal__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-modal__intro {
    max-width: none;
    margin-bottom: 1.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form[hidden] {
    display: none;
}

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

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.contact-form__field span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-form__field em {
    font-style: normal;
    color: var(--text-muted);
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font: inherit;
    appearance: none;
    border-radius: 0;
    box-shadow: none;
    resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus,
.contact-form__field select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
}

.contact-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23e5e5e5' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form__select option {
    background: #141414;
    color: var(--text-primary);
}

.contact-form__field input:-webkit-autofill,
.contact-form__field input:-webkit-autofill:hover,
.contact-form__field input:-webkit-autofill:focus,
.contact-form__field textarea:-webkit-autofill,
.contact-form__field textarea:-webkit-autofill:hover,
.contact-form__field textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    caret-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0 1000px #141414 inset;
    box-shadow: 0 0 0 1000px #141414 inset;
    transition: background-color 9999s ease-out 0s;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.contact-form__consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form__consent input {
    margin-top: 0.2rem;
    accent-color: #ffffff;
}

.contact-form__consent a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.contact-form__turnstile {
    width: min(100%, 320px);
}

.contact-form__status {
    min-height: 1.5rem;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form__status[data-state="success"] {
    color: var(--text-primary);
}

.contact-form__status[data-state="error"] {
    color: #f3b0b0;
}

.contact-form__actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.contact-form__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.contact-form__cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.contact-form__cancel:hover,
.contact-form__cancel:focus-visible {
    color: var(--text-primary);
    outline: none;
}

.contact-modal__success {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.5rem;
}

.contact-modal__success[hidden] {
    display: none;
}

.contact-modal__success p {
    margin: 0;
    max-width: 34rem;
}

.contact-modal__success-message {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* ── Footer ── */

.site-footer {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-copy {
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

.footer-consent-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* ── Consent banner ── */

.consent[hidden] {
    display: none;
}

.consent {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    width: min(calc(100% - 2rem), 760px);
    z-index: 600;
}

.consent__panel {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.consent__eyebrow {
    margin-bottom: 0.75rem;
}

.consent__panel h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.consent__panel p {
    max-width: none;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.consent__options {
    margin-top: 1.5rem;
}

.consent__option {
    display: grid;
    grid-template-columns: 1.2rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.consent__option:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.consent__checkbox {
    margin-top: 0.2rem;
    accent-color: #ffffff;
}

.consent__option-title {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}

.consent__option-description {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.consent__button {
    padding: 0.8rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.consent__button:hover,
.consent__button:focus-visible,
.footer-consent-link:hover,
.footer-consent-link:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.consent__button:focus-visible,
.footer-consent-link:focus-visible {
    outline: none;
}

.consent__button--primary {
    background: rgba(255, 255, 255, 0.1);
}

.consent__button--primary:hover,
.consent__button--primary:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    body {
        overflow-y: auto;
    }

    body.nav-open {
        overflow: hidden;
    }

    .page-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .fixed-left {
        position: relative;
        width: 100%;
        min-height: 78vh;
        height: auto;
        padding: 6.5rem 2rem 6rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        pointer-events: auto;
    }

    .fixed-left::after {
        display: none;
    }

    .page-content__cta {
        display: block;
        margin-top: 3rem;
    }

    .branding-center--page .brand-statement {
        display: none;
    }

    .branding-center {
        justify-content: flex-start;
        padding-top: 2.5rem;
        width: 100%;
    }

    .branding-center > * {
        position: relative;
    }

    .branding-center > *::before {
        content: "";
        background: var(--bg-color);
        opacity: 0.8;
        filter: blur(15px);
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
    }

    .branding-center--page h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .branding-center--page .hero-subtitle {
        max-width: none;
    }

    .service-title,
    .content-block h2,
    .page-content h2,
    .page-content h2.page-subheading,
    .page-content h3,
    .certificate-highlight__intro h2,
    .branding-center h1 {
        width: auto;
    }

    .header-anchor {
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        background: rgba(18, 18, 18, 0.94);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(18px);
    }

    .header-brand-city {
        display: none;
    }

    .header-label {
        min-width: 0;
    }

    .menu-toggle {
        flex: 0 0 auto;
    }

    .header-phone {
        margin-left: auto;
        white-space: nowrap;
        text-align: right;
    }

    .scroll-right {
        grid-column: 1;
        height: auto;
        overflow: visible;
        padding: 0 2rem;
        scrollbar-gutter: auto;
    }

    .section {
        min-height: auto;
        padding: var(--space-md) 0;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .certificate-card__trigger {
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: 1rem;
    }

    .certificate-card__trigger--highlight {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        width: 100%;
        max-width: none;
    }

    .certificate-card__thumb {
        width: 4.5rem;
        height: 4.5rem;
    }

    .certificate-card__thumb--highlight {
        width: 100%;
        height: auto;
        border-radius: 1rem;
    }

    .certificate-card__content--highlight {
        max-width: none;
    }

    .gallery-lightbox__dialog {
        padding: 4.5rem 1.25rem 2rem;
    }

    .gallery-lightbox__image {
        max-height: 70vh;
    }

    .gallery-lightbox__button {
        width: 2.75rem;
        height: 2.75rem;
    }

    .gallery-lightbox__button--close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .gallery-lightbox__button--prev {
        left: 0.5rem;
    }

    .gallery-lightbox__button--next {
        right: 0.5rem;
    }

    .page-content--top {
        padding-top: 2.5rem;
    }

    .branding-center h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .consent {
        bottom: 1rem;
        width: calc(100% - 1.5rem);
    }

    .consent__panel {
        padding: 1.25rem;
    }

    .contact-modal {
        padding: 5.5rem 1rem 1rem;
    }

    .contact-modal__panel {
        max-height: calc(100vh - 6.5rem);
        padding: 1.5rem;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {
    .scroll-right {
        padding: 0 1.5rem;
    }

    .fixed-left {
        min-height: 82vh;
        padding: 6.25rem 1.5rem 6.5rem 1.5rem;
    }

    .branding-center {
        padding-top: 3rem;
    }

    .header-anchor {
        padding: 0.9rem 1rem;
    }

    .consent {
        width: calc(100% - 1rem);
        bottom: 0.5rem;
    }

    .consent__panel h2 {
        font-size: 1.5rem;
    }

    .consent__actions {
        flex-direction: column;
    }

}
