.b2c-faq {
    --ink: #0a1425;
    --muted: #697386;
    --line: #deddd8;
    --paper: #f6f5f1;
    --violet: #4287f5;
    color: var(--ink);
    background: var(--paper);
}

.b2c-faq *,
.b2c-faq *::before,
.b2c-faq *::after {
    box-sizing: border-box;
}

.b2c-faq__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 124px) 0 0;
    color: #fff;
    background:
        radial-gradient(circle at 83% 8%, rgba(66,135,245, .5), transparent 29%),
        #0a1425;
}

.b2c-faq__hero::after {
    position: absolute;
    right: -8vw;
    bottom: -18vw;
    width: 42vw;
    height: 42vw;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}

.b2c-faq__hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr);
    gap: 48px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.b2c-faq__eyebrow {
    margin: 0 0 20px;
    color: var(--violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.b2c-faq__hero-copy .b2c-faq__eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -22px;
    color: #8db8fb;
}

.b2c-faq__hero h1 {
    max-width: 970px;
    margin: 0;
    color: #fff;
    font-size: clamp(56px, 7.35vw, 118px);
    font-weight: 750;
    letter-spacing: -.07em;
    line-height: .89;
}

.b2c-faq__hero-copy > p:last-child {
    margin: 0 0 12px;
    color: #b8c0d1;
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.65;
}

.b2c-faq__search {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(180px, .38fr) 1fr auto;
    align-items: center;
    min-height: 106px;
    margin-top: clamp(56px, 7vw, 104px);
    padding: 14px 18px 14px 32px;
    color: var(--ink);
    border-radius: 28px 28px 0 0;
    background: #fff;
}

.b2c-faq__search > span {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
}

.b2c-faq__search > span i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--violet);
    border-radius: 12px;
    background: #eaf2ff;
}

.b2c-faq__search input {
    width: 100%;
    height: 64px;
    padding: 0 24px;
    color: var(--ink);
    border: 0;
    border-left: 1px solid var(--line);
    outline: 0;
    background: transparent;
    font-size: clamp(17px, 1.3vw, 21px);
    box-shadow: none;
}

.b2c-faq__search input:focus {
    box-shadow: none;
}

.b2c-faq__search input::placeholder {
    color: #969ba5;
}

.b2c-faq__search kbd {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #8b8f97;
    border: 1px solid #dad9d5;
    border-radius: 9px;
    background: #f7f6f2;
    font-family: inherit;
}

.b2c-faq__content {
    padding: clamp(66px, 8vw, 130px) 0;
}

.b2c-faq__layout {
    display: grid;
    grid-template-columns: minmax(255px, .34fr) minmax(0, 1fr);
    gap: clamp(56px, 8vw, 140px);
    align-items: start;
}

.b2c-faq__layout::before,
.b2c-faq__layout::after,
.b2c-faq__contact .container::before,
.b2c-faq__contact .container::after {
    display: none;
    content: none;
}

.b2c-faq__rail {
    position: sticky;
    top: 132px;
}

.b2c-faq__rail nav {
    display: grid;
    border-top: 1px solid var(--line);
}

.b2c-faq__rail nav a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 20px 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    transition: color .2s ease, padding .2s ease;
}

.b2c-faq__rail nav a:hover {
    padding-left: 8px;
    color: var(--violet);
}

.b2c-faq__rail nav a span {
    color: #a1a4aa;
    font-size: 11px;
    letter-spacing: .1em;
}

.b2c-faq__rail nav a strong {
    font: inherit;
}

.b2c-faq__rail .b2c-brand {
    white-space: nowrap;
}

.b2c-faq__selector {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 18px;
    margin-top: 26px;
    padding: 24px;
    color: #fff;
    border-radius: 20px;
    background: var(--violet);
    text-decoration: none;
}

.b2c-faq__selector small,
.b2c-faq__selector strong {
    display: block;
}

.b2c-faq__selector small {
    grid-column: 1 / -1;
    color: #c6dafb;
    font-size: 12px;
}

.b2c-faq__selector strong {
    font-size: 17px;
}

.b2c-faq__selector i {
    align-self: center;
}

.b2c-faq__answers-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}

.b2c-faq__answers-head span {
    color: var(--violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.b2c-faq__answers-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.b2c-faq__item {
    border-top: 1px solid #cfcec8;
}

.b2c-faq__item:last-child {
    border-bottom: 1px solid #cfcec8;
}

.b2c-faq__item summary {
    display: grid;
    grid-template-columns: 54px 1fr 34px;
    gap: 18px;
    align-items: center;
    min-height: 102px;
    padding: 22px 0;
    list-style: none;
    cursor: pointer;
}

.b2c-faq__item summary::-webkit-details-marker {
    display: none;
}

.b2c-faq__item summary > span {
    color: #a2a4a9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.b2c-faq__item summary > strong {
    font-size: clamp(19px, 1.55vw, 26px);
    font-weight: 680;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.b2c-faq__item summary > i {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    border: 1px solid #cccbc5;
    border-radius: 50%;
}

.b2c-faq__item summary > i::before,
.b2c-faq__item summary > i::after {
    position: absolute;
    top: 15px;
    left: 9px;
    width: 12px;
    height: 1.5px;
    background: var(--ink);
    content: "";
    transition: transform .2s ease;
}

.b2c-faq__item summary > i::after {
    transform: rotate(90deg);
}

.b2c-faq__item[open] summary > i {
    border-color: var(--violet);
    background: var(--violet);
}

.b2c-faq__item[open] summary > i::before,
.b2c-faq__item[open] summary > i::after {
    background: #fff;
}

.b2c-faq__item[open] summary > i::after {
    transform: rotate(0);
}

.b2c-faq__answer {
    max-width: 820px;
    padding: 0 52px 34px 72px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.b2c-faq__answer a {
    color: var(--violet);
    font-weight: 750;
    text-decoration: underline;
}

.b2c-faq__empty {
    padding: 42px 0;
    color: var(--muted);
}

.b2c-faq__contact {
    padding: clamp(68px, 8vw, 124px) 0;
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(66,135,245, .35), transparent 24%),
        #111b31;
}

.b2c-faq__contact .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px 80px;
    align-items: end;
}

.b2c-faq__contact .b2c-faq__eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -8px;
    color: #8db8fb;
}

.b2c-faq__contact h2 {
    max-width: 890px;
    margin: 0;
    font-size: clamp(42px, 5.4vw, 88px);
    letter-spacing: -.065em;
    line-height: .95;
}

.b2c-faq__contact > .container > div {
    display: grid;
    gap: 12px;
    min-width: 220px;
}

.b2c-faq__contact a {
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.b2c-faq__contact a:first-child {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--violet);
}

.b2c-faq__contact a:last-child {
    padding: 0 4px;
    color: #aeb7c8;
}

.b2c-brand {
    color: #e62419;
}

@media (max-width: 1000px) {
    .b2c-faq__hero-copy {
        grid-template-columns: 1fr;
    }

    .b2c-faq__hero-copy > p:last-child {
        max-width: 650px;
    }

    .b2c-faq__layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .b2c-faq__rail {
        position: static;
    }

    .b2c-faq__rail nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b2c-faq__rail nav a:nth-child(odd) {
        padding-right: 24px;
        border-right: 1px solid var(--line);
    }

    .b2c-faq__rail nav a:nth-child(even) {
        padding-left: 24px;
    }
}

@media (max-width: 767px) {
    .b2c-faq__hero {
        padding-top: 58px;
    }

    .b2c-faq__hero h1 {
        font-size: clamp(50px, 14.5vw, 68px);
    }

    .b2c-faq__search {
        grid-template-columns: 1fr auto;
        min-height: 0;
        margin-top: 54px;
        padding: 16px;
        border-radius: 22px 22px 0 0;
    }

    .b2c-faq__search > span {
        display: none;
    }

    .b2c-faq__search input {
        height: 58px;
        padding-left: 12px;
        border-left: 0;
    }

    .b2c-faq__content {
        padding: 52px 0 72px;
    }

    .b2c-faq__rail nav {
        grid-template-columns: 1fr;
    }

    .b2c-faq__rail nav a:nth-child(odd),
    .b2c-faq__rail nav a:nth-child(even) {
        padding-right: 0;
        padding-left: 0;
        border-right: 0;
    }

    .b2c-faq__answers-head p {
        display: none;
    }

    .b2c-faq__item summary {
        grid-template-columns: 34px 1fr 30px;
        gap: 10px;
        min-height: 88px;
    }

    .b2c-faq__item summary > strong {
        font-size: 18px;
    }

    .b2c-faq__answer {
        padding: 0 0 28px 44px;
        font-size: 15px;
    }

    .b2c-faq__contact .container {
        grid-template-columns: 1fr;
    }

    .b2c-faq__contact .b2c-faq__eyebrow {
        margin-bottom: 0;
    }
}

/* V3: search as a deliberate tool, not a form slab */
.b2c-faq__hero {
    padding-bottom: clamp(58px, 6vw, 86px);
}
.b2c-faq__search {
    width: min(980px, 100%);
    grid-template-columns: 210px minmax(0, 1fr) 42px;
    min-height: 86px;
    margin: clamp(44px, 5vw, 72px) 0 0;
    padding: 12px 14px 12px 24px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 65px rgba(0,0,0,.22);
    transition: box-shadow .2s ease, transform .2s ease;
}
.b2c-faq__search:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 30px 75px rgba(0,0,0,.28);
}
.b2c-faq__search input,
.b2c-faq__search input:focus,
.b2c-faq__search input:focus-visible {
    height: 58px;
    margin: 0;
    padding: 0 18px;
    border: 0!important;
    border-radius: 14px;
    outline: 0!important;
    background: #f6f5f1;
    box-shadow: none!important;
}
.b2c-faq__search kbd {
    border: 0;
    background: #eaf2ff;
    color: var(--violet);
    font-weight: 800;
}
.b2c-faq__content {
    background: #f6f5f1;
}
.b2c-faq__contact {
    padding: clamp(54px, 7vw, 92px) 0;
    background: #f6f5f1;
}
.b2c-faq__contact .container {
    padding: clamp(34px, 5vw, 76px)!important;
    border-radius: 32px;
    background:
        radial-gradient(circle at 88% 15%, rgba(66,135,245,.38), transparent 27%),
        #0d1729;
    box-shadow: 0 28px 80px rgba(10,20,37,.14);
}
.b2c-faq__contact h2 {
    color: #fff!important;
}
.b2c-faq__contact a:first-child {
    min-height: 54px;
    align-items: center;
    border-radius: 14px;
}
@media (max-width: 767px) {
    .b2c-faq__search {
        grid-template-columns: 1fr 40px;
        margin-top: 38px;
        padding: 10px;
        border-radius: 18px;
    }
    .b2c-faq__search input,
    .b2c-faq__search input:focus,
    .b2c-faq__search input:focus-visible {
        height: 54px;
        padding-left: 14px;
    }
    .b2c-faq__contact .container {
        padding: 34px 24px!important;
        border-radius: 24px;
    }
}
