:root {
    --primary: #2e7d32; /* Зеленый цвет, ассоциируется со свежестью цветов */
    --primary-dark: #1b5e20;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f9fbf9;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Кнопки */
.btn { display: inline-block; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: 0.3s; text-align: center; }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--primary); }
.btn--small { padding: 8px 16px; font-size: 14px; }
.btn--full { width: 100%; }

/* Шапка */
.header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header__container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); }
.nav a { margin: 0 15px; font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: var(--primary); }
.header__contacts { display: flex; align-items: center; gap: 15px; }
.phone { font-weight: 700; font-size: 18px; }
.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 25px; height: 3px; background: var(--text); margin: 5px 0; }

/* Hero */
.hero { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1563241527-3004b7be0ffd?w=1200&fit=crop') center/cover no-repeat; color: var(--white); padding: 100px 0; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 20px; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero__buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Секции */
.section { padding: 80px 0; }
.section-title { font-size: 32px; text-align: center; margin-bottom: 40px; color: var(--primary-dark); }
.section-subtitle { text-align: center; color: var(--text-light); margin-top: -30px; margin-bottom: 40px; }

/* Преимущества */
.advantages { background: var(--bg-light); }
.advantages__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.advantage-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.advantage-card__icon { font-size: 40px; margin-bottom: 15px; }

/* Каталог */
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.catalog-card { border: 1px solid #eee; padding: 30px; border-radius: var(--radius); transition: 0.3s; }
.catalog-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.catalog-card h3 { margin-bottom: 15px; color: var(--primary-dark); }
.price { display: block; margin-top: 20px; font-size: 22px; font-weight: 700; color: var(--primary); }

/* Портфолио */
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.portfolio-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item__desc { padding: 20px; }
.portfolio-item__desc h4 { margin-bottom: 10px; color: var(--primary-dark); }

/* Контакты и Форма */
.contacts { background: var(--bg-light); }
.contacts__wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contacts__list { list-style: none; margin-top: 30px; }
.contacts__list li { margin-bottom: 15px; font-size: 18px; }
.form { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form input, .form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 16px; font-family: inherit; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); }
.form__privacy { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 10px; }

/* Подвал */
.footer { background: #222; color: #aaa; text-align: center; padding: 30px 0; font-size: 14px; }

/* Модальное окно */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; justify-content: center; align-items: center; }
.modal.active { display: flex; }
.modal__content { background: var(--white); padding: 40px; border-radius: var(--radius); width: 90%; max-width: 400px; position: relative; }
.modal__close { position: absolute; top: 10px; right: 15px; font-size: 28px; cursor: pointer; }

/* Адаптивность */
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow); }
    .nav.active { display: flex; }
    .nav a { margin: 10px 0; }
    .burger { display: block; }
    .header__contacts .phone { display: none; }
    .hero h1 { font-size: 28px; }
    .contacts__wrapper { grid-template-columns: 1fr; }
}