.city-page {
  background: #f4f6fa;
  color: #243042;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e60012;
  color: #fff !important;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.city-page .page-breadcrumb {
  margin-bottom: 0;
}

.city-page .head-menu .menu {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.city-page .head-menu .menu .lang-btn {
  flex-shrink: 0;
}

.city-page .head-menu .menu img {
  flex-shrink: 0;
}

.city-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 18px 84px;
  font-size: 16px;
}

.city-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 48px 38px 38px;
  margin-bottom: 22px;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b5bdb 56%, #c2185b 100%);
  box-shadow: 0 18px 40px rgba(30, 58, 138, .22);
}

.city-hero.us {
  background: linear-gradient(135deg, #17406f 0%, #2f80ed 56%, #0f9f8f 100%);
}

.city-hero.ca {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d6a9f 56%, #1a8a6e 100%);
}

.city-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .075);
}

.city-hero::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 36px;
  width: 210px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  transform: rotate(-14deg);
}

.city-kicker {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
  margin-bottom: 10px;
}

.city-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 14px;
  max-width: 790px;
  color: #fff;
}

.city-hero p {
  position: relative;
  z-index: 1;
  max-width: 740px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 22px;
}

.city-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.city-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.city-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.city-btn.primary {
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .1);
}

.city-btn.secondary {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
}

.city-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.city-stat {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 14px;
  min-height: 86px;
}

.city-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 5px;
  color: #fff;
}

.city-stat span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.city-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 36px 32px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.city-section-head {
  margin-bottom: 20px;
}

.city-section-head span {
  display: inline-block;
  color: #e60012;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.city-section h2 {
  margin: 0 0 9px;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
}

.city-section h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 850;
  color: #0f172a;
}

.city-section p,
.city-section li {
  font-size: 15px;
  color: #475569;
  line-height: 1.9;
}

.city-section p {
  margin: 0 0 13px;
}

.city-section p:last-child {
  margin-bottom: 0;
}

.city-grid {
  display: grid;
  gap: 14px;
}

.city-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.city-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
}

.city-card.warn {
  background: #fffbea;
  border-color: #fde68a;
}

.city-card ul {
  margin: 0;
  padding-left: 18px;
}

.city-table-wrap {
  overflow-x: auto;
}

.city-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.city-table th {
  background: #f1f5f9;
  color: #0f172a;
  padding: 11px 14px;
  text-align: left;
  font-weight: 850;
  border-bottom: 2px solid #e2e8f0;
}

.city-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.65;
  color: #475569;
  vertical-align: top;
}

.city-table td:first-child {
  width: 24%;
  color: #64748b;
  font-weight: 850;
}

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

.city-table strong {
  color: #0f172a;
}

.city-note {
  background: #fffbea;
  border-left: 4px solid #f5a623;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.8;
  color: #78350f;
}

.city-route-card {
  background: #f0f4ff;
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.city-route-name {
  font-weight: 900;
  color: #1e3a8a;
  font-size: 15px;
  margin-bottom: 12px;
}

.city-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.city-route-grid strong {
  display: block;
  color: #1e3a8a;
  font-size: 15px;
  line-height: 1.35;
}

.city-route-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.45;
}

.city-editorial {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 26px 0;
}

.city-editorial .city-section-head {
  margin-bottom: 14px;
}

.city-editorial p {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1e3a8a;
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .035);
}

.city-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.city-process div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 14px;
  min-height: 126px;
}

.city-process strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1e3a8a;
  border-radius: 50%;
  font-size: 15px;
  margin-bottom: 12px;
}

.city-process span {
  display: block;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.city-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.city-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
}

.city-faq-q {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.city-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.city-links a {
  display: block;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dbe7f5;
  color: #0f172a;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  line-height: 1.5;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.city-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  border-color: #3b5bdb;
  text-decoration: none;
}

.city-links a span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-weight: 500;
  font-size: 13px;
}

.city-cta {
  border-radius: 22px;
  padding: 46px 34px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #c2185b);
  color: #fff;
  margin-bottom: 20px;
}

.city-cta h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 10px;
}

.city-cta p {
  color: rgba(255, 255, 255, .84);
  max-width: 660px;
  margin: 0 auto 18px;
  line-height: 1.8;
  font-size: 15px;
}

@media (min-width: 640px) {
  .city-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .city-route-grid,
  .city-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-grid.two,
  .city-grid.three,
  .city-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .city-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .city-hero {
    padding: 32px 22px 26px;
    border-radius: 18px;
  }

  .city-section {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .city-route-grid,
  .city-process {
    grid-template-columns: 1fr;
  }

  .city-table td:first-child {
    width: 34%;
  }

  .city-cta {
    padding: 34px 22px;
  }
}
