/* ===== Страница контактов ===== */
.contacts-page {
  background:#fff;
  padding:30px;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.contacts-page h1 {
  font-size:30px;
  font-weight:700;
  color:#222;
  margin-bottom:25px;
  border-bottom:3px solid #f34d00;
  padding-bottom:8px;
}

/* ===== Centrālais birojs ===== */
.office-info {
  background:#f9f9f9;
  padding:25px;
  border-radius:12px;
  border:1px solid #ddd;
  margin-bottom:35px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.office-info h2 {
  color:#006699;
  margin-bottom:20px;
  font-size:24px;
  border-bottom:2px solid #eee;
  padding-bottom:8px;
}

.office-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.office-block {
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:10px;
  padding:18px;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  transition:transform .2s;
}
.office-block:hover { transform:translateY(-3px); }

.office-block h3 {
  font-size:16px;
  font-weight:700;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#222;
}
.office-block i { color:#f34d00; }

.office-block p {
  margin:5px 0;
  font-size:14px;
  color:#333;
}

.office-block a {
  color:#006699;
  font-weight:600;
  text-decoration:none;
}
.office-block a:hover { text-decoration:underline; }

/* используем ту же таблицу, что для филиалов */
.schedule-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  color:#444;
}
.schedule-table td {
  padding:4px 6px;
  border-bottom:1px solid #eee;
}
.schedule-table td:first-child {
  font-weight:500;
  width:45%;
}


/* адаптив */
@media(max-width:600px){
  .office-grid { grid-template-columns:1fr; }
}

/* ===== Google Maps ===== */
.map iframe {
  width:100%;
  height:500px;
  border:0;
  border-radius:10px;
  box-shadow:0 3px 8px rgba(0,0,0,.15);
  margin:30px 0;
}

/* ===== Заголовки регионов ===== */
.branches-wrapper h2 {
  font-size:22px;
  margin:25px 0 15px;
  color:#222;
  border-bottom:2px solid #f34d00;
  padding-bottom:5px;
}

/* ===== Карточки филиалов ===== */
.branches-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.branch-card {
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:12px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:transform .2s, box-shadow .2s;
}
.branch-card:hover {
  transform:translateY(-4px);
  box-shadow:0 4px 14px rgba(0,0,0,.15);
}

/* Заголовок с адресом */
.branch-header {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:16px;
  font-weight:700;
  color:#222;
}
.branch-header i { color:#f34d00; }

/* Телефон */
.branch-phone {
  font-size:15px;
  color:#f34d00;
  display:flex;
  align-items:center;
  gap:8px;
}
.branch-phone a {
  color:#f34d00;
  font-weight:600;
  text-decoration:none;
}
.branch-phone a:hover { text-decoration:underline; }

/* Таблица расписания */
.schedule-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  color:#444;
}
.schedule-table td {
  padding:4px 6px;
  border-bottom:1px solid #eee;
}
.schedule-table td:first-child {
  font-weight:500;
  width:45%;
}

/* Кнопка карты */
.map-btn {
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#006699;
  color:#fff;
  padding:10px 14px;
  border-radius:6px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:background .2s;
}
.map-btn:hover { background:#004466; }
