/* === Фирменные переменные (более тёмная гамма) === */
:root {
    --primary: #0d5c2e;       /* насыщенный изумрудный */
    --primary-dark: #083d1e;  /* глубокий тёмно-зелёный */
    --accent: #4caf50;        /* контрастный средне-зелёный */
    --bg: #f9f9f9;
    --white: #ffffff;
    --text: #333333;
    --text-light: #555555;
    --border-radius: 8px;
}

/* === Общие стили === */
* { box-sizing: border-box; }
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    color: var(--text);
    background: var(--bg);
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 500;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* === Шапка === */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.logo { font-size: 1.5em; font-weight: bold; }
nav a { margin-left: 25px; }

/* === Главный экран === */
.hero {
    background: linear-gradient(135deg, #d4f0e1, #b7e0c9);
    padding: 60px 0;
    text-align: center;
}
.hero h1 { font-size: 2.5em; margin-bottom: 10px; }
.hero p { font-size: 1.2em; opacity: 0.8; }
.hero-cards {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    flex: 1 1 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.hero-card:hover { transform: translateY(-5px); }
.hero-card.emergency { border-top: 5px solid #e63946; }
.hero-card.regular { border-top: 5px solid #f4a261; }
.hero-card.project { border-top: 5px solid var(--primary); }
.hero-card .btn { margin-top: 10px; }

/* === Услуги === */
#services { padding: 60px 0; background: var(--white); }
.services-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: var(--text-light);
}
.services-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.service {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    flex: 1 1 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary);
}
.service-icon { font-size: 2.5em; margin-bottom: 15px; }
.service h3 { margin-bottom: 10px; color: var(--primary-dark); }
.service ul { list-style: none; padding: 0; }
.service ul li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
}

/* === Бот === */
#bot {
    background: #f0f8f4;
    padding: 60px 0;
    text-align: center;
}
.tariffs {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.tariff {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    flex: 1 1 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.tariff h3 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* === Магазин с вкладками === */
#shop { padding: 60px 0; }
.tabs { margin-top: 30px; }
.tabs input[type="radio"] { display: none; }
.tabs label {
    display: inline-block;
    padding: 10px 20px;
    background: #e0f2e9;
    color: var(--primary);
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    margin-right: 4px;
    font-weight: bold;
}
.tabs input[type="radio"]:checked + label {
    background: var(--primary);
    color: white;
}
.tab-content {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 0 5px 5px 5px;
}
#tab-plants:checked ~ #content-plants,
#tab-terrariums:checked ~ #content-terrariums,
#tab-succulents:checked ~ #content-succulents,
#tab-soils:checked ~ #content-soils,
#tab-care:checked ~ #content-care {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.product {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 220px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.product-img { font-size: 3em; }
.product h4 { margin: 10px 0; }
.product .btn { margin-top: 10px; }

/* === Контакты === */
#contacts { padding: 60px 0; text-align: center; }

/* === Подвал === */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 20px 0;
}