:root {
  --ink: #082f49;
  --ink-soft: #365a6c;
  --blue: #0b4f6c;
  --blue-2: #116a84;
  --green: #059669;
  --green-dark: #047857;
  --mint: #dff8ee;
  --sky: #eaf6fb;
  --paper: #ffffff;
  --line: #d9e8ee;
  --shadow: 0 18px 45px rgba(8, 47, 73, .10);
  --radius: 22px;
  --wrap: min(1160px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7fbfc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-2); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.topline { background: var(--ink); color: #d9f4f7; font-size: .82rem; }
.topline .wrap { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topline a { color: white; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(217,232,238,.9); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--green), var(--blue)); border-radius: 13px; box-shadow: 0 8px 18px rgba(5,150,105,.22); }
.brand-mark svg { width: 23px; }
.brand small { display: block; color: var(--green-dark); font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 10px 12px; color: var(--ink); font-size: .92rem; font-weight: 720; text-decoration: none; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mint); color: var(--green-dark); }
.nav-cta { color: white !important; background: var(--green) !important; box-shadow: 0 8px 18px rgba(5,150,105,.2); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 12px; font-size: 1.35rem; }

.hero { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 128px) 0 84px; background: linear-gradient(135deg, #062d44 0%, #0b5168 58%, #087a68 100%); color: white; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 54px 54px; transform: perspective(500px) rotateX(52deg) scale(1.6) translateY(28%); transform-origin: bottom; }
.hero::after { content: "800"; position: absolute; right: -2vw; bottom: -12vw; color: rgba(255,255,255,.06); font-weight: 900; font-size: min(34vw, 520px); line-height: 1; letter-spacing: -.12em; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(36px, 7vw, 84px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #b9f6df; text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 820; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: #52e1aa; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.3rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: #7cebc1; }
.hero-copy { max-width: 680px; margin: 24px 0 0; color: #d8edf2; font-size: clamp(1.02rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 19px; border-radius: 12px; color: white; background: var(--green); font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.button:hover { color: white; background: #08aa77; }
.button.secondary { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.phone-card { position: relative; padding: 30px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; box-shadow: 0 26px 80px rgba(2,25,37,.28); backdrop-filter: blur(10px); }
.phone-card .number { display: block; margin: 12px 0 2px; color: white; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.phone-card p { margin: 12px 0 0; color: #d8edf2; }
.signal { display: flex; gap: 6px; align-items: end; height: 34px; }
.signal i { width: 8px; background: #7cebc1; border-radius: 8px; }
.signal i:nth-child(1) { height: 10px; } .signal i:nth-child(2) { height: 18px; } .signal i:nth-child(3) { height: 26px; } .signal i:nth-child(4) { height: 34px; }

.section { padding: clamp(64px, 8vw, 96px) 0; }
.section.soft { background: linear-gradient(180deg, #f0f8fa, #f8fcfd); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { max-width: 700px; margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; }
.section-head p { max-width: 480px; margin: 0; color: var(--ink-soft); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(8,47,73,.055); }
.benefit .icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; color: white; background: linear-gradient(145deg, var(--blue), var(--green)); border-radius: 14px; font-weight: 900; }
.benefit h3 { margin: 0 0 8px; font-size: 1.15rem; }
.benefit p { margin: 0; color: var(--ink-soft); }

.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.search-box { flex: 1; max-width: 520px; position: relative; }
.search-box input { width: 100%; min-height: 50px; padding: 0 18px 0 46px; border: 1px solid #bdd5de; border-radius: 14px; background: white; color: var(--ink); font: inherit; outline: none; }
.search-box input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(5,150,105,.12); }
.search-box span { position: absolute; left: 17px; top: 12px; font-size: 1.15rem; }
.result-count { color: var(--ink-soft); font-size: .9rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: flex; flex-direction: column; min-height: 290px; padding: 25px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 22px rgba(8,47,73,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.article-card:hover { transform: translateY(-4px); border-color: #9ecbc1; box-shadow: var(--shadow); }
.article-card .kicker { color: var(--green-dark); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.article-card h3 { margin: 12px 0; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.02em; }
.article-card p { margin: 0 0 22px; color: var(--ink-soft); font-size: .93rem; }
.article-card a { margin-top: auto; color: var(--blue); font-weight: 850; text-decoration: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pagination a { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font-weight: 800; text-decoration: none; }
.pagination a[aria-current="page"], .pagination a:hover { color: white; background: var(--blue); border-color: var(--blue); }

.page-hero { padding: 74px 0 58px; color: white; background: linear-gradient(135deg, var(--ink), var(--blue-2)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; color: #b9dbe4; font-size: .82rem; }
.breadcrumbs a { color: #d7f4ed; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 38px; align-items: start; }
.article-body { padding: clamp(28px, 5vw, 58px); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 1.03rem; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 2em 0 .65em; color: var(--blue); font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.2; letter-spacing: -.025em; }
.article-body h3 { margin-top: 1.7em; color: var(--green-dark); }
.article-body p, .article-body ul, .article-body ol { color: #294d5f; }
.article-body li + li { margin-top: .45em; }
.article-body strong { color: var(--ink); }
.side-card { position: sticky; top: 104px; padding: 25px; color: white; background: linear-gradient(155deg, var(--blue), var(--green-dark)); border-radius: 18px; box-shadow: var(--shadow); }
.side-card h2 { margin: 0 0 10px; font-size: 1.3rem; }
.side-card p { color: #d8edf2; }
.side-card .button { width: 100%; background: white; color: var(--blue); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag-cloud a { padding: 7px 10px; color: var(--blue); background: var(--sky); border-radius: 999px; font-size: .78rem; font-weight: 750; text-decoration: none; }

.cta-band { padding: 44px 0; color: white; background: var(--green-dark); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.55rem); letter-spacing: -.03em; }
.cta-band p { margin: 6px 0 0; color: #c6f4e3; }
.site-footer { padding: 44px 0; color: #bdd2db; background: #052637; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer strong { color: white; }
.site-footer a { color: #d4f5e8; }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 900px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .phone-card { max-width: 560px; }
  .article-grid, .benefits { grid-template-columns: repeat(2, 1fr); }
  .side-card { position: static; }
  .menu-button { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 68px; padding: 12px; align-items: stretch; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
}

@media (max-width: 640px) {
  :root { --wrap: min(100% - 22px, 1160px); }
  .topline .wrap { justify-content: center; }
  .topline .source-link { display: none; }
  .brand-text { font-size: .92rem; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.45rem, 14vw, 4rem); }
  .article-grid, .benefits, .footer-grid { grid-template-columns: 1fr; }
  .section-head, .archive-toolbar, .cta-band .wrap { align-items: flex-start; flex-direction: column; }
  .search-box { max-width: none; width: 100%; }
  .article-body { padding: 24px 20px; }
  .page-hero { padding: 54px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
