/* ======================================================================
   Book About You — site.css (v3, итерация по фидбэку дизайнера)
   ====================================================================== */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
}

li {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    color: #341400;
    background-color: #FCFCF0;
}

@font-face {
    font-family: 'Open Sans';
    src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Bad Script';
    src: url("../fonts/BadScript-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Comic-Relief';
    src: url("../fonts/ComicRelief-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BookSerif';
    src: url("../fonts/SansSerifCollection.ttf") format("truetype");
    font-display: swap;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.body__background {
    background-image: url("../images/backgroundbig.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #FCFCF0;
    position: relative;
}

/* base.html-обёртка */
.landing-page {
    background-color: #FCFCF0;
    min-height: 100vh;
}

.landing-page--home > .site-header,
.landing-page--home > .site-footer {
    display: none;
}

.landing-page--home > .site-main {
    padding: 0;
}

.landing-page--content {
    background-color: #FCFCF0;
}

/* ======================  HEADER (hero)  ====================== */

.header {
    position: relative;
    background-repeat: no-repeat;
    z-index: 1;
    min-height: 583px;
}

.header__img--mobile {
    display: none;
}

.header__container {
    max-width: 1400px;
    margin: 0 auto;
}

.header__innerwrp {
    position: relative;
}

.header__img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.header__innerbox {
    max-width: 530px;
    margin-left: 730px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 435px;
}

.header__text--bold {
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 140%;
    color: #341400;
}

.header__text--middle {
    font-family: "Bad Script", cursive;
    font-weight: 400;
    font-size: 50px;
    line-height: 140%;
    margin-left: 92px;
    color: #341400;
}

.header__text--low {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #341400;
    margin-top: auto;
}

.header__text--low p + p {
    margin-top: 16px;
}

.header__text--lowmobile {
    display: none;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* ======================  MAIN  ====================== */

.main {
    background-repeat: no-repeat;
    background-size: cover;
}

/* ======================  NAV  ====================== */

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 56px;
    position: relative;
    z-index: 5;
}

.nav__innerwrp {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 11px;
    padding-top: 10px;
    min-width: 610px;
    max-width: 610px;
    border-bottom: 1px solid #95AABE;
    height: 68px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 60px;
    flex-shrink: 0;
    width: 70px;
    height: 60.46px;
}

.nav__logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav__link {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #341400;
    transition: opacity 180ms ease;
}

.nav__link:hover,
.nav__link:focus-visible {
    opacity: 0.72;
}

/* ======================  BOOK  ====================== */

.book {
    padding: 40px 0;
}

.book__list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-left: 30px;
}

.book__item {
    display: flex;
    flex-direction: column;
    max-width: 280px;
}

.book__img {
    max-width: 280px;
    margin-bottom: 16px;
}

.book__title {
    font-family: "Comic-Relief", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    margin-bottom: 40px;
    color: #341400;
}

.book__subtitle {
    font-family: "BookSerif", Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 16px;
    color: #341400;
}

.book__description {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
    color: #341400;
    margin-bottom: 16px;
}

.book__price {
    font-family: "BookSerif", Georgia, serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 100%;
    color: #341400;
    margin-bottom: 16px;
}

.book__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    font-family: "BookSerif", Georgia, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #341400;
    background-color: transparent;
    padding: 8px 18px;
    border: 1px solid #95AABE;
    border-radius: 20px;
    transition: opacity 180ms ease;
}

.book__button:hover,
.book__button:focus-visible {
    opacity: 0.72;
}

/* ======================  FAQ  ====================== */

.faq {
    padding: 80px 0;
}

.faq__title {
    font-family: "Comic-Relief", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    color: #341400;
    margin-bottom: 40px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq__item {
    border-radius: 0;
    overflow: hidden;
    padding-bottom: 20px;
    border-bottom: 1px solid #95AABE;
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: left;
}

.faq__question {
    font-family: "BookSerif", Georgia, serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 140%;
    color: #341400;
    text-align: left;
}

.faq__icon {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    color: #341400;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 380ms ease;
}

.faq__content > * {
    overflow: hidden;
    min-height: 0;
}

.faq__answer {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 160%;
    color: #341400;
    padding: 14px 24px 0;
    margin: 0;
}

.faq__item.active .faq__content {
    grid-template-rows: 1fr;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

/* ======================  FOOTER  ====================== */

.footer {
    background-color: #E9F1E2;
}

.footer__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 199px;
    padding: 40px 0;
    gap: 24px;
}

.footer__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.footer__text {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    color: #341400;
}

.footer__link {
    transition: opacity 180ms ease;
}

.footer__link:hover,
.footer__link:focus-visible {
    opacity: 0.72;
}

.footer__text--meta {
    font-size: 13px;
}

.footer__credits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 12px 0 24px;
    margin-top: 8px;
    border-top: 1px solid rgba(149, 170, 190, 0.5);
}
.footer__credits-row .footer__text--meta {
    margin: 0;
    font-size: 13px;
}

/* ======================  Inner pages (book detail / legal)  ====================== */

.detail-page,
.legal-page {
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 88px;
    color: #341400;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.detail-page__breadcrumbs a,
.detail-page__back {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #341400;
    transition: opacity 180ms ease;
}

.detail-page__breadcrumbs a:hover,
.detail-page__back:hover,
.detail-page__breadcrumbs a:focus-visible,
.detail-page__back:focus-visible {
    opacity: 0.72;
}

.detail-page__breadcrumbs {
    margin-bottom: 24px;
}

.detail-page__grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.detail-page__media {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.42);
}

.detail-page__image {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.detail-page__content {
    display: grid;
    gap: 16px;
    max-width: 620px;
}

.detail-page__title,
.legal-page__title {
    margin: 0;
    font-family: "Comic-Relief", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: 1.1;
    color: #341400;
}

.detail-page__price {
    margin: 0;
    font-family: "BookSerif", Georgia, serif;
    font-size: 25px;
    color: #341400;
}

.detail-page__copy {
    display: grid;
    gap: 12px;
}

.detail-page__copy p,
.legal-page__paragraph {
    margin: 0;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #341400;
}

.detail-page__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 8px;
    padding: 8px 18px;
    border: 1px solid #95AABE;
    border-radius: 20px;
    background: transparent;
    font-family: "BookSerif", Georgia, serif;
    font-size: 16px;
}

.legal-page__sections {
    display: grid;
    gap: 26px;
    margin-top: 26px;
}

.legal-page__section {
    display: grid;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #95AABE;
}

.legal-page__section-title {
    margin: 0;
    font-family: "BookSerif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.2;
    color: #341400;
}

/* base.html-ные шапка/подвал на внутренних страницах */
.site-header {
    padding: 18px 0;
    border-bottom: 1px solid #95AABE;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    color: #341400;
}

.site-header__logo {
    display: block;
    width: 44px;
    height: auto;
}

.site-header__nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
}

.site-header__nav a {
    color: #341400;
    transition: opacity 180ms ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
    opacity: 0.72;
}

.site-footer {
    background: #E9F1E2;
    margin-top: 60px;
}

.site-footer__inner {
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    gap: 24px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.site-footer__stack,
.site-footer__docs,
.site-footer__credits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__text,
.site-footer__meta {
    margin: 0;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    color: #341400;
}

.site-footer__doc-link {
    transition: opacity 180ms ease;
}

.site-footer__doc-link:hover,
.site-footer__doc-link:focus-visible {
    opacity: 0.72;
}

/* Toast */
.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: min(340px, calc(100vw - 28px));
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(44, 33, 27, 0.94);
    color: #fff;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 100;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================  RESPONSIVE  ====================== */

@media (max-width: 1263px) {
    .header {
        overflow: hidden;
    }
    .header__innerbox {
        margin-left: 400px;
    }
    .header__text--middle {
        margin-bottom: 50px;
    }
    .header__img {
        min-width: 600px;
        max-width: 1315px;
    }
}

@media (max-width: 1200px) {
    .footer__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer__item {
        gap: 6px;
    }
}

@media (max-width: 992px) {
    .faq {
        padding: 60px 0;
    }
    .faq__header {
        padding: 0 20px;
    }
}

@media (max-width: 968px) {
    .header {
        position: relative;
    }
    .header__innerwrp {
        position: static;
    }
    .header__box {
        position: relative;
    }
    .header__innerbox {
        z-index: 10;
        position: absolute;
        right: 0;
        margin: 0;
    }
    .header__text--low {
        display: none;
    }
    .header__text--lowmobile {
        margin-top: 376px;
        display: grid;
        gap: 16px;
        padding: 0 16px;
    }
    .header__img {
        position: relative;
        left: 0 !important;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-width: 0;
    }
    .header__img--mobile {
        display: block;
    }
    .header__img--dekstop {
        display: none;
    }

    .nav {
        margin-bottom: 0;
    }
    .nav__innerwrp {
        min-width: 100%;
        max-width: none;
        gap: 16px;
    }
    .nav__brand {
        margin-right: 16px;
        width: 50px;
        height: 40.98px;
    }
    .nav__logo {
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
    .nav__list {
        gap: 22px;
    }
    .nav__link {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .header__innerbox {
        margin-left: 210px;
        margin-bottom: 20px;
    }
    .header__text--middle {
        margin-bottom: 100px;
    }
}

@media (max-width: 840px) {
    .site-footer__top {
        grid-template-columns: 1fr;
    }
    .detail-page__grid {
        grid-template-columns: 1fr;
    }
    .detail-page__media {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .faq__title {
        margin-bottom: 24px;
    }
    .faq__list {
        gap: 12px;
    }
    .faq__item {
        border-width: 1px;
        border-radius: 0;
        padding-bottom: 12px;
    }
    .faq__header {
        padding: 0 16px;
    }
    .faq__icon {
        font-size: 22px;
    }
    .faq__answer {
        line-height: 150%;
        padding: 12px 16px 0;
    }

    .footer__list {
        padding: 32px 0;
    }
}

@media (max-width: 600px) {
    /* Header: картинка в потоке (натуральный размер), текст-заголовок поверх неё */
    .header__box {
        position: relative;
        display: block;
    }
    .header__img {
        position: relative !important;
        top: auto !important;
        left: -14.14vw !important;
        width: 193.91vw;
        max-width: none;
        height: auto;
        aspect-ratio: 620.52 / 259.52;
        z-index: 1;
        margin: 0;
        min-width: 0;
        border-bottom: 1px solid #95AABE;
        object-fit: cover;
        object-position: center;
    }
    .header__innerbox {
        position: absolute !important;
        top: 24px;
        left: 0 !important;
        right: 0 !important;
        z-index: 2;
        margin: 0 !important;
        padding: 0 8px 0 0 !important;
        max-width: none;
        text-align: left;
        display: block;
        min-height: 0;
    }
    .header__text--bold {
        font-size: 23px;
        line-height: 130%;
        margin-left: 38%;
        white-space: nowrap;
    }
    .header__text--middle {
        font-size: 25px;
        line-height: 130%;
        margin-left: 46%;
        margin-top: 6px;
        white-space: nowrap;
    }
    .header__text--low {
        display: none;
    }
    .header__text--lowmobile {
        font-size: 14px;
        line-height: 140%;
        margin-top: 24px;
        padding: 0 20px;
        font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    }
    .header {
        min-height: 0;
        padding-bottom: 24px;
        overflow: hidden;
    }

    .book {
        padding: 24px 0;
    }
    .book__title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    .book__list {
        margin-left: 0;
        padding-left: 12px;
    }
    .book__item {
        max-width: 100%;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 40px 0;
    }
    .faq__title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .faq__header {
        padding: 0 12px;
    }
    .faq__question {
        font-size: 16px;
    }
    .faq__answer {
        font-size: 14px;
        padding: 10px 12px 0;
    }
}

@media (max-width: 400px) {
    .nav__innerwrp {
        gap: 8px;
    }
    .nav__brand {
        margin-right: 8px;
        width: 50px;
        height: 40.98px;
    }
    .nav__list {
        gap: 12px;
    }
    .nav__link {
        font-size: 11px;
    }
    .container {
        padding: 0 14px;
    }
}






/* ======================================================================
   KNIGA — страница книги (book detail), v3
   Шрифты, цвета и фон — единые с главной.
   ====================================================================== */

.landing-page--book {
    background-color: #FCFCF0;
}
.landing-page--book > .site-header,
.landing-page--book > .site-footer {
    display: none;
}
.landing-page--book > .site-main {
    padding: 0;
}

.kniga {
    background-image: url("../images/backgroundbig.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-color: #FCFCF0;
    color: #341400;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.kniga__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ===== Header ===== */
.kniga__header {
    background-color: transparent;
}

.kniga__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 64px);
    padding: 14px 0;
    flex-wrap: wrap;
}

.kniga__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #341400;
    transition: opacity 180ms ease;
}

.kniga__brand:hover,
.kniga__brand:focus-visible {
    opacity: 0.8;
}

.kniga__logo {
    display: block;
    width: 70px;
    height: auto;
}

.kniga__nav-link {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    color: #341400;
    font-size: clamp(11px, 2vw, 18px);
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: opacity 180ms ease;
}

.kniga__nav-link:hover,
.kniga__nav-link:focus-visible {
    opacity: 0.72;
}

.kniga__nav-divider {
    height: 1px;
    background-color: #95AABE;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Hero ===== */
.kniga__hero {
    background-color: transparent;
    position: relative;
}

.kniga__hero-inner {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    padding-top: clamp(20px, 5vw, 48px);
    padding-bottom: clamp(20px, 5vw, 48px);
}

.kniga__media {
    flex: 0 0 480px;
    max-width: 480px;
}

.kniga__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.kniga__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.kniga__thumb {
    flex: 1;
    height: clamp(50px, 10vw, 75px);
    object-fit: cover;
    display: block;
    min-width: 0;
}

.kniga__thumb--narrow {
    flex: 0 0 clamp(22px, 4vw, 33px);
    width: clamp(22px, 4vw, 33px);
    object-position: left;
}

.kniga__content {
    flex: 1;
    padding-top: clamp(0px, 1vw, 16px);
    min-width: 0;
}

.kniga__title {
    margin: 0 0 24px;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 140%;
    color: #341400;
}

.kniga__title--mobile {
    display: none;
}

.kniga__copy {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #341400;
    line-height: 140%;
    margin-bottom: 24px;
}

.kniga__copy p {
    margin: 0;
}
.kniga__copy p + p {
    margin-top: 16px;
}

.kniga__price {
    font-family: "BookSerif", Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    color: #341400;
    margin: 0 0 16px;
    line-height: 1;
}

.kniga__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #95AABE;
    border-radius: 20px;
    padding: 8px 20px;
    background-color: transparent;
    font-family: "BookSerif", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    color: #341400;
    cursor: pointer;
    transition: opacity 180ms ease;
    line-height: 1;
}

.kniga__btn:hover,
.kniga__btn:focus-visible {
    opacity: 0.78;
}

/* ===== FAQ ===== */
.kniga__faq {
    background-color: transparent;
}

.kniga__faq .kniga__container {
    padding-top: clamp(32px, 6vw, 64px);
    padding-bottom: clamp(32px, 6vw, 64px);
}

.kniga__section-title {
    font-family: "Comic-Relief", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    color: #341400;
    margin: 0 0 40px;
}

.kniga__faq-list {
    border-top: 1px solid #95AABE;
}

.kniga__faq-item {
    border-bottom: 1px solid #95AABE;
    padding-bottom: 20px;
}

.kniga__faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    color: #341400;
}

.kniga__faq-q {
    font-family: "BookSerif", Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    color: #341400;
}

.kniga__faq-icon {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: #341400;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    display: inline-block;
}

.kniga__faq-item.active .kniga__faq-icon {
    transform: rotate(45deg);
}

.kniga__faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 380ms ease;
}

.kniga__faq-content > * {
    overflow: hidden;
    min-height: 0;
}

.kniga__faq-item.active .kniga__faq-content {
    grid-template-rows: 1fr;
}

.kniga__faq-a {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #341400;
    line-height: 150%;
    padding: 14px 24px 0;
}

.kniga__faq-a p {
    margin: 0;
}
.kniga__faq-a p + p {
    margin-top: 8px;
}
.kniga__faq-a ol,
.kniga__faq-a ul {
    margin: 0;
    padding-left: 20px;
}
.kniga__faq-a ol { list-style-type: decimal; }
.kniga__faq-a ul { list-style-type: disc; }
.kniga__faq-a li + li { margin-top: 4px; }

/* ===== Reviews ===== */
.kniga__reviews {
    background-color: transparent;
}

.kniga__reviews .kniga__container {
    padding-top: clamp(24px, 5vw, 64px);
    padding-bottom: clamp(24px, 5vw, 64px);
}

.kniga__reviews-list {
    border-top: 1px solid #95AABE;
}

.kniga__review {
    padding: 24px 8px;
    border-bottom: 1px solid #95AABE;
}

.kniga__review-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
}

.kniga__review-text {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #341400;
    line-height: 150%;
    flex: 1;
    margin: 0;
}

.kniga__review-date {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #341400;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 150%;
}

.kniga__stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.kniga__star {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}

.kniga__star--filled {
    fill: #F4DC70;
    stroke: #E0CB6D;
    stroke-width: 0.6;
}

.kniga__star--empty {
    fill: none;
    stroke: #E0CB6D;
    stroke-width: 1.2;
}

.kniga__review-name {
    font-family: "BookSerif", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #341400;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.2;
}

.kniga__reviews-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* ===== Footer ===== */
.kniga__footer {
    background-color: #E9F1E2;
}

.kniga__footer .kniga__container {
    padding-top: clamp(24px, 5vw, 48px);
    padding-bottom: clamp(24px, 5vw, 48px);
}

.kniga__footer-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
}

.kniga__footer-col {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #341400;
    line-height: 140%;
}

.kniga__footer-col p {
    margin: 0;
}

@media (min-width: 769px) {
    .kniga__footer-col--center {
        text-align: center;
    }
}

.kniga__footer-spacer {
    margin-top: 12px !important;
}

.kniga__footer-col--legal {
    line-height: 1.8;
    display: flex;
    flex-direction: column;
}

.kniga__footer-link {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #341400;
    text-decoration: none;
    transition: opacity 180ms ease;
    line-height: 140%;
}

.kniga__footer-link:hover,
.kniga__footer-link:focus-visible {
    opacity: 0.72;
    text-decoration: underline;
}

.kniga__footer-bottom {
    margin-top: 32px;
    padding-top: 12px;
    border-top: 1px solid #95AABE;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #341400;
    line-height: 1.4;
}

/* ===== Mobile ===== */
@media (max-width: 992px) {
    .kniga__title {
        font-size: 36px;
    }
    .kniga__copy {
        font-size: 18px;
    }
    .kniga__faq-q {
        font-size: 20px;
    }
    .kniga__section-title {
        font-size: 30px;
        margin-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .kniga__hero-inner {
        flex-direction: column;
        gap: 24px;
    }
    .kniga__media {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
    .kniga__title--desktop {
        display: none;
    }
    .kniga__title--mobile {
        display: block;
        font-size: 22px;
        margin: 0 0 16px;
        line-height: 140%;
    }
    .kniga__nav {
        gap: 16px;
        padding: 10px 0;
    }
    .kniga__logo {
        width: 50px;
    }
    .kniga__faq-q {
        font-size: 18px;
    }
    .kniga__section-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    .kniga__review-row {
        flex-direction: column;
        gap: 6px;
    }
    .kniga__review-date {
        align-self: flex-start;
    }
    .kniga__footer-grid {
        flex-direction: column;
        gap: 20px;
    }
    .kniga__faq-header {
        padding: 14px 16px;
    }
    .kniga__faq-a {
        padding: 12px 16px 0;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .kniga__container {
        padding: 0 16px;
    }
    .kniga__nav {
        gap: 12px;
    }
    .kniga__nav-link {
        font-size: 11px;
    }
    .kniga__logo {
        width: 44px;
    }
    .kniga__star {
        width: 18px;
        height: 18px;
    }
    .kniga__faq-q {
        font-size: 16px;
    }
    .kniga__section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}
