* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1a5c2a;
  --primary-dark: #0f3d1a;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --light: #f8f9f5;
  --text: #2c2c2c;
  --text-light: #666;
  --border: #e0e0e0;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); }

/* ===== HEADER ===== */
header {
  background: var(--primary-dark);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  cursor: pointer;
}
.logo-icon {
  width: 44px; height: 44px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--primary-dark);
}
.logo-text { color: var(--white); }
.logo-text .brand { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.logo-text .tagline { font-size: 11px; color: rgba(255,255,255,0.65); }

nav { display: flex; gap: 4px; }
nav a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 8px 16px; border-radius: 6px;
  font-size: 14px; font-weight: 500; transition: all 0.2s;
  cursor: pointer;
}
nav a:hover, nav a.active {
  background: var(--accent); color: var(--primary-dark); font-weight: 700;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2d7a3a 100%);
  color: var(--white); padding: 90px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: var(--accent); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: var(--primary-dark);
  padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,0.4); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.2s; display: inline-block; text-decoration: none;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-image { flex: 0 0 420px; position: relative; z-index: 1; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); object-fit: cover; height: 320px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--accent); padding: 24px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.stat { text-align: center; color: var(--primary-dark); }
.stat-num { font-size: 32px; font-weight: 800; }
.stat-label { font-size: 13px; font-weight: 600; opacity: 0.8; }

/* ===== SECTION ===== */
section { padding: 70px 24px; }
section.alt { background: var(--light); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-header .line {
  width: 60px; height: 4px; background: var(--accent);
  margin: 16px auto 0; border-radius: 2px;
}

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.product-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer; text-decoration: none; color: inherit; display: block;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.product-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.product-tag {
  display: inline-block; background: #e8f5e9; color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
}

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.why-card {
  background: var(--white); border-radius: 16px; padding: 32px 24px;
  box-shadow: var(--shadow); text-align: center; transition: transform 0.3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(26, 92, 42, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}
.why-card:hover .why-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}
.why-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== NEWS ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.news-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-bottom: 8px; }
.news-card-body h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.news-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== ABOUT PAGE ===== */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-layout img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; height: 400px; }
.about-content h2 { font-size: 36px; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
.about-content p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-list { list-style: none; margin-top: 20px; }
.about-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; font-size: 15px; }
.about-list li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: 18px; }

/* ===== CATALOG PAGE ===== */
.catalog-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 60px 24px; text-align: center; }
.catalog-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.catalog-hero p { font-size: 17px; opacity: 0.85; }
.catalog-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  padding: 10px 24px; border-radius: 30px; border: 2px solid var(--border);
  background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; color: var(--text);
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.catalog-item {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s;
}
.catalog-item:hover { transform: translateY(-5px); }
.catalog-item img { width: 100%; height: 240px; object-fit: cover; }
.catalog-item-body { padding: 20px; }
.catalog-item-body h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.catalog-item-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.catalog-item-footer { display: flex; align-items: center; justify-content: space-between; }
.catalog-badge { background: #e8f5e9; color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.btn-order {
  background: var(--primary); color: var(--white);
  padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-order:hover { background: var(--primary-dark); }

/* ===== COMPANY / ABOUT EXTENSIONS ===== */
.company-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.company-intro img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); height: 380px; object-fit: cover; }
.company-text h2 { font-size: 34px; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
.company-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; display: block; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.review-card {
  background: var(--white); border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow); position: relative;
}
.review-card::before {
  content: '"'; font-size: 80px; color: var(--accent); opacity: 0.3;
  position: absolute; top: 10px; left: 20px; line-height: 1; font-family: Georgia, serif;
}
.review-stars { color: var(--accent); font-size: 18px; margin-bottom: 14px; }
.review-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; font-weight: 700;
}
.review-name { font-weight: 700; color: var(--primary-dark); font-size: 15px; }
.review-company { font-size: 13px; color: var(--text-light); }

/* ===== CONTACTS ===== */
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 34px; font-weight: 800; color: var(--primary-dark); margin-bottom: 24px; }
.contact-info p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 30px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; background: rgba(26, 92, 42, 0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary);
  transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.contact-item-text strong { display: block; font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.contact-item-text span { font-size: 16px; font-weight: 600; color: var(--primary-dark); }
.contact-item-text a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s; }
.contact-item-text a:hover { color: var(--primary); text-decoration: underline; }
.contact-form { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 24px; font-weight: 700; color: var(--primary-dark); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color 0.2s; outline: none; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; background: var(--primary); color: var(--white);
  padding: 14px; border-radius: 10px; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }
.map-container {
  margin-top: 30px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 50px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-name { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; cursor: pointer; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 60px 24px; text-align: center; }
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 13px; opacity: 0.7; margin-bottom: 16px; }
.breadcrumb a { color: inherit; text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 2000;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: 20px; padding: 40px;
  max-width: 480px; width: 90%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 24px; cursor: pointer; color: var(--text-light);
  background: none; border: none; line-height: 1;
}
.modal h3 { font-size: 24px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.modal p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; }
.success-icon { font-size: 60px; text-align: center; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; }
  .hero-image { flex: none; width: 100%; }
  .about-layout, .company-intro, .contacts-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav a { padding: 8px 10px; font-size: 13px; }
  .hero h1 { font-size: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px; gap: 10px; }
  nav { flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
