@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Condensed:wght@500;700&display=swap");

:root {
  --blue: #0039a6;
  --blue-dark: #002a7a;
  --blue-soft: #e8eef8;
  --red: #d52b1e;
  --red-dark: #b01f15;
  --ink: #1b1f24;
  --muted: #5c6773;
  --line: #d7dee8;
  --bg: #f3f5f8;
  --paper: #ffffff;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0, 42, 122, .08);
  --radius: 2px;
  --font: "Roboto", Arial, sans-serif;
  --font-display: "Roboto Condensed", "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; }
ul, ol { padding-left: 1.2rem; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

/* top utility bar — gov feel */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: .82rem;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 1rem;
}
.topbar span { opacity: .92; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: #ffd7d4; }

.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: .75rem; color: inherit;
}
.brand-mark {
  width: 42px; height: 42px;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  border-bottom: 3px solid var(--red);
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand-text span {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .05rem;
}

.main-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 0; align-items: stretch;
}
.main-nav a {
  display: block;
  padding: .9rem .85rem;
  color: var(--ink);
  font-weight: 500;
  font-size: .92rem;
  border-bottom: 3px solid transparent;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--blue);
  border-bottom-color: var(--red);
  background: var(--blue-soft);
}

.services-dropdown { position: relative; }
.services-dropdown::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: 14px; z-index: 59;
}
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 300px;
  margin: 0; padding: 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
  z-index: 60;
}
.services-dropdown:hover > .dropdown-menu,
.services-dropdown:focus-within > .dropdown-menu { display: block; }
.dropdown-menu a {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 400;
}
.dropdown-menu li:last-child a { border-bottom: 0; }
.dropdown-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-bottom-color: var(--line);
}

.header-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--red);
  color: #fff !important;
  padding: .65rem 1rem;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.header-cta:hover { background: var(--red-dark); color: #fff !important; }

.mobile-menu-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.mobile-menu-toggle span,
.mobile-menu-toggle span:before,
.mobile-menu-toggle span:after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
}
.mobile-menu-toggle span { top: 20px; }
.mobile-menu-toggle span:before { top: -7px; }
.mobile-menu-toggle span:after { top: 7px; }

/* hero — official banner, not card landing */
.hero {
  background:
    linear-gradient(90deg, rgba(0,57,166,.92), rgba(0,42,122,.78)),
    repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(255,255,255,.03) 12px, rgba(255,255,255,.03) 24px),
    #0039a6;
  color: #fff;
  padding: 2.75rem 0 2.5rem;
  border-bottom: 4px solid var(--red);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 2rem;
  align-items: stretch;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border-left: 3px solid var(--red);
  padding: .35rem .75rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero-lead { margin: 0 0 1.25rem; font-size: 1.05rem; opacity: .95; max-width: 36rem; }
.hero-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
  margin: 0 0 1.4rem; padding: 0; list-style: none;
}
.hero-meta li {
  background: rgba(255,255,255,.1);
  padding: .55rem .7rem;
  font-size: .88rem;
  border-left: 2px solid rgba(255,255,255,.45);
}
.hero-panel {
  background: #fff;
  color: var(--ink);
  padding: 1.25rem 1.35rem;
  border-top: 4px solid var(--red);
  display: flex; flex-direction: column; gap: .75rem;
}
.hero-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue);
  text-transform: uppercase;
}
.hero-panel p { margin: 0; color: var(--muted); font-size: .92rem; }
.hero-panel dl {
  margin: 0; display: grid; gap: .45rem;
  font-size: .88rem;
}
.hero-panel dt { color: var(--muted); }
.hero-panel dd { margin: 0; font-weight: 700; color: var(--ink); }

.btn, .telegram-button, .service-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn-primary, .telegram-button {
  background: var(--red);
  color: #fff !important;
  padding: .85rem 1.2rem;
}
.btn-primary:hover, .telegram-button:hover { background: var(--red-dark); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.55);
  padding: .85rem 1.2rem;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.section { padding: 2.5rem 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--blue);
}
.section-head .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--blue);
}
.section-head p { grid-column: 2; margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }

/* features as rows, not cards */
.feature-list { display: grid; gap: 0; border: 1px solid var(--line); background: var(--paper); }
.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-row:last-child { border-bottom: 0; }
.feature-row i {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1rem;
}
.feature-row h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--blue-dark);
}
.feature-row p { margin: 0; color: var(--muted); font-size: .93rem; }

/* services as official table/list */
.service-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.service-table th, .service-table td {
  border: 1px solid var(--line);
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: top;
}
.service-table th {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
}
.service-table tr:nth-child(even) td { background: #f8fafc; }
.service-table h3 { margin: 0 0 .25rem; font-size: 1rem; color: var(--ink); }
.service-table p { margin: 0; color: var(--muted); font-size: .9rem; }
.service-button {
  background: var(--blue);
  color: #fff !important;
  padding: .55rem .85rem;
  font-size: .78rem;
  white-space: nowrap;
}
.service-button:hover { background: var(--blue-dark); color: #fff !important; }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.process-item {
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-item:last-child { border-right: 0; }
.process-item .n {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: .4rem;
}
.process-item h3 {
  margin: 0 0 .35rem;
  font-size: .95rem;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: var(--blue);
}
.process-item p { margin: 0; font-size: .9rem; color: var(--muted); }

.info-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  padding: 1.25rem 1.4rem;
}
.info-block h3 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--blue);
}
.cta-strip {
  margin-top: 1.75rem;
  background: var(--blue);
  color: #fff;
  padding: 1.4rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-bottom: 4px solid var(--red);
}
.cta-strip h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}
.cta-strip p { margin: .35rem 0 0; opacity: .9; font-size: .92rem; }

.page-hero {
  background: var(--blue);
  color: #fff;
  padding: 1.6rem 0;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  text-transform: uppercase;
}
.breadcrumbs {
  margin: 0 0 1.1rem;
  font-size: .85rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--blue); }

.content-card, .service-description, .order-block, .service-note, .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.2rem 1.35rem;
}
.service-layout {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 1.25rem;
  align-items: start;
}
.order-block { border-top: 4px solid var(--red); }
.order-block h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--blue);
  font-size: 1.05rem;
}
.service-note { margin-top: 1rem; background: var(--blue-soft); border-color: #c5d3ea; }
.service-note h4 { margin: 0 0 .5rem; color: var(--blue-dark); text-transform: uppercase; font-size: .85rem; }
.faq-item { margin-bottom: .75rem; border-left: 3px solid var(--blue); }
.faq-item h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.faq-item p { margin: 0; color: var(--muted); }

.site-footer {
  background: #0f1c33;
  color: #c9d3e3;
  padding: 2.25rem 0 1.25rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.site-footer h4 {
  margin: 0 0 .7rem;
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
}
.site-footer a { display: block; color: #c9d3e3; margin-bottom: .35rem; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
  font-size: .8rem;
  color: #8b98ad;
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow);
  }
  .main-nav.open > ul { flex-direction: column; align-items: stretch; }
  .main-nav .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; border-top: 0; }
  .services-dropdown.open .dropdown-menu { display: block; }
  .mobile-menu-toggle { display: inline-block; justify-self: end; }
  .header-cta { display: none; }
  .hero-grid, .service-layout, .footer-grid, .process { grid-template-columns: 1fr; }
  .process-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-meta { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .service-table, .service-table thead, .service-table tbody, .service-table th, .service-table td, .service-table tr {
    display: block; width: 100%;
  }
  .service-table thead { display: none; }
  .service-table tr { margin-bottom: .75rem; border: 1px solid var(--line); }
  .service-table td { border: 0; border-bottom: 1px solid var(--line); }
  .service-table td:last-child { border-bottom: 0; }
}
