/* --- Сброс и Переменные --- */
:root {
    --color-bg-dark: #0f0f0f; /* Очень темный, почти черный */
    --color-bg-white: #ffffff;
    --color-bg-light: #f8f9fa; /* Светло-серый для фона карточек */
    
    --color-primary: #FFD700; /* Золотой/Желтый */
    --color-primary-hover: #e6c200;
    
    --color-text-white: #ffffff;
    --color-text-gray: #a0a0a0;
    --color-text-dark: #111111;
    --color-text-dark-gray: #555555;
    
    --font-main: 'Inter', sans-serif;
    
    --container-width: 1240px;
    --spacing-unit: 1rem;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* --- Утилиты --- */
.text-yellow { color: var(--color-primary); }
.text-dark { color: var(--color-text-dark); }
.text-gray { color: var(--color-text-dark-gray); }
.text-white-bold { font-weight: 700; color: #fff; }

.text-yellow-underline {
    position: relative;
    color: var(--color-primary);
}
.text-yellow-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

/* --- Хедер --- */
.header {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-dark);
}

.nav {
    display: flex;
    gap: 25px;
}

.nav__link {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text-dark);
}

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

.header__contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__phone {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.burger { display: none; }

/* --- Hero Секция --- */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background-color: var(--color-bg-dark);
}

.hero__title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text-white);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Каталог (Сетка) --- */
.catalog {
    padding: 40px 0 80px;
}

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

.card {
    height: 400px; /* Высота из скриншотов */
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Градиент затемнения снизу, как на фото */
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.card__content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card__title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.card__price {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    align-self: flex-start;
}

.card__btn {
    background-color: #f8f9fa;
    color: var(--color-text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card__btn:hover {
    background-color: #fff;
}

/* --- CTA Секция (Рекомендация) --- */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section__title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-section__price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
}

/* --- Контакты (Белая секция) --- */
.contacts-white {
    background-color: var(--color-bg-white);
    padding: 80px 0;
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

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

.contacts-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.info-card {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: #fff9d9; /* Очень светлый желтый */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-hover);
    font-size: 24px;
    flex-shrink: 0;
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.info-text {
    font-size: 16px;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.info-note {
    font-size: 13px;
    color: var(--color-text-gray);
}

.font-bold { font-weight: 700; }

.socials-desc { margin-bottom: 25px; font-size: 14px; }

.socials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    font-weight: 600;
    color: var(--color-text-dark);
}
.social-btn:hover { background-color: #eeeeee; }

.social-btn i { font-size: 24px; }
.text-green { color: #25D366; }
.text-blue { color: #0088cc; }
.text-purple { color: #C13584; }
.text-blue-dark { color: #0079BF; }

.mt-large { margin-top: 40px; }
.mt-small { margin-top: 10px; }

.map-placeholder {
    background-color: #f0f0f0;
    height: 200px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Футер --- */
.footer {
    background-color: #111111;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer__desc {
    color: var(--color-text-gray);
    font-size: 14px;
    margin: 20px 0;
    line-height: 1.6;
}

.footer__socials {
    display: flex;
    gap: 10px;
}
.footer__socials a {
    width: 40px;
    height: 40px;
    background-color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.footer__socials a:hover { background-color: var(--color-primary); color: #000; }

.footer__links li, .footer__contacts li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--color-text-gray);
    font-size: 14px;
}
.footer__links a:hover { color: #fff; }

.footer__contacts li {
    display: flex;
    gap: 12px;
    color: var(--color-text-gray);
    font-size: 14px;
    align-items: flex-start;
}

.footer__text {
    color: var(--color-text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer__btn {
    width: 100%;
}

.footer__bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 13px;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .grid-catalog { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header__contact, .nav { display: none; }
    .nav.active { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100vw; background: #fff; z-index: 1001; gap: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
    .nav.active .nav__link { color: #111; padding: 20px; border-bottom: 1px solid #eee; font-size: 18px; }
    .header__contact.active { display: flex; flex-direction: column; align-items: flex-start; background: #fff; width: 100vw; padding: 20px; position: absolute; top: calc(60px + 48px * 3); left: 0; z-index: 1002; }
    .burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
    .burger span { width: 25px; height: 3px; background: #000; }
    .hero__title { font-size: 28px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}