/* ===== Variables ===== */
:root {
    --color-white: #ffffff;
    --color-bg: #f6f7f1;
    --color-primary: #565e3b;
    --color-primary-soft: rgba(86, 94, 59, 0.09);
    --color-primary-20: rgba(86, 94, 59, 0.2);
    --color-primary-25: rgba(86, 94, 59, 0.25);
    --color-primary-30: rgba(86, 94, 59, 0.3);
    --color-primary-43: rgba(86, 94, 59, 0.43);
    --color-primary-50: rgba(86, 94, 59, 0.5);
    --color-text: #0e0e0e;
    --color-text-70: rgba(14, 14, 14, 0.7);
    --color-muted: #6c6c6c;
    --color-online: #37cd00;
    --color-gold: rgba(255, 200, 0, 0.5);
    --font: "Manrope", system-ui, sans-serif;
    --container: 1440px;
    --radius: 4px;
    --shadow-form: 4px 4px 4px 0 rgba(86, 94, 59, 0.25);
    --shadow-card: 2px 2px 4px 0 rgba(86, 94, 59, 0.14);
    --shadow-platform: 4px 4px 4px 0 rgba(86, 94, 59, 0.15);
    --header-h: 72px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, p {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background: #46502f;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    backdrop-filter: blur(5px);
}

.btn--ghost:hover {
    background: var(--color-primary-soft);
}

.btn--block {
    width: 100%;
}

/* ===== Logo ===== */
.logo {
    display: grid;
    grid-template-columns: 45px auto;
    grid-template-rows: auto auto;
    column-gap: 4px;
    align-items: center;
    width: max-content;
}

.logo__img {
    grid-row: 1 / 3;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo__text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    color: #000;
}

.logo__caption {
    grid-column: 2;
    font-size: 8px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 0.5px solid transparent;
    transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}

.header.is-solid {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--color-primary-25);
    box-shadow: 0 1px 0 rgba(86, 94, 59, 0.08);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
    padding-top: 13px;
    padding-bottom: 13px;
}

.header__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__link {
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

.header__link:hover {
    color: var(--color-primary);
}

.header__phone {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    min-width: 120px;
}

.header__phone-number {
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.header__phone-note {
    font-size: 10px;
    text-transform: uppercase;
}

.header__burger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    transition: transform 0.25s, opacity 0.25s;
}

.header__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.header__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Section commons ===== */
.section {
    padding: 64px 0;
}

.section--muted {
    background: var(--color-bg);
    border-top: 0.5px solid var(--color-primary-30);
    border-bottom: 0.5px solid var(--color-primary-30);
}

.section__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.section__header--center {
    align-items: center;
    text-align: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.section__eyebrow {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.section__eyebrow--left {
    text-align: left;
}

.section__eyebrow--left-style {
    text-transform: none;
    font-weight: 500;
}

.section__ornament {
    position: relative;
    width: max-content;
    height: 16px;
    padding: 0 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23565E3B' d='M8 0l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.section__ornament--left {
    margin-right: auto;
}

.section__ornament::before,
.section__ornament::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35px;
    height: 0.5px;
    background: var(--color-primary);
}

.section__ornament::before {
    left: 0;
}

.section__ornament::after {
    right: 0;
}

.section__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

.section__title--left {
    text-align: left;
}

.section__subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    max-width: 860px;
}

/* ===== Hero ===== */
.hero {
    --hero-img-ratio: 2048 / 1053;
    position: relative;
    margin-top: calc(-1 * var(--header-h));
    padding-top: var(--header-h);
    overflow: hidden;
    background: var(--color-bg);
    aspect-ratio: var(--hero-img-ratio);
    min-height: 0;
    width: 100%;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(246, 247, 241, 1) 10%,
            rgba(246, 247, 241, 0.82) 25%,
            rgba(246, 247, 241, 0) 69%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 381px;
    gap: clamp(32px, 4vw, 64px);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 32px;
    padding-bottom: 48px;
    min-height: calc(100% - 0px);
    height: 100%;
    box-sizing: border-box;
}

.hero__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 720px;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-primary);
}

.hero__star {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    flex-shrink: 0;
}

.hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

.hero__title-accent {
    color: var(--color-primary);
}

.hero__text {
    font-size: 14px;
    font-weight: 500;
}

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

.hero__features {
    display: flex;
    gap: 24px;
    padding-top: 8px;
    border-top: 0.5px solid var(--color-primary-50);
    margin-top: 6px;
}

.hero__feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 200px;
}

.hero__feature-value {
    font-size: 24px;
    font-weight: 800;
}

.hero__feature-text {
    font-size: 12px;
    font-weight: 500;
}

/* ===== Form ===== */
.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 381px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 0.5px solid var(--color-primary);
    border-radius: 6px;
    backdrop-filter: blur(2.5px);
}

.form--consult {
    background: var(--color-white);
    box-shadow: var(--shadow-form);
    max-width: 381px;
}

.form__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    padding: 10px;
    border-radius: 50px;
    background: var(--color-primary-soft);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary);
}

.form__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-online);
    flex-shrink: 0;
}

.form__title {
    font-size: 20px;
    font-weight: 600;
}

.form__subtitle {
    font-size: 12px;
    margin-top: -8px;
}

.form__field {
    display: block;
}

.form__input,
.form__select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 2px;
    background: var(--color-white);
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.form__input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form__input:focus,
.form__select:focus {
    border-color: var(--color-primary);
}

.form__select {
    border-color: var(--color-primary);
    border-width: 0.5px;
    color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23565E3B' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 36px;
}

.form__consent {
    display: flex;
    gap: 4px;
    align-items: flex-start;
    font-size: 8px;
    line-height: 1.35;
}

.form__checkbox {
    width: 11px;
    height: 11px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.form__consent-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    height: 34px;
    border: 0.5px solid var(--color-primary-50);
    border-radius: 25px;
    font-size: 10px;
    font-weight: 600;
    transition: background 0.2s;
}

.messenger:hover {
    background: var(--color-primary-soft);
}

/* ===== Stats ===== */
.stats {
    position: relative;
    border-bottom: 0.5px solid var(--color-primary);
    padding: 24px 0;
    overflow: hidden;
    background: var(--color-bg);
}

.stats__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-bg) url("../assets/images/stats-bg.png") center / cover no-repeat;
    pointer-events: none;
}

.stats__inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    flex: 1 1 0;
    min-width: 160px;
}

.stats__value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.stats__label {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Services ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-primary-20);
    border-radius: 2px;
    box-shadow: var(--shadow-card);
    min-height: 242px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 2px 4px 8px 0 rgba(86, 94, 59, 0.2);
    transform: translateY(-2px);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: none;
    align-self: stretch;
}

.service-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.service-card__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.45;
}

.service-card__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag {
    display: inline-flex;
    padding: 2px 4px;
    border-radius: 2px;
    background: rgba(86, 94, 59, 0.1);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

.service-card__link:hover {
    color: var(--color-primary);
}

/* ===== Director ===== */
.director {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.director__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-bg) url("../assets/images/director-bg.png") center / cover no-repeat;
    pointer-events: none;
}

.director__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 445px 1fr;
    gap: 48px;
    align-items: center;
}

.director__photo {
    filter: grayscale(0.3);
    width: 100%;
    max-width: 445px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-primary-43);
    justify-self: center;
}

.director__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 659px;
}

.director__accent {
    color: var(--color-primary);
}

.director__text {
    font-size: 14px;
    font-weight: 300;
}

.director__sign {
    padding-top: 16px;
    border-top: 0.5px solid var(--color-primary-50);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.director__name {
    font-size: 20px;
    font-weight: 800;
}

.director__role {
    font-size: 12px;
    font-weight: 300;
}

/* ===== Results ===== */
.results__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 0.5px solid var(--color-primary);
    border-radius: var(--radius);
    min-height: 160px;
}

.result-card__amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.result-card__amount span {
    color: var(--color-text);
}

.result-card__title {
    font-size: 14px;
    font-weight: 700;
}

.result-card__text {
    font-size: 12px;
    font-weight: 400;
}

/* ===== Unique ===== */
.unique__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.unique__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 477px;
}

.unique__text {
    font-size: 14px;
    font-weight: 500;
}

.unique__box {
    padding: 32px 24px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
}

.unique__box-title {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.unique__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unique__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.unique__check {
    flex-shrink: 0;
    margin-top: 1px;
}

/* ===== Guarantees ===== */
.guarantees__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.guarantee-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-primary-20);
    border-radius: 2px;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.guarantee-card__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.guarantee-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
    max-width: none;
}

.guarantee-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.guarantee-card__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.45;
}

/* ===== Reviews ===== */
.reviews {
    position: relative;
}

.reviews__pride {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.reviews__platforms-wrap {
    position: relative;
    margin-bottom: 48px;
    padding-right: 0;
}

.reviews__platforms {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    min-height: 275px;
    padding: 24px 20px;
    background: var(--color-bg);
    border: 0.5px solid var(--color-primary-50);
    border-top-width: 3px;
    border-top-color: transparent;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: none;
    transition: border-top-color 0.2s, box-shadow 0.2s;
}

.platform-card:hover {
    border-top-color: var(--color-primary);
    box-shadow: var(--shadow-platform);
}

.platform-card__logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.platform-card__logo--yandex {
    width: 38px;
    height: 38px;
}

.platform-card__name {
    font-size: 14px;
    font-weight: 600;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 0;
}

.stars span {
    display: block;
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    background: url("../assets/images/star.svg") center / contain no-repeat;
}

.platform-card__score {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.platform-card__score small {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.platform-card__count {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 15px;
    background: var(--color-gold);
    font-size: 14px;
    font-weight: 600;
}

.reviews__quality {
    position: absolute;
    top: -120px;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: max-content;
    margin: 0;
    pointer-events: none;
}

.reviews__badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #8b995e 0%, #565e3b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--color-bg);
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-white), 0 0 0 5px var(--color-primary);
}

.reviews__badge-stars {
    font-size: 8px;
    letter-spacing: 1px;
    color: #fff;
}

.reviews__badge-title {
    font-size: 12px;
    font-weight: 800;
}

.reviews__badge-sub {
    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
}

.reviews__quality-label {
    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.04em;
}

.reviews__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 24px;
    background: var(--color-bg);
    border: 0.5px solid var(--color-primary-50);
    border-radius: var(--radius);
}

.review-card__quote {
    width: 22px;
    height: 22px;
}

.review-card__text {
    font-size: 14px;
    font-weight: 300;
    flex: 1;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
    flex-shrink: 0;
}

.review-card__name {
    font-size: 14px;
    font-weight: 500;
}

.review-card__case {
    font-size: 10px;
    font-weight: 300;
}

.reviews__note {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.reviews__note strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ===== Consult ===== */
.consult__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

.consult__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 720px;
}

.consult__text {
    font-size: 14px;
    font-weight: 500;
}

.consult__phone-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consult__phone-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.consult__phone {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
}

.consult__address {
    font-size: 12px;
    font-weight: 500;
}

/* ===== FAQ ===== */
.faq__inner {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.faq__content .section__header {
    align-items: center;
    text-align: center;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 520px;
}

.faq__item {
    background: var(--color-bg);
    border: 0.5px solid var(--color-primary-50);
    border-radius: var(--radius);
    padding: 12px 24px;
}

.faq__item[open] {
    border-color: var(--color-primary-50);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    padding: 4px 0;
}

.faq__item[open] .faq__question {
    color: var(--color-primary);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    transition: transform 0.25s;
}

.faq__icon::before {
    width: 14px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq__icon::after {
    width: 1.5px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq__item[open] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq__answer {
    padding: 8px 0 4px;
    font-size: 14px;
    font-weight: 300;
    color: var(--color-primary);
    max-width: none;
}

.faq__image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 560px;
    border-radius: var(--radius);
    object-fit: cover;
    margin-top: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg);
    box-shadow: inset 0 4px 4px 0 rgba(86, 94, 59, 0.15), inset 0 -4px 4px 0 rgba(86, 94, 59, 0.15);
    padding: 44px 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 44px;
    margin-bottom: 44px;
}

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

.footer__about {
    font-size: 14px;
    color: var(--color-text);
}

.footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr 240px;
    gap: 40px;
    align-items: start;
}

.footer__col--nav {
    text-align: center;
    justify-self: center;
}

.footer__heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer__heading--spaced {
    margin-top: 24px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__col--nav .footer__list {
    align-items: center;
}

.footer__list a {
    font-size: 14px;
    transition: color 0.2s;
}

.footer__list a:hover {
    color: var(--color-primary);
}

.footer__phone {
    display: block;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer__address,
.footer__work {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.footer__seo {
    padding: 16px 0;
    border-top: 0.5px solid var(--color-primary-50);
    border-bottom: 0.5px solid var(--color-primary-50);
    margin-bottom: 16px;
}

.footer__seo p {
    font-size: 12px;
    font-weight: 300;
    color: var(--color-text-70);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 300;
    color: var(--color-text-70);
}

.footer__bottom a {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.footer__bottom a:hover {
    color: var(--color-primary);
}

.footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.footer__bottom-links button {
    padding: 0;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.footer__bottom-links button:hover {
    color: var(--color-primary);
}

.footer__requisites {
    margin-bottom: 16px;
    padding: 16px 0;
    border-top: 0.5px solid var(--color-primary-50);
}

.footer__requisites-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer__requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 32px;
    font-size: 12px;
    font-weight: 300;
    color: var(--color-text-70);
}

.footer__requisites-grid dt {
    margin: 0;
    color: var(--color-muted);
}

.footer__requisites-grid dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 400;
}

.footer__requisites-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
    align-items: baseline;
}

/* ===== Cookie consent ===== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 300;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-primary-20);
    border-radius: var(--radius);
    box-shadow: var(--shadow-form);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-banner__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-banner__text {
    font-size: 13px;
    line-height: 1.45;
    color: var(--color-text-70);
    margin-bottom: 16px;
}

.cookie-banner__text a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-banner__actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
}

.btn--secondary {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border: 1px solid var(--color-primary-25);
}

.btn--secondary:hover {
    background: var(--color-primary-20);
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(14, 14, 14, 0.45);
}

.cookie-modal__dialog {
    width: 100%;
    max-width: 560px;
    max-height: min(90vh, 720px);
    overflow: auto;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-form);
    padding: 24px;
}

.cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.cookie-modal__title {
    font-size: 18px;
    font-weight: 700;
}

.cookie-modal__close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    color: var(--color-muted);
    font-size: 22px;
    line-height: 1;
}

.cookie-modal__close:hover {
    background: var(--color-primary-soft);
    color: var(--color-text);
}

.cookie-modal__text {
    font-size: 13px;
    color: var(--color-text-70);
    margin-bottom: 16px;
}

.cookie-modal__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cookie-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-primary-20);
    border-radius: var(--radius);
}

.cookie-option__title {
    font-size: 14px;
    font-weight: 600;
}

.cookie-option__desc {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--color-text-70);
    line-height: 1.4;
}

.cookie-option__switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-option__switch input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.cookie-option__switch input:disabled {
    cursor: not-allowed;
}

.cookie-option__track {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #cfcfcf;
    transition: background 0.2s;
}

.cookie-option__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-white);
    transition: transform 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cookie-option__switch input:checked + .cookie-option__track {
    background: var(--color-primary);
}

.cookie-option__switch input:checked + .cookie-option__track::after {
    transform: translateX(20px);
}

.cookie-option__switch input:disabled + .cookie-option__track {
    opacity: 0.85;
}

.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-modal__actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
}

/* ===== Thanks modal ===== */
.thanks-modal {
    position: fixed;
    inset: 0;
    z-index: 330;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(14, 14, 14, 0.45);
}

.thanks-modal[hidden] {
    display: none !important;
}

.thanks-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 48px 40px 40px;
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(86, 94, 59, 0.18);
    text-align: center;
    animation: thanks-in 0.28s ease;
}

.thanks-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    color: var(--color-muted);
}

.thanks-modal__close:hover {
    background: var(--color-primary-soft);
    color: var(--color-text);
}

.thanks-modal__icon {
    display: flex;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.thanks-modal__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.thanks-modal__lead {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    max-width: 380px;
    margin: 0 auto 16px;
}

.thanks-modal__text,
.thanks-modal__hint {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 12px;
}

.thanks-modal__phone {
    display: inline-block;
    margin-top: 8px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
    letter-spacing: 0.01em;
}

.thanks-modal__phone:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@keyframes thanks-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 14px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 4px;
    box-shadow: var(--shadow-form);
    font-size: 14px;
    font-weight: 500;
    animation: toast-in 0.3s ease;
    max-width: min(520px, calc(100vw - 32px));
    text-align: center;
}

.toast--error {
    background: #8b3a3a;
}

.toast[hidden] {
    display: none;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ===== Policy page ===== */
.policy-page {
    padding: 32px 0 72px;
    background: var(--color-bg);
    border-top: 0.5px solid var(--color-primary-25);
}

.policy-page__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.policy-nav {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow: auto;
    padding: 18px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-primary-20);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.policy-nav__details {
    margin: 0;
}

.policy-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    cursor: default;
    pointer-events: none;
}

.policy-nav__toggle::-webkit-details-marker {
    display: none;
}

.policy-nav__toggle::after {
    content: none;
}

.policy-nav__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.policy-nav__link {
    display: block;
    padding: 6px 10px;
    border-radius: 2px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--color-text-70);
    border-left: 2px solid transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.policy-nav__link:hover {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.policy-nav__link.is-active {
    color: var(--color-primary);
    font-weight: 600;
    background: var(--color-primary-soft);
    border-left-color: var(--color-primary);
}

.policy-doc {
    padding: 32px 40px 40px;
    background: var(--color-white);
    border: 1px solid var(--color-primary-20);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.policy-doc__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.policy-doc__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.policy-doc__lead {
    font-size: 16px;
    line-height: 1.45;
    color: var(--color-text-70);
    margin-bottom: 8px;
}

.policy-doc__meta {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 0.5px solid var(--color-primary-20);
}

.policy-section {
    margin-bottom: 28px;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.policy-section__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.policy-doc p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.policy-doc a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-doc ul,
.policy-doc ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.policy-doc ul {
    list-style: disc;
}

.policy-doc ol {
    list-style: decimal;
}

.policy-doc li {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.6;
}

.policy-doc li ul {
    margin-top: 6px;
    margin-bottom: 0;
}

.policy-requisites {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 8px 16px;
    margin: 12px 0 16px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.policy-requisites dt {
    margin: 0;
    font-size: 14px;
    color: var(--color-muted);
}

.policy-requisites dd {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.policy-sign {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 0.5px solid var(--color-primary-20);
}

.policy-sign p {
    margin-bottom: 4px;
}

.policy-sign__name {
    font-weight: 700;
}

/* ===== Large screens: scale UI from ~1920 baseline ===== */
/* zoom keeps proportions (fonts, gaps, forms) so 2K/4K don't look tiny */
@media (min-width: 2000px) {
    html {
        zoom: 1.08;
    }
}

@media (min-width: 2200px) {
    html {
        zoom: 1.15;
    }
}

@media (min-width: 2400px) {
    html {
        zoom: 1.25;
    }
}

@media (min-width: 2560px) {
    html {
        zoom: 1.333;
    }
}

@media (min-width: 3000px) {
    html {
        zoom: 1.5;
    }
}

@media (min-width: 3840px) {
    html {
        zoom: 2;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .header__nav {
        display: none;
        transform: none;
    }

    .header__nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        transform: none;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-primary-30);
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-card);
    }

    .header__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .header__burger {
        display: flex;
    }

    .header__btn {
        display: none;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: auto;
        height: auto;
    }

    .hero {
        aspect-ratio: auto;
        min-height: auto;
    }

    .hero__img {
        object-fit: cover;
        object-position: center right;
    }

    .service-card {
        min-height: 0;
    }

    .service-card__body {
        max-width: none;
    }

    .hero__overlay {
        background: linear-gradient(
                180deg,
                rgba(246, 247, 241, 0.95) 0%,
                rgba(246, 247, 241, 0.85) 55%,
                rgba(246, 247, 241, 0.7) 100%
        );
    }

    .form--hero {
        max-width: 420px;
    }

    .services__grid,
    .guarantees__grid,
    .results__grid,
    .reviews__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews__platforms {
        flex-wrap: wrap;
        justify-content: center;
    }

    .platform-card {
        flex: 1 1 200px;
        max-width: 280px;
    }

    .reviews__quality {
        position: static;
        margin: 24px auto 0;
    }

    .guarantees__grid {
        gap: 24px;
    }

    .guarantee-card__body {
        max-width: none;
    }

    .director__inner,
    .unique__inner,
    .consult__inner,
    .faq__inner,
    .footer__top {
        grid-template-columns: 1fr;
    }

    .faq__list {
        max-width: none;
    }

    .faq__image {
        margin-top: 0;
        min-height: 280px;
        max-height: none;
        max-width: 640px;
        justify-self: center;
    }

    .director__photo {
        max-width: 320px;
    }

    .footer__cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .policy-page__layout {
        grid-template-columns: 1fr;
    }

    .policy-nav {
        position: sticky;
        top: var(--header-h);
        z-index: 40;
        max-height: none;
        overflow: visible;
        padding: 12px 16px;
    }

    .policy-nav__details[open] {
        max-height: min(42vh, 320px);
        overflow: auto;
    }

    .policy-nav__toggle {
        margin-bottom: 0;
        cursor: pointer;
        pointer-events: auto;
    }

    .policy-nav__toggle::after {
        content: "";
        width: 8px;
        height: 8px;
        flex-shrink: 0;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.2s;
    }

    .policy-nav__details[open] .policy-nav__toggle::after {
        transform: rotate(225deg);
        translate: 0 3px;
    }

    .policy-nav__details[open] .policy-nav__toggle {
        margin-bottom: 12px;
    }

    .policy-doc {
        padding: 24px 20px 28px;
    }

    .policy-doc__title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .section__title {
        font-size: 26px;
    }

    .header__phone {
        display: none;
    }

    .stats__inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats__item {
        min-width: 0;
    }

    .stats__value {
        font-size: 24px;
    }

    .services__grid,
    .guarantees__grid,
    .results__grid,
    .reviews__list,
    .footer__cols {
        grid-template-columns: 1fr;
    }

    .service-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .guarantee-card {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero__features {
        flex-direction: column;
        gap: 12px;
    }

    .form,
    .form--consult,
    .form--hero {
        max-width: none;
    }

    .consult__phone {
        font-size: 22px;
    }

    .platform-card {
        width: calc(50% - 12px);
        max-width: none;
        flex: 1 1 calc(50% - 12px);
        min-height: auto;
    }

    .reviews__platforms {
        flex-wrap: wrap;
        gap: 16px;
    }

    .reviews__quality {
        position: static;
        margin: 24px auto 0;
        transform: none;
    }

    .reviews__platforms-wrap {
        margin-bottom: 32px;
    }

    .unique__box {
        padding: 24px 16px;
    }

    .unique__item {
        font-size: 14px;
    }

    .faq__question {
        font-size: 16px;
    }

    .policy-requisites {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .policy-requisites dt {
        margin-top: 8px;
    }

    .policy-requisites dt:first-child {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .stats__inner {
        grid-template-columns: 1fr;
    }

    .platform-card {
        width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
    }

    .footer__requisites-grid {
        grid-template-columns: 1fr;
    }

    .footer__requisites-item {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }

    .cookie-banner__actions .btn,
    .cookie-modal__actions .btn {
        min-width: 100%;
    }

    .hero__title {
        font-size: 28px;
    }

    .thanks-modal__dialog {
        padding: 40px 20px 28px;
    }

    .thanks-modal__title {
        font-size: 26px;
    }

    .thanks-modal__lead {
        font-size: 16px;
    }

    .thanks-modal__text,
    .thanks-modal__hint {
        font-size: 14px;
    }

    .thanks-modal__phone {
        font-size: 24px;
    }
}
