:root {
  --navy: #233456;
  --navy-deep: #18253F;
  --navy-soft: #3A4D73;
  --gold: #B8943E;
  --gold-dark: #8E6F27;
  --gold-soft: #EADDBC;
  --ivory: #F8F5EF;
  --paper: #FFFFFF;
  --ink: #1C2740;
  --muted: #5A6478;
  --line: #E4DED1;
  --line-cool: #DCE1EA;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 18px 50px -24px rgba(24, 37, 63, .28);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.12; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

section { padding: 112px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .95rem/1 var(--sans); letter-spacing: .02em;
  padding: 17px 28px; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { border-color: rgba(35, 52, 86, .28); color: var(--navy); background: transparent; }
.btn-line:hover { border-color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(24, 37, 63, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--serif); font-weight: 600; letter-spacing: .2em; }
.brand-text .b1 { color: var(--gold); font-size: 1.1rem; }
.brand-text .b2 { color: var(--navy); font-size: 1.1rem; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .93rem; font-weight: 600; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { padding: 13px 20px; font-size: .88rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); cursor: pointer; padding: 0; position: relative;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--navy); transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%);
  padding: 72px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
.hero-copy { padding-bottom: 104px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--gold-dark); font-weight: 500; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); }
.hero-note svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.hero-visual { position: relative; align-self: end; display: flex; justify-content: center; }
.arch {
  position: relative; width: min(100%, 430px); aspect-ratio: 430 / 540;
  border-radius: 215px 215px 0 0; background: var(--navy); overflow: hidden;
}
.arch::before {
  content: ""; position: absolute; inset: 16px 16px 0; border: 1px solid rgba(184, 148, 62, .55);
  border-bottom: 0; border-radius: 200px 200px 0 0;
}
.arch img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 94%; width: auto; max-width: none; }
.hero-mark {
  position: absolute; right: -60px; top: 20px; width: 360px; opacity: .06; pointer-events: none;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 64px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px; max-width: 250px; border-left: 3px solid var(--gold);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); line-height: 1.15; }
.hero-badge span { font-size: .85rem; color: var(--muted); }

/* Methods strip */
.strip { background: var(--navy); color: #fff; padding: 34px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.strip-label { font: 600 .78rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.strip-items { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.strip-items span { font-family: var(--serif); font-size: 1.3rem; display: inline-flex; align-items: center; gap: 12px; }
.strip-items span::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.service {
  grid-column: span 2; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 34px 36px; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .num { position: absolute; top: 32px; right: 32px; font: 700 .8rem var(--sans); color: var(--gold); letter-spacing: .14em; }
.icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); color: var(--navy); margin-bottom: 26px; border: 1px solid var(--line);
}
.icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Topics */
.topics { background: var(--ivory); }
.topics-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.topics-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px;
  padding: 26px 4px; font: 600 1.45rem/1.2 var(--serif); color: var(--navy);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .n { font: 600 .8rem var(--sans); color: var(--gold-dark); letter-spacing: .1em; width: 26px; flex: none; }
.acc-item summary .plus { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: background .3s, border-color .3s; }
.acc-item summary .plus::before, .acc-item summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy);
  transform: translate(-50%, -50%); transition: transform .3s;
}
.acc-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item[open] summary .plus { background: var(--navy); border-color: var(--navy); }
.acc-item[open] summary .plus::before, .acc-item[open] summary .plus::after { background: #fff; }
.acc-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc-item summary:hover .plus { border-color: var(--gold); }
.acc-body { padding: 0 4px 28px 50px; }
.acc-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.acc-body li { position: relative; padding-left: 24px; color: var(--muted); }
.acc-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--gold); }

.faq { padding-top: 0; }
.acc-body p { color: var(--muted); margin: 0; max-width: 60ch; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; margin-bottom: 72px; }
.step { position: relative; padding: 0 34px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gold); color: var(--gold-dark);
  font: 700 .85rem var(--sans); letter-spacing: .08em; margin-bottom: 24px; position: relative; z-index: 1;
}
.step::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; max-width: 32ch; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 34px 34px; position: relative;
}
.plan.featured { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.plan.featured h3 { color: #fff; }
.plan.featured .for, .plan.featured li { color: #D3DAE8; }
.plan .tag {
  position: absolute; top: -13px; left: 34px; background: var(--gold); color: #fff;
  font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 3px;
}
.plan h3 { font-size: 1.75rem; margin-bottom: 10px; }
.plan .for { color: var(--muted); font-size: .95rem; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan.featured .for { border-color: rgba(255, 255, 255, .14); }
.plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; font-size: .97rem; color: var(--ink); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold); }
.plan .price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; }
.plan.featured .price { border-color: rgba(255, 255, 255, .14); }
.plan .price b { font: 600 1.15rem var(--serif); color: var(--gold-dark); }
.plan.featured .price b { color: var(--gold-soft); }
.plan .price a { font-weight: 700; text-decoration: none; color: var(--navy); white-space: nowrap; }
.plan.featured .price a { color: #fff; }
.plan .price a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* About */
.about { background: var(--ivory); position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: center; }
.portrait { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; background: var(--gold-soft); border-radius: var(--radius); overflow: hidden;
}
.portrait-frame img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 96%; width: auto; max-width: none; }
.portrait::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.portrait-sign {
  position: absolute; left: -24px; bottom: 32px; background: var(--navy); color: #fff; padding: 18px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.portrait-sign strong { display: block; font: 600 1.35rem/1.1 var(--serif); }
.portrait-sign span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.about-copy h2 { margin-bottom: 8px; }
.about-copy .role { font: 600 .82rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 28px; }
.about-copy p { color: var(--muted); }
.about-copy p.big { font-family: var(--serif); font-size: 1.55rem; line-height: 1.4; color: var(--navy); font-weight: 500; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pillar strong { display: block; font: 600 1.15rem/1.2 var(--serif); color: var(--navy); margin-bottom: 4px; }
.pillar span { font-size: .86rem; color: var(--muted); line-height: 1.5; display: block; }

/* Training */
.training { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.training .eyebrow { color: var(--gold-soft); }
.training h2 { color: #fff; }
.training-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; position: relative; }
.training p { color: #C9D2E3; font-size: 1.08rem; max-width: 56ch; }
.training .btn { margin-top: 18px; }
.training-mark { position: absolute; right: -60px; bottom: -70px; width: 420px; opacity: .06; pointer-events: none; filter: brightness(0) invert(1); }
.audience { display: grid; gap: 14px; }
.aud {
  display: flex; align-items: center; gap: 20px; padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .03);
}
.aud .icon { margin: 0; background: transparent; border-color: rgba(184, 148, 62, .6); color: var(--gold-soft); flex: none; }
.aud strong { display: block; font: 600 1.3rem/1.2 var(--serif); }
.aud span { font-size: .9rem; color: #AEB9CE; }

/* Knowledge */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.post-cover {
  aspect-ratio: 16 / 9; background: var(--ivory); position: relative; display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.post-cover img { width: 70px; opacity: .22; }
.post-cover .cat {
  position: absolute; left: 18px; top: 18px; background: #fff; border: 1px solid var(--line);
  font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding: 7px 10px; border-radius: 3px;
}
.post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 1.4rem; margin-bottom: 10px; }
.post p { color: var(--muted); font-size: .96rem; flex: 1; }
.post .soon { font: 700 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 8px; }
.post .soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Contact */
.contact { background: var(--ivory); }
.contact-card {
  display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
}
.contact-info { background: var(--navy); color: #fff; padding: 56px 48px; position: relative; overflow: hidden; }
.contact-info h2 { color: #fff; margin-bottom: 18px; }
.contact-info .eyebrow { color: var(--gold-soft); }
.contact-info p { color: #C9D2E3; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; position: relative; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { margin: 0; width: 46px; height: 46px; background: transparent; border-color: rgba(184, 148, 62, .6); color: var(--gold-soft); flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #9FAAC0; }
.contact-list a, .contact-list b { font: 600 1.2rem/1.4 var(--serif); color: #fff; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-info .mark { position: absolute; right: -40px; bottom: -40px; width: 240px; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }

.contact-form { padding: 56px 48px; }
.contact-form h3 { font-size: 1.8rem; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink);
  border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 13px 15px; background: #FBFBFC;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 148, 62, .15); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: .82rem; max-width: 36ch; line-height: 1.5; }
.form-status { margin-top: 16px; font-size: .92rem; color: var(--gold-dark); min-height: 1.4em; }
.form-status.error { color: #A23B2A; }
.form-status a { font-weight: 700; }
.field.invalid input, .field.invalid textarea { border-color: #C0533F; background: #FFF8F6; }
.field .err { font-size: .8rem; color: #A23B2A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .icon { margin: 0 auto 22px; width: 68px; height: 68px; background: var(--ivory); color: var(--gold-dark); }
.form-success .icon svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 40ch; margin: 0 auto; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #AEB9CE; padding: 72px 0 32px; font-size: .93rem; }
.company { font-style: normal; line-height: 1.75; }
.company strong { display: block; color: #fff; font: 600 1.15rem/1.3 var(--serif); margin-bottom: 6px; }
.company-line {
  position: relative; margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem; letter-spacing: .02em; color: #9FAAC0 !important;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; }
.site-footer h4 { font: 700 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #DCE2EE; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; }

/* Podstrony */
.footer-links a { color: inherit; }
.sub-header { border-color: var(--line); }
.sub-nav { display: flex; align-items: center; gap: 28px; }
.sub-nav .sub-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .93rem; font-weight: 600; color: var(--ink); }
.sub-nav .sub-back svg { width: 16px; height: 16px; transition: transform .25s; }
.sub-nav .sub-back:hover svg { transform: translateX(-3px); }
.sub-nav .btn { padding: 13px 20px; font-size: .88rem; white-space: nowrap; }

.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 72px 0 80px; }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 18px; }
.page-hero .lead { color: #C9D2E3; font-size: 1.12rem; max-width: 56ch; margin: 0; }
.page-hero-mark { position: absolute; right: -40px; bottom: -90px; width: 380px; opacity: .06; filter: brightness(0) invert(1); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9FAAC0; margin-bottom: 30px; }
.crumbs a { color: #DCE2EE; text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }
.page-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-meta span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 40px; font-size: .85rem; color: #DCE2EE; }
.page-meta svg { width: 16px; height: 16px; color: var(--gold-soft); }

.legal { background: var(--ivory); padding: 80px 0 104px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc h2 { font: 700 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; font-size: .92rem; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a span { color: var(--gold); font-weight: 700; font-size: .78rem; padding-top: 2px; }
.toc a:hover, .toc a.active { color: var(--navy); border-color: var(--gold); }

.legal-body { display: grid; gap: 20px; min-width: 0; }
.legal-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; }
.legal-summary h2 { font-size: 1.6rem; margin-bottom: 20px; }
.summary-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.summary-items div { display: flex; gap: 14px; align-items: flex-start; }
.summary-items .icon { width: 44px; height: 44px; margin: 0; flex: none; }
.summary-items .icon svg { width: 20px; height: 20px; }
.summary-items p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.summary-items strong { display: block; color: var(--navy); font: 600 1.08rem/1.25 var(--serif); margin-bottom: 4px; }

.legal-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-sec header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.legal-num { font: 700 .8rem var(--sans); letter-spacing: .12em; color: var(--gold-dark); flex: none; }
.legal-sec h2 { font-size: 1.7rem; }
.legal-sec p { color: var(--muted); }
.legal-sec p:last-child, .legal-sec ul:last-child { margin-bottom: 0; }
.legal-sec strong { color: var(--ink); }
.legal-sec ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.legal-sec li { position: relative; padding-left: 26px; color: var(--muted); }
.legal-sec li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1.5px; background: var(--gold); }
.legal-sec a { color: var(--navy); font-weight: 700; }

.legal-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px 38px; position: relative; overflow: hidden; }
.legal-contact h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.legal-contact p { color: #C9D2E3; margin: 0; }
.legal-contact .btn { position: relative; }

.nf { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%); padding: 72px 0 0; }
.nf-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
.nf-copy { padding-bottom: 96px; }
.nf-code { display: block; font: 600 clamp(6rem, 14vw, 10rem)/.9 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 18px; letter-spacing: .02em; }
.nf h1 { margin-bottom: 18px; }
.nf .lead { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin-bottom: 34px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.nf-links { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.nf-links h2 { font: 700 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 14px; }
.nf-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.nf-links a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.nf-links a span { color: var(--gold); transition: transform .25s; }
.nf-links a:hover span { transform: translateX(4px); }
.nf-visual { display: flex; justify-content: center; }
.nf-arch { position: relative; width: min(100%, 400px); aspect-ratio: 400 / 500; border-radius: 200px 200px 0 0; background: var(--navy); display: grid; place-items: center; }
.nf-arch::before { content: ""; position: absolute; inset: 16px 16px 0; border: 1px solid rgba(184, 148, 62, .55); border-bottom: 0; border-radius: 186px 186px 0 0; }
.nf-arch img { width: 58%; position: relative; }
.footer-slim { padding: 28px 0; }
.footer-slim .footer-bottom { padding-top: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-badge { left: 0; }
  .about-grid { gap: 56px; }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  section { padding: 84px 0; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(24, 37, 63, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; padding: 16px; }

  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { margin-top: 12px; }
  .arch { width: min(100%, 380px); }
  .hero-badge { left: 0; bottom: 40px; }

  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .service:nth-child(5) { grid-column: 1 / -1; }

  .topics-grid { grid-template-columns: 1fr; gap: 40px; }
  .topics-grid .section-head { position: static; }

  .process { grid-template-columns: 1fr; gap: 32px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; padding: 0; }
  .step::before { margin: 0; grid-row: span 2; }
  .step::after { top: 52px; bottom: -32px; left: 26px; right: auto; width: 1px; height: auto; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .about-grid, .training-grid { grid-template-columns: 1fr; gap: 56px; }
  .portrait { max-width: 380px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }

  .posts { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
  .toc ol { columns: 2; column-gap: 24px; border: 0; }
  .toc a { padding-left: 0; border: 0; break-inside: avoid; }
  .summary-items { grid-template-columns: 1fr; }
  .nf-grid { grid-template-columns: 1fr; gap: 40px; }
  .nf-copy { padding-bottom: 0; }
  .nf-arch { width: min(100%, 320px); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .sub-nav .sub-back { display: none; }
  .sub-nav .btn { padding: 12px 16px; font-size: .84rem; }
  .page-hero { padding: 48px 0 56px; }
  .page-hero-mark { width: 240px; right: -50px; bottom: -60px; }
  .legal { padding: 40px 0 64px; }
  .legal-summary, .legal-sec, .legal-contact { padding: 26px 22px; }
  .legal-sec h2 { font-size: 1.45rem; }
  .toc ol { columns: 1; }
  .legal-contact .btn { width: 100%; }
  .nf { padding-top: 40px; }
  .nf-actions .btn { width: 100%; }
  .nf-links ul { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .brand img { width: 38px; }
  .brand-text .b1, .brand-text .b2 { font-size: .95rem; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: relative; left: auto; bottom: auto; margin: -40px auto 0; max-width: none; width: calc(100% - 32px); z-index: 1; }
  .hero-visual { flex-direction: column; align-items: center; }
  .hero-mark { display: none; }
  .services { grid-template-columns: 1fr; }
  .service:nth-child(5) { grid-column: auto; }
  .service { padding: 32px 26px; }
  .acc-item summary { font-size: 1.22rem; gap: 14px; padding: 22px 0; }
  .acc-body { padding-left: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .portrait::before { inset: 14px -10px -14px 14px; }
  .portrait-sign { left: 12px; bottom: 16px; }
  .contact-info, .contact-form { padding: 40px 24px; }
  .fields { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
