:root {
    --bg: #efe7d5;
    --text: #141414;
    --text-soft: rgba(20, 20, 20, 0.82);
    --accent: #b48700;
    --accent-hover: #9a632f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: var(--bg);
}

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

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

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

.page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 250, 239, 0.85), transparent 24%),
        radial-gradient(circle at bottom right, rgba(180, 135, 0, 0.12), transparent 20%),
        var(--bg);
}

.hero {
    width: 100%;
    min-height: 680px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(239, 231, 213, 0.97) 0%, rgba(239, 231, 213, 0.86) 31%, rgba(239, 231, 213, 0.42) 49%, rgba(239, 231, 213, 0.08) 68%, rgba(239, 231, 213, 0) 82%), url(./main.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero__inner {
    display: flex;
    align-items: center;
    width: min(1440px, 100%);
    min-height: 680px;
    margin: 0 auto;
    padding: 52px clamp(64px, 9vw, 150px) 48px clamp(92px, 12vw, 190px);
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    margin: 0;
    max-width: 21ch;
    font-family: "Great Vibes", serif;
    font-size: clamp(2rem, 3.5vw, 3.9rem);
    font-weight: 100;
    line-height: 1;
    color: #b48700;
}

.hero__text {
    margin: 57px 0 0;
    max-width: 40ch;
    font-size: clamp(1rem, 1.2vw, 1.35rem);
    line-height: 1.34;
    color: var(--text-soft);
}

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 370px;
    min-height: 76px;
    margin-top: 28px;
    padding: 14px 28px;
    border-radius: 16px;
    background: var(--accent);
    color: #ffffff;
    font-size: 2.95rem;
    transition: background-color 0.25s ease, transform 0.25s ease;
    font-family: "Great Vibes", serif;
}

.hero__button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.hero__button:focus-visible {
    outline: 3px solid rgba(180, 135, 0, 0.28);
    outline-offset: 4px;
}

.audience {
    padding: 88px 20px 96px;
}

.audience__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.audience__title {
    margin: 0 0 44px;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #111111;
}

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

.audience-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 100%;
    padding: 28px 28px 30px;
    background-color: #e5d9c4;
    border-radius: 30px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(122, 89, 24, 0.14);
    background-color: #e9ddc8;
}

.audience-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: var(--accent);
    background: rgba(180, 135, 0, 0.08);
    border-radius: 22px;
    transition: transform 0.28s ease, color 0.28s ease, background-color 0.28s ease;
}

.audience-card:hover .audience-card__icon {
    color: var(--accent-hover);
    background: rgba(154, 99, 47, 0.1);
    transform: scale(1.08) rotate(-4deg);
}

.audience-card__icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.audience-card p {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.45;
    color: rgba(20, 20, 20, 0.88);
}

.learn {
    padding: 88px 20px 94px;
}

.learn__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.learn__title {
    margin: 0 0 46px;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #111111;
}

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

.learn__item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 24px 0;
    border-top: 1px solid rgba(180, 135, 0, 0.26);
}

.learn__item:last-child {
    border-bottom: 1px solid rgba(180, 135, 0, 0.26);
}

.learn__number {
    display: inline-block;
    padding-top: 3px;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--accent);
}

.learn__item p {
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.5;
    color: rgba(20, 20, 20, 0.86);
}

.program {
    padding: 88px 20px 96px;
}

.program__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.program__title {
    margin: 0 0 44px;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #111111;
}

.program__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.program-card {
    position: relative;
    overflow: hidden;
    padding: 30px 28px 32px;
    background-color: #e5d9c4;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.program-card::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -30%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 250, 240, 0.72) 0%, rgba(255, 250, 240, 0) 68%);
    opacity: 0.72;
    transform: translate3d(-20px, 0, 0);
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(122, 89, 24, 0.16);
    background-color: #e9ddc8;
}

.program-card:hover::before {
    transform: translate3d(48px, 18px, 0);
    opacity: 0.96;
}

.program-card__title {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111111;
}

.program-card__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.program-card__list li {
    position: relative;
    padding-left: 18px;
    font-size: 1.18rem;
    line-height: 1.45;
    color: rgba(20, 20, 20, 0.9);
}

.program-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.program__note {
    margin: 34px 0 0;
    text-align: center;
    font-size: clamp(1.15rem, 1.6vw, 1.7rem);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    color: #111111;
}

.gallery {
    padding: 22px 20px 26px;
}

.gallery__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.gallery__slider {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.gallery__viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery__viewport::-webkit-scrollbar {
    display: none;
}

.gallery__grid {
    display: flex;
    gap: 22px;
}

.gallery__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(122, 89, 24, 0.16);
    border-radius: 999px;
    background: linear-gradient(180deg, #fffaf1 0%, #f1e1c3 100%);
    color: #4f3508;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(122, 89, 24, 0.14);
    transition: box-shadow 0.28s ease, opacity 0.28s ease;
}

.gallery__nav:hover {
    box-shadow: 0 22px 38px rgba(122, 89, 24, 0.18);
}

.gallery__nav:focus-visible {
    outline: 2px solid #7a5918;
    outline-offset: 3px;
}

.gallery__nav:disabled {
    opacity: 0.42;
    cursor: default;
    box-shadow: none;
}

.gallery__nav span {
    font-size: 2rem;
    position: relative;
    top: -1px;
}

.gallery-card {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 26px;
    background: #e5d9c4;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(122, 89, 24, 0.12);
    scroll-snap-align: start;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(122, 89, 24, 0.16);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.04);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 45%, rgba(20, 20, 20, 0.16) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

.lightbox {
    width: min(92vw, 1240px);
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.lightbox::backdrop {
    background: rgba(20, 16, 10, 0.86);
    backdrop-filter: blur(8px);
}

.lightbox__image {
    display: block;
    width: 100%;
    max-height: 88vh;
    margin: 0 auto;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111111;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lightbox__close:hover {
    transform: scale(1.05);
    background: #ffffff;
}

.format {
    padding: 88px 20px 100px;
}

.format__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.format__title {
    margin: 0 0 44px;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #111111;
}

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

.format-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 168px;
    padding: 22px;
    background-color: #e5d9c4;
    border-radius: 30px;
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.format-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 22px 44px rgba(122, 89, 24, 0.14);
    background-color: #e9ddc8;
}

.format-card p {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    color: rgba(20, 20, 20, 0.9);
}

.format-card--top-left {
    grid-column: 1 / span 3;
}

.format-card--top-center {
    grid-column: 4 / span 5;
}

.format-card--top-right {
    grid-column: 9 / span 3;
}

.format-card--bottom-left {
    grid-column: 3 / span 3;
}

.format-card--bottom-right {
    grid-column: 7 / span 3;
    position: relative;
}

.format-card--bottom-right p {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 44px);
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%);
}

.order {
    padding: 92px 20px 110px;
}

.order__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.order__title {
    margin: 0;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #111111;
}

.order__lead {
    margin: 16px 0 42px;
    font-size: clamp(1.1rem, 1.5vw, 1.45rem);
    line-height: 1.5;
    text-align: center;
    color: rgba(20, 20, 20, 0.88);
}

.order-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 42px;
    border-radius: 34px;
    background-image:
        linear-gradient(135deg, rgba(19, 13, 8, 0.34) 0%, rgba(19, 13, 8, 0.16) 42%, rgba(19, 13, 8, 0.54) 100%),
        url("./main.png");
    background-position: center center;
    background-size: cover;
    box-shadow: 0 26px 56px rgba(102, 74, 20, 0.18);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.18s ease, box-shadow 0.35s ease;
}

.order-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.14) 34%, rgba(255, 255, 255, 0.44) 50%, rgba(255, 255, 255, 0.08) 58%, rgba(255, 255, 255, 0) 72%);
    transform: translateX(-130%) skewX(-18deg);
    transition: transform 0.9s ease;
    pointer-events: none;
}

.order-card::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.order-card:hover {
    box-shadow: 0 34px 72px rgba(102, 74, 20, 0.24);
}

.order-card:hover::before {
    transform: translateX(135%) skewX(-18deg);
}

.order-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    max-width: 520px;
    color: #fffaf1;
    transform: translateZ(34px);
}

.order-card__title {
    margin: 0;
    font-size: clamp(1.55rem, 2.3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.order-card__price {
    font-family: "Great Vibes", serif;
    font-size: clamp(2rem, 2.8vw, 3rem);
    font-weight: 100;
    line-height: 1;
    color: #fff1c2;
}

.order__button {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 240px;
    min-height: 60px;
    padding: 14px 30px;
    border-radius: 14px;
    background: linear-gradient(180deg, #c29308 0%, var(--accent) 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 38px rgba(180, 135, 0, 0.24);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    width: fit-content;
}

.order__button::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -34%;
    width: 34%;
    height: 140%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.56) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(20deg);
    animation: order-button-shine 3.8s ease-in-out infinite;
}

.order__button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(154, 99, 47, 0.24);
}

.order__button:focus-visible {
    outline: 3px solid rgba(255, 241, 194, 0.55);
    outline-offset: 4px;
}

.purchase-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(16, 10, 5, 0.7);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.purchase-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.purchase-modal__dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    width: min(1080px, 100%);
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(27, 17, 8, 0.94) 0%, rgba(44, 26, 9, 0.88) 38%, rgba(247, 238, 224, 0.98) 38%, rgba(247, 238, 224, 0.98) 100%);
    box-shadow:
        0 40px 90px rgba(37, 22, 7, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.38s ease;
}

.purchase-modal.is-open .purchase-modal__dialog {
    transform: translateY(0) scale(1);
}

.purchase-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 250, 241, 0.92);
    color: #24150a;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(36, 21, 10, 0.16);
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.purchase-modal__close:hover {
    transform: scale(1.05) rotate(90deg);
    background: #ffffff;
}

.purchase-modal__visual,
.purchase-modal__panel {
    position: relative;
    min-width: 0;
}

.purchase-modal__visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 520px;
    padding: 54px 46px 46px;
    color: #fff6e8;
    background: url("./main.png") center center / cover no-repeat;
    background-position-x: -400px;
}

.purchase-modal__visual::before,
.purchase-modal__visual::after {
    content: none;
    position: absolute;
    pointer-events: none;
}

.purchase-modal__visual::before {
    inset: 18px;
    border: 1px solid rgba(255, 248, 225, 0.22);
    border-radius: 26px;
}

.purchase-modal__visual::after {
    top: 22px;
    left: 24px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 221, 150, 0.48) 0%, rgba(255, 221, 150, 0) 70%);
    filter: blur(4px);
}

.purchase-modal__eyebrow,
.purchase-modal__title,
.purchase-modal__lead,
.purchase-modal__price-card {
    position: relative;
    z-index: 1;
}

.purchase-modal__eyebrow {
    margin: 0 0 16px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 241, 194, 0.88);
}

.purchase-modal__title {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.9rem, 2.2vw, 2.9rem);
    line-height: 1.08;
    text-transform: uppercase;
}

.purchase-modal__lead {
    margin: 18px 0 28px;
    max-width: 28ch;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 246, 232, 0.84);
}

.purchase-modal__price-card {
    width: fit-content;
    padding: 20px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 248, 231, 0.18) 0%, rgba(180, 135, 0, 0.2) 100%);
    box-shadow: 0 20px 44px rgba(12, 8, 5, 0.18);
    backdrop-filter: blur(12px);
}

.purchase-modal__price-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.72);
}

.purchase-modal__price {
    display: block;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.15rem, 2.7vw, 3rem);
    font-weight: 100;
    line-height: 1;
    color: #000;
}

.purchase-modal__panel {
    padding: 54px 38px 38px;
}

.purchase-form {
    display: grid;
    gap: 18px;
}

.purchase-form__field {
    display: grid;
    gap: 8px;
}

.purchase-form__label {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(20, 20, 20, 0.74);
}

.purchase-form__input {
    width: 100%;
    min-height: 62px;
    padding: 0 18px;
    border: 1px solid rgba(122, 89, 24, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    font: inherit;
    font-size: 1.05rem;
    color: #111111;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.purchase-form__input::placeholder {
    color: rgba(20, 20, 20, 0.42);
}

.purchase-form__input:focus {
    outline: none;
    border-color: rgba(180, 135, 0, 0.58);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 0 0 4px rgba(180, 135, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.purchase-form__consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px 18px 0;
    color: rgba(20, 20, 20, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
}

.purchase-form__consent input {
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--accent);
}

.purchase-form__consent a {
    color: #7a5918;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.purchase-form__error {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(148, 31, 31, 0.08);
    color: #8b2626;
    font-size: 0.95rem;
    line-height: 1.45;
}

.purchase-form__submit {
    width: 100%;
    min-height: 62px;
    margin-top: 6px;
}

.purchase-form__submit:disabled {
    cursor: not-allowed;
    opacity: 0.56;
    box-shadow: none;
    transform: none;
}

.purchase-form__submit:disabled::before {
    animation: none;
    opacity: 0;
}

.reviews {
    padding: 24px 20px 110px;
    overflow: hidden;
}

.reviews__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.reviews__title {
    margin: 0 0 34px;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    text-align: left;
    color: #111111;
}

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

.reviews-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    padding: 28px 26px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(236, 226, 207, 0.98) 0%, rgba(229, 217, 196, 0.98) 100%);
    box-shadow: 0 18px 38px rgba(122, 89, 24, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    animation: review-float 7s ease-in-out infinite;
}

.reviews-card::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -45%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 251, 240, 0.9) 0%, rgba(255, 251, 240, 0) 70%);
    opacity: 0.58;
    transition: transform 0.42s ease, opacity 0.42s ease;
    pointer-events: none;
}

.reviews-card:hover {
    transform: rotate(0deg) translateY(-6px) !important;
    box-shadow: 0 26px 48px rgba(122, 89, 24, 0.14);
    filter: brightness(1.01);
}

.reviews-card:hover::before {
    transform: translate3d(90px, 60px, 0);
    opacity: 0.96;
}

.reviews-card__quote {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 12px;
    font-family: "Playfair Display", serif;
    font-size: 3.4rem;
    line-height: 0.8;
    color: rgba(180, 135, 0, 0.62);
}

.reviews-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.6;
    color: rgba(20, 20, 20, 0.84);
}

.reviews-card--a {
    transform: rotate(-2.4deg);
    animation-delay: -0.2s;
}

.reviews-card--b {
    transform: rotate(1.6deg);
    animation-delay: -1.1s;
}

.reviews-card--c {
    transform: rotate(-1.2deg);
    animation-delay: -2.1s;
}

.reviews-card--d {
    transform: rotate(1.8deg);
    animation-delay: -0.8s;
}

.reviews-card--e {
    transform: rotate(-1.7deg);
    animation-delay: -1.6s;
}

.reviews-card--f {
    transform: rotate(2.1deg);
    animation-delay: -2.7s;
}

.author {
    padding: 28px 20px 110px;
}

.author__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.author__visual {
    position: relative;
}

.author__photo-wrap {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 245, 214, 0.9), rgba(255, 245, 214, 0) 28%),
        linear-gradient(145deg, #d8c3a1 0%, #f5ebda 46%, #d7c0a0 100%);
    box-shadow: 0 28px 60px rgba(122, 89, 24, 0.14);
}

.author__photo-wrap::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    pointer-events: none;
}

.author__scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.author__background,
.author__photo {
    position: absolute;
    transition: transform 0.25s ease;
    will-change: transform;
}

.author__background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.author__photo {
    inset: -18% 1% -2%;
    height: 120%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 30px rgba(61, 35, 6, 0.18));
}

.author__content {
    display: grid;
    gap: 18px;
}

.author__eyebrow {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(20, 20, 20, 0.58);
}

.author__title {
    margin: 0;
    font-family: "Great Vibes", serif;
    font-size: clamp(3rem, 4.6vw, 5.4rem);
    font-weight: 400;
    line-height: 0.95;
    color: #111111;
}

.author__text {
    display: grid;
    gap: 14px;
}

.author__text p {
    margin: 0;
    padding: 18px 22px;
    border-left: 3px solid rgba(180, 135, 0, 0.5);
    background: linear-gradient(90deg, rgba(229, 217, 196, 0.72), rgba(229, 217, 196, 0.18));
    border-radius: 0 20px 20px 0;
    font-size: 1.14rem;
    line-height: 1.5;
    color: rgba(20, 20, 20, 0.88);
}

.faq {
    padding: 10px 20px 120px;
}

.faq__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.faq__title {
    margin: 0 0 34px;
    font-family: "Great Vibes", serif;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    color: #111111;
}

.faq__list {
    display: grid;
    gap: 18px;
}

.faq-item {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(236, 226, 207, 0.96) 0%, rgba(229, 217, 196, 0.94) 100%);
    border: 1px solid rgba(180, 135, 0, 0.14);
    box-shadow:
        0 18px 34px rgba(122, 89, 24, 0.1),
        0 0 0 1px rgba(255, 249, 236, 0.42) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(180, 135, 0, 0.24);
    box-shadow:
        0 24px 42px rgba(122, 89, 24, 0.12),
        0 0 0 1px rgba(255, 249, 236, 0.5) inset;
}

.faq-item__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.faq-item__button span:first-child {
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111111;
}

.faq-item__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0.3);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.22s ease;
}

.faq-item.is-open .faq-item__answer {
    max-height: 220px;
    opacity: 1;
}

.faq-item__answer p {
    margin: 0;
    padding: 0 30px 26px;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(20, 20, 20, 0.8);
}

.site-footer {
    background: #151112;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer__inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 28px;
}

.site-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__meta {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: #ffffff;
}

.site-footer__note {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 991px) {
    .purchase-modal__visual {
        background-position-x: -360px;
    }
    .hero {
        min-height: 620px;
        background-image:
            linear-gradient(180deg, rgba(239, 231, 213, 0.97) 0%, rgba(239, 231, 213, 0.9) 34%, rgba(239, 231, 213, 0.48) 58%, rgba(239, 231, 213, 0.14) 100%),
            url("./main.png");
        background-position: 62% center;
    }

    .hero__inner {
        align-items: flex-start;
        min-height: 620px;
        padding: 44px 48px 36px 72px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__text {
        max-width: 18ch;
    }

    .audience {
        padding: 72px 20px 80px;
    }

    .audience__grid {
        grid-template-columns: 1fr;
    }

    .audience-card p {
        font-size: 1.18rem;
    }

    .learn {
        padding: 72px 20px 78px;
    }

    .learn__list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .learn__item:last-child {
        border-bottom: 1px solid rgba(180, 135, 0, 0.26);
    }

    .learn__item p {
        font-size: 1.12rem;
    }

    .program {
        padding: 72px 20px 80px;
    }

    .program__grid {
        grid-template-columns: 1fr;
    }

    .program-card__title {
        margin-bottom: 20px;
    }

    .program-card__list li {
        font-size: 1.08rem;
    }

    .gallery {
        padding: 18px 20px 24px;
    }

    .gallery__grid {
        gap: 16px;
    }

    .gallery-card {
        flex-basis: calc((100% - 32px) / 3);
    }

    .format {
        padding: 72px 20px 82px;
    }

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

    .format-card,
    .format-card--top-left,
    .format-card--top-center,
    .format-card--top-right,
    .format-card--bottom-left,
    .format-card--bottom-right {
        grid-column: auto;
    }

    .format-card {
        min-height: 154px;
    }

    .format-card p {
        font-size: 1rem;
    }

    .order {
        padding: 76px 20px 88px;
    }

    .order__lead {
        margin-bottom: 32px;
    }

    .order-card {
        min-height: 320px;
        padding: 34px;
    }

    .order-card:hover {
        box-shadow: 0 30px 58px rgba(102, 74, 20, 0.22);
    }

    .purchase-modal {
        padding: 20px;
    }

    .purchase-modal__dialog {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        background: rgba(247, 238, 224, 0.98);
    }

    .purchase-modal__visual {
        min-height: 360px;
        padding: 42px 34px 34px;
    }

    .purchase-modal__title {
        max-width: 100%;
    }

    .purchase-modal__panel {
        padding: 34px;
    }

    .reviews {
        padding: 20px 20px 88px;
    }

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

    .reviews-card {
        min-height: 220px;
    }

    .author {
        padding: 24px 20px 88px;
    }

    .author__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .author__photo-wrap {
        min-height: 460px;
    }

    .author__text p {
        font-size: 1.06rem;
    }

    .faq {
        padding: 0 20px 96px;
    }

    .site-footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 520px;
        background-image: linear-gradient(180deg, rgba(239, 231, 213, 0.98) 0%, rgba(239, 231, 213, 0.94) 36%, rgba(239, 231, 213, 0.56) 62%, rgba(239, 231, 213, 0.18) 100%), url(./main.png);
        background-position: 89% center;
    }

    .hero__inner {
        min-height: 520px;
        padding: 28px 20px 28px 20px;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .hero__title {
        max-width: 100%;
        font-size: clamp(1.55rem, 9.2vw, 2.35rem);
        line-height: 1.08;
    }

    .hero__text {
        margin-top: 18px;
        max-width: 100%;
        font-size: 1.45rem;
        margin: 30px 0 0;
    }

    .hero__button {
        min-width: 100%;
        min-height: 52px;
        margin-top: 30px;
        padding: 12px 22px;
        font-size: 1.88rem;
    }

    .audience {
        padding: 58px 14px 64px;
    }

    .audience__title {
        margin-bottom: 30px;
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .audience__grid {
        gap: 16px;
    }

    .audience-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px 20px 24px;
        border-radius: 30px;
    }

    .audience-card__icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .audience-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .audience-card p {
        font-size: 1.02rem;
        line-height: 1.42;
    }

    .learn {
        padding: 58px 14px 64px;
    }

    .learn__title {
        margin-bottom: 30px;
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .learn__item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }

    .learn__number {
        font-size: 1.55rem;
    }

    .learn__item p {
        font-size: 1rem;
        line-height: 1.45;
    }

    .program {
        padding: 58px 14px 64px;
    }

    .program__title {
        margin-bottom: 30px;
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .program__grid {
        gap: 16px;
    }

    .program-card {
        padding: 22px 20px 24px;
        border-radius: 30px;
    }

    .program-card__title {
        font-size: 0.96rem;
    }

    .program-card__list {
        gap: 12px;
    }

    .program-card__list li {
        padding-left: 16px;
        font-size: 0.98rem;
        line-height: 1.42;
    }

    .program__note {
        margin-top: 26px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .gallery {
        padding: 14px 14px 20px;
    }

    .gallery__grid {
        gap: 14px;
    }

    .gallery__slider {
        display: block;
        padding: 0 22px;
    }

    .gallery__nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .gallery__nav--prev {
        left: 0;
    }

    .gallery__nav--next {
        right: 0;
    }

    .gallery-card {
        flex-basis: 100%;
        aspect-ratio: 1.1 / 1;
        border-radius: 22px;
    }

    .lightbox {
        width: calc(100vw - 20px);
    }

    .lightbox__image {
        max-height: 82vh;
        border-radius: 16px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .format {
        padding: 58px 14px 68px;
    }

    .format__title {
        margin-bottom: 30px;
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .format__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .format-card {
        min-height: 132px;
        padding: 20px 18px;
        border-radius: 30px;
    }

    .format-card p {
        max-width: 100%;
        font-size: 0.94rem;
        line-height: 1.32;
    }

    .order {
        padding: 60px 14px 72px;
    }

    .order__title {
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .order__lead {
        margin: 12px 0 26px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .order-card {
        min-height: 280px;
        padding: 24px 20px;
        border-radius: 24px;
    }

    .order-card::after {
        inset: 10px;
        border-radius: 18px;
    }

    .order-card:hover {
        transform: translateY(-4px);
    }

    .order-card__content {
        max-width: 100%;
        gap: 14px;
        transform: none;
    }

    .order-card__title {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .order-card__price {
        font-size: 1.7rem;
    }

    .order__button {
        width: 100%;
        min-height: 54px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .purchase-modal {
        padding: 14px;
    }

    .purchase-modal__dialog {
        border-radius: 24px;
    }

    .purchase-modal__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .purchase-modal__visual {
        min-height: 300px;
        padding: 58px 20px 22px;
    }

    .purchase-modal__visual::before {
        inset: 10px;
        border-radius: 18px;
    }

    .purchase-modal__visual::after {
        top: 8px;
        left: 6px;
        width: 140px;
        height: 140px;
    }

    .purchase-modal__eyebrow {
        margin-bottom: 12px;
        font-size: 0.74rem;
    }

    .purchase-modal__title {
        font-size: 1.34rem;
        line-height: 1.16;
    }

    .purchase-modal__lead {
        margin: 14px 0 18px;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .purchase-modal__price-card {
        width: 100%;
        padding: 16px 18px;
        border-radius: 18px;
    }

    .purchase-modal__price {
        font-size: 1.95rem;
    }

    .purchase-modal__panel {
        padding: 20px 18px 18px;
    }

    .purchase-form {
        gap: 14px;
    }

    .purchase-form__label {
        font-size: 0.8rem;
    }

    .purchase-form__input {
        min-height: 56px;
        padding: 0 16px;
        border-radius: 16px;
        font-size: 1rem;
    }

    .purchase-form__consent {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 6px 0;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .purchase-form__consent input {
        width: 20px;
        height: 20px;
    }

    .purchase-form__error {
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 0.88rem;
    }

    .purchase-form__submit {
        min-height: 56px;
        margin-top: 2px;
    }

    .reviews {
        padding: 18px 14px 68px;
    }

    .reviews__title {
        margin-bottom: 24px;
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .reviews-card {
        min-height: 0;
        padding: 22px 20px;
        border-radius: 18px;
    }

    .reviews-card__quote {
        margin-bottom: 8px;
        font-size: 2.6rem;
    }

    .reviews-card p {
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .author {
        padding: 18px 14px 70px;
    }

    .author__photo-wrap {
        min-height: 340px;
        border-radius: 24px;
    }

    .author__photo-wrap::before {
        inset: 10px;
        border-radius: 16px;
    }

    .author__title {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }

    .author__background,
    .author__photo {
        transform: none !important;
    }

    .author__photo {
        inset: -20% 3% 0;
        height: 121%;
    }

    .author__text p {
        padding: 14px 16px;
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .faq {
        padding: 0 14px 80px;
    }

    .faq__title {
        margin-bottom: 22px;
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .faq__list {
        gap: 14px;
    }

    .faq-item {
        border-radius: 18px;
    }

    .faq-item__button {
        padding: 18px 18px;
    }

    .faq-item__button span:first-child {
        font-size: 1rem;
    }

    .faq-item__answer p {
        padding: 0 22px 20px;
        font-size: 0.94rem;
    }

    .site-footer__inner {
        width: calc(100% - 28px);
        padding: 20px 0 24px;
    }

    .site-footer__top {
        gap: 12px;
        padding-bottom: 14px;
    }

    .site-footer__meta,
    .site-footer__nav a {
        font-size: 0.88rem;
    }

    .site-footer__nav {
        gap: 10px 14px;
    }

    .site-footer__note {
        margin-top: 14px;
        font-size: 0.8rem;
    }
}

@keyframes order-button-shine {
    0% {
        left: -34%;
    }
    45% {
        left: 118%;
    }
    100% {
        left: 118%;
    }
}

@keyframes review-float {
    0% {
        translate: 0 0;
    }
    50% {
        translate: 0 -7px;
    }
    100% {
        translate: 0 0;
    }
}
