/* ==========================================================================
   СоциУМ — main.css
   Дизайн: белый фон, фиолетовые элементы и чёрный текст.
   Шрифты: Onest (дисплей), Manrope (текст).
   ========================================================================== */

:root {
    --paper: #ffffff;
    --white: #ffffff;
    --ink: #000000;
    --muted: #000000;
    --purple: #6d28d9;
    --purple-dark: #5b21b6;
    --purple-deep: #4c1d95;
    --purple-soft: #c4b5fd;
    --purple-pale: #ddd6fe;
    --purple-bright: #7c3aed;
    --purple-accent: #8b5cf6;
    --line: rgba(0, 0, 0, .12);
    --radius: 26px;
    --display: 'Onest', sans-serif;
    --body: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea {
    font: inherit;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

/* --- Skip link ----------------------------------------------------------- */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    background: var(--purple);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 20px;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 92px;
    background: var(--purple);
    color: #fff;
    transition: height .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
    height: 74px;
    box-shadow: 0 8px 24px rgba(109, 40, 217, .18);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    line-height: 1.05;
    color: #fff;
    flex: none;
}

.brand-logo {
    width: 60px;
    height: 60px;
    padding: 5px;
    background: #fff;
    border-radius: 14px;
    object-fit: contain;
    box-sizing: border-box;
}

.brand > span {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.brand b {
    color: #fff;
    font-weight: 700;
}

.brand small {
    display: block;
    margin-top: 3px;
    font: 500 9px/1.2 var(--body);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    height: 100%;
}

.desktop-nav a {
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, .09);
    transition: background .2s ease, color .2s ease;
}

.desktop-nav a:last-child {
    border-right: 1px solid rgba(255, 255, 255, .09);
}

.desktop-nav a:hover {
    background: var(--purple-pale);
    color: var(--purple);
}

.header-cta {
    flex: none;
    background: var(--purple-pale);
    color: var(--purple);
    min-height: 50px;
    padding: 0 25px;
}

.header-cta:hover {
    background: var(--purple-soft);
    color: var(--purple);
}

.header-cta span {
    font-size: 17px;
}

.menu-toggle {
    display: none;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--purple-pale);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--purple);
    transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* --- Buttons & links ------------------------------------------------------ */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    min-height: 58px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--purple);
    color: #fff;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
    background: var(--purple-dark);
}

.button:focus-visible {
    outline: 3px solid var(--purple-soft);
    outline-offset: 2px;
}

.button-small {
    min-height: 44px;
    padding: 0 20px;
    font-size: 18px;
}

.button-light {
    background: #fff;
    color: #6d28d9;
}

.button-dark {
    background: var(--purple);
    color: #fff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 600;
    color: var(--purple);
    transition: gap .2s ease;
}

.text-link:hover {
    gap: 14px;
}

.text-link span {
    font-size: 1.15em;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
    padding-top: 172px;
    background: var(--paper);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--purple);
}

.eyebrow span {
    width: 22px;
    height: 2px;
    background: var(--purple-pale);
}

.hero h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(44px, 5.6vw, 66px);
    line-height: 1.04;
    letter-spacing: -.03em;
    font-weight: 600;
}

.section-heading h2 em, .hero h1 em, .club h2 em {
    font-style: normal;
    color: #000000;
}

.hero-copy > p {
    margin: 22px 0 0;
    font-size: 17px;
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
}

.avatars {
    display: flex;
}

.avatars span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.avatars span + span {
    margin-left: -10px;
}

.hero-trust p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.hero-trust strong {
    color: var(--ink);
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-image-wrap {
    position: absolute;
    inset: 0 26px;
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-placeholder {
    background: #ffffff;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scribble {
    position: absolute;
    right: 18px;
    bottom: 22px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--purple-pale);
    color: var(--purple);
    font-family: var(--display);
    font-weight: 700;
    font-size: 14px;
    transform: rotate(-4deg);
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 250px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(109, 40, 217, .12);
    font-size: 13px;
    line-height: 1.35;
}

.floating-card b {
    display: block;
    font-family: var(--display);
    font-size: 15px;
}

.floating-card small {
    color: var(--muted);
}

.floating-card .dot {
    flex: none;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--purple-soft);
}

.floating-card-top {
    top: 30px;
    left: -10px;
}

.floating-card-bottom {
    right: -6px;
    bottom: 46px;
    padding: 14px 20px;
}

.floating-card-bottom b {
    color: var(--purple);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 46px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.hero-note span {
    font-family: var(--display);
    font-weight: 700;
    color: var(--purple-pale);
}

.hero-note p {
    margin: 0;
    font-size: 18px;
    color: var(--muted);
}

.hero-note .line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* --- Section headings ------------------------------------------------------ */

.section-heading {
    margin-bottom: 56px;
}

.section-number {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--purple);
}

.section-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(36px, 4.4vw, 52px);
    line-height: 1.06;
    letter-spacing: -.02em;
    font-weight: 600;
}

.split-heading, .light-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.section-heading > p {
    margin: 0;
    max-width: 520px;
    font-size: 18px;
    color: var(--muted);
}

/* --- Situations ------------------------------------------------------------ */

.situations {
    background: #ffffff;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.situation-card {
    position: relative;
    min-height: 220px;
    padding: 32px 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.card-index {
    position: absolute;
    top: 24px;
    right: 26px;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    color: #000000;
}

.situation-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--purple-pale);
    color: var(--purple);
    font-size: 24px;
    font-weight: 700;
}

.situation-card h3 {
    margin: 0 0 10px;
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
}

.situation-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* --- Services --------------------------------------------------------------- */

.services {
    background: var(--purple);
    color: #fff;
}

.light-heading .section-number {
    color: var(--purple-soft);
}

.light-heading h2 {
    color: #fff;
}

.light-heading > p {
    color: rgba(255, 255, 255, .72);
}

.service-list {
    display: grid;
    gap: 0;
}

.service-card {
    display: grid;
    grid-template-columns: 150px minmax(280px, 1fr) 170px;
    align-items: center;
    gap: 26px;
    padding: 30px 8px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    transition: background .25s ease;
}

.service-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.service-card:hover {
    background: var(--purple-dark);
}

.service-card.featured {
    background: var(--purple-dark);
}

.service-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    align-self: start;
}

.service-meta > span:first-child {
    font-family: var(--display);
    font-weight: 700;
    color: var(--purple-soft);
}

.service-art {
    width: 112px;
    height: 112px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
}

.service-animation {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: serviceImageIn .7s ease both;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--purple-soft);
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
}

.service-main {
    align-self: center;
}

.service-type {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--purple-pale);
}

.service-main h3 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 26px;
    font-weight: 600;
}

.service-main > p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
}

.service-main ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-main li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

.service-main li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-soft);
    transform: translateY(-50%);
}

.service-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    align-self: center;
}

.service-side span {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.service-side a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
    font-size: 20px;
    transition: background .2s ease, transform .2s ease;
}

.service-side a:hover {
    background: var(--purple-pale);
    transform: translateX(3px);
}

.price-note {
    margin: 22px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

/* --- Process ----------------------------------------------------------------- */

.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.process-track li {
    position: relative;
    padding-top: 8px;
}

.process-track li > span {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    color: #000000;
}

.process-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 18px 0 16px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-size: 20px;
}

.process-track h3 {
    margin: 0 0 6px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
}

.process-track p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* --- About -------------------------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--purple);
    font-size: 12px;
}

.about-lead {
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.about-copy h2 {
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
    letter-spacing: -.02em;
    font-weight: 600;
}

.about-copy > p {
    color: var(--muted);
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.about-facts div {
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
}

.about-facts strong {
    display: block;
    font-family: var(--display);
    font-size: 26px;
    color: var(--purple);
}

.about-facts span {
    font-size: 12px;
    color: var(--muted);
}

.dark-link {
    color: var(--purple);
}

/* --- Club ---------------------------------------------------------------------- */

.club-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 70px;
    border-radius: 32px;
    background: #6d28d9;
    color: #fff;
    overflow: hidden;
}

.club-label {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.club-label span {
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.club-label span:first-child {
    background: rgba(255, 255, 255, .16);
}

.club-label span:last-child {
    background: var(--purple-soft);
    color: var(--purple);
}

.club-copy h2 {
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: clamp(32px, 3.6vw, 46px);
    line-height: 1.08;
    font-weight: 600;
}

.club-copy h2 em {
    color: var(--purple-pale);
    font-style: normal;
}

.club-copy > p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .8);
}

.club-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.club-skills span {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    font-size: 12px;
}

.club-visual {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.club-age {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 14px;
    background: var(--purple-soft);
    color: var(--purple);
}

.club-age b {
    font-family: var(--display);
    font-size: 26px;
}

.club-age span {
    font-size: 14px;
    font-weight: 600;
}

/* --- Results -------------------------------------------------------------------- */

.result-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.result-card {
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
}

.result-card > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--purple);
}

.result-card blockquote {
    margin: 20px 0;
    font-family: var(--display);
    font-size: 26px;
    line-height: 1.3;
    font-weight: 500;
}

.result-card h3 {
    margin: 14px 0 8px;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
}

.result-card p {
    margin: 0;
    color: var(--muted);
}

.result-large {
    grid-row: span 2;
}

.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.result-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--purple-soft);
    color: var(--purple);
    font-size: 12px;
    font-weight: 600;
}

.accent-result {
    background: var(--purple-pale);
}

.testimonial {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: var(--purple);
    color: #fff;
}

.quote-mark {
    font-family: var(--display);
    font-size: 70px;
    line-height: 1;
    color: var(--purple-pale);
}

.testimonial-content {
    margin: 10px 0 26px;
}

.testimonial-content p {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 21px;
    line-height: 1.4;
}

.testimonial-content span {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.slider-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.slider-controls button:hover {
    background: var(--purple-dark);
}

.slider-controls span {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.slider-controls b {
    color: #fff;
}

/* --- FAQ ------------------------------------------------------------------------- */

.faq {
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: start;
}

.faq h2 {
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: clamp(32px, 3.6vw, 44px);
    line-height: 1.08;
    letter-spacing: -.02em;
    font-weight: 600;
}

.faq-intro > p {
    color: var(--muted);
    margin: 0 0 22px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.faq-item button i {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--purple);
    position: relative;
    transition: background .2s ease;
}

.faq-item button i::before,
.faq-item button i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
}

.faq-item button i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
}

.faq-item button[aria-expanded="true"] i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    padding: 0 0 22px;
    color: var(--muted);
}

.faq-answer p {
    margin: 0;
}

/* --- Request form ------------------------------------------------------------------ */

.request {
    background: var(--purple);
    color: #fff;
}

.request-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.request-copy .section-number {
    color: var(--purple-soft);
}

.request-copy h2 {
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: clamp(32px, 3.6vw, 44px);
    line-height: 1.08;
    font-weight: 600;
}

.request-copy > p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .75);
}

.request-contact span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--purple-soft);
}

.request-contact a {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
}

.request-form {
    display: grid;
    gap: 20px;
    padding: 34px;
    border-radius: 22px;
    background: var(--purple-dark);
}

.request-form label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.request-form label > span:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--purple-soft);
}

.request-form input,
.request-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: border-color .2s ease, background .2s ease;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.request-form input:focus,
.request-form textarea:focus {
    outline: none;
    border-color: var(--purple-soft);
    background: rgba(255, 255, 255, .12);
}

.request-form textarea {
    resize: vertical;
    min-height: 90px;
}

.request-form .consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
}

.request-form .consent input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--purple-soft);
}

.request-form .consent span a {
    color: var(--purple-soft);
    text-decoration: underline;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(196, 181, 253, .16);
    border: 1px solid var(--purple-soft);
}

.form-success b {
    font-family: var(--display);
    color: var(--purple-soft);
}

.form-success span {
    font-size: 14px;
}

.form-error {
    margin: 0;
    min-height: 0;
    font-size: 13px;
    color: #000000;
}

/* --- Footer -------------------------------------------------------------------------- */

.footer {
    background: var(--purple-deep);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
    color: #fff;
}

.footer-brand small {
    color: rgba(255, 255, 255, .55);
}

.footer-top > p {
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.footer-links,
.footer-social {
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-social a {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    transition: color .2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--purple-soft);
}

.footer-documents {
    padding-top: 26px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-documents-title {
    display: block;
    margin-bottom: 16px;
    font-family: var(--display);
    font-weight: 700;
}

.footer-documents-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
}

.footer-documents-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.footer-documents-links a:hover {
    color: var(--purple-soft);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 26px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .7);
}

.footer-bottom a:hover {
    color: var(--purple-soft);
}

/* --- Reveal animation ------------------------------------------------------------------ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: .1s;
}

@keyframes serviceImageIn {
    from {
        opacity: 0;
        transform: scale(.72) rotate(-8deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* --- Responsive: tablet ------------------------------------------------------------------ */

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .header-cta {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        inset: 92px 0 auto;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        padding: 0 24px;
        background: var(--paper);
        transition: max-height .35s ease;
    }

    .mobile-menu.open {
        max-height: calc(100vh - 92px);
        padding-bottom: 30px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-menu a {
        padding: 15px 4px;
        border-bottom: 1px solid var(--line);
        font-family: var(--display);
        font-weight: 500;
        font-size: 18px;
        color: var(--purple);
    }

    .hero-grid {
        gap: 30px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .split-heading, .light-heading {
        gap: 40px;
    }

    .service-card {
        grid-template-columns: 105px minmax(220px, 1fr) 130px;
    }

    .service-art {
        width: 88px;
        height: 88px;
    }

    .about-grid {
        gap: 48px;
    }

    .club-shell {
        padding: 48px;
    }

    .faq-grid, .request-shell {
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Responsive: mobile ------------------------------------------------------------------- */

@media (max-width: 720px) {
    .container {
        width: min(100% - 30px, 580px);
    }

    .section {
        padding: 80px 0;
    }

    .site-header {
        height: 68px;
    }

    .site-header.scrolled {
        height: 64px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        padding: 4px;
    }

    .brand > span {
        font-size: 17px;
    }

    .brand small {
        font-size: 7px;
    }

    .header-cta {
        display: none;
    }

    .header-inner {
        gap: 16px;
    }

    .mobile-menu {
        inset: 68px 0 auto;
        inset-block-start: 68px;
    }

    .mobile-menu.open {
        max-height: calc(100vh - 68px);
    }

    .hero {
        padding-top: 110px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 440px;
        margin-top: 10px;
    }

    .hero-image-wrap {
        inset: 0 8px;
    }

    .floating-card-top {
        left: -6px;
        top: 30px;
    }

    .floating-card-bottom {
        right: -4px;
        bottom: 30px;
    }

    .split-heading, .light-heading {
        display: block;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .situation-grid {
        grid-template-columns: 1fr;
        border-top: 0;
        border-left: 0;
    }

    .situation-card {
        min-height: 0;
        padding: 24px 18px 24px 84px;
        border-right: 0;
        border-bottom: 0;
        border-top: 1px solid var(--line);
    }

    .situation-card:last-child {
        border-bottom: 1px solid var(--line);
    }

    .situation-icon {
        position: absolute;
        left: 14px;
        top: 26px;
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .card-index {
        top: 22px;
        right: 10px;
    }

    .service-card {
        grid-template-columns: 58px 1fr;
        gap: 16px;
        padding: 24px 4px;
    }

    .service-meta {
        gap: 10px;
    }

    .service-art {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .service-main h3 {
        font-size: 21px;
    }

    .service-side {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .service-side a {
        width: 40px;
        height: 40px;
    }

    .process-track {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-copy {
        order: -1;
    }

    .about-visual {
        max-width: 460px;
    }

    .about-facts {
        gap: 8px;
    }

    .about-facts div {
        padding: 14px;
    }

    .about-facts strong {
        font-size: 22px;
    }

    .club-shell {
        grid-template-columns: 1fr;
        padding: 34px 24px;
    }

    .club h2 {
        font-size: 38px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-large {
        grid-row: auto;
    }

    .result-large blockquote {
        font-size: 22px;
    }

    .testimonial {
        padding: 28px 22px;
    }

    .faq-grid, .request-shell {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .request-form {
        padding: 26px 20px;
    }

    .footer-top, .footer-documents-links {
        grid-template-columns: 1fr;
    }

    .footer-links, .footer-social {
        border-top: 1px solid rgba(255, 255, 255, .1);
        padding-top: 16px;
    }
}

/* --- Responsive: small mobile -------------------------------------------------------------- */

@media (max-width: 400px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .floating-card-bottom {
        display: none;
    }

    .situation-card {
        padding-left: 74px;
    }

    .process-track {
        grid-template-columns: 1fr;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .about-facts div {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .club-shell {
        padding: 28px 18px;
    }
}

/* --- Final content refinements --------------------------------------------------------------- */

/* Service categories */
.service-group {
    margin-top: 34px;
    border-radius: 28px;
    overflow: hidden;
    color: var(--ink);
}

.service-group-tutoring {
    background: #ede9fe;
}

.service-group-career {
    background: #ffffff;
}

.service-group-heading {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    padding: 34px 36px 26px;
    border-bottom: 1px solid rgba(109, 40, 217, .16);
}

.service-group-heading > span {
    padding-bottom: 7px;
    font: 700 13px/1 var(--display);
    color: var(--purple);
}

.service-group-heading p {
    margin: 0 0 5px;
    color: var(--purple-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-group-heading h3 {
    margin: 0;
    font: 700 clamp(32px, 4.2vw, 54px)/.95 var(--display);
    letter-spacing: -.04em;
    color: var(--purple-deep);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: rgba(109, 40, 217, .16);
}

.service-group-tutoring .service-option {
    background: #ede9fe;
}

.service-group-career .service-option {
    background: #fff;
}

.service-option {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    padding: 30px 34px;
}

.service-option-number {
    margin-bottom: 28px;
    font: 700 12px/1 var(--display);
    color: var(--purple);
}

.service-option h4 {
    margin: 0 0 14px;
    font: 600 23px/1.15 var(--display);
    letter-spacing: -.02em;
}

.service-option > p {
    margin: 0 0 24px;
    color: rgba(0, 0, 0, .68);
    font-size: 14px;
}

.service-option > small {
    display: block;
    margin-top: 12px;
    color: var(--purple-dark);
    font-size: 12px;
    line-height: 1.45;
}

.service-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}

.service-price strong {
    font: 700 24px/1 var(--display);
    color: var(--purple-deep);
}

.service-price a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: none;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-size: 19px;
    transition: transform .2s ease, background .2s ease;
}

.service-price a:hover {
    background: var(--purple-deep);
    transform: translate(2px, -2px);
}

/* Illustrated process track */
.process-track li:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 70px;
    left: 76px;
    width: calc(100% - 8px);
    height: 1px;
    background: var(--purple-soft);
}

.process-mark {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    margin: 14px 0 18px;
    border: 1px solid var(--purple-soft);
    border-radius: 20px;
    background: #fff;
    color: var(--purple-deep);
}

.process-mark svg {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-mark svg .accent {
    stroke: var(--purple-accent);
    stroke-width: 4;
}

/* About: achievements and video-ready areas */
.about-fact {
    display: block;
    min-width: 0;
    padding: 18px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #fff;
}

.about-fact-link {
    transition: border-color .2s ease, transform .2s ease;
}

.about-fact-link:hover {
    border-color: var(--purple-soft);
    transform: translateY(-2px);
}

.about-facts .about-fact-link strong {
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.15;
}

.about-resources {
    display: grid;
    gap: 10px;
    margin: -10px 0 28px;
}

.about-resource {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--purple-pale);
    border-radius: 16px;
    background: rgba(255, 255, 255, .62);
}

.resource-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--purple-pale);
    color: var(--purple);
    font-size: 20px;
}

.resource-play {
    padding-left: 3px;
}

.about-resource h3 {
    margin: 0 0 3px;
    font: 600 16px/1.2 var(--display);
}

/* Achievement photo gallery */
.gallery-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}

.gallery-item {
    min-width: 0;
    margin: 0;
}

.gallery-item a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--purple-pale);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-item a:hover img {
    transform: scale(1.04);
}

.gallery-item figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.about-resource p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.resource-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--purple);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* Club logo */
.club-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.club-title-row img {
    width: 82px;
    height: 82px;
    padding: 7px;
    flex: none;
    border-radius: 18px;
    background: #fff;
    object-fit: contain;
}

.club-title-row .club-copy h2,
.club-title-row h2 {
    margin-bottom: 0;
}

/* Standalone reviews, without the removed results/cases */
.reviews {
    background: #f5f3ff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
    gap: 70px;
    align-items: center;
}

.reviews-intro h2 {
    margin: 12px 0 18px;
    font: 600 clamp(38px, 5vw, 62px)/1.02 var(--display);
    letter-spacing: -.04em;
}

.reviews-intro h2 em {
    color: var(--purple);
    font-style: normal;
}

.reviews-intro p {
    margin: 0;
    color: var(--muted);
}

.reviews .testimonial {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 980px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-option {
        min-height: 0;
    }

    .about-resource {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .resource-status {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .service-group {
        margin-top: 24px;
        border-radius: 22px;
    }

    .service-group-heading {
        align-items: flex-start;
        padding: 26px 22px 22px;
    }

    .service-group-heading h3 {
        font-size: clamp(27px, 9vw, 39px);
        overflow-wrap: anywhere;
    }

    .service-option {
        padding: 26px 22px;
    }

    .service-option-number {
        margin-bottom: 18px;
    }

    .process-track li:not(:last-child)::after {
        top: 70px;
        width: calc(100% - 8px);
    }

    .process-track li:nth-child(2)::after {
        display: none;
    }

    .about-resources {
        margin-top: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-title-row {
        align-items: flex-start;
        gap: 12px;
    }

    .club-title-row img {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .reviews .testimonial {
        min-height: 0;
    }
}

@media (max-width: 400px) {
    .process-track li:not(:last-child)::after {
        display: block;
        top: 88px;
        left: 37px;
        width: 1px;
        height: calc(100% + 28px);
    }

    .about-resource {
        grid-template-columns: 1fr;
    }

    .resource-status {
        grid-column: 1;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reduced motion ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Standalone gallery page --------------------------------------------------------------- */
.visually-hidden {
    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;
}

body.dialog-open {
    overflow: hidden;
}

.desktop-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
    background: rgba(255, 255, 255, .14);
}

.gallery-page {
    min-height: 70vh;
    background: #f8f7ff;
}

.gallery-hero {
    padding: 160px 0 76px;
    background: var(--purple);
    color: #fff;
}

.gallery-back {
    display: inline-flex;
    margin-bottom: 38px;
    color: var(--purple-pale);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, color .2s ease;
}

.gallery-back:hover {
    color: #fff;
    transform: translateX(-4px);
}

.gallery-hero .section-number {
    display: block;
    color: var(--purple-soft);
}

.gallery-hero h1 {
    max-width: 900px;
    margin: 0;
    font: 600 clamp(45px, 7vw, 82px)/.98 var(--display);
    letter-spacing: -.045em;
}

.gallery-hero h1 em {
    color: var(--purple-pale);
    font-style: normal;
}

.gallery-hero p {
    max-width: 610px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 17px;
}

.gallery-content {
    padding: 72px 0 110px;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(76, 29, 149, .08);
}

.gallery-card-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.gallery-card-button:focus-visible {
    outline: 3px solid var(--purple-soft);
    outline-offset: -3px;
}

.gallery-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--purple-pale);
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-card-button:hover .gallery-card-image img {
    transform: scale(1.04);
}

.gallery-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px 22px;
}

.gallery-card-meta > span {
    min-width: 0;
}

.gallery-card-meta small {
    display: block;
    margin-bottom: 5px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
}

.gallery-card-meta strong {
    display: block;
    overflow: hidden;
    font: 600 18px/1.25 var(--display);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-card-meta i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    flex: none;
    border-radius: 50%;
    background: var(--purple-pale);
    color: var(--purple);
    font-style: normal;
}

.gallery-empty {
    padding: 72px 28px;
    border: 1px dashed var(--purple-soft);
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.gallery-empty > span {
    display: block;
    color: var(--purple);
    font-size: 54px;
}

.gallery-empty h2 {
    margin: 8px 0 10px;
    font: 600 30px/1.15 var(--display);
}

.gallery-empty p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
}

.gallery-dialog {
    width: min(1000px, calc(100% - 40px));
    max-height: min(88vh, 820px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 26px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.gallery-dialog::backdrop {
    background: rgba(20, 8, 42, .78);
    backdrop-filter: blur(5px);
}

.gallery-dialog-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    max-height: min(88vh, 820px);
    overflow-y: auto;
}

.gallery-dialog-close {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.gallery-dialog-image {
    height: min(62vh, 620px);
    min-height: 320px;
    overflow: hidden;
    background: #ede9fe;
}

.gallery-dialog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-dialog-copy {
    padding: 30px 38px 38px;
}

.gallery-dialog-copy > span {
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gallery-dialog-copy h2 {
    margin: 10px 0 20px;
    font: 600 clamp(25px, 3vw, 36px)/1.1 var(--display);
    letter-spacing: -.025em;
}

.gallery-dialog-copy p {
    margin: 0 0 14px;
    color: var(--muted);
    white-space: normal;
}

@media (max-width: 980px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-dialog-shell {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .gallery-dialog-image {
        min-height: 0;
        height: min(55vh, 520px);
    }

    .gallery-dialog-image img {
        max-height: none;
    }

    .gallery-dialog-copy {
        overflow: visible;
        padding: 30px 28px 34px;
    }
}

@media (max-width: 720px) {
    .gallery-hero {
        padding: 116px 0 58px;
    }

    .gallery-back {
        margin-bottom: 28px;
    }

    .gallery-hero h1 {
        font-size: clamp(39px, 12vw, 58px);
    }

    .gallery-content {
        padding: 42px 0 80px;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-dialog {
        width: calc(100% - 24px);
        max-height: 92vh;
        border-radius: 20px;
    }

    .gallery-dialog-shell {
        max-height: 92vh;
    }

    .gallery-dialog-image {
        height: min(52vh, 430px);
    }

    .gallery-dialog-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}
