/* =======================================
   STROIKA 360 — Global Styles
   ======================================= */

:root {
  --color-green: #3a7d44;
  --color-green-dark: #2c5f34;
  --color-green-light: #4a9d58;
  --color-orange: #e07b1a;
  --color-orange-dark: #c4690f;
  --color-gray: #f5f5f5;
  --color-gray-2: #e8e8e8;
  --color-text: #222222;
  --color-text-muted: #666666;
  --color-white: #ffffff;
  --color-border: #d8d8d8;
  --font-main: 'Arial', 'Helvetica Neue', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.14);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-green-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
}
.btn-outline:hover { background: var(--color-green); color: #fff; }

.btn-orange {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-orange:hover { background: var(--color-orange-dark); }

/* ===== SECTION ===== */
section { padding: 60px 0; }
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 40px;
}
.section-title-wrap { margin-bottom: 40px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.header-top {
  background: var(--color-green-dark);
  color: #fff;
  padding: 6px 0;
  font-size: 13px;
}
.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.header-top a { color: #fff; }
.header-top a:hover { opacity: 0.85; }
.header-top .worktime { opacity: 0.85; }

.header-main {
  padding: 12px 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.logo-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-green-dark);
}
.logo-text span {
  font-size: 12px;
  color: var(--color-text-muted);
}
.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.header-phones a {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-green-dark);
}
.header-phones a:hover { color: var(--color-green); }
.header-phones small { font-size: 11px; color: var(--color-text-muted); }
.header-cta { display: flex; gap: 10px; align-items: center; }

.nav {
  background: var(--color-green);
}
.nav .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.nav a {
  color: rgba(255,255,255,0.92);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  background: var(--color-green-dark);
  color: #fff;
}

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--color-green-dark); border-radius: 2px; transition: all 0.3s; }
.nav-mobile { display: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 60%, #5aaf6a 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-title span { color: #ffe082; }
.hero-text {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== BENEFITS ===== */
.benefits { background: var(--color-gray); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon {
  font-size: 40px;
  margin-bottom: 14px;
  display: block;
}
.benefit-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}
.benefit-text { font-size: 14px; color: var(--color-text-muted); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--color-green);
  transform: scaleY(0);
  transition: transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow); border-color: var(--color-green-light); }
.service-card:hover::before { transform: scaleY(1); }
.service-card-icon { font-size: 32px; margin-bottom: 12px; }
.service-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}
.service-card-text { font-size: 14px; color: var(--color-text-muted); margin-bottom: 14px; }
.service-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-orange);
}
.service-card a.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-green);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}
.service-card a.service-link:hover { text-decoration: underline; }

/* ===== PRICE TABLE ===== */
.price-section { background: var(--color-gray); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th {
  background: var(--color-green);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
}
.price-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-gray-2);
  font-size: 14px;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--color-gray); }
.price-value { font-weight: 700; color: var(--color-orange); white-space: nowrap; }

/* ===== TECH ===== */
.tech-section { background: var(--color-green-dark); color: #fff; padding: 60px 0; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.tech-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.tech-card-icon { font-size: 36px; margin-bottom: 12px; }
.tech-card-name { font-size: 14px; font-weight: 600; }

/* ===== ABOUT ===== */
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.stat-card {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--color-text-muted); }

/* ===== REGIONS ===== */
.regions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.region-tag {
  background: var(--color-gray);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  transition: all 0.2s;
}
.region-tag:hover {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}

/* ===== MAP & CONTACTS ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--color-text-muted); margin-bottom: 2px; }
.contact-value { font-size: 16px; font-weight: 600; }
.contact-value a { color: var(--color-green-dark); }
.contact-value a:hover { text-decoration: underline; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ===== FORM ===== */
.form-section { background: var(--color-green-dark); color: #fff; }
.form-section .section-title { color: #fff; }
.form-section .section-subtitle { color: rgba(255,255,255,0.75); }
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; opacity: 0.85; }
.form-control {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s;
  width: 100%;
  font-family: inherit;
}
.form-control::placeholder { color: rgba(255,255,255,0.45); }
.form-control:focus { outline: none; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-submit { margin-top: 8px; }
.form-note { font-size: 12px; opacity: 0.6; margin-top: 12px; text-align: center; }
.form-success { display: none; background: rgba(255,255,255,0.15); border-radius: var(--radius); padding: 20px; text-align: center; }
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer { background: #1a1a1a; color: rgba(255,255,255,0.75); }
.footer-top { padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo strong { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.footer-logo span { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-phones a { display: block; color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.footer-phones a:hover { color: var(--color-green-light); }
.footer-nav-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-green-light); }
.footer-bottom { padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; }

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  transition: right 0.3s;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { right: 0; }
.mobile-menu-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.mobile-menu-close button {
  font-size: 24px;
  color: var(--color-text-muted);
  padding: 4px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-2);
  font-size: 15px;
  color: var(--color-text);
}
.mobile-menu a:hover { color: var(--color-green); }
.mobile-menu-phones { margin-top: 20px; }
.mobile-menu-phones a {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-green-dark);
  border: none;
  padding: 6px 0;
}

/* ===== INNER PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
  color: #fff;
  padding: 50px 0;
}
.page-hero h1 {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero p { opacity: 0.85; font-size: 15px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  opacity: 0.75;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb span { opacity: 0.6; }

.page-content { padding: 48px 0; }
.content-body { font-size: 16px; line-height: 1.8; }
.content-body h2 { font-size: 22px; font-weight: 700; color: var(--color-green-dark); margin: 32px 0 12px; }
.content-body h3 { font-size: 18px; font-weight: 700; color: var(--color-green-dark); margin: 24px 0 10px; }
.content-body p { margin-bottom: 14px; }
.content-body ul { padding-left: 20px; margin-bottom: 14px; }
.content-body ul li { list-style: disc; margin-bottom: 6px; }

.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-green);
}
.sidebar-card-title { font-weight: 700; color: var(--color-green-dark); margin-bottom: 12px; font-size: 15px; }
.sidebar-card a {
  display: block;
  font-size: 14px;
  color: var(--color-green);
  margin-bottom: 8px;
}
.sidebar-card a:hover { text-decoration: underline; }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }

/* ===== ARTICLES ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: var(--shadow); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 20px; }
.article-date { font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; }
.article-card-title { font-size: 16px; font-weight: 700; color: var(--color-green-dark); margin-bottom: 10px; line-height: 1.4; }
.article-card-title a:hover { text-decoration: underline; }
.article-card-text { font-size: 14px; color: var(--color-text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.review-stars { color: #f5a623; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; line-height: 1.7; color: var(--color-text); margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 700; color: var(--color-green-dark); }
.review-date { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .about .container { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 40px 0; }
  .header-main .container { flex-wrap: wrap; }
  .header-cta { display: none; }
  .nav { display: none; }
  .burger { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:not(:first-child) { display: none; }
}

@media (max-width: 480px) {
  .hero-badges { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
