﻿:root {
  --primary: #cc2b22;
  --primary-dark: #a91d16;
  --ink: #30343b;
  --muted: #68717d;
  --line: #dadde2;
  --row: #f1f2f4;
  --soft: #fff5f3;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7f7f8;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.menu a.price-menu-active {
  color: var(--primary);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-shell { padding: 34px 0 50px; }

.hero {
  display: block;
  min-height: 0;
  padding: 30px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #2e333b, #555e69);
  border-radius: 14px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 5px;
  color: #ffd3cf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 43px);
  line-height: 1.15;
}

.hero p {
  max-width: 820px;
  margin: 0;
  color: #eef0f3;
}

.service-nav {
  display: flex;
  gap: 9px;
  padding: 0 0 18px;
  overflow-x: auto;
}

.service-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.service-nav a:hover,
.service-nav a.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.table-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(40, 44, 52, .07);
}

.table-title {
  padding: 20px 22px 8px;
  text-align: center;
}

.table-title h2 {
  margin: 0;
  color: #666;
  font-size: 24px;
}

.table-scroll { overflow-x: auto; }

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

thead { border-bottom: 3px solid #777; }

th,
td {
  padding: 12px 18px;
  text-align: left;
}

th {
  color: #666;
  font-size: 15px;
}

tbody tr:nth-child(odd) { background: var(--row); }
tbody tr:hover { background: var(--soft); }

.district {
  width: 34%;
  font-weight: 700;
}

.service { width: 42%; }

.offer { width: 24%; }

.offer-link {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.offer-link:hover { background: var(--primary-dark); }

.note {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.content-box {
  margin-top: 24px;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.content-box h2 {
  margin-top: 0;
  font-size: 23px;
}

.content-box p { margin-bottom: 0; }

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.service-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(40, 44, 52, .05);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.service-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 18px;
}

.service-card span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 23px 16px;
  background: #2e333b;
  color: #dfe2e6;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .page-shell { padding-top: 18px; }
  .hero {
    min-height: 0;
    padding: 22px 18px;
  }
  .table-title h2 { font-size: 20px; }
  th, td { padding: 10px 13px; }
}
