:root {
    --bg: #fffaf4;
    --surface: #fffdf9;
    --surface-soft: #f8eee4;
    --text: #1f1d1b;
    --muted: #6c655f;
    --line: #eadfd4;
    --accent: #ff5a1f;
    --accent-dark: #d9430e;
    --shadow: 0 16px 50px rgba(78, 47, 25, 0.10);
    --radius: 24px;
    --radius-sm: 15px;
    --container: 1380px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 216, 184, 0.28), transparent 24rem),
        var(--bg);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h2,
.section-heading h2 {
    margin-bottom: 0;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    letter-spacing: -0.04em;
}

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

.container--narrow {
    max-width: 1080px;
}

.section {
    padding: 54px 0;
}

.section-card {
    position: relative;
    z-index: 3;
    margin-top: -34px;
    padding: 42px 0 24px;
    border-radius: 34px 34px 0 0;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: 0 -18px 50px rgba(67, 41, 22, 0.08);
    backdrop-filter: blur(12px);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2::after {
    display: block;
    width: 38px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--accent);
    content: "";
}

.section-heading--center {
    justify-content: center;
    text-align: center;
}

.section-heading--center h2::after {
    margin-inline: auto;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    transition: gap .2s ease, color .2s ease;
}

.text-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

.icon {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 1000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    background: #fff;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid var(--accent);
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(180deg, #ff6d35, var(--accent));
    box-shadow: 0 10px 22px rgba(255, 90, 31, 0.20);
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 90, 31, 0.28);
}

.button--small {
    min-height: 46px;
    padding-inline: 23px;
}

.button--outline {
    color: var(--accent);
    background: transparent;
    box-shadow: none;
}

.button--outline:hover {
    color: #fff;
    background: var(--accent);
}

.button--full {
    width: 100%;
    min-height: 44px;
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 250, 244, 0.93);
    backdrop-filter: blur(16px);
}

.site-header.is-sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 8px 24px rgba(57, 36, 24, 0.08);
}

.site-header__inner {
    display: grid;
    min-height: 88px;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.brand span {
    color: var(--text);
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 46px);
    font-size: .96rem;
    font-weight: 700;
}

.site-nav a {
    position: relative;
    padding: 8px 0;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--accent);
    content: "";
    transition: transform .25s ease;
}

.site-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.language-switcher {
    display: flex;
    gap: 5px;
    font-size: .88rem;
    font-weight: 800;
}

.language-switcher .is-active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
}

.menu-toggle span:not(.screen-reader-text) {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero {
    overflow: hidden;
}

.hero__grid {
    display: grid;
    min-height: 560px;
    grid-template-columns: minmax(360px, .84fr) minmax(520px, 1.35fr);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 50px 90px 10px;
}

.hero__content::after {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -170px;
    bottom: 0;
    width: 360px;
    background: linear-gradient(90deg, var(--bg) 12%, rgba(255, 250, 244, .84) 46%, rgba(255, 250, 244, 0));
    content: "";
}

.hero__title {
    margin-bottom: 26px;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(3.2rem, 5.2vw, 6rem);
    letter-spacing: -0.065em;
}

.hero__title span {
    display: block;
}

.hero__title span::after {
    color: var(--accent);
}

.hero__title span:last-child {
    color: var(--text);
}

.hero__title span:last-child::first-letter {
    color: inherit;
}

.hero__title span:nth-child(1)::after,
.hero__title span:nth-child(2)::after,
.hero__title span:nth-child(3)::after {
    display: inline-block;
    color: var(--accent);
    content: "";
}

.hero__text {
    max-width: 360px;
    margin-bottom: 28px;
    color: #3f3934;
    font-size: 1.1rem;
}

.hero__text p {
    margin-bottom: 0;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__visual {
    min-height: 560px;
    border-radius: 0 0 0 30px;
    background-position: center;
    background-size: cover;
    box-shadow: inset 80px 0 80px -50px rgba(255, 250, 244, .46);
}

.hero__visual--empty {
    background: linear-gradient(135deg, #ebd2c1, #e8b78f);
}

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

.event-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: 0 12px 32px rgba(76, 48, 30, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(76, 48, 30, 0.14);
}

.event-card__image {
    position: relative;
    min-height: 205px;
    background-position: center;
    background-size: cover;
}

.event-card__image--empty {
    background: var(--surface-soft);
}

.event-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.event-card:nth-child(2) .event-card__badge {
    background: #4f9859;
}

.event-card:nth-child(3) .event-card__badge {
    background: #ad3f88;
}

.event-card__body {
    padding: 20px;
}

.event-card h3 {
    margin-bottom: 14px;
    font-family: "Lora", Georgia, serif;
    font-size: 1.45rem;
}

.event-meta {
    display: grid;
    gap: 7px;
    margin: 0 0 16px;
    padding: 0;
    color: var(--muted);
    font-size: .84rem;
    list-style: none;
}

.event-meta li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.event-meta .icon {
    flex: 0 0 auto;
}

.event-meta__dot {
    color: var(--line);
}

.event-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.event-card__price-row strong {
    font-size: 1.05rem;
}

.event-card__price-row span {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px;
}

.step {
    position: relative;
    text-align: center;
}

.step:not(:last-child)::after {
    position: absolute;
    top: 42px;
    left: calc(75% + 15px);
    width: calc(50% - 30px);
    height: 1px;
    border-top: 2px dashed #cfc4ba;
    content: "";
}

.step__top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step__number {
    display: grid;
    z-index: 2;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    color: var(--accent);
    background: #ffe4d6;
    font-family: "Lora", Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
}

.step__icon {
    display: grid;
    width: 82px;
    height: 82px;
    margin-left: -10px;
    place-items: center;
    border-radius: 50%;
    color: var(--text);
    background: #fff2e8;
}

.step__icon .icon {
    width: 38px;
    height: 38px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.16rem;
}

.step p {
    max-width: 250px;
    margin-inline: auto;
    color: var(--muted);
    font-size: .92rem;
}

.formats {
    position: relative;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.format-card {
    min-height: 250px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,248,241,.92));
    text-align: center;
    box-shadow: 0 10px 30px rgba(65, 43, 28, .05);
}

.format-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 18px;
    color: var(--accent);
    background: #fff0e6;
}

.format-card__icon .icon {
    width: 32px;
    height: 32px;
}

.format-card h3 {
    margin-bottom: 12px;
    font-family: "Lora", Georgia, serif;
    font-size: 1.35rem;
}

.format-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .92rem;
}

.gallery-grid {
    display: grid;
    min-height: 480px;
    grid-template-columns: 1.1fr 1.35fr 1.35fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gallery-grid__item {
    overflow: hidden;
    margin: 0;
    border-radius: 12px;
    background: var(--surface-soft);
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-grid__item:hover img {
    transform: scale(1.035);
}

.gallery-grid__item--1 {
    grid-row: 1 / 3;
}

.gallery-grid__item--2 {
    grid-column: 2 / 4;
}

.gallery-grid__item--3 {
    grid-column: 4;
    grid-row: 1;
}

.gallery-grid__item--4 {
    grid-column: 2 / 3;
    grid-row: 2;
}

.gallery-grid__item--5 {
    grid-column: 3 / 5;
    grid-row: 2;
}

.reviews {
    padding-top: 22px;
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    display: flex;
    min-height: 218px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 30px rgba(65, 43, 28, .06);
}

.review-card__top {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
}

.review-card__top p {
    margin-bottom: 0;
    font-size: .9rem;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__avatar--initial {
    display: grid;
    place-items: center;
    color: #fff;
    background: #d34e7f;
    font-size: 1.4rem;
    font-weight: 700;
}

.review-card__author {
    display: grid;
    gap: 2px;
    padding-left: 64px;
}

.review-card__author strong {
    font-family: "Lora", Georgia, serif;
}

.review-card__author span {
    color: var(--muted);
    font-size: .8rem;
}

.slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ddcfc3;
}

.slider-dots button.is-active {
    background: var(--accent);
}

.cta {
    padding-top: 28px;
}

.cta-card {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 60px;
    border-radius: 18px;
    color: #fff;
    background-color: #211c18;
    background-position: center;
    background-size: cover;
}

.cta-card h2 {
    max-width: 570px;
    margin-bottom: 0;
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.6rem);
}

.site-footer {
    padding: 34px 0 24px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr .8fr 1fr;
    gap: 40px;
    padding: 36px 48px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .58);
}

.site-footer h2 {
    margin-bottom: 14px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: .86rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-footer__tagline {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.footer-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: .88rem;
    list-style: none;
}

.footer-list a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    padding: 18px 8px 0;
    color: var(--muted);
    font-size: .78rem;
}

@media (max-width: 1180px) {
    .site-header__inner {
        gap: 24px;
    }

    .site-nav {
        gap: 24px;
    }

    .hero__grid {
        grid-template-columns: .9fr 1.1fr;
    }

    .hero__title {
        font-size: clamp(3.1rem, 5.8vw, 5.2rem);
    }

    .event-grid,
    .format-grid,
    .reviews-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .site-header__actions {
        justify-self: end;
    }

    .site-nav {
        position: fixed;
        z-index: 30;
        top: 88px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 30px 20px;
        transform: translateY(-12px);
        opacity: 0;
        background: var(--bg);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

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

    .site-nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.2rem;
    }

    .hero__grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .hero__content {
        width: min(calc(100% - 40px), var(--container));
        margin-inline: auto;
        padding: 56px 0 38px;
    }

    .hero__content::after {
        display: none;
    }

    .hero__visual {
        min-height: 460px;
        border-radius: 0;
    }

    .section-card {
        margin-top: -26px;
    }

    .steps {
        gap: 22px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .gallery-grid {
        min-height: 620px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .gallery-grid__item--1 {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .gallery-grid__item--2 {
        grid-column: 2;
        grid-row: 1;
    }

    .gallery-grid__item--3 {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-grid__item--4 {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-grid__item--5 {
        grid-column: 2;
        grid-row: 3;
    }

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

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-header__inner {
        min-height: 72px;
    }

    .site-header__actions .button {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .site-nav {
        top: 72px;
    }

    .brand {
        font-size: 1.65rem;
    }

    .hero__content {
        width: min(calc(100% - 28px), var(--container));
        padding-top: 38px;
    }

    .hero__title {
        font-size: clamp(2.65rem, 13vw, 4.1rem);
    }

    .hero__text {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 350px;
    }

    .section,
    .section-card {
        padding-top: 40px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .section-heading--center {
        align-items: center;
    }

    .event-grid,
    .format-grid {
        grid-template-columns: 1fr;
    }

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

    .step {
        padding-bottom: 18px;
    }

    .step__top {
        margin-bottom: 12px;
    }

    .gallery-grid {
        display: grid;
        min-height: 900px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }

    .gallery-grid__item,
    .gallery-grid__item--1,
    .gallery-grid__item--2,
    .gallery-grid__item--3,
    .gallery-grid__item--4,
    .gallery-grid__item--5 {
        grid-column: 1;
        grid-row: auto;
    }

    .reviews-slider {
        overflow: hidden;
    }

    .reviews-track {
        display: flex;
        gap: 14px;
        transition: transform .35s ease;
    }

    .review-card {
        min-width: 100%;
    }

    .slider-dots {
        display: flex;
    }

    .cta-card {
        min-height: 280px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-end;
        padding: 28px;
    }

    .cta-card .button {
        width: 100%;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
