:root {
  --accent: #0b66c2;
  --accent-light: #e6f0fb;
  --muted: #666;
  --bg: #f9fafc;

  --page-width: 900px;
  --page-min-width: 500px;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


main.container {
  flex: 1;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 30px 20px;
}

@media (min-width: 768px) {
  main.container {
    min-width: var(--page-min-width);
  }
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  color: #111;
  background: var(--bg);
  line-height: 1.6;
}

/* Шапка */
.site-header {
  background: linear-gradient(90deg, #0b66c2, #0d84e8);
  color: #fff;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.site-header .inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .brand a {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.site-header .nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}

.site-header .nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.site-header .nav a:hover {
  text-decoration: underline;
}

.site-header .phone a:hover {
  background: #f0f7ff;
}

@media (max-width: 768px) {
  .site-header .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-left: 0;
  }
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #eaf3ff, #ffffff);
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.hero .call a {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero .call a:hover {
  background: #094f99;
}

/* Блоки */
section {
  margin: 40px 0;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
  margin-top: 0;
  font-size: 1.5rem;
  /* color: var(--accent); */
}

/* Список шагов */
.about ol {
  padding-left: 20px;
}

.about li {
  margin-bottom: 10px;
  position: relative;
}

/* Таблица цен */
.pricing table {
  width: 100%;
  border-collapse: collapse;
}

.pricing th, .pricing td {
  border: 1px solid #eaeaea;
  padding: 12px;
}

.pricing th {
  background: var(--accent-light);
  text-align: left;
}


.pricing td:nth-child(2) {
  font-weight: 600;
  color: var(--accent);
}

/* Галерея */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Контакты */
.contact {
  text-align: center;
}

.contact a {
  display: inline-block;
  margin-top: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  background: #094f99;
}

/* Подвал */
.site-footer {
  background: #f1f5f9;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- Адаптивные стили --- */
@media (max-width: 768px) {

  /* Шапка */
  .site-header {
    padding: 14px 5px;
  }

  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-header .phone a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  /* Hero */
  .hero {
    padding: 30px 15px;
    text-align: left;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero .call a {
    width: -moz-available;
    width: -webkit-fill-available;
    text-align: center;
  }

  /* Блоки */
  section {
    padding: 16px;
    margin: 20px 0;
  }

  /* Таблица цен – превращаем в карточки */
  .pricing table,
  .pricing thead,
  .pricing tbody,
  .pricing th,
  .pricing td,
  .pricing tr {
    display: block;
    /* width: 100%; */
  }

  .pricing thead {
    display: none;
  }

  .pricing tr {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .pricing td {
    border: none;
    padding: 6px 0;
  }

  .pricing td:nth-child(1) {
    font-weight: bold;
  }

  /* Галерея */
  .gallery .grid {
    grid-template-columns: 1fr;
  }

  .gallery img {
    width: 100%;
  }

  /* Контакты */
  .contact {
    text-align: left;
  }

  .contact a {
    width: -moz-available;
    width: -webkit-fill-available;
    text-align: center;
  }
}

/* info page */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  margin: 10px 0;
}

.info-list a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  transition: 0.3s;
}

.info-list a:hover {
  text-decoration: underline;
  color: #094f99;
}

.infoImgCont {
  display: flex;
  justify-content: center;
}

.infoImgCont > img {
  max-height: 500px;
  max-width: 100%;
  border-radius: 10px;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 1.5rem;
}
.geo-item {
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  transition: 0.2s;
}