/* ==========================================================================
   Healing Nest by Maria – групови практики и събития (етап 4)
   InnerDance, Женски кръг, Събития, страница на събитие, прозорец „Запиши се“, успешна заявка.
   ========================================================================== */

/* --- Общи допълнения ---------------------------------------------------- */

.btn--raspberry {
    background: var(--c-raspberry);
    color: var(--c-bg);
}

.btn--raspberry:hover {
    background: var(--c-wine);
    color: var(--c-white);
}

/* „Запиши се“ в ред с дата */
.btn--date {
    flex-shrink: 0;
    padding: 13px 24px;
    white-space: nowrap;
}

.tag--outline {
    padding: 2px 11px;
    border: 1.5px solid var(--c-gold);
    background: var(--c-white);
    color: var(--c-wine);
}

.tag--gold { background: var(--c-gold); color: var(--c-text); }

.tag--caps {
    padding: 5px 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-head--left {
    align-items: flex-start;
}

.section-head__aside {
    margin: 0;
    font-size: 15px;
    color: var(--c-text-2);
}

.section-title--light {
    margin-bottom: 0;
    color: var(--c-bg) !important;
}

.lead-light {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--c-bg);
}

.eyebrow--center {
    text-align: center;
}

.split--center {
    align-items: center;
}

.section--raspberry {
    background: var(--c-raspberry);
    color: var(--c-bg);
}

.about-block__accent {
    margin: 34px 0 18px;
    font-family: var(--f-heading);
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    color: var(--c-wine);
}

.about-block__signature {
    margin: 0;
    font-family: var(--f-logo);
    font-size: 22px;
    font-style: italic;
    color: var(--c-wine);
}

.rounded-photo--low {
    aspect-ratio: 440 / 520;
    object-position: center 70%;
}

.rounded-photo--bordered {
    aspect-ratio: 440 / 520;
    border: 1px solid var(--c-gold);
}

.arch--innerdance {
    object-position: 27% 50%;
}

/* Стъпки върху вишнев фон */
.steps--light .step h3 {
    color: var(--c-gold);
}

.steps--light .step p {
    color: var(--c-bg);
}

.card--related-raspberry .card__title,
.card--related-raspberry .card__more {
    color: var(--c-raspberry);
}

.container--narrow {
    max-width: calc(760px + 2 * var(--gutter));
}

/* Женски кръг: заглавието, акцентите и датите са малинови, заглавията на секциите – вишневи */
.theme-raspberry .hero__title,
.theme-raspberry .about-block__accent {
    color: var(--c-raspberry);
}

.theme-raspberry .hero .btn--outline,
.theme-raspberry .page-hero .btn--outline {
    color: var(--c-raspberry);
}

/* Пилюли с рамка върху малинов фон */
.outline-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.outline-pills li {
    padding: 12px 24px;
    border: 1px solid var(--c-gold);
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
    color: var(--c-bg);
}

@media (max-width: 767.98px) {
    .about-block__accent {
        margin-top: 24px;
        font-size: 20px;
    }

    .lead-light {
        font-size: 16px;
    }

    .outline-pills li {
        padding: 9px 18px;
        font-size: 15px;
    }
}

/* --- Дати (InnerDance, кръг, „Събития“) --------------------------------- */

.dates-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

.dates-layout__main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.date-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.date-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 28px;
    border: 1px solid var(--c-line);
    border-radius: 18px;
    background: var(--c-white);
}

.date-row[hidden] {
    display: none;
}

.date-row__day {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    width: 74px;
    padding-right: 24px;
    border-right: 1px solid var(--c-line);
}

.date-row__num {
    font-family: var(--f-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--c-wine);
}

.date-row--raspberry .date-row__num {
    color: var(--c-raspberry);
}

.date-row__month {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-2);
}

.date-row__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 6px;
    min-width: 0;
}

.date-row__info p {
    margin: 0;
}

.date-row__title {
    font-family: var(--f-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-wine);
}

.date-row__title--time {
    font-size: 19px;
    color: var(--c-text);
}

.date-row__text {
    font-size: 16px;
    line-height: 1.5;
}

.date-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--c-text-2);
}

.date-row__meta .tag {
    padding-block: 3px;
}

.date-row__price {
    flex-shrink: 0;
    font-family: var(--f-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-wine);
    white-space: nowrap;
}

.date-row--full .date-row__price {
    color: #B2A58E;
}

/* „Няма свободни места“ – бежов надпис вместо бутона */
.full-badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--c-beige);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text-2);
    white-space: nowrap;
}

/* Редът на страница „Събития“: с етикет и „Виж повече“ */
.date-row--wide .date-row__title {
    font-size: 18px;
}

.date-row__tag {
    flex-shrink: 0;
    width: 140px;
}

.date-row__more {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
}

.date-list__empty {
    margin: 0;
    padding: 28px;
    border: 1px dashed var(--c-line);
    border-radius: 18px;
    background: var(--c-white);
    color: var(--c-text-2);
}

.date-notes,
.date-notes p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-text-2);
}

.date-notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

p.date-notes {
    margin-top: 22px;
}

.past-topics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--c-line);
}

.past-topics__label {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-text-2);
}

.past-topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.past-topics__list li {
    padding: 6px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: var(--c-white);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-2);
}

/* Блокът за Viber групата */
.viber-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 40px 36px;
    border-radius: 20px;
    background: var(--c-wine);
    color: var(--c-bg);
}

.viber-box--raspberry {
    background: var(--c-raspberry);
}

.viber-box__symbol {
    width: 56px;
    height: 56px;
}

.viber-box h3 {
    font-size: 26px;
    color: var(--c-bg);
}

.viber-box p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.viber-box .btn {
    align-self: flex-start;
}

@media (max-width: 1079.98px) {
    .dates-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .date-row__tag {
        width: auto;
    }
}

@media (max-width: 899.98px) {
    /* Датите стават карти: ден вляво, текстът до него, цената горе вдясно, бутонът на цялата ширина */
    .date-row,
    .date-row--wide {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 14px 16px;
        align-items: start;
        padding: 18px;
    }

    .date-row__day {
        grid-row: span 2;
        width: 52px;
        padding-right: 14px;
    }

    .date-row__num {
        font-size: 28px;
    }

    .date-row__info {
        grid-column: 2;
    }

    .date-row__price {
        grid-column: 3;
        grid-row: 1;
        font-size: 18px;
    }

    .date-row__tag {
        grid-column: 2 / -1;
        grid-row: 2;
    }

    .date-row--wide .date-row__info {
        grid-row: 1;
    }

    .date-row__more {
        grid-column: 2 / -1;
        font-size: 14px;
    }

    .date-row > .btn,
    .date-row > .full-badge {
        grid-column: 1 / -1;
        width: 100%;
    }

    .date-row__title,
    .date-row__title--time {
        font-size: 17px;
    }

    .date-row__text {
        font-size: 15px;
    }

    .date-row__meta {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .viber-box {
        padding: 28px 24px;
    }

    .viber-box h3 {
        font-size: 22px;
    }

    .viber-box p {
        font-size: 16px;
    }

    .viber-box .btn {
        align-self: stretch;
    }
}

/* --- Страница „Събития“ -------------------------------------------------- */

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.filter-pill {
    padding: 10px 20px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: var(--c-white);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
}

.filter-pill:hover {
    border-color: var(--c-gold);
}

.filter-pill[aria-pressed="true"] {
    border-color: var(--c-wine);
    background: var(--c-wine);
    font-weight: 700;
    color: var(--c-bg);
}

[data-filter-item][hidden] {
    display: none;
}

.featured-event {
    display: grid;
    grid-template-columns: 560px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--c-gold);
    border-radius: 24px;
    background: var(--c-white);
}

.featured-event__img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.featured-event__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 48px 52px;
}

.featured-event__body .tag {
    align-self: flex-start;
}

.featured-event h2 {
    font-size: 34px;
}

.featured-event h2 a {
    color: inherit;
    text-decoration: none;
}

.featured-event p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.featured-event__meta {
    font-size: 16px !important;
    color: var(--c-text-2);
}

.featured-event__meta b {
    color: var(--c-text);
}

/* Минали събития */
.js .past-events .is-extra {
    display: none;
}

.past-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: 18px;
    background: var(--c-white);
    color: var(--c-text);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.past-card:hover {
    border-color: var(--c-gold);
    box-shadow: 0 8px 24px rgba(42, 26, 36, 0.08);
    color: var(--c-text);
}

.past-card__img {
    width: 100%;
    aspect-ratio: 400 / 210;
    object-fit: cover;
}

.past-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 6px;
    padding: 24px 28px 28px;
}

.past-card__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-raspberry);
}

.past-card__date {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-2);
}

.past-card__title {
    margin-top: 6px;
    font-family: var(--f-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-wine);
}

.past-card__tagline {
    font-family: var(--f-heading);
    font-size: 15px;
    font-style: italic;
}

.past-card__text {
    font-size: 15px;
    line-height: 1.55;
}

.past-card .card__more {
    margin-top: auto;
    padding-top: 10px;
}

.past-events + .button-row {
    margin-top: 40px;
}

@media (max-width: 1079.98px) {
    .featured-event {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .featured-event__body {
        padding: 36px;
    }
}

@media (max-width: 767.98px) {
    .filter-pills {
        justify-content: flex-start;
        margin-top: 24px;
    }

    .filter-pill {
        padding: 9px 16px;
        font-size: 14px;
    }

    .featured-event {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-event__img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .featured-event__body {
        gap: 14px;
        padding: 24px;
    }

    .featured-event h2 {
        font-size: 24px;
    }

    .featured-event p {
        font-size: 16px;
    }

    .featured-event .btn {
        width: 100%;
    }
}

/* --- Страница на събитие ------------------------------------------------- */

.draft-banner {
    margin: 0;
    padding: 10px var(--gutter);
    background: var(--c-gold);
    font-weight: 700;
    text-align: center;
}

.event-hero {
    padding: 28px 0 100px;
    background: var(--c-bg);
}

.event-hero .breadcrumb {
    margin-bottom: 28px;
}

.event-hero__banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

.event-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 64px;
    align-items: start;
    margin-top: 56px;
}

.event-hero__text {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.event-hero__text .eyebrow {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.18em;
}

.event-hero__text .hero__title {
    font-size: 52px;
}

.event-hero__tagline {
    margin: 0;
    font-family: var(--f-heading);
    font-size: 24px;
    font-style: italic;
    color: var(--c-raspberry);
}

.event-hero__text .hero__lead {
    max-width: 640px;
}

.hosts {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.hosts p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.hosts__label {
    color: var(--c-text-2);
}

.hosts__avatars {
    display: flex;
}

.hosts__avatars span {
    width: 48px;
    height: 48px;
    border: 2px solid var(--c-bg);
    border-radius: 50%;
    background: var(--c-line);
}

.hosts__avatars span + span {
    margin-left: -12px;
    background: #B2A58E;
}

/* Карта за записване вдясно */
.book-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 34px;
    border: 1px solid var(--c-gold);
    border-radius: 22px;
    background: var(--c-white);
}

.book-card__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-line);
}

.book-card__row p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.book-card__label {
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-text-2);
}

.book-card__main {
    font-family: var(--f-heading);
    font-size: 21px !important;
    font-weight: 700;
    color: var(--c-wine);
}

.book-card__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px !important;
}

.book-card__price span:last-child {
    font-family: var(--f-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-wine);
}

.book-card__row:has(.book-card__price) {
    padding-bottom: 0;
    border-bottom: 0;
}

.book-card .full-badge {
    width: 100%;
}

.book-card__note {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--c-text-2);
    text-align: center;
}

.book-card__past {
    margin: 0;
    font-family: var(--f-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-wine);
}

/* „Това събитие е за теб, ако…“ и „Какво те очаква“ */
.event-lists {
    gap: 20px;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 44px;
    border-radius: 20px;
    background: var(--c-bg);
}

.event-list h3 {
    margin-bottom: 6px;
    font-size: 26px;
}

.event-list .dot-list {
    gap: 18px;
    font-size: 17px;
}

.event-list .dot-list li {
    padding-left: 23px;
}

.event-list .dot-list li::before {
    width: 9px;
    height: 9px;
    background: var(--c-gold);
}

.event-list .dot-list--raspberry li::before {
    background: var(--c-raspberry);
}

.event-list__note {
    margin: auto 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text-2);
}

/* Програма по часове – времева линия */
.program {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.program::before {
    content: '';
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 95px;
    width: 2px;
    background: rgba(205, 187, 135, 0.4);
}

.program__item {
    display: grid;
    grid-template-columns: 90px 28px minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
}

.program__time {
    font-family: var(--f-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--c-gold);
}

.program__dot {
    position: relative;
    width: 12px;
    height: 12px;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    background: var(--c-gold);
}

.program__text {
    font-size: 18px;
    color: var(--c-bg);
}

.program__text small {
    display: block;
    font-size: 15px;
    color: var(--c-footer-muted);
}

.program__item--break .program__dot {
    background: var(--c-wine);
}

.program__item--break .program__text {
    color: var(--c-footer-muted);
}

/* Програма по дни (ритрийт) */
.program--days .program__item {
    grid-template-columns: 90px 28px minmax(0, 1fr);
    align-items: start;
    padding-block: 12px;
}

.program--days .program__dot {
    margin-top: 6px;
}

/* Лента с поредицата */
.series-strip {
    display: grid;
    grid-template-columns: repeat(var(--count, 7), minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.series-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 22px 10px;
    border: 1.5px solid transparent;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
}

.series-strip__item:hover {
    border-color: var(--c-line);
    background: rgba(255, 255, 255, 0.6);
}

.series-strip__item.is-current {
    border-color: var(--c-gold);
    background: var(--c-white);
}

.series-strip__no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--c-gold);
    border-radius: 50%;
    background: var(--c-white);
    font-family: var(--f-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-wine);
}

.is-current .series-strip__no {
    border-color: var(--c-wine);
    background: var(--c-wine);
    color: var(--c-bg);
}

.series-strip__title {
    font-family: var(--f-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-wine);
}

.series-strip__date {
    font-size: 14px;
    color: var(--c-text-2);
}

/* Финален ред с бутон */
.final-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 40px;
    border: 1px solid var(--c-gold);
    border-radius: 20px;
    background: var(--c-bg);
}

.final-row p {
    margin: 0;
}

.final-row__title {
    font-family: var(--f-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-wine);
}

.final-row__meta {
    font-size: 16px;
    color: var(--c-text-2);
}

.final-row__past {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    color: var(--c-text-2);
}

@media (max-width: 1079.98px) {
    .event-hero__grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
    }

    .event-hero__text .hero__title {
        font-size: 42px;
    }

    .series-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 899.98px) {
    .event-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
    }

    .program::before {
        left: 75px;
    }

    .program__item,
    .program--days .program__item {
        grid-template-columns: 70px 24px minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .event-hero {
        padding: 20px 0 56px;
    }

    .event-hero .breadcrumb {
        margin-bottom: 20px;
    }

    .event-hero__banner {
        height: 220px;
        border-radius: 18px;
    }

    .event-hero__text {
        gap: 16px;
    }

    .event-hero__text .eyebrow {
        font-size: 12px;
    }

    .event-hero__text .hero__title {
        font-size: 30px;
    }

    .event-hero__tagline {
        font-size: 19px;
    }

    .book-card {
        padding: 24px;
    }

    .event-list {
        padding: 28px 24px;
    }

    .event-list h3 {
        font-size: 22px;
    }

    .event-list .dot-list {
        gap: 12px;
        font-size: 16px;
    }

    .program__time {
        font-size: 16px;
    }

    .program__text {
        font-size: 16px;
    }

    .series-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .series-strip__item {
        padding: 16px 8px;
    }

    .final-row {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
    }

    .final-row .btn {
        width: 100%;
    }

    .final-row__past {
        justify-content: flex-start;
    }
}

/* --- Прозорец „Запиши се“ ------------------------------------------------ */

.booking-dialog {
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 24px;
    background: var(--c-bg);
    box-shadow: 0 30px 80px rgba(42, 26, 36, 0.35);
    color: var(--c-text);
}

.booking-dialog::backdrop {
    background: rgba(42, 26, 36, 0.55);
}

.booking-dialog__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--c-wine);
    cursor: pointer;
}

.booking-dialog__close:hover {
    background: var(--c-beige);
}

.booking-dialog__close svg {
    width: 24px;
    height: 24px;
}

.booking-dialog .booking-form {
    padding: 44px 48px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-form .eyebrow {
    margin: 0 0 -12px;
}

.booking-form__title {
    margin: 0;
    padding-right: 40px;
    font-size: 26px;
}

.booking-form__when {
    margin: -12px 0 0;
    font-size: 16px;
    color: var(--c-text-2);
}

.booking-form__modes {
    margin: 0;
    padding: 0;
    border: 0;
}

.booking-form__modes[hidden] {
    display: none;
}

.booking-form__modes legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
}

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

.mode-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-white);
    cursor: pointer;
}

.mode-option:has(input:checked) {
    border: 2px solid var(--c-wine);
    padding: 11px 15px;
}

.mode-option input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--c-wine);
}

.mode-option__label {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 700;
}

.mode-option__price {
    font-family: var(--f-heading);
    font-weight: 700;
}

.booking-form .field textarea {
    min-height: 90px;
}

.booking-form .check input {
    accent-color: var(--c-wine);
}

.booking-form__note {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-text-2);
}

.booking-form .btn[type="submit"] {
    align-self: flex-start;
}

.booking-form .btn[disabled] {
    opacity: 0.6;
    cursor: wait;
}

/* Скрито поле срещу роботи */
.field--hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field__error {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #A3123F;
}

.check + .field__error {
    margin-top: -12px;
    padding-left: 32px;
}

[aria-invalid="true"] {
    border-color: #A3123F !important;
}

.form-alert {
    margin: 0;
    padding: 14px 18px;
    border-left: 4px solid var(--c-raspberry);
    border-radius: 10px;
    background: var(--c-white);
    font-weight: 600;
}

.booking-page .form-card {
    margin-top: 16px;
}

@media (max-width: 767.98px) {
    /* На телефон – на цял екран */
    .booking-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        margin: 0;
        border-radius: 0;
    }

    .booking-dialog .booking-form {
        padding: 56px 20px 32px;
    }

    .booking-form__title {
        font-size: 22px;
    }

    .mode-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-form .btn[type="submit"] {
        align-self: stretch;
    }
}

/* --- Успешна заявка ------------------------------------------------------ */

.success__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 40px auto 72px;
    text-align: center;
}

.success__symbol {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.success__head h1 {
    margin-bottom: 20px;
    font-size: 44px;
}

.success__lead {
    margin: 0;
    font-size: 19px;
    line-height: 1.65;
}

.success__grid {
    display: grid;
    grid-template-columns: 460px minmax(0, 1fr);
    gap: 40px;
    max-width: 1120px;
    margin-inline: auto;
}

.success__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    border: 1px solid var(--c-gold);
    border-radius: 24px;
    background: var(--c-white);
}

.success__card h2,
.success__next h2 {
    font-size: 22px;
}

.success__next h2 {
    margin-bottom: 28px;
    font-size: 28px;
}

.success__facts {
    margin: 0;
}

.success__facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-line);
}

.success__facts dt {
    color: var(--c-text-2);
}

.success__facts dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.success__status {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-raspberry);
}

.success__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.numbered-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.numbered-steps li {
    display: flex;
    gap: 18px;
}

.numbered-steps__n {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-wine);
    font-family: var(--f-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-bg);
}

.numbered-steps h3 {
    margin-bottom: 4px;
    font-size: 18px;
}

.numbered-steps p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 899.98px) {
    .success__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .success__head {
        margin: 16px auto 40px;
    }

    .success__head h1 {
        font-size: 28px;
    }

    .success__lead {
        font-size: 16px;
    }

    .success__card {
        padding: 24px;
    }

    .success__actions .btn,
    .success__next .btn {
        width: 100%;
    }

    .success__next .button-row {
        flex-direction: column;
    }
}

/* --- Запази час (cal.com) ----------------------------------------------- */

.zapazi__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px auto 64px;
    text-align: center;
}

.zapazi__head h1 { margin-bottom: 16px; }

.zapazi__lead {
    margin: 0 0 32px;
    font-size: 18px;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stepper__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-muted, #8A7A82);
}

.stepper__item + .stepper__item::before {
    content: "";
    width: 64px;
    height: 1px;
    margin-right: 6px;
    background: var(--c-line);
}

.stepper__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--c-line);
    border-radius: 50%;
    font-size: 14px;
}

.stepper__item.is-current { color: var(--c-text); }
.stepper__item.is-current .stepper__n { border-color: var(--c-wine); background: var(--c-wine); color: var(--c-white); }
.stepper__item.is-done { color: var(--c-text); }
.stepper__item.is-done .stepper__n { border-color: var(--c-gold); background: var(--c-gold); color: var(--c-wine); }

.zapazi__step {
    max-width: 1120px;
    margin: 0 auto 72px;
    scroll-margin-top: 96px;
}

.zapazi__step h2 { margin-bottom: 6px; }

.zapazi__sub { margin: 0 0 24px; }

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 20px;
    padding: 0;
    border: 0;
}

.choice {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 22px 24px;
    border: 1px solid var(--c-line);
    border-radius: 16px;
    background: var(--c-white);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

.choice:hover { border-color: var(--c-gold); }

.choice:has(.choice__input:checked) {
    border-color: var(--c-wine);
    box-shadow: inset 0 0 0 1px var(--c-wine);
}

.choice:has(.choice__input:focus-visible) { outline: 2px solid var(--c-raspberry); outline-offset: 3px; }

.choice__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__dot {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1.5px solid var(--c-line);
    border-radius: 50%;
    background: var(--c-white);
}

.choice__input:checked + .choice__dot {
    border-color: var(--c-wine);
    box-shadow: inset 0 0 0 4px var(--c-white);
    background: var(--c-wine);
}

.choice__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.choice__name {
    font-family: var(--f-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-wine);
}

.choice__tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-raspberry);
}

.choice__meta { font-size: 14px; }

.choice__price::before { content: " · "; font-weight: 400; }

.choice__text { font-size: 14px; line-height: 1.5; }

.choice--free {
    border-style: dashed;
    border-color: var(--c-gold);
    background: var(--c-beige);
}

.zapazi__note,
.zapazi__consent { font-size: 14px; }

.zapazi__note a,
.zapazi__consent a { font-weight: 700; }

.zapazi__consent { margin-top: 16px; }

.cal-box {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--c-gold);
    border-radius: 24px;
    background: var(--c-white);
}

.cal-box__chosen {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border-right: 1px solid var(--c-line);
}

.cal-box__label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-raspberry);
}

.cal-box__info h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
}

.cal-box__info p {
    margin: 0 0 4px;
    font-size: 15px;
}

.cal-box__change {
    margin-top: auto;
    padding-top: 24px;
    font-size: 14px;
    font-weight: 700;
}

.cal-box__embed {
    min-height: 520px;
    padding: 8px;
}

#cal-embed {
    width: 100%;
    min-height: 500px;
}

.cal-box__loading {
    padding: 40px 24px;
    text-align: center;
    color: var(--c-muted, #8A7A82);
}

@media (max-width: 1079px) {
    .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cal-box { grid-template-columns: minmax(0, 1fr); }
    .cal-box__chosen {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 4px 16px;
        padding: 18px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--c-line);
    }
    .cal-box__label { display: none; }
    .cal-box__info h3 { margin-bottom: 4px; font-size: 17px; }
    .cal-box__info p { display: inline; font-size: 14px; }
    .cal-box__info p + p::before { content: " · "; }
    .cal-box__change { margin: 0; padding: 0; }
    .cal-box__embed { padding: 0; }
}

@media (max-width: 767px) {
    .zapazi__head { margin-bottom: 40px; }
    .stepper { gap: 8px; }
    .stepper__item { flex-direction: column; gap: 6px; font-size: 12px; }
    .stepper__item + .stepper__item::before { display: none; }
    .choice-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .choice { padding: 18px; }
    .choice__body { flex: 1; }
    .zapazi__step { margin-bottom: 56px; }
}

@media (max-width: 767px) {
    .choice { padding-right: 76px; }
    .choice__price {
        position: absolute;
        top: 19px;
        right: 18px;
        font-size: 16px;
    }
    .choice__price::before { content: none; }
}
