* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: transparent;
    outline: none;
    border: none;
    font-family: 'Onest', ui-sans-serif, system-ui, sans-serif;
    text-decoration: none;
    color: unset;
    border-radius: 0;
}

body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100svh;
    justify-content: space-between;
    /* Базовый фон всех страниц — F5F5F5; главная переопределяет на белый в home.css. */
    background: var(--Surface-Muted, #F5F5F5);
}

main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 0 0;
}

.block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-content {
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

:root {
    --Text-Primary: #1E2433;
    --Brand-Secondary: #454452;
    --Base-White: #FFF;
    --Gray-50: #F4F4F4;
    --Gray-200: #ABABB1;
    --Gray-400: #565563;
    --Brand-Primary: #D5A944;
    --Brand-Primary-dark: #8C6817;
    --Brand-Primary-600: #CB9F3A;
    --Brand-Secondary-600: #31303E;
    --Border-Light: #DBDBDB;
    --Border-Divider: #E0E0E0;
    --Gray-900: #212529;
    --Gray-175: #D9D9D9;
    --Gray-80: #EFEFEF;
    --Gray-800: #272727;
    --Slate-500: #4D5A70;
    --Surface-Muted: #F5F5F5;
    --Text-Secondary: #8B8B8B;
    --Brand-Primary-light: #D4B46B;
    --Brand-Primary-muted: #B89A54;
    --Surface-White: #FFF;
    --Surface-Dark: #33333A;
    --Surface-Popup: #FDFDFD;
    --Body-Background: linear-gradient(0deg, #F5F5F5 0%, #F5F5F5 100%), #FFF;
    --Gray-100: #EEE;
    --Gray-150: #E4E4E4;
    --Gray-300: #8E929D;
    --Beige-100: #F4F2ED;
    --Beige-200: #B9B2A1;
    --Overlay-Selected: rgba(213, 169, 68, 0.6);
    --Overlay-Hover: rgba(213, 169, 68, 0.4);
    --Overlay-Modal: rgba(0, 0, 0, 0.3);
    --Tag-Blue-bg: #E0F0FF;
    --Tag-Blue-text: #30425B;
    --Tag-Yellow-bg: #FEF9C3;
    --Tag-Yellow-text: #854D0E;
    --Tag-Green-bg: #E6FCDC;
    --Tag-Green-text: #236516;
    --Gradient-Gold: linear-gradient(97deg, #D9B059 0%, #B38F41 100%);
    --Gradient-Green: linear-gradient(97deg, #45BF4F 0%, #1A591F 100%);



    --font-nav-item: 14px;
    --font-feature-title: 16px;
    --font-section-title: 30px;
    --font-choose-label: 24px;
    --font-choose-big: 44px;
    --font-service-title: 24px;
    --font-service-body: 18px;
    --font-cta-arch-title: 42px;
    --font-cta-arch-sub: 20px;
    --font-about-body: 18px;
    --font-step-body: 16px;
    --font-step-number: 44px;
    --font-step-title: 20px;
    --font-cta-title: 34px;
    --font-cta-subtitle: 18px;
    --hero-title: 22px;
    --font-house-title: 26px;
    --font-hero-h1: 45px;
    --font-popup-title: 34px;
    --font-popup-title-sm: 28px;
    --font-camera-title: 16px;
}

@media (max-width: 1439px) {
    :root {
        --font-nav-item: 12px;
        --font-feature-title: 14px;
        --font-section-title: 26px;
        --font-service-title: 20px;
        --font-service-body: 14px;
        --font-cta-arch-title: 36px;
        --font-cta-arch-sub: 16px;
        --font-step-body: 14px;
        --font-step-number: 34px;
        --font-step-title: 18px;
        --font-cta-title: 26px;
        --font-cta-subtitle: 16px;
        --font-house-title: 22px;
        --font-hero-h1: 34px;
        --font-camera-title: 14px;
    }
}
@media (max-width: 989px) {
    :root {
        --font-feature-title: 14px;
        --font-section-title: 26px;
        --font-choose-label: 20px;
        --font-choose-big: 38px;
        --font-service-title: 14px;
        --font-cta-arch-title: 30px;
        --font-about-body: 16px;
        --font-step-body: 16px;
        --font-step-number: 44px;
        --font-step-title: 20px;
        --font-cta-title: 26px;
        --hero-title: 26px;
        --font-hero-h1: 26px;
        --font-popup-title: 28px;
        --font-camera-title: 12px;
    }
}

ul {
    list-style: none;
}

.menu-title {
    color: var(--Text-Primary, #1E2433);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 20px */
    text-transform: uppercase;
}

.text-body {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 1439px) {
    .text-body {
        font-size: 14px;
    }
}

.body-m,
.body-m * {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.body-s {
    color: var(--Text-Primary, #1E2433);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.label-m {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 100% */
}

.font-nav-item {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-nav-item, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 14px */
    white-space: nowrap;
}

.font-feature-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-feature-title, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
}

.font-section-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-section-title, 30px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 30px */
}

.font-choose-label {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-choose-label, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 24px */
}

.font-choose-big {
    color: var(--Brand-Primary-light, #D4B46B);
    font-size: var(--font-choose-big, 44px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.catalog-caption {
    color: var(--Text-Primary, #1E2433);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 120% */
}

.font-service-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-service-title, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 24px */
}

.font-section-body {
    color: var(--Text-Secondary, #8B8B8B);
    font-size: var(--font-service-body, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
}

.font-cta-arch-title {
    color: var(--Base-White, #FFF);
    font-size: var(--font-cta-arch-title, 42px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 42px */
}

.font-cta-arch-sub {
    color: var(--Base-White, #FFF);
    font-size: var(--font-cta-arch-sub, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 20px */
}

.card-name {
    color: var(--Base-White, #FFF);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 14px */
    text-transform: uppercase;
}

.card-role {
    color: var(--Base-White, #FFF);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 14.4px */
}

.font-about-body {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-about-body, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
}

.font-step-body {
    color: var(--Text-Secondary, #8B8B8B);
    font-size: var(--font-step-body, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
}

.font-step-number {
    color: var(--Brand-Primary, #D5A944);
    font-size: var(--font-step-number, 44px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 44px */
}

.font-step-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-step-title, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 20px */
}

.font-cta-title {
    color: var(--Base-White, #FFF);
    font-size: var(--font-cta-title, 34px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 34px */
}

.font-cta-subtitle {
    color: var(--Base-White, #FFF);
    font-size: var(--font-cta-subtitle, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* правка по фидбеку: было 100% */
}

.dark-input {
    width: 100%;
    padding: 12px 0;
    height: 44px;
    border-radius: 4px;
    border-bottom: 1px solid var(--Base-White, #FFF);
    color: var(--Base-White, #FFF);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
}

.dark-input::placeholder {
    color: var(--Base-White, #FFF);
}

.caption {
    color: var(--Base-White, #FFF);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 13.2px */
}
.caption[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.font-popup-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-popup-title, 34px);
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    text-transform: uppercase;
}

.footer-heading {
    color: var(--Base-White, #FFF);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 19.6px */
    text-transform: uppercase;
}

.footer-heading[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.footer-text {
    color: var(--Gray-200, #ABABB1);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}

.footer-contact {
    color: var(--Base-White, #FFF);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 22px */
}

.footer-note {
    color: var(--Brand-Primary, #D5A944);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 14px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    cursor: pointer;
}

[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.hero-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--hero-title, 22px);
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 109.091% */
}

.hero-overlay {
    color: var(--Base-White, #FFF);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

button {
    cursor: pointer;
}

.font-house-subtitle {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-step-body, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    opacity: 0.7;
}

.font-house-title {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-house-title, 26px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 26px */
}

/* ---- Figma FOUNDATIONS/Typography — доп. стили ---- */

.font-hero-h1 {
    color: var(--Text-Primary, #1E2433);
    font-size: var(--font-hero-h1, 45px);
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.font-spec-number {
    color: var(--Text-Primary, #1E2433);
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

@media (max-width: 989px) {
    .font-spec-number {
        font-size: 28px;
    }
}

.font-result-value {
    color: var(--Brand-Primary-muted, #B89A54);
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

@media (max-width: 989px) {
    .font-result-value {
        font-size: 26px;
    }
}

.font-result-label {
    color: var(--Text-Primary, #1E2433);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

@media (max-width: 989px) {
    .font-result-label {
        font-size: 12px;
    }
}

.font-tab-label {
    color: var(--Text-Primary, #1E2433);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.font-header-phone {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.font-header-city {
    color: var(--Text-Primary, #1E2433);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.font-logo-description {
    color: var(--Text-Primary, #1E2433);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    text-transform: uppercase;
}

.font-bottom-nav-label {
    color: var(--Text-Primary, #1E2433);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.font-input-text {
    color: var(--Text-Primary, #1E2433);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.font-accordion-tab {
    color: var(--Text-Primary, #1E2433);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
}

.font-badge {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.font-bottom-sheet-title {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.label-s {
    color: var(--Text-Primary, #1E2433);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.font-pagination-number {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.body-medium {
    color: var(--Text-Primary, #1E2433);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.body-intro {
    color: var(--Text-Primary, #1E2433);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}

.font-heading-block {
    color: var(--Text-Primary, #1E2433);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}
