/* m.css — общие стили мобильной версии КЛЕВЕР (3 страницы) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font: 17px/1.55 "Segoe UI", Roboto, Arial, sans-serif;
  background: #0d330d;
  color: #222;
}
a { color: #1a6b1a; }

/* Шапка */
.top {
  background: linear-gradient(180deg, #2e7d32, #1b5e20);
  color: #fff;
  padding: 14px 16px;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: center;  /* логотип и надпись — по центру */
  gap: 12px;
  margin-bottom: 12px;
}
.top-row img { width: 44px; height: 44px; flex: none; }
.top .brand { font-size: 19px; font-weight: 700; letter-spacing: 0.3px; line-height: 1.25; }
.top .brand small { display: block; font-size: 12px; font-weight: 400; opacity: 0.85; }
.top-actions { display: flex; gap: 8px; }
.top-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 6px;
  border-radius: 24px;
  white-space: nowrap;
}
.btn-max  { background: #fff; color: #1b5e20; }
.btn-call { background: #c8e6c9; color: #1b5e20; }
.btn-mail { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.4); }

/* Меню: горизонтальная лента чипов */
nav {
  background: #1b5e20;
  padding: 8px 4px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 4px;
  background: rgba(255,255,255,0.14);
  border-radius: 20px;
  white-space: nowrap;
  flex: 0 0 110px;      /* одна ширина для всех чипов */
  text-align: center;
  box-sizing: border-box;
}

nav a.cur { background: #c8e6c9; color: #1b5e20; font-weight: 700; }
nav a.vk {
  background: #0077ff;
  color: #fff;
  font-weight: 700;
}

/* Контент */
main { padding: 14px 14px 20px; }
.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
h1 { font-size: 20px; text-align: center; color: #1b5e20; margin-bottom: 12px; }
h2 { font-size: 17px; color: #1b5e20; margin: 14px 0 6px; }
.lead { text-align: center; color: #33691e; font-weight: 500; margin-bottom: 12px; }
p { margin-bottom: 10px; }
ul.dash { list-style: none; margin-bottom: 10px; }
ul.dash li { padding-left: 16px; position: relative; margin-bottom: 6px; }
ul.dash li:before { content: "–"; position: absolute; left: 0; color: #1b5e20; }

/* Плитки услуг на главной */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.services a,
.services .tile {
  display: block;
  background: #f1f8e9;
  border: 1px solid #c5e1a5;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  color: #2e5d2e;
  font-size: 15px;
}

/* Карта */
.map-wrap {
  margin: 4px 0 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #c5e1a5;
}
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Форма заказа */
#feedback-form input, #feedback-form textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #c5e1a5;
  border-radius: 8px;
  margin-top: 4px;
  background: #fff;
}
#feedback-form label { font-size: 14px; color: #1b5e20; font-weight: 500; }
#feedback-form span { display: block; margin-bottom: 12px; }
#feedback-form textarea { height: 110px; resize: vertical; }
.send-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #2e7d32, #1b5e20);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: 0;
  border-radius: 24px;
  margin-top: 6px;
  cursor: pointer;
}

/* Подвал */
footer { padding: 4px 14px 24px; color: #d7e8d7; font-size: 15px; text-align: center; }
footer .fcard {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}
footer a { color: #a5d6a7; text-decoration: none; }
footer .big {
  display: inline-block;
  background: #c8e6c9;
  color: #1b5e20;
  font-weight: 700;
  font-size: 17px;
  padding: 10px 18px;
  border-radius: 24px;
  margin: 6px 0;
}
footer .mail { display: block; font-size: 16px; margin: 8px 0; }
.copy { font-size: 12px; opacity: 0.7; margin-top: 12px; }
.desktop-link { display: block; margin: 10px 16px 0; font-size: 13px; color: #81c784; text-align: center; }


