body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.5;
}

/* Ð¥ÐµÐ´ÐµÑ€ */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { height: 45px; }

nav {
  display: flex;
  gap: 20px;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: #c80000; }

.header-phone {
  color: #c80000;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; }

/* Ð‘ÑƒÑ€Ð³ÐµÑ€ */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.dropdown {
  position: relative; /* ôèêñèðóåò ïîëîæåíèå */
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  min-width: 420px;
  max-width: 720px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 20;
  white-space: normal;
  word-wrap: break-word;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.dropdown-content a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
}

.dropdown-content a:hover {
  background: #f9f9f9;
  color: #c80000;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ð“ÐµÑ€Ð¾Ð¹ */
.hero {
  padding: 80px 20px;
  text-align: center;
  background: #f9f9f9;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #c80000;
}
.hero p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
}
.hero-btn {
  padding: 12px 25px;
  background: #c80000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}
.hero-btn:hover { background: #a00000;
  color: #fff; }

/* Ð¡ÐµÐºÑ†Ð¸Ð¸ */
.section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ¸ ÑƒÑ�Ð»ÑƒÐ³ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 25px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}
.card h3 {
  color: #c80000;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Ð�Ð°ÑˆÐ¸ Ð¿Ñ€ÐµÐ¸Ð¼ÑƒÑ‰ÐµÑ�Ñ‚Ð²Ð° */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .advantages { grid-template-columns: 1fr; }
}

/* ÐŸÐ¾Ñ‡ÐµÐ¼Ñƒ Ð²Ñ‹Ð±Ð¸Ñ€Ð°ÑŽÑ‚ Ð½Ð°Ñ� */
.reasons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 992px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reasons { grid-template-columns: 1fr; }
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .faq { grid-template-columns: 1fr; }
}

/* ÐšÐ¾Ð½Ñ‚Ð°ÐºÑ‚Ñ‹ */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .contact-row {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
}

/* ÐžÑ‚Ð·Ñ‹Ð²Ñ‹ */
.reviews {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}
.reviews h2 {
  margin-bottom: 30px;
  color: #c80000;
  font-size: 1.5rem;
}
.reviews p {
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-style: italic;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
  font-size: 0.9rem;
}
footer a { color: #fff; text-decoration: none; }

/* ÐšÐ½Ð¾Ð¿ÐºÐ° Ð½Ð°Ð·Ð°Ð´ */
#back-button {
  display: none;
  text-align: center;
  margin: 30px auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#back-button.show { opacity: 1; }

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-btn-red {
  background-color: #e4002b;
  color: #ffffff;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
}

.back-btn-red:hover {
  background-color: #c90025;
}

/* Ð�Ð´Ð°Ð¿Ñ‚Ð¸Ð² */
@media (max-width: 992px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
  }
  nav.open { display: flex; }
  .burger { display: flex; }
  .header-phone { margin-left: auto; font-size: 1.1rem; }
  header .container { flex-wrap: wrap; }
  .hero h1 { font-size: 1.8rem; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .btn { width: 100%; }
  .card { text-align: left; }
}

#breadcrumbs {
  max-width:1200px;   /* ÷òîáû ñîâïàäàëî ñ êîíòåíòîì */
  margin: 10px auto;  /* àâòî-îòñòóïû öåíòðèðóþò */
  font-size:13px;
  color:#777;
  text-align:left;    /* èëè center, åñëè õîòèòå ïî öåíòðó */
}
#breadcrumbs a {
  color:#666;
  text-decoration:none;
}
#breadcrumbs a:hover {
  color: #c80000; /* ôèðìåííûé êðàñíûé ïðè íàâåäåíèè */
  text-decoration:underline;
}





.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 9999;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal.open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.modal-lock {
  overflow: hidden;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-note {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.form-note.ok {
  background: #eef9f0;
  color: #176b2c;
}

.form-note.bad {
  background: #fff1f1;
  color: #a12626;
}

@media (max-width: 640px) {
  .modal {
    padding: 12px;
  }

  .modal__dialog {
    padding: 24px 16px 18px;
    border-radius: 14px;
  }
}
/* ===== Ôîðìà â ñòèëå ñàéòà ===== */
.form-card {
  text-align: left;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.form-card h3 {
  margin: 0 0 18px;
  color: #c80000;
  font-size: 1.35rem;
  line-height: 1.2;
  text-align: left;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.input,
.textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: #999;
}

.input:focus,
.textarea:focus {
  border-color: #c80000;
  box-shadow: 0 0 0 3px rgba(200, 0, 0, 0.08);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card .btn,
.form-card button[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 6px;
  background: #c80000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.1s ease, opacity 0.2s ease;
}

.form-card .btn:hover,
.form-card button[type="submit"]:hover {
  background: #a00000;
}

.form-card .btn:active,
.form-card button[type="submit"]:active {
  transform: translateY(1px);
}

.form-card .btn:disabled,
.form-card button[type="submit"]:disabled {
  cursor: not-allowed;
}

.hint {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #777;
}

.form-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.93rem;
  line-height: 1.4;
  border: 1px solid transparent;
}

.form-note.ok {
  background: #eef9f0;
  color: #176b2c;
  border-color: #cfe8d4;
}

.form-note.bad {
  background: #fff1f1;
  color: #a12626;
  border-color: #f0caca;
}

/* Êðàñèâåå êðåñòèê ìîäàëêè â ñòèëå ñàéòà */
.modal__close {
  color: #666;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background: #f4f4f4;
  color: #c80000;
}

/* Ìîáèëüíàÿ àäàïòàöèÿ ôîðìû */
@media (max-width: 600px) {
  .form-card h3 {
    font-size: 1.2rem;
  }

  .input,
  .textarea {
    padding: 12px 13px;
    font-size: 16px;
  }

  .field {
    margin-bottom: 14px;
  }

  .hint {
    font-size: 0.82rem;
  }
}