/* Partnerships page — mockup layout */

.is-partners-page {
    --pp-navy: #0a2744;
    --pp-navy-deep: #071c33;
    --pp-gold: #e89a1a;
    --pp-gold-bright: #f5b034;
    --pp-ink: #121820;
    --pp-muted: #5a6570;
    --pp-wash: #f4f1ec;
    background: #fff;
}

/* Header uses the same home v2 pattern (no navy override) */

.pp {
    margin-top: var(--header-h, 74px);
}

.pp-head__label {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pp-gold);
}

.pp-head__title {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--pp-ink);
    line-height: 1.25;
}

.pp-head__title--light {
    color: #fff;
}

.pp-head__text {
    margin: 0;
    max-width: 52ch;
    color: var(--pp-muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.pp-btn {
    min-height: 44px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pp-btn--ghost {
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #fff !important;
    background: transparent !important;
}

.pp-btn--ghost:hover {
    border-color: var(--pp-gold) !important;
    color: var(--pp-gold-bright) !important;
}

.pp-btn--navy {
    background: var(--pp-navy);
    color: #fff;
    border: none;
}

.pp-btn--navy:hover {
    background: #0d3358;
    color: #fff;
}

/* ---- Hero ---- */
.pp-hero {
    background: var(--pp-navy);
    overflow: hidden;
}

.pp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: clamp(420px, 62vh, 560px);
    align-items: stretch;
}

.pp-hero__copy {
    position: relative;
    z-index: 2;
    padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.pp-hero__copy::after {
    content: '';
    position: absolute;
    top: 0;
    right: -70px;
    bottom: 0;
    width: 140px;
    background: var(--pp-navy);
    transform: skewX(-10deg);
    z-index: -1;
    border-right: 3px solid var(--pp-gold);
}

.pp-hero__crumb {
    margin: 0 0 18px;
    font-size: 0.72rem;
    display: flex;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.pp-hero__crumb a {
    color: var(--pp-gold);
    text-decoration: none;
}

.pp-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.pp-hero__accent {
    color: var(--pp-gold-bright);
}

.pp-hero__lead {
    margin: 0 0 28px;
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-size: 0.98rem;
}

.pp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pp-hero__visual {
    position: relative;
    min-height: 280px;
}

.pp-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Ads carousel ---- */
.pp-ads {
    background: #fff;
    padding: clamp(48px, 7vw, 80px) 0;
}

.pp-ads .pp-head {
    margin-bottom: 32px;
}

.pp-ads__carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.pp-ads__track-wrap {
    overflow: hidden;
    container-type: inline-size;
}

.pp-ads__track {
    display: flex;
    gap: 18px;
    transition: transform 0.45s ease;
}

.pp-ads__track.is-marquee {
    transition: none;
    will-change: transform;
}

.pp-ads__nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d8d2c8;
    background: #fff;
    color: var(--pp-navy);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(10, 39, 68, 0.08);
}

.pp-ads__nav:hover {
    border-color: var(--pp-gold);
    color: var(--pp-gold);
}

.pp-ads__nav svg {
    width: 18px;
    height: 18px;
}

.pp-ad-card {
    flex: 0 0 calc((100cqi - 36px) / 3);
    min-width: 0;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(10, 39, 68, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-ad-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pp-ad-card__logo {
    height: 34px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.pp-ad-card__tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #5a6570;
    background: #eef1f4;
    border-radius: 999px;
    padding: 5px 10px;
    white-space: nowrap;
}

.pp-ad-card__media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0a1622;
}

.pp-ad-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-ad-card__play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 22, 34, 0.72);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    display: grid;
    place-items: center;
}

.pp-ad-card__play svg {
    width: 18px;
    height: 18px;
    margin-left: 2px;
}

.pp-ad-card__title {
    margin: 2px 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pp-ink);
    line-height: 1.3;
}

.pp-ad-card__desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--pp-muted);
    flex: 1;
}

.pp-ad-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.pp-ad-card__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
}

.pp-ad-card__meta a {
    color: var(--pp-ink);
    text-decoration: none;
}

.pp-ad-card__meta a:hover {
    color: var(--pp-gold);
}

.pp-ad-card__ico {
    color: var(--pp-gold);
    display: inline-flex;
}

.pp-ad-card__ico svg {
    width: 14px;
    height: 14px;
}

.pp-ad-card__cta {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border: 1.5px solid var(--pp-gold);
    border-radius: 6px;
    color: var(--pp-navy);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pp-ad-card__cta:hover {
    background: var(--pp-gold);
    color: #0a1622;
}

.pp-ad-card__cta svg {
    width: 14px;
    height: 14px;
}

.pp-ads__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.pp-ads__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #d5d0c8;
    cursor: pointer;
    padding: 0;
}

.pp-ads__dot.is-active {
    background: var(--pp-gold);
}

/* ---- Benefits ---- */
.pp-benefits {
    background: var(--pp-navy);
    color: #fff;
    padding: clamp(48px, 7vw, 80px) 0;
}

.pp-benefits__intro {
    max-width: 46ch;
    margin-bottom: 28px;
}

.pp-benefits__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    font-size: 0.92rem;
}

.pp-benefits__grid {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.pp-benefits__item {
    text-align: center;
    padding: 12px 8px;
    border-left: 1px solid rgba(232, 154, 26, 0.28);
}

.pp-benefits__item:first-child {
    border-left: 0;
}

.pp-benefits__ico {
    display: flex;
    justify-content: center;
    color: var(--pp-gold);
    margin-bottom: 10px;
}

.pp-benefits__ico svg {
    width: 40px;
    height: 40px;
}

.pp-benefits__item strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.pp-benefits__item span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.pp-benefits__cta-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid rgba(232, 154, 26, 0.35);
    border-radius: 12px;
    background: rgba(7, 28, 51, 0.55);
}

.pp-benefits__cta-ico {
    color: var(--pp-gold);
    flex-shrink: 0;
}

.pp-benefits__cta-ico svg {
    width: 52px;
    height: 52px;
}

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

.pp-benefits__cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
}

.pp-benefits__learn {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pp-gold-bright);
    font: inherit;
    font-size: 0.82rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.pp-benefits__learn:hover,
.pp-benefits__learn:focus-visible {
    color: #f0c878;
}

.pp-advantages {
    padding: 4px 2px 8px;
}
.pp-advantages__lead {
    margin: 0 0 18px;
    color: rgba(210, 220, 232, 0.88);
    line-height: 1.55;
    font-size: 0.95rem;
}
.pp-advantages__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.pp-advantages__list li {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(232, 154, 26, 0.22);
    background: rgba(4, 12, 24, 0.45);
}
.pp-advantages__list strong {
    display: block;
    margin-bottom: 6px;
    color: rgba(232, 210, 160, 0.95);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}
.pp-advantages__list span {
    display: block;
    color: rgba(200, 212, 226, 0.86);
    font-size: 0.88rem;
    line-height: 1.5;
}
.pp-advantages__actions {
    margin-top: 22px;
}
.pp-advantages__actions .btn {
    width: 100%;
    justify-content: center;
}
.pp-modal .auth-modal__panel {
    max-height: min(90dvh, 920px);
    overflow: auto;
}
.pp-modal .partner-form {
    margin-top: 8px;
}

/* ---- Community ---- */
.pp-community {
    background: var(--pp-wash);
    padding: clamp(48px, 7vw, 80px) 0;
}

.pp-community__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
}

.pp-services-ad .pp-community__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}

.pp-services-ad .pp-community__copy {
    text-align: center;
    max-width: 58ch;
    margin: 0 auto;
}

.pp-community__text {
    margin: 0 0 22px;
    color: var(--pp-muted);
    line-height: 1.55;
    max-width: 36ch;
}

.pp-services-ad .pp-community__text {
    max-width: none;
    margin-bottom: 18px;
}

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

.pp-community__cards--services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pp-services-ad .pp-cause-card__media {
    aspect-ratio: 16 / 11;
    margin-bottom: 10px;
    border-radius: 10px;
}

.pp-services-ad .pp-cause-card__badge {
    width: 32px;
    height: 32px;
}

.pp-services-ad .pp-cause-card__badge svg {
    width: 15px;
    height: 15px;
}

.pp-services-ad .pp-cause-card h3 {
    margin: 10px 0 4px;
    font-size: 0.86rem;
}

.pp-services-ad .pp-cause-card p {
    font-size: 0.72rem;
    line-height: 1.4;
}

.pp-cause-card {
    background: transparent;
}

.pp-cause-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.pp-cause-card__link:hover {
    transform: translateY(-3px);
}

.pp-cause-card__link:hover h3 {
    color: var(--pp-gold);
}

.pp-cause-card__media {
    position: relative;
    border-radius: 16px 16px 8px 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin-bottom: 18px;
}

.pp-cause-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-cause-card__badge {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pp-gold);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(10, 39, 68, 0.2);
}

.pp-cause-card__badge svg {
    width: 20px;
    height: 20px;
}

.pp-cause-card h3 {
    margin: 14px 0 6px;
    font-size: 0.95rem;
    color: var(--pp-ink);
}

.pp-cause-card p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--pp-muted);
}

/* ---- Spotlight ---- */
.pp-spotlight {
    background: var(--pp-navy-deep);
    color: #fff;
    padding: clamp(48px, 7vw, 72px) 0;
    text-align: center;
}

.pp-spotlight__slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    max-width: 820px;
    margin: 28px auto 32px;
}

.pp-spotlight__viewport {
    position: relative;
    min-height: 140px;
}

.pp-spotlight__quote {
    margin: 0;
    display: none;
}

.pp-spotlight__quote.is-active {
    display: block;
}

.pp-spotlight__quote p {
    margin: 0 0 14px;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.55;
    font-weight: 500;
}

.pp-spotlight__quote footer {
    color: var(--pp-gold-bright);
    font-size: 0.9rem;
    font-weight: 600;
}

.pp-spotlight__nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(232, 154, 26, 0.45);
    background: transparent;
    color: var(--pp-gold);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pp-spotlight__nav:hover {
    background: rgba(232, 154, 26, 0.12);
}

.pp-spotlight__nav svg {
    width: 20px;
    height: 20px;
}

.pp-spotlight__logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}

.pp-spotlight__logos img {
    height: 34px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

/* ---- Stats ---- */
.pp-stats {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid #ece7df;
}

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

.pp-stats__item {
    text-align: center;
    padding: 8px;
}

.pp-stats__ico {
    display: flex;
    justify-content: center;
    color: var(--pp-gold);
    margin-bottom: 8px;
}

.pp-stats__ico svg {
    width: 28px;
    height: 28px;
}

.pp-stats__item strong {
    display: block;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    color: var(--pp-ink);
    line-height: 1.1;
    margin-bottom: 4px;
}

.pp-stats__item span {
    font-size: 0.78rem;
    color: var(--pp-muted);
    line-height: 1.35;
}

/* ---- Newsletter ---- */
.pp-newsletter {
    background: #0d3358;
    padding: 28px 0;
}

.pp-newsletter__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pp-newsletter__copy {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #fff;
}

.pp-newsletter__ico {
    color: var(--pp-gold);
    flex-shrink: 0;
}

.pp-newsletter__ico svg {
    width: 28px;
    height: 28px;
}

.pp-newsletter__copy h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.pp-newsletter__copy p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.pp-newsletter__form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pp-newsletter__form input {
    min-width: min(280px, 70vw);
    height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0 14px;
    font: inherit;
}

.pp-newsletter__form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.pp-newsletter__form .btn {
    min-height: 44px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .pp-ad-card {
        flex: 0 0 calc((100cqi - 18px) / 2);
    }

    .pp-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pp-benefits__item:nth-child(4) {
        border-left: 0;
    }

    .pp-community__grid {
        grid-template-columns: 1fr;
    }

    .pp-community__cards--services {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 900px) {
    .pp-hero__grid {
        grid-template-columns: 1fr;
    }

    .pp-hero__copy::after {
        display: none;
    }

    .pp-hero__visual {
        min-height: 260px;
        order: -1;
    }

    .pp-community__cards--services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .is-partners-page .site-nav--v2 {
        background: rgba(10, 39, 68, 0.98);
    }

    .is-partners-page .site-nav--v2 .site-nav__link {
        color: #fff !important;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 700px) {
    .pp-ad-card {
        flex: 0 0 100cqi;
    }

    .pp-benefits__grid {
        grid-template-columns: 1fr;
    }

    .pp-benefits__item {
        border-left: 0;
        border-top: 1px solid rgba(232, 154, 26, 0.25);
        padding-top: 16px;
    }

    .pp-benefits__item:first-child {
        border-top: 0;
    }

    .pp-benefits__cta-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .pp-benefits__cta-copy {
        align-items: center;
    }

    .pp-community__cards {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .pp-community__cards--services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .pp-ads__nav {
        display: none;
    }

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

    .pp-spotlight__slider {
        grid-template-columns: 1fr;
    }

    .pp-spotlight__nav {
        display: none;
    }

    .pp-newsletter__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pp-newsletter__form {
        width: 100%;
    }

    .pp-newsletter__form input {
        flex: 1;
        min-width: 0;
    }
}
