/* HP Cairo FAQ block
   File: assets/css/faq.css
   Version: 0.1.0
*/

.hpc-faq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 0%, rgba(232, 190, 115, 0.085), transparent 32%),
        radial-gradient(circle at 10% 82%, rgba(232, 190, 115, 0.055), transparent 36%),
        linear-gradient(180deg, #050303 0%, #0d0705 52%, #070302 100%);
    color: #fff6e5;
    padding: clamp(56px, 5.2vw, 86px) 0 clamp(58px, 5.4vw, 92px);
    border-top: 1px solid rgba(232, 190, 115, 0.10);
}

.hpc-faq::before {
    content: "HP CAIRO";
    position: absolute;
    left: -0.08em;
    top: 18px;
    z-index: -2;
    color: rgba(255, 226, 162, 0.018);
    -webkit-text-stroke: 1px rgba(255, 226, 162, 0.035);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(112px, 17vw, 260px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.06em;
    pointer-events: none;
}

.hpc-faq__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(232, 190, 115, 0.06), transparent 18%, transparent 82%, rgba(232, 190, 115, 0.06)),
        radial-gradient(ellipse at 50% 0%, rgba(255, 226, 162, 0.06), transparent 50%);
}

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

.hpc-faq__head {
    display: grid;
    justify-items: center;
    text-align: center;
    max-width: 1040px;
    margin: 0 auto 32px;
}

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

.hpc-faq__title {
    position: relative;
    width: min(100%, 980px);
    margin: 0;
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    align-items: center;
    gap: clamp(16px, 2.6vw, 34px);
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 3.55vw, 56px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.043em;
    text-shadow: 0 5px 28px rgba(0,0,0,0.85), 0 0 28px rgba(232,190,115,0.10);
}

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

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

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

.hpc-faq__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 34px);
    align-items: start;
}

.hpc-faq__note {
    position: sticky;
    top: calc(var(--hpc-header-height, 94px) + 24px);
    min-height: 420px;
    padding: clamp(22px, 2.2vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(232, 190, 115, 0.16);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008)),
        radial-gradient(circle at 50% 0%, rgba(232, 190, 115, 0.11), transparent 42%),
        rgba(0, 0, 0, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.035),
        0 26px 62px rgba(0,0,0,0.22);
    overflow: hidden;
}

.hpc-faq__note::before {
    content: "CAIRO";
    position: absolute;
    left: 50%;
    top: 28px;
    transform: translateX(-50%);
    color: rgba(255, 226, 162, 0.035);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(58px, 7vw, 112px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.hpc-faq__note::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(232, 190, 115, 0.08);
    border-radius: 7px;
    pointer-events: none;
}

.hpc-faq__note-kicker {
    position: relative;
    z-index: 1;
    color: #f1d39a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hpc-faq__note h3 {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hpc-faq__note p {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    color: rgba(255,244,223,0.74);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.58;
}

.hpc-faq__booking {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 0 20px;
    border: 1px solid rgba(255, 229, 168, 0.72);
    border-radius: 4px;
    background:
        radial-gradient(circle at 50% -35%, rgba(255, 229, 168, 0.26), transparent 50%),
        linear-gradient(180deg, rgba(34, 26, 17, 0.98), rgba(0, 0, 0, 0.98));
    color: #fff6e5;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 28px rgba(232, 190, 115, 0.12), inset 0 1px 0 rgba(255,255,255,0.10);
}

.hpc-faq__list {
    display: grid;
    gap: 10px;
}

.hpc-faq-item {
    position: relative;
    border: 1px solid rgba(232, 190, 115, 0.13);
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.006)),
        rgba(0,0,0,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.hpc-faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(232,190,115,0.07), transparent 46%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.hpc-faq-item.is-open {
    border-color: rgba(255, 226, 162, 0.30);
    background: rgba(0,0,0,0.28);
    box-shadow: 0 18px 42px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.035);
}

.hpc-faq-item.is-open::before {
    opacity: 1;
}

.hpc-faq-item__button {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 18px;
    align-items: center;
    padding: 0 18px 0 22px;
    border: 0;
    background: transparent;
    color: #fff7e7;
    text-align: left;
    cursor: pointer;
}

.hpc-faq-item__button span {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hpc-faq-item__button i {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(232, 190, 115, 0.22);
    border-radius: 50%;
    background: rgba(0,0,0,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.hpc-faq-item__button i::before,
.hpc-faq-item__button i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #f1d39a;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
}

.hpc-faq-item__button i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.hpc-faq-item.is-open .hpc-faq-item__button i::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.hpc-faq-item__panel {
    position: relative;
    z-index: 1;
    height: 0;
    overflow: hidden;
    transition: height .24s ease;
}

.hpc-faq-item__body {
    padding: 0 22px 20px;
}

.hpc-faq-item__body p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,244,223,0.76);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.62;
}

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

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

    .hpc-faq__note {
        position: relative;
        top: auto;
        min-height: 250px;
    }
}

@media (max-width: 640px) {
    .hpc-faq {
        padding: 48px 0 64px;
    }

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

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

    .hpc-faq__title {
        font-size: clamp(30px, 8.8vw, 42px);
        letter-spacing: -0.045em;
        gap: 12px;
        grid-template-columns: minmax(16px, 1fr) auto minmax(16px, 1fr);
    }

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

    .hpc-faq__note {
        min-height: auto;
        padding: 18px 16px;
    }

    .hpc-faq__note::before {
        right: -0.1em;
        left: auto;
        top: 14px;
        transform: none;
        font-size: 76px;
    }

    .hpc-faq__note h3 {
        font-size: 23px;
    }

    .hpc-faq__note p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .hpc-faq__booking {
        width: 100%;
        min-height: 46px;
        margin-top: 16px;
        font-size: 11.5px;
    }

    .hpc-faq-item__button {
        min-height: 60px;
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 0 12px 0 14px;
    }

    .hpc-faq-item__button span {
        font-size: 14px;
    }

    .hpc-faq-item__button i {
        width: 34px;
        height: 34px;
    }

    .hpc-faq-item__body {
        padding: 0 14px 16px;
    }

    .hpc-faq-item__body p {
        font-size: 13.5px;
        line-height: 1.52;
    }
}
