:root{
  --brand:#2e6fbb;
  --brand-2:#094ea8;
  --soft:#f6f9fc;
  --text:#1e293b;
}

body{ color:var(--text); background: var(--soft); /* Фон всего сайта */ }

/* Отступы секций */
.section-pad{ padding: 50px 0; }
.bg-soft{ background: var(--soft); }

/* Баннер */
.hero{
  min-height: 80vh;
  background: linear-gradient(rgba(20,33,61,.45), rgba(20,33,61,.45)),
              url('/images/баннер5.jpg') center/cover no-repeat;
}

/* CTA кнопки */
.btn-cta{
  background: var(--brand);
  border: none;
  color: #fff;
  padding: .8rem 1.3rem;
  border-radius: .4rem;
  box-shadow: 0 10px 22px rgba(46,111,187,.25);
}


/* Карточки / таблицы */
.feature-card { 
  background: #fff; /* Белый фон для карточек */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.feature-card i{ filter: drop-shadow(0 6px 14px rgba(46,111,187,.25)); }


.service-card{ 
  background: #fff; /* Белый фон для карточек услуг */
  border:1px solid #eef2f7; 
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 12px;
  padding: 20px;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.form-card{ 
  background: #fff; /* Белый фон для форм */
  border-radius: 12px;
  padding: 25px;
}
.form-card .form-control{ border-radius:.6rem; }
.info-card{ 
  background: #fff; /* Белый фон для информационных карточек */
  border:1px dashed rgba(46,111,187,.45);
  border-radius: 12px;
  padding: 20px;
}
.table-head{ background: #e9f2ff; }
.price-table tbody tr:hover{ background:#f8fbff; }

/* Блок вопроса - минималистичный */
.question-section {
  background: var(--brand);
  color: white;
}

.question-section .form-control {
  transition: all 0.2s ease;
}

.question-section .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
  border-color: transparent;
}

.question-section .btn-light {
  transition: all 0.2s ease;
  background: white;
}

.question-section .btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


/* Карта */
.map-wrap {
  position: relative;
  width: 100%;
  height: 400px;
}
.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: var(--text);
  padding: 25px;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.map-badge h6 {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--brand);
  margin-bottom: 15px;
}
.map-badge p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.map-badge .btn {
  width: 100%;
  padding: 8px 12px;
}

/* Подвал */
.site-footer {
  background: var(--brand-2);
  color: #fff;
  width: 100%;
  font-size: 1rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .text-muted {
  color: rgba(255,255,255,0.85) !important;
}
.site-footer hr {
  border-color: rgba(255,255,255,0.2);
}
.site-footer h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem !important;
}
.site-footer .contact-icon {
  color: #fff;
  margin-right: 10px;
  width: 18px;
  text-align: center;
}
.site-footer .btn {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  margin: 0.3rem;
  min-width: 160px;
  text-align: center;
}
.site-footer .btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-body {
  background: var(--soft);
  color: var(--text);
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

.admin-header {
  background: var(--brand);
  color: #fff;
  padding: 1rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.admin-header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.admin-nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.admin-nav a:hover {
  text-decoration: underline;
}

.admin-main {
  max-width: 1100px;
  margin: 0 auto;
}

/* Карточка формы входа */
.admin-login-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  max-width: 400px;
  margin: 5rem auto;
}

.admin-login-card h2 {
  margin-bottom: 1.5rem;
  color: var(--brand);
  text-align: center;
}

.admin-login-card .form-group {
  margin-bottom: 1rem;
}

.admin-login-card input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.btn-submit {
  background: var(--brand);
  border: none;
  color: #fff;
  padding: .8rem 1.3rem;
  border-radius: .4rem;
  box-shadow: 0 10px 22px rgba(46,111,187,.25);
  cursor: pointer;
  width: 100%;
  font-weight: 600;
}

.btn-submit:hover {
  background: var(--brand-2);
}

.error-message {
  color: red;
  margin-top: 1rem;
  text-align: center;
}

/* Таблицы */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.admin-table th {
  background: #e9f2ff;
  text-align: left;
  padding: 10px;
}

.admin-table td {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.admin-table tr:hover {
  background: #f8fbff;
}

.btn-export {
  display: inline-block;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: .6rem 1rem;
  border-radius: .4rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-export:hover {
  background: var(--brand);
  color: #fff;
}
