/* HP Cairo promotions page
   File: assets/css/promotions.css
   Version: 0.1.0
*/

.hpc-promos-main {
    min-height: 0;
    background: #050303;
}

.hpc-promos {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100vh - var(--hpc-header-height, 94px));
    padding: clamp(48px, 5vw, 82px) 0 clamp(70px, 6vw, 104px);
    background:
        radial-gradient(circle at 14% 8%, rgba(232, 190, 115, 0.12), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(232, 190, 115, 0.08), transparent 34%),
        linear-gradient(180deg, #070302 0%, #0d0705 44%, #050303 100%);
    color: #fff6e5;
}

.hpc-promos::before {
    content: "HP CAIRO";
    position: absolute;
    z-index: -2;
    right: -0.08em;
    top: 18px;
    color: rgba(255, 226, 162, 0.024);
    -webkit-text-stroke: 1px rgba(255, 226, 162, 0.04);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(92px, 16vw, 260px);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: 0.055em;
    pointer-events: none;
    white-space: nowrap;
}

.hpc-promos__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(232, 190, 115, 0.055), transparent 20%, transparent 78%, rgba(232, 190, 115, 0.055)),
        radial-gradient(ellipse at 50% 0%, rgba(255, 226, 162, 0.07), transparent 44%);
}

.hpc-promos__inner {
    width: min(100% - 72px, 1420px);
    margin: 0 auto;
}

.hpc-promos__head {
    display: grid;
    justify-items: center;
    text-align: center;
    max-width: 1030px;
    margin: 0 auto 34px;
}

.hpc-promos__kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(232, 190, 115, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    color: #f1d39a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hpc-promos__title {
    position: relative;
    width: min(100%, 1020px);
    margin: 0;
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 4vw, 62px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.048em;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.82), 0 0 28px rgba(232, 190, 115, 0.10);
}

.hpc-promos__title::before,
.hpc-promos__title::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 190, 115, 0.36));
    box-shadow: 0 0 18px rgba(232, 190, 115, 0.12);
}

.hpc-promos__title::after {
    background: linear-gradient(90deg, rgba(232, 190, 115, 0.36), transparent);
}

.hpc-promos__lead {
    width: min(100%, 780px);
    margin: 16px auto 0;
    color: rgba(255, 244, 223, 0.80);
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 600;
    line-height: 1.62;
}

.hpc-promos__list {
    display: grid;
    gap: 26px;
}

.hpc-promo-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(22px, 3.2vw, 48px);
    align-items: stretch;
    padding: clamp(18px, 2.4vw, 34px);
    border: 1px solid rgba(232, 190, 115, 0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(232, 190, 115, 0.12), transparent 40%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(9, 5, 3, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 34px 100px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.hpc-promo-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 15px;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 239, 196, 0.08), transparent 18%, transparent 78%, rgba(232, 190, 115, 0.06));
}

.hpc-promo-card__media,
.hpc-promo-card__content {
    position: relative;
    z-index: 1;
}

.hpc-promo-card__media {
    display: grid;
    align-items: center;
}

.hpc-promo-card__imageFrame {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 16px;
    border: 1px solid rgba(232, 190, 115, 0.16);
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 4%, rgba(232, 190, 115, 0.09), transparent 48%),
        rgba(0, 0, 0, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hpc-promo-card__imageFrame img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(72vh, 760px);
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.42);
}

.hpc-promo-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: clamp(6px, 1vw, 14px) 0;
}

.hpc-promo-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hpc-promo-card__topline span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(232, 190, 115, 0.16);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 244, 223, 0.78);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hpc-promo-card__content h2 {
    margin: 0;
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(32px, 4vw, 62px);
    font-weight: 750;
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.74), 0 0 28px rgba(232, 190, 115, 0.10);
}

.hpc-promo-card__offer {
    display: flex;
    align-items: end;
    gap: 14px;
}

.hpc-promo-card__discount {
    color: #fff4d5;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(56px, 8vw, 118px);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.075em;
    background: linear-gradient(90deg, #fff7d8, #f0c979 42%, #b98139 76%, #fff0c8);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.54)) drop-shadow(0 0 18px rgba(232, 190, 115, 0.12));
}

.hpc-promo-card__offerText {
    margin-bottom: 6px;
    color: #f1d39a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hpc-promo-card__text {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 244, 223, 0.78);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.hpc-promo-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hpc-promo-card__facts div {
    min-height: 76px;
    padding: 13px 14px;
    border: 1px solid rgba(232, 190, 115, 0.13);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.20);
}

.hpc-promo-card__facts span {
    display: block;
    margin-bottom: 7px;
    color: rgba(241, 211, 154, 0.78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hpc-promo-card__facts strong {
    display: block;
    color: #fff8e9;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.34;
}

.hpc-promo-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hpc-promo-card__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(232, 190, 115, 0.28);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff2d5;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
}

.hpc-promo-card__btn--primary {
    border-color: rgba(255, 229, 168, 0.86);
    background:
        radial-gradient(circle at 50% -38%, rgba(255, 229, 168, 0.30), transparent 48%),
        linear-gradient(180deg, rgba(42, 31, 18, 0.98), rgba(0, 0, 0, 0.96));
    box-shadow: 0 0 32px rgba(225, 184, 111, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.hpc-promo-card__btn:hover {
    border-color: rgba(255, 226, 162, 0.60);
    background: rgba(232, 190, 115, 0.09);
}

.hpc-promo-card__messengers {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(120px, 0.68fr));
    gap: 10px;
}

.hpc-promo-messenger {
    position: relative;
    display: grid;
    gap: 5px;
    min-height: 68px;
    padding: 12px 13px;
    border: 1px solid rgba(232, 190, 115, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.hpc-promo-messenger::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(115deg, transparent 10%, rgba(255, 239, 196, 0.34), transparent 58%);
    transform: translateX(-120%);
    transition: transform .7s ease;
    pointer-events: none;
}

.hpc-promo-messenger:hover::before {
    transform: translateX(120%);
}

.hpc-promo-messenger span {
    position: relative;
    z-index: 1;
    color: rgba(241, 211, 154, 0.78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hpc-promo-messenger strong {
    position: relative;
    z-index: 1;
    color: #fff8e9;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.15;
}

@media (max-width: 1020px) {
    .hpc-promos__inner {
        width: min(100% - 40px, 980px);
    }

    .hpc-promo-card {
        grid-template-columns: 1fr;
    }

    .hpc-promo-card__media {
        order: 1;
    }

    .hpc-promo-card__content {
        order: 2;
    }

    .hpc-promo-card__imageFrame img {
        max-height: 680px;
    }
}

@media (max-width: 640px) {
    .hpc-promos {
        padding: 42px 0 70px;
    }

    .hpc-promos__inner {
        width: min(100% - 26px, 560px);
    }

    .hpc-promos__head {
        margin-bottom: 22px;
    }

    .hpc-promos__title {
        grid-template-columns: minmax(18px, 1fr) auto minmax(18px, 1fr);
        gap: 12px;
        font-size: clamp(30px, 9vw, 42px);
    }

    .hpc-promos__lead {
        margin-top: 13px;
        font-size: 14px;
        line-height: 1.52;
    }

    .hpc-promo-card {
        gap: 18px;
        padding: 13px;
        border-radius: 12px;
    }

    .hpc-promo-card__imageFrame {
        padding: 10px;
        border-radius: 10px;
    }

    .hpc-promo-card__imageFrame img {
        max-height: 560px;
        border-radius: 7px;
    }

    .hpc-promo-card__content {
        gap: 14px;
    }

    .hpc-promo-card__content h2 {
        font-size: clamp(29px, 9.2vw, 40px);
    }

    .hpc-promo-card__offer {
        gap: 11px;
    }

    .hpc-promo-card__offerText {
        margin-bottom: 2px;
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .hpc-promo-card__text {
        font-size: 14px;
        line-height: 1.55;
    }

    .hpc-promo-card__facts,
    .hpc-promo-card__messengers {
        grid-template-columns: 1fr;
    }

    .hpc-promo-card__facts div {
        min-height: auto;
        padding: 11px 12px;
    }

    .hpc-promo-card__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hpc-promo-card__btn {
        width: 100%;
        min-height: 48px;
    }

    .hpc-promo-messenger {
        min-height: 58px;
    }
}


/* v0.1.1: page title wording, discount crop fix and branded socials */
.hpc-promo-card__discount {
    display: inline-block;
    line-height: 1;
    padding: 0.02em 0.08em 0.08em 0;
    margin-bottom: -0.06em;
    overflow: visible;
}

.hpc-promo-card__offer {
    align-items: center;
    overflow: visible;
}

.hpc-promo-card__messengers {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
}

.hpc-promo-card__socials {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.hpc-promo-card__socials .hpc-social {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    border-color: rgba(232, 190, 115, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
        rgba(0, 0, 0, 0.18);
    color: #f1d39a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hpc-promo-card__socials .hpc-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.hpc-promo-card__socials .hpc-social--max svg {
    width: 32px;
    height: 32px;
}

.hpc-promo-card__socials .hpc-social:hover {
    color: #fff2d3;
    border-color: rgba(255, 226, 162, 0.58);
    background: rgba(232, 190, 115, 0.10);
    box-shadow: 0 0 30px rgba(232, 190, 115, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
    .hpc-promo-card__messengers {
        grid-template-columns: 1fr;
    }

    .hpc-promo-card__socials {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hpc-promo-card__socials .hpc-social {
        width: 100%;
        height: 58px;
    }

    .hpc-promo-card__discount {
        padding-bottom: 0.1em;
    }
}
