/* ============================================
   ВСП — Обеды в офис (office-lunch.css)
   ============================================ */

/* ========================
   БЛОК 1: HERO
   ======================== */
.ol-hero {
    padding: calc(var(--header-h) + 48px) 0 0;
    background: var(--c-bg-alt);
}

.ol-hero__card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 520px;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 100%),
        url('../images/обеды в офис.png') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ol-hero__content {
    padding: 72px 64px;
    max-width: 720px;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ol-hero__content .section-label {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--r-full);
    backdrop-filter: blur(4px);
    padding: 6px 18px;
}

.ol-hero__title {
    font-family: var(--f-heading);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 20px 0 18px;
}

.ol-hero__accent {
    color: var(--c-accent);
}

.ol-hero__subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: #ffffff;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 480px;
}

.ol-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Facts strip */
.ol-hero__facts {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    padding: 24px 40px;
    gap: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    flex-wrap: wrap;
}

.ol-hero__fact {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ol-hero__fact strong {
    font-family: var(--f-heading);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 900;
    color: var(--c-primary);
    line-height: 1.1;
}

.ol-hero__fact span {
    font-size: 13px;
    color: var(--c-text-secondary);
}

.ol-hero__fact-sep {
    width: 1px;
    height: 36px;
    background: var(--c-border);
    flex-shrink: 0;
}


/* ========================
   БЛОК 2: СРАВНЕНИЕ
   ======================== */
.ol-compare {
    padding: var(--section-py) 0;
    background: var(--c-bg);
}

.ol-compare__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
}

.ol-compare__col {
    border-radius: var(--r-xl);
    padding: 40px;
    border: 2px solid transparent;
}

.ol-compare__col--bad {
    background: #FFF5F5;
    border-color: rgba(239, 68, 68, 0.2);
}

.ol-compare__col--good {
    background: #F0FFF8;
    border-color: rgba(52, 211, 153, 0.3);
}

.ol-compare__col-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.ol-compare__col-header h3 {
    font-family: var(--f-heading);
    font-size: 20px;
    font-weight: 800;
}

.ol-compare__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ol-compare__badge--bad {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

.ol-compare__badge--good {
    background: rgba(52, 211, 153, 0.18);
    color: #059669;
}

.ol-compare__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ol-compare__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.ol-compare__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.ol-compare__list--bad .ol-compare__icon {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

.ol-compare__list--good .ol-compare__icon {
    background: rgba(52, 211, 153, 0.18);
    color: #059669;
}

/* Итоговые метрики */
.ol-compare__result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    background: var(--c-bg-alt);
    border-radius: var(--r-xl);
    padding: 48px 40px;
}

.ol-compare__result-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ol-compare__result-num {
    font-family: var(--f-heading);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    background: var(--c-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ol-compare__result-label {
    font-size: 14px;
    color: var(--c-text-secondary);
    max-width: 200px;
    line-height: 1.5;
}


/* ========================
   БЛОК 3: СЕРВИС + ФОТО
   ======================== */
.ol-service {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.ol-service__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ol-service__photo {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.ol-service__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ol-service__photo-badge {
    position: absolute;
    bottom: 0;
    right: 24px;
    transform: translateY(40%);
    background: #fff;
    border-radius: var(--r-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.ol-service__photo-badge span:first-child {
    font-size: 28px;
}

.ol-service__photo-badge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ol-service__photo-badge strong {
    font-family: var(--f-heading);
    font-size: 15px;
    font-weight: 800;
}

.ol-service__photo-badge span:last-child {
    font-size: 12px;
    color: var(--c-text-secondary);
}

.ol-service__text {
    font-size: 16px;
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin: 16px 0 32px;
}

.ol-service__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ol-service__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ol-service__feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: rgba(255, 107, 53, 0.08);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ol-service__feature-icon svg {
    width: 22px;
    height: 22px;
}

.ol-service__feature h4 {
    font-family: var(--f-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.ol-service__feature p {
    font-size: 13px;
    color: var(--c-text-secondary);
    line-height: 1.5;
}


/* ========================
   БЛОК 4: СЕТЫ — дополнение к общим стилям
   ======================== */
.ol-sets {
    background: var(--c-bg);
}


/* ========================
   НАПИТКИ (внутри блока сетов)
   ======================== */
.ol-drinks {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px dashed var(--c-border);
}

.ol-drinks__header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ol-drinks__title {
    font-family: var(--f-heading);
    font-size: 26px;
    font-weight: 900;
}

.ol-drinks__subtitle {
    font-size: 15px;
    color: var(--c-text-secondary);
}

.ol-drinks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ol-drink-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.ol-drink-card:hover {
    border-color: var(--c-border-hover);
    box-shadow: 0 4px 20px var(--c-primary-glow);
    transform: translateY(-2px);
}

.ol-drink-card__icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.ol-drink-card__body {
    flex: 1;
}

.ol-drink-card__body h4 {
    font-family: var(--f-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 3px;
}

.ol-drink-card__body p {
    font-size: 13px;
    color: var(--c-text-secondary);
    line-height: 1.4;
}

.ol-drink-card__price {
    font-family: var(--f-heading);
    font-size: 17px;
    font-weight: 900;
    color: var(--c-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .ol-drinks__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ol-drinks__grid {
        grid-template-columns: 1fr;
    }

    .ol-drinks__header {
        flex-direction: column;
        gap: 6px;
    }
}


/* ========================
   БЛОК 5: КАК НАЧАТЬ
   ======================== */
.ol-how {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.ol-how__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 56px;
    position: relative;
}

.ol-how__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.ol-how__step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--c-gradient-1);
    color: #fff;
    font-family: var(--f-heading);
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 24px var(--c-primary-glow);
    position: relative;
    z-index: 1;
}

.ol-how__step-body h3 {
    font-family: var(--f-heading);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
}

.ol-how__step-body p {
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

.ol-how__step-time {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--c-primary);
}

.ol-how__step-arrow {
    font-size: 28px;
    color: var(--c-primary);
    opacity: 0.4;
    padding-top: 20px;
    flex-shrink: 0;
    align-self: flex-start;
}


/* ========================
   БЛОК 6: FAQ
   ======================== */
.ol-faq {
    padding: var(--section-py) 0;
    background: var(--c-bg);
}

.ol-faq__inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

.ol-faq__header {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.ol-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c-bg-card);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.faq__item.is-open {
    border-color: var(--c-primary);
    box-shadow: 0 4px 20px var(--c-primary-glow);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    text-align: left;
    font-family: var(--f-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--t-fast);
}

.faq__item.is-open .faq__question {
    color: var(--c-primary);
}

.faq__icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--c-primary);
    flex-shrink: 0;
    transition: transform var(--t-fast);
    line-height: 1;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}

.faq__answer p {
    padding: 0 24px 22px;
    font-size: 15px;
    color: var(--c-text-secondary);
    line-height: 1.7;
}


/* ========================
   БЛОК 7: ФОРМА ЗАЯВКИ
   (about-contact styles are in about.css, but since office-lunch.html
   doesn't load about.css we duplicate the necessary rules here)
   ======================== */

.about-contact {
    padding: var(--section-py) 0;
    background: var(--c-bg);
    position: relative;
    overflow: hidden;
}

.about-contact::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.about-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-contact__text {
    font-size: 17px;
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin: 16px 0 36px;
}

.about-contact__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.about-contact__detail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--t-fast);
}

.about-contact__detail:hover {
    border-color: var(--c-border-hover);
    background: var(--c-bg-card-hover);
}

.about-contact__detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--t-fast);
}

.about-contact__detail:hover .about-contact__detail-icon {
    transform: scale(1.08);
}

.about-contact__detail-icon svg {
    width: 22px;
    height: 22px;
}

.about-contact__detail-icon--phone {
    background: rgba(255, 107, 53, 0.1);
    color: var(--c-primary);
}

.about-contact__detail-icon--mail {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.about-contact__detail-icon--tg {
    background: rgba(34, 158, 217, 0.12);
    color: #229ED9;
}

.about-contact__detail div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-contact__detail strong {
    font-size: 16px;
    font-weight: 700;
}

.about-contact__detail span {
    font-size: 13px;
    color: var(--c-text-muted);
}

.about-contact__guarantee {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-contact__guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-secondary);
}

.about-contact__guarantee-item svg {
    width: 20px;
    height: 20px;
    color: var(--c-primary);
    flex-shrink: 0;
}

.about-contact__form-wrap {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}

.about-contact__form-title {
    font-family: var(--f-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 28px;
}

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

.about-contact__form .form__group {
    margin-bottom: 12px;
}


/* ========================
   SUCCESS MESSAGE
   ======================== */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.is-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    color: #34D399;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success__icon svg {
    width: 36px;
    height: 36px;
}

.form-success h3 {
    font-family: var(--f-heading);
    font-size: 22px;
    font-weight: 800;
}

.form-success p {
    font-size: 15px;
    color: var(--c-text-secondary);
}


/* ========================
   REVEAL ANIMATION
   ======================== */
.ol-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ol-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.ol-reveal--delay-1 { transition-delay: 0.1s; }
.ol-reveal--delay-2 { transition-delay: 0.2s; }
.ol-reveal--delay-3 { transition-delay: 0.3s; }
.ol-reveal--delay-4 { transition-delay: 0.4s; }


/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1100px) {
    .ol-hero__card {
        min-height: 420px;
    }

    .ol-hero__content {
        padding: 48px 40px;
    }

    .ol-compare__result {
        padding: 36px 24px;
    }

    .ol-service__grid {
        gap: 48px;
    }

    .ol-faq__inner {
        grid-template-columns: 300px 1fr;
        gap: 48px;
    }

    .about-contact__inner {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .ol-hero__content {
        padding: 40px 32px;
        max-width: 100%;
    }

    .ol-hero__facts {
        padding: 20px 24px;
        gap: 0;
    }

    .ol-hero__fact {
        min-width: 80px;
        padding: 8px;
    }

    .ol-hero__fact-sep {
        display: none;
    }

    .ol-compare__grid {
        grid-template-columns: 1fr;
    }

    .ol-compare__result {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .ol-service__grid {
        grid-template-columns: 1fr;
    }

    .ol-service__photo {
        aspect-ratio: 16/9;
        order: -1;
    }

    .ol-service__features {
        grid-template-columns: 1fr;
    }

    .ol-how__steps {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .ol-how__step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .ol-faq__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ol-faq__header {
        position: static;
    }

    .about-contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 600px) {
    .ol-hero__card {
        min-height: unset;
        height: auto;
    }

    .ol-hero__content {
        padding: 48px 24px;
    }

    .ol-hero__actions {
        flex-direction: column;
    }

    .ol-hero__facts {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 0 0 var(--r-lg) var(--r-lg);
    }

    .ol-hero__fact {
        min-width: 42%;
        padding: 12px 8px;
    }

    .ol-compare__col {
        padding: 28px 20px;
    }

    .ol-compare__result {
        padding: 28px 20px;
    }

    .ol-how__step {
        padding: 0;
    }

    .about-contact__form-wrap {
        padding: 32px 24px;
    }
}
