:root {
  --bg: #eef3f7;
  --surface: #ffffff;
  --line: #d7dde6;
  --shadow: 0 18px 36px rgba(15, 28, 48, 0.14);
  --navy: #143f7c;
  --navy-dark: #0e2f5d;
  --green: #2f8a2f;
  --green-dark: #1d5f1d;
  --orange: #de7c17;
  --orange-dark: #b85b08;
  --red: #c02a1c;
  --red-dark: #8e180f;
  --ink: #1c2840;
  --muted: #5f6c7b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #edf3f7 0%, #f8fafc 100%);
}
a { color: inherit; }
.site-wrap { max-width: 1520px; margin: 18px auto; padding: 0 18px 24px; }
.browser-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.browser-bar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid #e2e7ed;
  background: linear-gradient(180deg, #f7f7f8 0%, #ececec 100%);
}
.dots, .browser-icons { display: flex; gap: 12px; align-items: center; }
.dots span { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dots .red { background: #f05b51; }
.dots .yellow { background: #efc14c; }
.dots .green { background: #67c667; }
.address-bar { width: min(610px, 52%); height: 24px; border-radius: 7px; background: #f1f1f1; border: 1px solid #e2e2e2; }
.browser-icons span { width: 16px; height: 16px; border-radius: 4px; border: 2px solid #9ba3ad; display: inline-block; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  background: #fff;
}
.logo img { width: 270px; max-width: 100%; height: auto; display: block; }
.main-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 800;
}
.main-nav a {
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 4px solid transparent;
  color: var(--navy-dark);
}
.main-nav a.active, .main-nav a:hover { border-color: var(--navy); }
.header-actions { display: flex; gap: 12px; }
.mini-btn, .action-btn, .small-btn, .cta-btn {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 10px rgba(0,0,0,.13);
}
.mini-btn { min-width: 106px; padding: 10px 16px; }
.action-btn { min-width: 260px; padding: 18px 24px; font-size: 17px; border-radius: 12px; }
.small-btn { min-width: 156px; padding: 12px 18px; font-size: 15px; }
.cta-btn { min-width: 230px; padding: 16px 22px; font-size: 17px; }
.orange-btn { background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%); }
.blue-btn { background: linear-gradient(180deg, #245a9f 0%, var(--navy) 100%); }
.green-btn { background: linear-gradient(180deg, #3c9636 0%, var(--green-dark) 100%); }
.page-content { padding: 0; }
.flash {
  margin: 16px 24px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
}
.flash.success { background: #eef9ef; color: #1f7030; }
.flash.error { background: #fff0ef; color: #9a2419; }
.hero {
  position: relative;
  background: #d6e0ea url('../images/hero-rail.jpg') center center/cover no-repeat;
  min-height: 385px;
  padding: 26px 22px 34px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, rgba(19,38,71,.2) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-title {
  margin: 10px auto 14px;
  color: #102f5d;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(255,255,255,.55);
}
.counter-banner {
  max-width: 1120px;
  margin: 0 auto 12px;
  padding: 14px 26px;
  border-radius: 12px;
  background: linear-gradient(180deg, #d23b2f 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 8px 18px rgba(100, 22, 14, .32);
}
.counter-banner span { font-size: clamp(20px, 2vw, 28px); font-weight: 800; }
.counter-banner strong { font-size: clamp(40px, 4.3vw, 76px); line-height: 1; }
.counter-note {
  display: inline-block;
  margin: 0 auto 20px;
  padding: 14px 22px;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(180deg, #184a8b 0%, var(--navy) 100%);
  box-shadow: 0 5px 14px rgba(9, 30, 67, .25);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.section {
  padding: 28px 24px 0;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.panel, .wide-card, .petition-card {
  background: #fff;
  border: 1px solid #d7e0e8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(19, 37, 63, .09);
}
.panel-head {
  background: linear-gradient(180deg, #17498b 0%, var(--navy-dark) 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  padding: 16px 22px;
}
.feature-body {
  min-height: 206px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  background: linear-gradient(90deg, #fff 0 54%, rgba(255,255,255,.2) 54%), url('../images/service-panel.jpg') right center/cover no-repeat;
}
.feature-body p, .topic-body p, .body-copy p, .petition-card p { line-height: 1.55; font-size: 17px; color: #263449; }
.news-list { padding: 14px 22px 18px; }
.news-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #dde5ec;
  padding: 16px 0;
  font-weight: 700;
  color: var(--navy-dark);
}
.news-item time { color: #616a74; white-space: nowrap; font-weight: 400; }
.news-actions { padding-top: 16px; text-align: right; }
.cta-band {
  margin: 26px 24px 0;
  padding: 18px 20px;
  border-radius: 14px;
  text-align: center;
  color: #fff;
  font-size: clamp(22px, 2.3vw, 38px);
  font-weight: 900;
  background: linear-gradient(180deg, rgba(61,137,54,.94) 0%, rgba(35,99,29,.95) 100%);
  text-shadow: 0 2px 5px rgba(0,0,0,.25);
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 24px 0;
}
.status-strip {
  margin: 22px 24px 0;
  background: linear-gradient(180deg, #f6f9fd 0%, #edf2f8 100%);
  border-top: 1px solid #dde5ee;
  border-bottom: 1px solid #dde5ee;
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 18px;
  font-weight: 800;
  color: #1d2d45;
}
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  padding: 24px;
}
.placeholder-box {
  min-height: 170px;
  border-radius: 14px;
  border: 1px solid #cfd8e2;
  box-shadow: 0 8px 18px rgba(20, 34, 57, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-size: 18px;
  font-weight: 900;
}
.placeholder-box.orange {
  background: linear-gradient(180deg, #f4a53e 0%, #dd7f19 100%);
  color: #fff;
}
.placeholder-box.blue {
  background: linear-gradient(180deg, #55a6d8 0%, #2e7bb8 100%);
  color: #fff;
}
.placeholder-box.light {
  background: linear-gradient(180deg, #8bc4e5 0%, #5ca2cf 100%);
  color: #fff;
  min-height: 96px;
}
.page-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  padding: 28px 24px 0;
}
.body-card, .side-card {
  background: #fff;
  border: 1px solid #d7e0e8;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(19, 37, 63, .09);
}
.body-card h1, .body-card h2, .side-card h2, .petition-card h2, .petition-card h3 {
  color: var(--navy-dark);
  margin-top: 0;
}
.body-copy, .side-copy, .petition-body, .form-wrap {
  padding: 24px 26px;
}
.list-clean { margin: 0; padding-left: 20px; }
.list-clean li { margin-bottom: 10px; }
.petition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  padding: 26px 24px 0;
}
.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: #283954;
  margin: 12px 0 8px;
}
.progress-bar {
  height: 14px;
  border-radius: 999px;
  background: #d8e1ec;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #2da7e8 0%, #227cbc 100%);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: #1f3150; }
input, textarea {
  width: 100%;
  border: 1px solid #cfd7e0;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.site-footer {
  padding: 22px 28px 26px;
  text-align: center;
  color: #5d6774;
  font-size: 14px;
}
.site-footer code { background: #eef3f8; padding: 2px 6px; border-radius: 6px; }
.reference-note {
  margin: 0 24px 0;
  padding: 18px 24px;
  color: #34445a;
  background: #f8fbfe;
  border-top: 1px solid #e1e8f0;
}
@media (max-width: 1100px) {
  .site-header { flex-direction: column; }
  .page-grid, .two-col, .petition-list, .placeholder-grid { grid-template-columns: 1fr; }
  .feature-body { grid-template-columns: 1fr; background: #fff; }
}
@media (max-width: 780px) {
  .hero-title { font-size: 34px; }
  .counter-banner { flex-direction: column; }
  .counter-note { font-size: 16px; }
  .action-btn { min-width: 220px; width: 100%; }
  .main-nav { gap: 18px; }
  .status-strip { gap: 18px; font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
}
