
:root {
  --bg: #fbfbfd;             
  --card: #ffffff;            
  --panel: #f8f9fc;         
  --ink: #111827;            
  --muted: #5b6677;          
  --line: #dbe2ef;           

  --nav-bg: rgba(255,255,255,0.86);
  --accent: #0f3b8c;           
  --accent-2: #2d63d6;         
  --ring: rgba(45, 99, 214, 0.6);

  --shadow-strong: 0 10px 30px rgba(45,99,214,0.35), 0 0 40px rgba(45,99,214,0.25);
  --shadow-soft: 0 8px 22px rgba(45,99,214,0.20);

  --radius: 12px;            
  --radius-sm: 10px;
  --container: 1120px;
  --header-h: 72px;


  --zag: #ffd54f;             
  --zag-faint: rgba(255,213,79,0.25);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fe 60%, #fbfbfd 100%) fixed;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
.h4 { font-size: 0.93rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

section { padding: 28px 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.section-subtitle { color: var(--muted); margin: 0 0 24px; }


.card {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.card-inner { padding: 28px; }


.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent);
  color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; z-index: 10000; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent); }

.site-header { position: sticky; top: 0; z-index: 999; background: var(--nav-bg); backdrop-filter: saturate(1.05) blur(8px); box-shadow: var(--shadow-strong); transition: transform 240ms ease, box-shadow 240ms ease; border-bottom: 1px solid var(--line); }
.site-header.header--hidden { transform: translateY(calc(-1 * var(--header-h))); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo { height: 60px; width: auto; object-fit: contain; }
.site-title { font-size: 1.12rem; font-weight: 800; color: var(--accent); letter-spacing: .02em; }

.nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #ffffff; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 200ms ease; border-bottom: 1px solid var(--line); }
.nav.open { opacity: 1; pointer-events: auto; }
.nav ul { list-style: none; margin: 0; padding: 12px 16px 20px; display: grid; gap: 10px; }
.nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); background: transparent; }
.nav a:hover { background: rgba(45,99,214,0.08); box-shadow: 0 0 18px rgba(45,99,214,0.25); }
.nav a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.nav-toggle {
  inline-size: 44px; block-size: 44px; display: grid; place-items: center; background: #ffffff; border: 1px solid rgba(45,99,214,0.25);
  border-radius: 10px; color: var(--ink); box-shadow: 0 0 20px rgba(45,99,214,0.28);
}
.nav-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--ink); margin: 2px 0; border-radius: 2px; }


@media (min-width: 900px) {
  .nav { position: static; inset: auto; opacity: 1; pointer-events: auto; background: transparent; transform: none; border: 0; }
  .nav ul { display: flex; align-items: center; gap: 8px; padding: 0; }
  .nav a { padding: 8px 12px; }
  .nav-toggle { display: none; }
}


.lead { padding-top: 84px; }
.lead p { max-width: 72ch; color: var(--muted); }


.packs-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pack {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.pack-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pack-tag { color: var(--muted); font-size: 0.9rem; }
.pack-summary { color: var(--muted); margin-bottom: 10px; }
.pack-content { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pack-content { grid-template-columns: 1fr 1fr; } }
.services, .use-cases { margin: 0; padding-left: 18px; }
.pack-actions { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }


.btn {
  --bg: var(--accent);
  --bg-hover: #0c3379;
  --text: #ffffff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.04);
  background: var(--bg); color: var(--text); font-weight: 700; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(45,99,214,0.28), 0 10px 28px rgba(45,99,214,0.35), 0 0 28px rgba(45,99,214,0.25);
  transition: transform 120ms ease, background 160ms ease, box-shadow 160ms ease;
}
.btn:hover { background: var(--bg-hover); box-shadow: 0 0 0 1px rgba(45,99,214,0.45), 0 14px 34px rgba(45,99,214,0.45), 0 0 36px rgba(45,99,214,0.35); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn--primary {}

.bio-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: var(--card); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.bio-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.bio-text p { color: var(--muted); margin: 0 0 8px; }
.bio-text .credentials { margin: 0; padding-left: 18px; }


form { max-width: 720px; }
.form-row { display: grid; gap: 6px; margin: 12px 0; }
label { font-weight: 700; color: var(--ink); }
input, select, textarea {
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; box-shadow: inset 0 0 0 1px rgba(45,99,214,0.06);
}
input::placeholder, textarea::placeholder { color: #8b95a6; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.form-actions { margin-top: 14px; }
.form-feedback { min-height: 1.2em; color: var(--muted); margin-top: 8px; }


.accordion { display: grid; gap: 10px; }
.accordion-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.accordion-title { margin: 0; }
.accordion-trigger { width: 100%; text-align: left; background: transparent; color: var(--ink); border: 0; padding: 14px 16px; font-weight: 800; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-trigger:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.accordion-panel { padding: 0 16px 14px; color: var(--muted); }


.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,0.92); margin-top: 24px; }
.footer-inner { display: grid; gap: 8px; padding: 18px 20px; }
.footer-inner p { margin: 0; color: var(--muted); }

.zags { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.zag {
  position: absolute; left: 0; right: 0; height: 18px; opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='200' height='18' viewBox='0 0 200 18'>\
  <polyline points='0,14 20,4 40,14 60,4 80,14 100,4 120,14 140,4 160,14 180,4 200,14' fill='none' stroke='%23ffd54f' stroke-width='2.5' stroke-linejoin='round'/>\
</svg>");
  background-repeat: repeat-x;
  background-size: 200px 18px;
  filter: drop-shadow(0 1px 4px var(--zag-faint));
  animation: zag-drift 12s linear infinite;
}
@keyframes zag-drift {
  from { background-position-x: -300px; }
  to   { background-position-x: 300px; }
}

.zag:nth-child(1) { top: 18%; animation-duration: 11s; opacity: .22; }
.zag:nth-child(2) { top: 40%; animation-duration: 12.5s; }
.zag:nth-child(3) { top: 62%; animation-duration: 10s; opacity: .20; }
.zag:nth-child(4) { top: 82%; animation-duration: 13s; }


.site-main { position: relative; z-index: 1; }


:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }