/* ==========================================================================
   Podryad Hero (archive)
   Self-contained — без зависимостей от темы.
   Раскладка (Вариант B): .podryad-hero__row (контент + видео 1:1) +
   .podryad-hero__customer (полоса заказчику во всю ширину снизу).
   ========================================================================== */

.podryad-hero {
    width: 100%;
    background: #fff;
    padding: 40px 0 60px;
    box-sizing: border-box;
}
.podryad-hero * {
    box-sizing: border-box;
}

/* max-width wrapper (содержит ряд исполнителя + полосу заказчика) */
.podryad-hero__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Ряд исполнителя: контент слева + квадратное видео справа */
.podryad-hero__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: stretch;
    /* видео тянется по высоте контент-колонки (стрейч), обрезка снизу */
}

/* ----- Left column ----- */
.podryad-hero__content {
    min-width: 0;
}

/* Badge */
.podryad-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--pc-color-bg-light, #EFF9FF);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--pc-color-dark-navy, #081F5C);
    margin-bottom: 24px;
}
.podryad-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pc-color-primary, #4FC3F7);
    flex: 0 0 auto;
}

/* Title */
.podryad-hero__title {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--pc-color-dark, #01103A);
    letter-spacing: -0.5px;
}

/* Lead */
.podryad-hero__lead {
    margin: 0 0 32px;
    font-size: 17px;
    line-height: 1.5;
    color: #475569;
    max-width: 560px;
}

/* Features (2x2 grid, icon left + title/sub right) */
.podryad-hero__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
}
.podryad-hero__feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
.podryad-hero__feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--pc-color-dark-navy, #081F5C);
}
.podryad-hero__feature-icon svg {
    width: 44px;
    height: 44px;
    display: block;
}
.podryad-hero__feature-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.podryad-hero__feature-title {
    font-size: 16px;
    line-height: 1.3;
    color: var(--pc-color-dark, #01103A);
    font-weight: 600;
}
.podryad-hero__feature-sub {
    font-size: 13px;
    line-height: 1.35;
    color: #64748b;
    font-weight: 400;
}

/* ----- CTA card (Попробуйте бесплатно) ----- */
.podryad-hero__cta-card {
    display: block;
    background: var(--pc-color-bg-light, #EFF9FF);
    border-radius: 16px;
    padding: 24px 28px;
    width: 100%;
}
.podryad-hero__cta-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--pc-color-dark, #01103A);
}
.podryad-hero__cta-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.podryad-hero__cta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 15px;
    color: var(--pc-color-dark, #01103A);
}
.podryad-hero__cta-check {
    color: var(--pc-color-primary, #4FC3F7);
    flex: 0 0 auto;
}
.podryad-hero__cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.podryad-hero__cta-btn {
    /* Inherits .pc-btn / .pc-btn--primary base styles (padding, radius, font)
       from listing.css. Just keep nowrap and avoid line-break inside. */
    white-space: nowrap;
}
.podryad-hero__cta-sublabel {
    font-size: 13px;
    color: #64748b;
}

/* ===== Right column: video card (стрейч по высоте блока) ===== */
.podryad-hero__media {
    min-width: 0;
    display: flex;
    height: 100%;
}
.podryad-hero__video {
    position: relative;
    background: #0f1729;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(8, 31, 92, 0.18);
}
.podryad-hero__video-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 26px 24px 36px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.podryad-hero__video-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.podryad-hero__video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* при стрейче обрезаем низ, верх прижат */
    display: block;
    background: #0f1729;
    opacity: 0.33;
    transition: opacity 0.3s ease;
}
.podryad-hero__video.is-playing .podryad-hero__video-el {
    opacity: 1;
}
.podryad-hero__video-placeholder {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(79, 195, 247, 0.18), transparent 60%),
        linear-gradient(135deg, #0f1729 0%, #081F5C 100%);
}

/* Play button overlay */
.podryad-hero__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--pc-color-dark, #01103A);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.podryad-hero__video-play:hover,
.podryad-hero__video-play:focus {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
}
.podryad-hero__video-play svg {
    margin-left: 4px; /* визуально центрирует треугольник */
}

/* When playing — hide overlay (title, play, caption) so native controls visible */
.podryad-hero__video.is-playing .podryad-hero__video-title,
.podryad-hero__video.is-playing .podryad-hero__video-play,
.podryad-hero__video.is-playing .podryad-hero__video-caption {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Bottom caption */
.podryad-hero__video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 40px 24px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    pointer-events: none;
}
.podryad-hero__video-caption-text {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    color: #fff;
    max-width: 70%;
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
.podryad-hero__video-caption-duration {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 9px;
    border-radius: 6px;
    flex: 0 0 auto;
}

/* ===== Customer door (полоса заказчику, во всю ширину) ===== */
.podryad-hero__customer {
    margin-top: 40px;
    background: var(--pc-color-bg-light, #EFF9FF);
    border-radius: 16px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.podryad-hero__customer-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--pc-color-dark-navy, #081F5C);
    background: #fff;
    border-radius: 12px;
}
.podryad-hero__customer-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}
.podryad-hero__customer-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}
.podryad-hero__customer-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--pc-color-dark, #01103A);
}
.podryad-hero__customer-sub {
    font-size: 14px;
    line-height: 1.4;
    color: #475569;
}
.podryad-hero__customer-btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .podryad-hero__title { font-size: 40px; }
}
@media (max-width: 900px) {
    .podryad-hero__row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .podryad-hero__media {
        order: 2;
        height: auto;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
    .podryad-hero__video {
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: 0;
    }
    .podryad-hero__title { font-size: 34px; }
}
@media (max-width: 600px) {
    .podryad-hero { padding: 24px 0 40px; }
    .podryad-hero__inner { padding: 0 16px; }
    .podryad-hero__row { gap: 24px; }
    .podryad-hero__title { font-size: 28px; }
    .podryad-hero__lead { font-size: 15px; margin-bottom: 24px; }
    .podryad-hero__features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .podryad-hero__feature-icon,
    .podryad-hero__feature-icon svg {
        width: 36px;
        height: 36px;
    }
    .podryad-hero__cta-card { padding: 20px; }
    .podryad-hero__cta-actions { gap: 12px; }
    .podryad-hero__video-play { width: 60px; height: 60px; }
    .podryad-hero__video-play svg { width: 24px; height: 24px; }
    .podryad-hero__customer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
        margin-top: 28px;
    }
}
