
:root {
  --primary: #0046a5;
  --primary-dark: #003273;
  --accent: #e60023;
  --bg: #f4f6fb;
  --text: #1d2530;
  --muted: #6b7280;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: radial-gradient(circle at top left, #0056d6, #00163b);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.logo span.domain {
  font-weight: 900;
}

.tagline {
  font-size: 13px;
  opacity: 0.9;
}

.header-contact {
  text-align: right;
  font-size: 13px;
}

.header-contact .phone {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-contact .pill {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 12px;
}

.main-wrapper {
  max-width: 1120px;
  margin: 24px auto 32px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .main-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .header-contact {
    text-align: left;
  }
}

.hero {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero h1 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.hero p {
  margin: 0 0 8px;
  font-size: 15px;
}

.hero ul {
  padding-left: 18px;
  margin: 6px 0 12px;
  font-size: 14px;
}

.hero li + li {
  margin-top: 4px;
}

.subtitle {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
  background: #b8001b;
}

.btn-ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.hero img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.section-heading {
  margin: 24px 0 8px;
  font-size: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 18px 15px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.card h2 {
  font-size: 17px;
  margin: 4px 0 8px;
}

.card p {
  font-size: 14px;
  margin: 0 0 6px;
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 12px;
  margin-right: 6px;
}

.badge-link span {
  font-size: 15px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 18px 15px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 14px;
}

.box h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.phone-big {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.06em;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pill-list span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eff6ff;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 14px 16px 18px;
  background: #020617;
  color: #e5e7eb;
  font-size: 13px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* Article layout */
.post-wrapper {
  max-width: 760px;
  margin: 24px auto 32px;
  padding: 0 16px 24px;
}

.post-header h1 {
  margin: 4px 0 6px;
  font-size: 26px;
}

.post-header .meta {
  font-size: 13px;
  color: var(--muted);
}

.post-content p {
  font-size: 15px;
  line-height: 1.6;
}

.post-content ul {
  padding-left: 20px;
  font-size: 15px;
}

.notice-box {
  margin: 18px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eff6ff;
  font-size: 14px;
}

.contact-strip {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 13px;
}

.contact-strip a {
  color: #bfdbfe;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
