.clinic-about-section {
    width: min(100%, 760px);
    margin-inline: auto;
}

.clinic-about-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7cm;
}

.clinic-about-card {
    width: 100%;
    background: var(--ui-surface-90);
    border: 2px solid rgba(92, 59, 109, 0.55);
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 18px 22px;
}

.clinic-about-card--brand {
    width: fit-content;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 14px 9px;
    margin-bottom: 0.3cm;
}

.clinic-about-brand-title {
    margin: 0;
    color: var(--accent-secondary);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
    font-weight: 900;
    line-height: 1.05;
}

.clinic-about-brand-subtitle {
    margin: 6px 0 0;
    color: var(--accent-secondary);
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.45vw, 1.08rem);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.clinic-about-text {
    margin: 0;
    color: var(--accent-secondary);
    font-family: var(--font-primary);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.66;
    text-align: center;
    max-width: 90%;
    margin-inline: auto;
    white-space: pre-line;
}

.clinic-about-card--gallery {
    padding: 14px 14px 12px;
}

.clinic-about-card--gallery.clinic-about-card--loading .clinic-about-carousel-arrow {
    opacity: 0.38;
    cursor: progress;
}

.clinic-about-gallery-title {
    margin: 0 0 10px;
    color: var(--accent-secondary);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.28rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.clinic-about-gallery-wrap {
    position: relative;
}

.clinic-about-carousel {
    width: min(100%, 860px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 14px;
}

.clinic-about-carousel-arrow {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 2px solid rgba(92, 59, 109, 0.75);
    background: rgba(92, 59, 109, 0.95);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 10px 22px rgba(30, 25, 40, 0.22);
}

.clinic-about-carousel-arrow:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 14px 24px rgba(30, 25, 40, 0.28);
}

.clinic-about-carousel-arrow:disabled {
    opacity: 0.45;
    cursor: default;
}

.clinic-about-carousel-main {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(238, 232, 243, 0.72);
}

.clinic-about-carousel-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.clinic-about-gallery-hint {
    margin: 10px 0 0;
    color: rgba(68, 47, 86, 0.86);
    font-family: var(--font-primary);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.clinic-about-documents-card,
.clinic-about-license-card {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.clinic-contacts-docs-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.clinic-about-documents-toggle {
    width: min(100%, 440px);
    min-width: 0;
    min-height: 52px;
    padding: 0 16px;
    margin-inline: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    font-size: clamp(1.04rem, 1.65vw, 1.18rem);
    letter-spacing: 0.028em;
    line-height: 1.06;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clinic-about-documents-toggle--license {
    width: min(100%, 440px);
    white-space: nowrap;
}

.clinic-about-documents-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(92, 59, 109, 0.22);
}

.clinic-about-documents-toggle[aria-expanded='true'] {
    background: #ffffff;
    color: var(--accent-secondary);
    border-color: rgba(92, 59, 109, 0.92);
    box-shadow: 0 8px 18px rgba(92, 59, 109, 0.2);
}

.clinic-about-documents-content {
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, margin-top 0.22s ease;
}

.clinic-about-documents-content.is-open {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
}

.clinic-about-license-content.is-open {
    max-height: 1100px;
}

.clinic-about-license-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.clinic-about-license-grid--single {
    grid-template-columns: 1fr;
}

.clinic-about-license-preview {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 2px solid rgba(92, 59, 109, 0.28);
    border-radius: 14px;
    background: #ffffff;
    padding: 6px;
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.clinic-about-license-preview:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(30, 25, 40, 0.2);
    border-color: rgba(92, 59, 109, 0.46);
}

.clinic-about-license-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
}

.clinic-about-documents-list {
    margin: 6px 0 0;
    gap: 10px;
    align-items: center;
}

.clinic-about-documents-item {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: center;
}

.clinic-about-documents-link,
.clinic-about-documents-link:visited {
    width: min(100%, 520px);
    min-height: 48px;
    justify-content: center;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--accent-secondary);
    background: #ffffff;
    border-color: rgba(92, 59, 109, 0.68);
}

.clinic-about-documents-link::before {
    content: none;
    display: none;
}

.clinic-about-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(19, 11, 27, 0.86);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

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

.clinic-about-lightbox-frame {
    position: relative;
    width: fit-content;
    max-width: min(1500px, calc(100vw - 56px));
    max-height: 90vh;
    display: grid;
    grid-template-columns: 62px auto 62px;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.clinic-about-lightbox-image {
    display: block;
    grid-column: 2;
    justify-self: center;
    width: auto;
    height: auto;
    max-width: min(1240px, calc(100vw - 210px));
    max-height: calc(100vh - 70px);
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    object-fit: contain;
    background: rgba(24, 15, 35, 0.9);
}

.clinic-about-lightbox-arrow {
    position: static;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: rgba(92, 59, 109, 0.88);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2600;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

.clinic-about-lightbox-arrow--prev {
    grid-column: 1;
}

.clinic-about-lightbox-arrow--next {
    grid-column: 3;
}

.clinic-about-lightbox-arrow:hover:not(:disabled) {
    transform: scale(1.02);
}

.clinic-about-lightbox-arrow:disabled {
    opacity: 0.45;
    cursor: default;
}

body.is-lightbox-open {
    overflow: hidden;
}
