:root {
  --navy: #05313c;
  --navy-2: #0a4453;
  --teal: #1f9a9c;
  --teal-2: #34aaac;
  --teal-soft: #e6f4f4;
  --bg: #ffffff;
  --bg-alt: #f5f9fa;
  --text: #18303a;
  --muted: #4d6670;
  --line: #d9e6e8;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(5, 49, 60, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: 0.97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { text-decoration: none; border-bottom-color: var(--teal-2); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--teal); }
.nav-links .btn { border-bottom: 0; color: #fff; padding: 10px 18px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 1rem; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; transition: background 0.2s, transform 0.2s; }
.btn:hover { background: var(--navy); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 12px 24px; }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--teal-soft); color: var(--navy); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0f6a73 100%); color: #fff; padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 170, 172, 0.35), transparent 70%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { font-size: 1.25rem; max-width: 720px; color: #d5ebee; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--teal-2); margin-bottom: 14px; }
.hero .eyebrow { color: #7fd6d8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero .btn.ghost:hover { background: #fff; color: var(--navy); }

/* Page banner */
.page-banner { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0 56px; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.3em; }
.page-banner p { color: #d5ebee; max-width: 720px; font-size: 1.15rem; margin: 0; }

/* Sections */
section { padding: 76px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.card li { margin-bottom: 6px; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; font-size: 1.1rem; }

/* Stats */
.stats { background: var(--navy); color: #fff; padding: 56px 0; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #7fd6d8; line-height: 1.1; }
.stat .lbl { color: #cfe6e9; font-size: 0.95rem; margin-top: 6px; }
.fine { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }
.stats .fine { color: #a9c9ce; text-align: center; }

/* Steps */
.step { position: relative; padding-top: 6px; }
.step .n { font-size: 0.85rem; font-weight: 800; color: var(--teal); letter-spacing: 0.12em; }
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); }

/* About */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.avatar { width: 100%; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; display: grid; place-items: center; font-size: 5rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: var(--shadow); }
.profile .meta { margin-top: 18px; color: var(--muted); font-size: 0.97rem; }
.profile .meta strong { color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li { background: var(--teal-soft); color: var(--navy); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.93rem; }
.timeline { border-left: 3px solid var(--teal-soft); padding-left: 26px; margin: 0; list-style: none; }
.timeline li { position: relative; margin-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--teal-soft); }
.timeline h3 { margin-bottom: 2px; }
.timeline .when { color: var(--teal); font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; display: block; }
.timeline p { color: var(--muted); margin: 0; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy), #0f6a73); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { color: #fff; }
.cta p { color: #d5ebee; max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
form { display: grid; gap: 18px; }
label { font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; font-size: 0.95rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); padding: 13px 14px; border: 1px solid #b9cfd3; border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(52, 170, 172, 0.35); border-color: var(--teal); }
textarea { min-height: 150px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; display: none; font-weight: 600; }
.form-status.ok { display: block; background: #e4f6ec; color: #135a33; }
.form-status.err { display: block; background: #fdeaea; color: #8a1c1c; }
.side-card h3 { margin-bottom: 10px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 18px; color: var(--muted); }
.side-card li { margin-bottom: 8px; }

/* Footer */
.site-footer { background: #041f27; color: #b5cfd4; padding: 48px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #d8ecee; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.foot-grid h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-logo { background: #fff; border-radius: 10px; padding: 8px 12px; display: inline-block; margin-bottom: 14px; }
.foot-logo img { height: 52px; width: auto; }
.legal { border-top: 1px solid #16404a; padding-top: 18px; font-size: 0.85rem; color: #8fb0b7; }

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .profile, .form-wrap { grid-template-columns: 1fr; }
  .avatar { max-width: 220px; font-size: 4rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0; }
  .grid.cols-3, .grid.cols-2, .grid.cols-4, .row { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-links .btn { display: inline-block; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.side-card p { margin-bottom: 18px; }
