:root {
  --color-primary: #1b4d6a;
  --color-primary-dark: #0a1a25;
  --color-accent: #c49e4f;
  --color-accent-light: #f9f7ec;
  --color-bg-light: #fcfbf7;
  --color-text-primary: #2e4053;
  --color-text-secondary: #5f4d28;
  --color-border: #bfa45a;
  --color-shadow: rgba(27, 77, 106, 0.18);
}

/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--color-text-primary);
  background: url('your-image.jpg') no-repeat center center fixed, 
              linear-gradient(120deg, var(--color-bg-light) 0%, #f9f6f2 100%);
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}

/* Классы для разных страниц */
body.page-download {
  background: linear-gradient(120deg, #fcfbf7 0%, #f9f6f2 100%);
}
body.page-faq {
  background: linear-gradient(120deg, #fefcf9 0%, #f0ece3 100%);
}
body.page-rates {
  background: linear-gradient(120deg, #faf9f5 0%, #f7f4ec 100%);
}
body.page-about {
  background: linear-gradient(120deg, #fcfcfa 0%, #f4f1e7 100%);
}
body.page-contacts {
  background: linear-gradient(120deg, #fdfbf8 0%, #f8f6f0 100%);
}

/* Общий стиль header */
header {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  padding: 20px 0;
  color: white;
  user-select: none;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: background 0.3s ease;
}

/* Индивидуальные стили header для страниц */
body.page-download header {
  background: linear-gradient(90deg, #1b4d6a 0%, #c49e4f 100%);
}
body.page-faq header {
  background: linear-gradient(90deg, #17496b 0%, #d4af6f 100%);
}
body.page-rates header {
  background: linear-gradient(90deg, #1e5a87 0%, #d4af6f 100%);
}
body.page-about header {
  background: linear-gradient(90deg, #1a4f7a 0%, #d9b06a 100%);
}
body.page-contacts header {
  background: linear-gradient(90deg, #1c5270 0%, #d2a85f 100%);
}

/* Основной контейнер */
main {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

/* Секции */
section {
  background: linear-gradient(135deg, rgba(252, 251, 247, 0.9), rgba(255, 255, 255, 0.8));
  border-radius: 22px;
  padding: 38px 34px;
  margin-bottom: 44px;
  border: 1.5px solid var(--color-accent);
  box-shadow:
    0 10px 36px var(--color-shadow),
    inset 0 0 12px rgba(196, 158, 79, 0.2);
  color: var(--color-text-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}
section:hover {
  box-shadow:
    0 14px 48px var(--color-shadow),
    inset 0 0 18px rgba(196, 158, 79, 0.3);
}

/* Декоративная бабочка */
section::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/4/4c/Butterfly_icon.svg') no-repeat center/contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  animation: fly 12s ease-in-out infinite;
}
@keyframes fly {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.15; }
  50% { transform: translateY(-8px) scale(1.08) rotate(5deg); opacity: 0.22; }
}

/* Заголовки */
h1, h2 {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 12px var(--color-accent-light),
    0 2px 10px var(--color-shadow);
  user-select: none;
  transition: text-shadow 0.4s ease, background-position 0.4s ease, color 0.4s ease;
  background-size: 200% 100%;
  background-position: left center;
  text-wrap: balance;
}
h1:hover, h2:hover {
  background-position: right center;
  text-shadow:
    0 0 24px var(--color-accent-light),
    0 4px 20px var(--color-accent),
    0 8px 36px var(--color-shadow);
  color: var(--color-primary-dark);
}

/* Текст */
p {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 18px;
  color: #34495e;
  text-shadow: 0 1px 3px rgba(196, 158, 79, 0.15);
  text-align: center;
}

/* Списки */
ul {
  list-style: disc inside;
  margin-left: 20px;
  color: var(--color-text-secondary);
  font-size: 1.13rem;
  line-height: 1.75;
}
ul li {
  margin: 14px 0;
}

/* Таблицы */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1.2px solid var(--color-accent);
  box-shadow: 0 8px 32px var(--color-shadow);
  margin-top: 22px;
}

th, td {
  padding: 20px 28px;
  text-align: left;
  font-size: 1.12rem;
  color: var(--color-text-primary);
  background: #fff;
  border-bottom: 1.2px solid #d2c48a;
  text-shadow: none;
}

th {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  user-select: none;
}

tr:nth-child(even) {
  background: rgba(196, 158, 79, 0.08);
}

tr:last-child td {
  border-bottom: none;
}

/* Кнопки */
.section-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 40px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 42px;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(196, 158, 79, 0.35);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  user-select: none;
  letter-spacing: 1.1px;
}
.section-btn:hover, .section-btn:focus {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  box-shadow: 0 12px 44px rgba(196, 158, 79, 0.5);
  transform: scale(1.1) rotate(1deg);
  outline: none;
  color: #fff;
}

/* Специальные блоки */
.measures {
  background: #f7e9d0;
  color: var(--color-primary);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0 18px 0;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(200, 170, 120, 0.09);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.4;
  user-select: text;
}
.measures strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

/* Футер */
footer {
  background: linear-gradient(90deg, var(--color-accent) 0%, #b3e2d8 100%);
  color: var(--color-primary);
  font-size: 1.13rem;
  border-top: 2px solid var(--color-primary);
  text-align: center;
  padding: 30px 18px;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 600;
  user-select: none;
  text-shadow: 0 1px 3px var(--color-accent), 0 1px 3px var(--color-shadow);
  letter-spacing: 1px;
  margin-top: 40px;
}
footer > div {
  background: linear-gradient(90deg, var(--color-accent) 0%, #b3e2d8 100%);
  color: var(--color-primary);
  font-size: 1.13rem;
  border-top: 2px solid var(--color-primary);
  text-align: center;
  padding: 30px 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-shadow: 0 1px 3px var(--color-accent), 0 1px 3px rgba(27, 77, 106, 0.08);
  letter-spacing: 1px;
  user-select: none;
}

/* Адаптивность */
@media (max-width: 900px) {
  main {
    max-width: 98vw;
    padding: 0 2vw 40px 2vw;
  }
  table {
    font-size: 0.98rem;
  }
  .section-btn {
    font-size: 1rem;
    padding: 12px 24px;
  }
}
@media (max-width: 700px) {
  header {
    font-size: 1.4rem;
    padding: 18px 0 14px 0;
  }
  h1, h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
  td, th {
    padding: 10px 8px;
    font-size: 0.98rem;
  }
  .section-btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 0;
  }
}
@media (max-width: 520px) {
  table, tbody, tr, td, th {
    display: block;
    width: 100%;
  }
  tr {
    margin-bottom: 18px;
    border-bottom: 2px solid var(--color-accent);
  }
  th, td {
    border-right: none;
    border-bottom: 1px solid var(--color-accent);
    width: 100%;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #222222;
    padding: 10px 12px;
  }
  .section-btn {
    width: 100%;
    margin-top: 12px;
  }
}
