/* =============================================
   AVORE — QUIET LUXURY STYLESHEET
   Логотип: Modern No. 20 (системный)
   ============================================= */

/* Modern No. 20 — подключается как системный шрифт */
@font-face {
    font-family: 'Modern No. 20';
    src: local('Modern No. 20'), local('Modern No.20'), local('ModernNo20');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Основная палитра: Теплый минимализм */
    --bg-body: #FCFAF8;
    --bg-surface: #FFFFFF;
    --bg-secondary: #F4F1EC;
    
    --text-primary: #1C1B1A;
    --text-secondary: #6E6A64;
    --text-muted: #A8A39C;
    
    --border-light: #EBE7E2;
    --border-medium: #D4CFC9;
    
    --accent-gold: #C6A87D;
    --accent-gold-light: #DFD1C0;
    --accent-gold-dark: #9A7B54;
    
    --font-logo: 'Modern No. 20', 'Cormorant Garamond', 'Times New Roman', serif;
    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 40px -15px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 40px 60px -20px rgba(0, 0, 0, 0.06);
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Кастомный скроллбар */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--text-muted); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-title {
    font-size: clamp(42px, 7vw, 72px);
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.1;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.3px;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header--left {
    text-align: left;
    margin-bottom: 48px;
}

.section-header__pre {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 500;
}

/* ===== HEADER ===== */
.header {
    padding: 28px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.header--scrolled {
    padding: 16px 0;
    background: rgba(252, 250, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== ЛОГОТИП (С ВОЗМОЖНОСТЬЮ СКРЫТИЯ) ===== */
.logo {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo:hover { opacity: 0.85; }

.logo--hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.logo__text {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 8px;
    font-family: var(--font-logo);
    line-height: 1;
}

.logo__badge {
    font-size: 9px;
    letter-spacing: 5px;
    color: var(--accent-gold);
    margin-top: 6px;
    font-weight: 400;
}

/* ===== НАВИГАЦИЯ ===== */
.nav__list {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.nav__link:hover {
    border-bottom-color: var(--accent-gold);
    color: var(--accent-gold-dark);
}

/* ===== БУРГЕР-МЕНЮ ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger__line {
    width: 28px;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.burger.active .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle at 70% 50%, rgba(198, 168, 125, 0.02) 0%, transparent 70%);
    z-index: -1;
    animation: slowFloat 20s infinite alternate ease-in-out;
}

.hero__decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-light) 50%, transparent 100%);
}

@keyframes slowFloat {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(1deg); }
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero__content {
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero__title {
    font-size: clamp(48px, 8vw, 80px);
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.05;
}

.hero__title-light {
    color: var(--text-secondary);
    font-weight: 300;
    font-style: italic;
}

.hero__features {
    list-style: none;
    margin-bottom: 48px;
    display: grid;
    gap: 16px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.hero__feature::before {
    content: "—";
    color: var(--accent-gold);
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 20px;
}

.hero__media {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s 0.4s forwards;
}

.hero__image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(28, 27, 26, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
    background: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
    z-index: -1;
}

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

.btn--primary:hover {
    background: transparent;
    color: var(--text-primary);
}

.btn--primary:hover::before {
    transform: scaleX(1);
}

.btn--outline {
    border-color: var(--border-medium);
    color: var(--text-primary);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: white;
}

.btn--outline::before {
    display: none;
}

.btn--light {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    background: var(--text-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

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

.btn__loader svg {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SOLUTION (С ФОНОВЫМ ИЗОБРАЖЕНИЕМ) ===== */
.solution {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.solution__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.solution__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.solution__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 250, 248, 0.85) 0%, rgba(252, 250, 248, 0.7) 100%);
}

.solution__container {
    position: relative;
    z-index: 2;
}

.solution__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.solution-card {
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: var(--accent-gold-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.solution-card__icon {
    margin-bottom: 32px;
    color: var(--accent-gold);
    opacity: 0.7;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.advantage-item {
    position: relative;
    padding-top: 24px;
    border-top: 1px solid var(--border-medium);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-item__num {
    font-size: 56px;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    opacity: 0.5;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.advantage-item h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
}

.cta__inner {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F7F4 100%);
    padding: 72px 72px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.cta__inner::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(198, 168, 125, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta__content {
    position: relative;
    z-index: 2;
}

.cta__title {
    font-size: clamp(36px, 5vw, 56px);
    font-family: var(--font-serif);
    margin-bottom: 20px;
}

.cta__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta__trust {
    position: relative;
    z-index: 2;
    text-align: right;
}

.cta__trust-number {
    display: block;
    font-size: 64px;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.cta__trust-text {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ===== CATALOG ===== */
.catalog {
    padding: 120px 0;
}

/* Фильтры каталога */
.catalog__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.catalog__filter-btn {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
}

.catalog__filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.catalog__filter-btn.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: white;
}

/* Сетка каталога */
.catalog__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
}

.product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, display 0.2s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card__link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Фото в карточке каталога */
.product-card__photo {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    margin-bottom: 24px;
}

.product-card:hover .product-card__photo {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

.product-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(28, 27, 26, 0.03) 100%);
    pointer-events: none;
}

.product-card__title {
    font-size: 28px;
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 8px;
}

.product-card__desc {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 14px;
}

.product-card__price {
    font-size: 18px;
    color: var(--accent-gold-dark);
    margin-bottom: 16px;
    font-weight: 400;
}

.product-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.product-card:hover .product-card__arrow {
    gap: 16px;
    color: var(--accent-gold-dark);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-detail__placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, #EAE5DF 0%, #DCD6D0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.product-detail__placeholder-text {
    font-family: var(--font-serif);
    font-size: 42px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 10px;
}

.product-detail__placeholder-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
}

.product-detail__category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: block;
}

.product-detail__title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.1;
}

.product-detail__price {
    font-size: 28px;
    color: var(--accent-gold-dark);
    margin-bottom: 40px;
    font-weight: 300;
}

.product-detail__section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.notes-pyramid {
    margin-bottom: 40px;
}

.note-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.note-item:last-child {
    border-bottom: none;
}

.note-item__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    min-width: 100px;
}

.note-item__value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
}

.product-detail__tech {
    margin-bottom: 40px;
}

.product-detail__tech p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.product-detail__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.feature-item__icon {
    color: var(--accent-gold);
    font-size: 16px;
}

/* ===== CONTACTS PAGE ===== */
.contacts-page {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contacts-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contacts-block {
    margin-top: 40px;
}

.contacts-block__item {
    margin-bottom: 36px;
}

.contacts-block__title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.contacts-block__item p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.contacts-block__item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contacts-block__item a:hover {
    color: var(--accent-gold);
}

.contacts-block__note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ===== ФОРМА ===== */
.form-container {
    background: var(--bg-surface);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 400;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 14px;
}

.form__group {
    position: relative;
    margin-bottom: 32px;
}

.form__input {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--border-medium);
    background: transparent;
    font-size: 15px;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s;
    font-family: var(--font-sans);
}

.form__input:focus {
    border-bottom-color: var(--accent-gold);
}

.form__label {
    position: absolute;
    left: 0;
    top: 14px;
    transition: 0.2s;
    color: var(--text-muted);
    pointer-events: none;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
    top: -10px;
    font-size: 11px;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

textarea.form__input {
    resize: vertical;
    min-height: 80px;
}

.form__message {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0;
    font-size: 13px;
}

.form__message:not(:empty) {
    background: var(--bg-secondary);
}

.form__privacy {
    margin-top: 28px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

.form__privacy a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 27, 26, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal__container {
    position: relative;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-surface);
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    z-index: 10;
    line-height: 1;
}

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

.modal__content {
    padding: 48px 40px;
}

.modal__title {
    font-family: var(--font-serif);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 400;
}

.modal__subtitle {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-surface);
    margin-top: 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 56px;
}

.footer__logo {
    font-size: 32px;
    font-family: var(--font-logo);
    letter-spacing: 6px;
    margin-bottom: 16px;
    display: block;
}

.footer__desc {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 280px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: 24px;
}

.footer__social-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer__social-link:hover {
    color: var(--accent-gold);
}

.footer__title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent-gold);
}

.footer__contacts p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer__copy {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .solution__grid,
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero {
        padding: 140px 0 60px;
        min-height: auto;
    }
    
    .hero__media {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta__inner {
        grid-template-columns: 1fr;
        padding: 48px 40px;
    }
    
    .cta__trust {
        text-align: left;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-body);
        align-items: center;
        justify-content: center;
        z-index: 999;
    }
    
    .nav--open {
        display: flex;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .nav__link {
        font-size: 16px;
    }
    
    .burger {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .logo__text {
        font-size: 30px;
        letter-spacing: 6px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .hero__title {
        font-size: 42px;
    }
    
    .solution__grid,
    .advantages__grid {
        grid-template-columns: 1fr;
    }
    
    .catalog__grid {
        grid-template-columns: 1fr;
    }
    
    .catalog__categories {
        gap: 8px;
        margin-bottom: 32px;
    }
    
    .catalog__filter-btn {
        padding: 8px 16px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .product-detail__grid,
    .contacts-page__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .product-detail {
        padding: 120px 0 60px;
    }
    
    .product-detail__title {
        font-size: 42px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal__content {
        padding: 36px 24px;
    }
    
    .form-container {
        padding: 36px 24px;
    }
    
    .cta__inner {
        padding: 40px 24px;
    }
    
    .cta__trust-number {
        font-size: 48px;
    }
    
    .solution {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .product-detail__actions {
        flex-direction: column;
    }
    
    .logo__text {
        font-size: 26px;
        letter-spacing: 4px;
    }
}
/* =============================================
   SOLUTION SECTION — ПОЛНОСТЬЮ ИСПРАВЛЕННЫЙ
   ============================================= */

.solution {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.solution__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.solution__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.solution__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 250, 248, 0.88) 0%, rgba(252, 250, 248, 0.92) 100%);
}

.solution__container {
    position: relative;
    z-index: 2;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ГРИД — 4 КОЛОНКИ */
.solution__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* КАРТОЧКА — СВЕТЛАЯ ВЕРСИЯ (ТЕКСТ ВИДЕН) */
.solution-card {
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 207, 201, 0.5);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: var(--accent-gold-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* ИКОНКИ — ЗОЛОТЫЕ И ВИДИМЫЕ */
.solution-card__icon {
    margin-bottom: 32px;
}

.solution-card__icon svg {
    stroke: var(--accent-gold);
    stroke-width: 1.5;
    width: 48px;
    height: 48px;
}

/* ЗАГОЛОВКИ — ТЁМНЫЕ */
.solution-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

/* ТЕКСТ — СЕРЫЙ, НО ХОРОШО ВИДИМЫЙ */
.solution-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* =============================================
   ADVANTAGES SECTION — ПОЛНОСТЬЮ ИСПРАВЛЕННЫЙ
   ============================================= */

.advantages {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.advantages .container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.advantage-item {
    position: relative;
    padding-top: 24px;
    border-top: 1px solid var(--border-medium);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-item__num {
    font-size: 56px;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    opacity: 0.6;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.advantage-item h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   АДАПТИВ ДЛЯ ОБОИХ СЕКЦИЙ
   ============================================= */

@media (max-width: 1200px) {
    .solution__grid {
        gap: 24px;
    }
    
    .solution-card {
        padding: 30px 20px;
    }
}

@media (max-width: 1024px) {
    .solution__grid,
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .solution {
        padding: 80px 0;
    }
    
    .solution__container {
        padding: 0 20px;
    }
    
    .solution__grid,
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-card {
        padding: 32px 24px;
        text-align: center;
    }
    
    .advantages {
        padding: 60px 0;
    }
    
    .advantages .container {
        padding: 0 20px;
    }
    
    .advantage-item {
        text-align: center;
        padding-top: 20px;
    }
}