/* =========================================================
   PrintMaster — основные стили
   Цветовая схема: зелёный (#2e7d32) + серый (#546e7a)
   ========================================================= */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #263238;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }

/* --- Container --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
}
.btn--primary:hover { background: #1b5e20; border-color: #1b5e20; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(46,125,50,.3); }

.btn--outline {
  background: transparent;
  color: #2e7d32;
  border-color: #2e7d32;
}
.btn--outline:hover { background: #e8f5e9; }

.btn--white {
  background: #fff;
  color: #2e7d32;
  border-color: #fff;
}
.btn--white:hover { background: #f1f8e9; }

.btn--lg { padding: 15px 32px; font-size: 1rem; border-radius: 12px; }
.btn--sm { padding: 9px 20px; font-size: 0.875rem; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8f5e9;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon { width: 40px; height: 40px; }
.logo__text {
  font-size: 1.3rem;
  color: #263238;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.logo__text strong { color: #2e7d32; font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 8px;
}
.nav__link {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #546e7a;
  font-weight: 500;
  transition: all 0.18s;
}
.nav__link:hover { color: #2e7d32; background: #e8f5e9; }

.header__cta { margin-left: auto; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #546e7a;
  border-radius: 2px;
  transition: all 0.2s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 40%, #f5f5f5 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  background: #c8e6c9;
  color: #1b5e20;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #1a2327;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero__title span { color: #2e7d32; }
.hero__desc {
  font-size: 1.05rem;
  color: #546e7a;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats { display: flex; gap: 36px; }
.stat__num { display: block; font-size: 1.8rem; font-weight: 700; color: #2e7d32; }
.stat__label { font-size: 0.82rem; color: #78909c; }

/* Принтер-иллюстрация */
.hero__img { display: flex; justify-content: center; align-items: center; }
.hero__printer-wrap { position: relative; width: 320px; }
.hero__svg { width: 100%; filter: drop-shadow(0 20px 40px rgba(46,125,50,.15)); }

.hero__badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8f5e9;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #263238;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  white-space: nowrap;
}
.hero__badge-float--1 { top: 20px; left: -30px; }
.hero__badge-float--2 { bottom: 30px; right: -20px; }

/* =========================================================
   SECTION HELPERS
   ========================================================= */
.section-head { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2327;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-desc { font-size: 1rem; color: #546e7a; max-width: 520px; margin: 0 auto; }

/* =========================================================
   УСЛУГИ
   ========================================================= */
.services { padding: 80px 0; background: #fff; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fafafa;
  border: 1px solid #eceff1;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s;
}
.card:hover { border-color: #a5d6a7; box-shadow: 0 8px 32px rgba(46,125,50,.1); transform: translateY(-2px); }

.card--highlight {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;
  border-color: transparent;
}
.card--highlight .card__text { color: rgba(255,255,255,.8); }
.card--highlight .card__list li { color: rgba(255,255,255,.85); }
.card--highlight .card__list li::before { background: #81c784; }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--green { background: #e8f5e9; color: #2e7d32; }
.card__icon--white { background: rgba(255,255,255,.2); color: #fff; }

.card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: #1a2327; }
.card--highlight .card__title { color: #fff; }
.card__text { font-size: 0.9rem; color: #546e7a; margin-bottom: 16px; }
.card__list { display: flex; flex-direction: column; gap: 6px; }
.card__list li {
  font-size: 0.875rem;
  color: #546e7a;
  padding-left: 16px;
  position: relative;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e7d32;
}

/* =========================================================
   ПРАЙС
   ========================================================= */
.price { padding: 80px 0; background: #f5f5f5; }
.price__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.price-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 24px;
}
.price-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8f5e9;
}
.price-card__rows { display: flex; flex-direction: column; gap: 10px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #546e7a;
}
.price-row__val { font-weight: 600; color: #263238; white-space: nowrap; flex-shrink: 0; }
.price-row__val--free { color: #2e7d32; }
.price-card__note { margin-top: 12px; font-size: 0.78rem; color: #90a4ae; font-style: italic; }
.price__disclaimer { text-align: center; font-size: 0.85rem; color: #90a4ae; }

/* =========================================================
   О НАС
   ========================================================= */
.about { padding: 80px 0; background: #fff; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__img-placeholder {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(46,125,50,.12);
}
.about__img-placeholder svg { width: 100%; height: auto; }
.about__text { display: flex; flex-direction: column; gap: 16px; }
.about__text p { color: #546e7a; font-size: 0.95rem; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature__icon {
  width: 38px;
  height: 38px;
  background: #e8f5e9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2e7d32;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature strong { font-size: 0.9rem; color: #263238; display: block; margin-bottom: 2px; }
.feature p { font-size: 0.82rem; color: #78909c; margin: 0; }

/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contact { padding: 80px 0; background: linear-gradient(135deg, #f1f8e9, #e8f5e9); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact__card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform 0.2s;
}
.contact__card:hover { transform: translateY(-3px); }
.contact__icon {
  width: 56px;
  height: 56px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #2e7d32;
}
.contact__icon--tg { background: #e3f2fd; color: #1565c0; }
.contact__icon svg { width: 28px; height: 28px; }
.contact__card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #263238; }
.contact__link { font-size: 1.05rem; font-weight: 600; color: #2e7d32; }
.contact__link:hover { text-decoration: underline; }
.contact__note { font-size: 0.82rem; color: #90a4ae; margin-top: 6px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #263238; padding: 32px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .logo__text { color: #eceff1; }
.footer__copy { font-size: 0.85rem; color: #78909c; margin-left: auto; }
.footer__nav { display: flex; gap: 20px; }
.footer__nav a { font-size: 0.85rem; color: #78909c; transition: color 0.2s; }
.footer__nav a:hover { color: #a5d6a7; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .price__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__img { display: none; }
  .hero__title { font-size: 2rem; }
  .about__inner { grid-template-columns: 1fr; }
  .about__img-wrap { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .price__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .header__cta { display: none; }
  .nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e8f5e9; padding: 16px; gap: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .header { position: relative; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__copy { margin-left: 0; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .hero__badge-float { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.7rem; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
}
