:root {
  --navy: #062f49;
  --navy-2: #0b4665;
  --navy-3: #123d58;
  --ink: #0c2638;
  --muted: #5d6e7a;
  --red: #e22b2f;
  --red-dark: #bd1e24;
  --yellow: #f4c430;
  --ice: #edf4f7;
  --line: #d8e3e8;
  --white: #fff;
  --header-h: 82px;
  --container: 1240px;
  --radius: 30px;
  --shadow: 0 26px 70px rgba(5, 42, 65, .13);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
p { color: var(--muted); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.site-canvas { min-height: 100vh; overflow: clip; background: #fff; }
#main { display: flex; flex-direction: column; padding-top: var(--header-h); }
.layout-controlled {
  position: relative;
  order: var(--block-order, 0);
  width: var(--block-width, 100%);
  max-width: 100%;
  margin-inline: auto;
  transform: translate(var(--block-x, 0), var(--block-y, 0));
}
.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: fixed; z-index: 9999; left: 16px; top: -80px; padding: 12px 18px;
  color: #fff; background: var(--navy); border-radius: 12px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: fixed; z-index: 500; inset: 0 0 auto; height: var(--header-h);
  background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(8,47,71,.1);
  box-shadow: 0 8px 34px rgba(5,42,65,.07); backdrop-filter: blur(16px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; height: 62px; }
.brand img { width: 214px; height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 760; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 27px 0; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 3px;
  border-radius: 2px; background: var(--red); transition: right .25s var(--ease);
}
.main-nav > a:hover::after, .main-nav > a.active::after, .main-nav > a[aria-current="page"]::after { right: 0; }
.dates-link { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(226,43,47,.1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; color: #fff;
  background: var(--red); border-radius: 999px; box-shadow: 0 10px 26px rgba(226,43,47,.24);
  transition: transform .2s, background .2s;
}
.nav-cta span { opacity: .78; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.nav-cta:hover { transform: translateY(-2px); background: var(--red-dark); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

/* Shared type and controls */
.eyebrow, .section-label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  color: var(--red); font-size: 12px; font-style: normal; font-weight: 850;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow span { width: 42px; height: 3px; background: currentColor; }
.eyebrow em { font-style: normal; }
.eyebrow.dark { color: var(--red); }
.section-label.light { color: rgba(255,255,255,.72); }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font-weight: 800; line-height: 1.1; transition: transform .22s var(--ease), box-shadow .22s, background .22s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 14px 30px rgba(226,43,47,.22); }
.button-primary:hover { background: var(--red-dark); box-shadow: 0 18px 38px rgba(226,43,47,.3); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.62); background: rgba(6,47,73,.26); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.13); }
.button-outline { color: var(--navy); border-color: #b9cad3; background: #fff; }
.button-white { color: var(--navy); background: #fff; }
.button-disabled { color: #7f8e98; background: #e8eef1; cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 850; }
.text-link span { font-size: 23px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.text-link.light { color: #fff; }
.compact-heading, .offer-heading {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); align-items: end;
  gap: 60px; margin-bottom: 42px;
}
.compact-heading h2, .offer-heading h2 { max-width: 720px; margin: 0; font-size: clamp(38px, 5vw, 68px); }
.compact-heading > p, .offer-heading > p { margin: 0; font-size: 18px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible, .admin-session .reveal { opacity: 1; transform: none; }

/* Home hero */
.hero {
  min-height: min(790px, calc(100svh - var(--header-h))); display: grid; align-items: center;
  color: #fff; background: var(--navy); isolation: isolate; overflow: hidden;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,31,49,.97) 0%, rgba(3,31,49,.86) 31%, rgba(3,31,49,.44) 55%, rgba(3,31,49,.06) 83%),
    linear-gradient(0deg, rgba(3,31,49,.24), transparent 45%);
}
.hero-inner { display: flex; align-items: center; min-height: inherit; padding-block: 72px 100px; }
.hero-copy { max-width: 650px; }
.hero .eyebrow { color: #fff; margin-bottom: 28px; }
.hero .eyebrow span { background: var(--red); }
.hero h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(58px, 7.4vw, 104px); }
.hero-lead { max-width: 640px; margin-bottom: 34px; color: rgba(255,255,255,.84); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; right: 28px; bottom: 30px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll b { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }

/* Home services */
.services-section { background: var(--ice); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.service-panel { overflow: hidden; min-width: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-panel-training { background: #fff; }
.service-panel-coverage { color: #fff; background: var(--navy); }
.service-art { height: 305px; overflow: hidden; background: #e6f0f4; }
.service-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-panel-training .service-art img { object-position: 70% 48%; }
.service-panel-coverage .service-art img { object-position: center; }
.service-panel:hover .service-art img { transform: scale(1.035); }
.service-content { min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; padding: 38px 42px 42px; }
.service-tag { margin-bottom: 22px; color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.service-content h3 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 53px); }
.service-content p { margin-bottom: 28px; font-size: 17px; }
.service-panel-coverage p { color: rgba(255,255,255,.72); }
.service-content .text-link { margin-top: auto; }

/* About slice */
.about-slice { background: #fff; }
.about-teaser { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 84px; align-items: center; }
.about-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ice); box-shadow: var(--shadow); }
.about-visual::before { content: ""; display: block; padding-top: 83%; }
.about-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.visual-badge { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; color: var(--navy); background: rgba(255,255,255,.92); border-radius: 16px; box-shadow: 0 15px 34px rgba(4,35,54,.15); }
.visual-badge b { color: var(--red); margin-right: 6px; }
.about-copy h2 { max-width: 650px; margin-bottom: 25px; font-size: clamp(42px, 5.8vw, 76px); }
.about-copy p:not(.section-label) { max-width: 680px; margin-bottom: 28px; font-size: 18px; line-height: 1.75; }

/* Dates */
.dates-preview { background: #fff; padding-top: 30px; }
.event-preview-grid { display: grid; gap: 14px; }
.event-mini {
  display: grid; grid-template-columns: 110px minmax(0,1fr) 54px; align-items: center; gap: 28px;
  padding: 20px 26px 20px 20px; border: 1px solid var(--line); border-radius: 24px; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.event-mini:hover { transform: translateY(-2px); border-color: #a9c0cb; box-shadow: 0 18px 44px rgba(5,42,65,.08); }
.event-mini-date { display: grid; place-items: center; min-height: 92px; color: #fff; background: var(--navy); border-radius: 19px; }
.event-mini-date strong { font-size: 38px; line-height: 1; }
.event-mini-date span { font-size: 12px; font-weight: 800; }
.event-mini h3 { margin: 5px 0 7px; font-size: 25px; }
.event-mini p { margin: 0; }
.event-mini > a { display: grid; place-items: center; width: 50px; height: 50px; color: var(--red); border: 1px solid var(--line); border-radius: 50%; font-size: 24px; }
.availability { display: inline-flex; align-items: center; gap: 7px; color: #18835e; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.event-mini.last .availability, .event-full.last .availability { color: #c47700; }
.event-mini.full .availability, .event-full.full .availability { color: var(--red); }
.event-empty, .calendar-empty {
  display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 42px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ice);
}
.event-empty h3 { margin: 6px 0 8px; font-size: 28px; }
.event-empty p, .calendar-empty p { margin-bottom: 0; }
.empty-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--red); border-radius: 13px; font-size: 26px; }

/* Quote + calm CTA */
.quote-home { padding-top: 54px; background: #fff; }
.quote-card {
  position: relative; display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 22px;
  padding: 64px 78px; color: #fff; background: var(--navy); border-radius: var(--radius); overflow: hidden;
}
.quote-card::after { content: ""; position: absolute; width: 430px; height: 430px; right: -190px; top: -240px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.quote-mark { color: var(--red); font: 160px/1 Georgia, serif; transform: translateY(-27px); }
.quote-card blockquote { max-width: 900px; margin-bottom: 34px; font-size: clamp(30px,4.4vw,57px); line-height: 1.13; letter-spacing: -.035em; font-weight: 760; }
.founder { display: flex; align-items: center; gap: 18px; }
.hand-signature { color: #fff; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 29px; transform: rotate(-3deg); }
.founder small { color: rgba(255,255,255,.58); }
.partners-section { padding: 80px 0; }
.partners-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.partner { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px; text-align: center; border: 1px solid var(--line); border-radius: 20px; }
.partner img { max-width: 130px; max-height: 48px; object-fit: contain; }
.partner span { color: var(--muted); font-size: 13px; }
.soft-cta-section { padding: 68px 0 100px; background: #fff; }
.soft-cta { display: grid; grid-template-columns: 70px minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg,#f5f9fb,#fff); }
.soft-cta-icon { display: grid; place-items: center; width: 62px; height: 62px; color: #fff; background: var(--navy); border-radius: 18px; font-size: 26px; }
.soft-cta .section-label { margin-bottom: 7px; }
.soft-cta h2 { margin: 0 0 5px; font-size: clamp(24px,3vw,36px); }
.soft-cta p:not(.section-label) { margin: 0; }

/* Page intro and offer */
.page-intro, .offer-intro, .about-hero { padding: 105px 0 82px; background: linear-gradient(145deg,#f1f7fa 0%,#fff 70%); }
.page-intro-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.75fr); gap: 80px; align-items: end; }
.page-intro h1, .offer-intro h1, .about-hero h1 { margin-bottom: 0; font-size: clamp(54px,7vw,92px); }
.page-intro-grid > p { margin-bottom: 4px; font-size: 20px; line-height: 1.65; }
.offer-intro { padding-block: 72px; }
.offer-intro-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 70px; align-items: center; }
.offer-intro h1 { max-width: 750px; margin-bottom: 24px; }
.offer-intro p:not(.eyebrow) { max-width: 670px; font-size: 20px; }
.anchor-actions { display: flex; gap: 12px; margin-top: 32px; }
.offer-intro img { width: 100%; max-height: 430px; aspect-ratio: 5/4; object-fit: cover; object-position: 67% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.offer-training { background: #fff; }
.course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.course-card { display: flex; flex-direction: column; min-height: 410px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.course-card.featured { border-color: rgba(226,43,47,.35); box-shadow: 0 20px 52px rgba(226,43,47,.09); }
.course-top { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 35px; }
.course-top > span { color: var(--red); font-weight: 900; }
.course-top b { color: #82919b; text-align: right; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.course-card h3 { margin-bottom: 16px; font-size: 29px; }
.course-card p { font-size: 15px; }
.course-card ul { display: grid; gap: 8px; margin: 6px 0 25px; padding: 0; list-style: none; color: #405563; font-size: 14px; }
.course-card li { position: relative; padding-left: 19px; }
.course-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.course-card .text-link { margin-top: auto; }
.method-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 25px; padding: 23px 26px; border-radius: 20px; background: var(--ice); }
.method-strip strong { margin-right: 9px; color: var(--navy); }
.method-strip span { padding: 8px 13px; border-radius: 999px; background: #fff; color: #48606e; font-size: 13px; }
.offer-coverage { color: #fff; background: var(--navy); }
.coverage-layout { display: grid; grid-template-columns: .92fr 1fr; gap: 76px; align-items: center; }
.coverage-art { overflow: hidden; border-radius: var(--radius); box-shadow: 0 28px 65px rgba(0,0,0,.22); }
.coverage-art img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.coverage-copy h2 { margin-bottom: 24px; font-size: clamp(46px,6vw,76px); }
.coverage-copy > p:not(.section-label) { color: rgba(255,255,255,.75); font-size: 18px; }
.coverage-points { display: grid; margin: 30px 0; }
.coverage-points > div { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); }
.coverage-points span { color: var(--red); font-weight: 900; }
.coverage-points p { margin: 0; color: #fff; font-weight: 680; }

/* Full calendar */
.dates-intro { padding-bottom: 70px; }
.calendar-page { padding-top: 20px; }
.event-list-full { display: grid; gap: 18px; }
.event-full { display: grid; grid-template-columns: 130px minmax(0,1fr) auto; gap: 34px; align-items: center; padding: 28px; border: 1px solid var(--line); border-left: 5px solid #20956c; border-radius: 26px; background: #fff; box-shadow: 0 15px 45px rgba(5,42,65,.06); }
.event-full.last { border-left-color: #dc8a00; }
.event-full.full { border-left-color: var(--red); }
.event-full-date { display: grid; place-items: center; min-height: 118px; color: #fff; background: var(--navy); border-radius: 21px; }
.event-full-date strong { font-size: 47px; line-height: 1; }
.event-full-date span { font-size: 13px; font-weight: 800; }
.event-full h2 { margin: 7px 0 20px; font-size: 32px; }
.event-details { display: grid; grid-template-columns: repeat(4,minmax(120px,1fr)); gap: 14px; }
.event-details span { color: #435964; font-size: 14px; }
.event-details b { display: block; margin-bottom: 3px; color: #84939c; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.calendar-empty { max-width: 900px; margin: 0 auto; padding: 60px; display: block; text-align: center; }
.calendar-empty > span { color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.calendar-empty h2 { margin: 13px auto 18px; font-size: clamp(34px,5vw,54px); }
.calendar-empty p { max-width: 660px; margin: 0 auto 28px; font-size: 18px; }

/* About */
.about-hero { padding-block: 75px; }
.about-hero-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 70px; align-items: center; }
.about-hero h1 { max-width: 780px; margin-bottom: 26px; }
.about-lead { max-width: 720px; font-size: 20px; line-height: 1.7; }
.about-hero-art { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-hero-art img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.story-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; }
.story-grid h2 { font-size: clamp(38px,5vw,62px); }
.story-grid p { font-size: 18px; line-height: 1.8; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 65px; }
.values-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.values-grid span { color: var(--red); font-size: 12px; font-weight: 900; }
.values-grid h3 { margin: 22px 0 9px; font-size: 28px; }
.values-grid p { margin-bottom: 0; }
.founder-section { padding-top: 25px; background: #fff; }
.founder-card { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 62px; align-items: center; padding: 54px 62px; color: #fff; background: var(--navy); border-radius: var(--radius); }
.founder-symbol { display: grid; place-items: center; aspect-ratio: 1; padding: 38px; border-radius: 50%; background: #fff; }
.founder-symbol img { width: 100%; height: auto; }
.founder-card h2 { margin-bottom: 15px; font-size: 50px; }
.founder-card p:not(.section-label) { color: rgba(255,255,255,.7); font-size: 18px; }
.founder-card blockquote { max-width: 760px; padding-left: 20px; border-left: 3px solid var(--red); font-size: 24px; font-weight: 720; }

/* Contact */
.contact-intro { padding-bottom: 65px; }
.admin-form input:not([type="checkbox"]), .admin-form textarea, .admin-form select {
  width: 100%; border: 1px solid #c6d5dd; border-radius: 14px; background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.admin-form input:not([type="checkbox"]), .admin-form select { min-height: 54px; padding: 12px 15px; }
.admin-form textarea { min-height: 132px; padding: 14px 15px; resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(11,70,101,.1); }

/* Privacy */
.privacy-intro { padding-bottom: 58px; }
.privacy-date { margin-top: 20px; }
.privacy-layout { display: grid; grid-template-columns: 230px minmax(0,800px); justify-content: center; gap: 70px; align-items: start; }
.privacy-nav { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 9px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.privacy-nav strong { margin-bottom: 6px; }
.privacy-nav a { color: var(--muted); font-size: 14px; }
.privacy-nav a:hover { color: var(--red); }
.legal-prose { font-size: 16px; line-height: 1.78; }
.legal-prose .legal-intro { padding: 24px 28px; color: var(--ink); background: var(--ice); border-radius: 18px; font-size: 18px; }
.legal-prose h2 { margin: 48px 0 14px; font-size: 28px; letter-spacing: -.025em; }
.legal-prose a { color: var(--red); text-decoration: underline; }
.legal-prose li { margin: 9px 0; color: var(--muted); }
.custom-section { background: #fff; }
.custom-card { padding: 45px; border: 1px solid var(--line); border-radius: 24px; }
.custom-card h2 { font-size: 45px; }

/* Footer */
.site-footer { order: 9999; padding: 65px 0 28px; color: #fff; background: #031f31; border-top: 6px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 55px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-brand img { width: 205px; max-height: 65px; padding: 8px; object-fit: contain; background: #fff; border-radius: 10px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; }
.footer-grid h2 { margin: 0 0 10px; color: #8ea1ad; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { color: rgba(255,255,255,.82); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #83939d; font-size: 12px; }

/* Admin editing surface */
.admin-session { --admin-h: 58px; padding-top: var(--admin-h); background: #dfe6ea; }
.admin-session .site-header { top: var(--admin-h); }
.admin-session .site-canvas { transition: width .3s var(--ease), box-shadow .3s; margin-inline: auto; box-shadow: 0 0 0 1px rgba(6,47,73,.12), 0 30px 100px rgba(6,47,73,.22); }
.admin-session .layout-controlled { outline-offset: -3px; }
.admin-session.design-mode .layout-controlled { cursor: move; outline: 2px dashed rgba(26,117,165,.45); }
.admin-session.design-mode .layout-controlled:hover, .admin-session.design-mode .layout-controlled.design-selected { outline: 3px solid #2384b6; }
.admin-hidden-block { opacity: .5; background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(226,43,47,.05) 12px 24px); }
.admin-hidden-block::before { content: "SEKCJA UKRYTA"; position: absolute; z-index: 20; top: 10px; right: 10px; padding: 6px 9px; color: #fff; background: var(--red); border-radius: 7px; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
[data-edit] { cursor: text; border-radius: 4px; }
.admin-session [data-edit]:hover { outline: 2px dashed rgba(226,43,47,.65); outline-offset: 4px; }
.preview-tablet .site-canvas { width: 820px; }
.preview-phone .site-canvas { width: 390px; }
.preview-tablet, .preview-phone { overflow-x: auto; }
.admin-toolbar { position: fixed; z-index: 2000; inset: 0 0 auto; height: 58px; display: flex; align-items: center; gap: 16px; padding: 8px 14px; color: #fff; background: #081e2c; box-shadow: 0 5px 24px rgba(0,0,0,.24); }
.admin-toolbar-brand { display: flex; align-items: center; gap: 9px; min-width: 165px; }
.admin-toolbar-brand > span { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--red); border-radius: 10px; font-weight: 900; }
.admin-toolbar-brand div { display: grid; }
.admin-toolbar-brand strong { font-size: 13px; }
.admin-toolbar-brand small { color: #8fa4b1; font-size: 9px; }
.admin-tools { display: flex; align-items: center; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.admin-tools::-webkit-scrollbar { display: none; }
.admin-tools button, .preview-switch button, .admin-exit { padding: 8px 10px; color: #dbe5ea; border: 0; border-radius: 8px; background: transparent; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.admin-tools button:hover, .preview-switch button:hover, .preview-switch button.active { color: #fff; background: #19394c; }
.preview-switch { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #04131c; }
.admin-exit { color: #ff9b9e; }
.admin-dialog { width: min(920px,calc(100% - 28px)); max-height: calc(100vh - 86px); padding: 0; border: 0; border-radius: 22px; color: var(--ink); box-shadow: 0 28px 100px rgba(0,0,0,.38); }
.admin-dialog::backdrop { background: rgba(2,20,31,.7); backdrop-filter: blur(5px); }
.admin-dialog-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 19px 24px; color: #fff; background: var(--navy); }
.admin-dialog-head small { color: #95aeba; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.admin-dialog-head h2 { margin: 2px 0 0; font-size: 23px; }
.admin-dialog-head button { width: 38px; height: 38px; color: #fff; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 25px; cursor: pointer; }
.admin-dialog-body { padding: 24px; background: #f7fafb; overflow-y: auto; max-height: calc(100vh - 160px); }
.admin-form { display: grid; gap: 16px; }
.admin-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
.admin-form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.admin-item { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.admin-item h3 { margin-bottom: 14px; letter-spacing: -.02em; }
.admin-item + .admin-item { margin-top: 12px; }
.admin-remove { position: absolute; top: 15px; right: 15px; color: #a81d24; border: 0; background: #fee9ea; border-radius: 8px; padding: 6px 9px; cursor: pointer; }
.admin-add, .admin-save, .admin-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 43px; padding: 10px 16px; border: 0; border-radius: 11px; font-weight: 800; cursor: pointer; }
.admin-add { color: var(--navy); background: #e1edf2; }
.admin-save { color: #fff; background: var(--red); }
.admin-secondary { color: var(--navy); background: #e5edf1; }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 8px; }
.admin-check { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; }
.admin-check input { width: 18px; height: 18px; accent-color: var(--red); }
.admin-upload { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.admin-upload small { color: var(--muted); }
.admin-upload input { grid-column: 1; }
.admin-upload button { grid-column: 2; grid-row: 1 / span 2; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { padding: 20px; border-radius: 16px; color: #fff; background: var(--navy); }
.stat-card span { display: block; color: #9db0bb; font-size: 11px; }
.stat-card strong { font-size: 35px; }
.admin-message { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.admin-message + .admin-message { margin-top: 12px; }
.admin-message h3 { margin-bottom: 4px; }
.admin-message small { color: var(--muted); }
.admin-message .admin-remove { position: static; }
.admin-warning { padding: 12px 14px; color: #852129; background: #fee4e6; border-radius: 11px; }
.admin-toast { position: fixed; z-index: 2600; right: 20px; bottom: 20px; max-width: 360px; padding: 13px 17px; color: #fff; background: #137255; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.22); transform: translateY(120px); opacity: 0; transition: .28s var(--ease); }
.admin-toast.error { background: #b32027; }
.admin-toast.show { transform: none; opacity: 1; }
.design-panel { position: fixed; z-index: 1900; top: 76px; right: 18px; width: 320px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 22px 70px rgba(0,0,0,.3); }
.design-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.design-panel-head div { display: grid; }
.design-panel-head small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.design-panel-head button { border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.design-panel > label { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 13px 0; font-size: 12px; font-weight: 750; }
.design-panel input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--red); }
.design-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.design-row label { display: grid; gap: 6px; font-size: 11px; font-weight: 750; }
.design-row input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 9px; }
.design-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.design-actions button { min-height: 40px; border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.design-panel > p { margin: 13px 0 0; font-size: 10px; line-height: 1.45; }
.layout-admin-list { display: grid; gap: 9px; }
.layout-admin-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.layout-admin-row button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #e8f0f3; cursor: pointer; }
[data-version] button { width: auto; padding: 0 10px; font-size: 11px; font-weight: 800; }

/* Podgląd responsywny w edytorze bez przeładowania strony */
.preview-tablet .site-canvas .course-grid { grid-template-columns: repeat(2, 1fr); }
.preview-tablet .site-canvas .about-teaser,
.preview-tablet .site-canvas .coverage-layout,
.preview-tablet .site-canvas .about-hero-grid { gap: 38px; }
.preview-phone .site-canvas { --header-h: 70px; }
.preview-phone .site-canvas .container { width: calc(100% - 22px); }
.preview-phone .site-canvas .layout-controlled { width: 100% !important; transform: none !important; }
.preview-phone .site-canvas .brand img { width: 170px; }
.preview-phone .site-canvas .nav-toggle { display: block; }
.preview-phone .site-canvas .main-nav { display: none; }
.preview-phone .site-canvas .hero { min-height: 700px; align-items: end; }
.preview-phone .site-canvas .hero-media img { object-position: 58% center; }
.preview-phone .site-canvas .hero-overlay { background: linear-gradient(0deg, rgba(3,31,49,.98), rgba(3,31,49,.76) 55%, rgba(3,31,49,.1)); }
.preview-phone .site-canvas .hero-inner { align-items: end; padding: 250px 0 64px; }
.preview-phone .site-canvas .hero h1 { font-size: 48px; }
.preview-phone .site-canvas .hero-scroll { display: none; }
.preview-phone .site-canvas .compact-heading,
.preview-phone .site-canvas .offer-heading,
.preview-phone .site-canvas .page-intro-grid,
.preview-phone .site-canvas .service-grid,
.preview-phone .site-canvas .about-teaser,
.preview-phone .site-canvas .offer-intro-grid,
.preview-phone .site-canvas .coverage-layout,
.preview-phone .site-canvas .about-hero-grid,
.preview-phone .site-canvas .story-grid,
.preview-phone .site-canvas .course-grid,
.preview-phone .site-canvas .values-grid,
.preview-phone .site-canvas .privacy-layout,
.preview-phone .site-canvas .footer-grid { grid-template-columns: 1fr; }
.preview-phone .site-canvas .service-content { min-height: 0; padding: 26px 23px; }
.preview-phone .site-canvas .service-content h3 { font-size: 34px; }
.preview-phone .site-canvas .event-mini { grid-template-columns: 76px 1fr; padding: 14px; }
.preview-phone .site-canvas .event-mini > a { display: none; }
.preview-phone .site-canvas .quote-card { grid-template-columns: 1fr; padding: 36px 24px; }
.preview-phone .site-canvas .soft-cta,
.preview-phone .site-canvas .event-full,
.preview-phone .site-canvas .founder-card { grid-template-columns: 1fr; }
.preview-phone .site-canvas .soft-cta > .button,
.preview-phone .site-canvas .event-full > .button { grid-column: 1; justify-self: start; }
.preview-phone .site-canvas .footer-bottom { flex-direction: column; }

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .container { width: min(calc(100% - 34px), var(--container)); }
  .brand img { width: 188px; }
  .main-nav { gap: 20px; }
  .nav-cta span { display: none; }
  .service-content { padding: 32px; }
  .about-teaser, .coverage-layout, .about-hero-grid { gap: 46px; }
  .course-grid { grid-template-columns: repeat(2,1fr); }
  .event-details { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3,1fr); gap: 28px; }
}

@media (max-width: 800px) {
  :root { --header-h: 70px; --radius: 22px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 75px 0; }
  .layout-controlled { width: 100% !important; transform: none !important; }
  .brand img { width: 174px; max-height: 48px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto; display: none; align-items: stretch; gap: 0; padding: 18px 22px 25px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 22px 50px rgba(4,35,54,.18); }
  .main-nav.open { display: grid; }
  .main-nav > a:not(.nav-cta) { padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 14px; }
  .hero { min-height: 730px; align-items: end; }
  .hero-media img { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(3,31,49,.98) 0%, rgba(3,31,49,.8) 48%, rgba(3,31,49,.12) 100%); }
  .hero-inner { align-items: end; padding-block: 230px 82px; }
  .hero h1 { font-size: clamp(48px,15vw,72px); }
  .hero-scroll { display: none; }
  .compact-heading, .offer-heading, .page-intro-grid { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .compact-heading h2, .offer-heading h2 { font-size: 44px; }
  .service-grid, .about-teaser, .offer-intro-grid, .coverage-layout, .about-hero-grid, .story-grid { grid-template-columns: 1fr; }
  .service-art { height: 260px; }
  .service-content { min-height: 350px; }
  .about-teaser, .offer-intro-grid, .coverage-layout, .about-hero-grid, .story-grid { gap: 38px; }
  .about-copy h2 { font-size: 48px; }
  .dates-preview { padding-top: 20px; }
  .event-mini { grid-template-columns: 86px 1fr; gap: 16px; }
  .event-mini > a { display: none; }
  .event-mini-date { min-height: 86px; }
  .event-empty { align-items: flex-start; flex-direction: column; }
  .quote-card { grid-template-columns: 1fr; padding: 42px 30px; }
  .quote-mark { height: 55px; font-size: 100px; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .soft-cta { grid-template-columns: 56px 1fr; }
  .soft-cta > .button { grid-column: 2; justify-self: start; }
  .page-intro, .offer-intro, .about-hero { padding: 72px 0 60px; }
  .page-intro h1, .offer-intro h1, .about-hero h1 { font-size: 55px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 0; }
  .event-full { grid-template-columns: 100px 1fr; }
  .event-full > .button { grid-column: 2; justify-self: start; }
  .values-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 150px 1fr; gap: 30px; padding: 38px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 25px; }
  .privacy-nav { position: static; grid-template-columns: repeat(2,1fr); }
  .privacy-nav strong { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .admin-toolbar-brand small, .preview-switch { display: none; }
  .admin-toolbar-brand { min-width: 115px; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .section { padding: 62px 0; }
  .hero { min-height: 700px; }
  .hero-inner { padding-block: 250px 64px; }
  .hero h1 { margin-bottom: 20px; font-size: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .compact-heading h2, .offer-heading h2, .about-copy h2 { font-size: 39px; }
  .service-art { height: 225px; }
  .service-content { min-height: 0; padding: 27px 24px 30px; }
  .service-content h3 { font-size: 34px; }
  .event-mini { grid-template-columns: 76px 1fr; padding: 14px; }
  .event-mini h3 { font-size: 21px; }
  .event-mini-date strong { font-size: 31px; }
  .event-empty { padding: 28px; }
  .quote-card { padding: 36px 24px; }
  .quote-card blockquote { font-size: 30px; }
  .founder { align-items: flex-start; flex-direction: column; }
  .soft-cta { grid-template-columns: 1fr; padding: 27px 24px; }
  .soft-cta > .button { grid-column: 1; }
  .page-intro h1, .offer-intro h1, .about-hero h1 { font-size: 44px; }
  .offer-intro p:not(.eyebrow), .about-lead { font-size: 17px; }
  .anchor-actions { flex-direction: column; }
  .course-card { padding: 25px; }
  .method-strip { align-items: flex-start; flex-direction: column; }
  .event-full { grid-template-columns: 1fr; padding: 20px; }
  .event-full-date { width: 96px; min-height: 92px; }
  .event-details { grid-template-columns: 1fr 1fr; }
  .event-full > .button { grid-column: 1; }
  .calendar-empty { padding: 38px 24px; }
  .founder-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .founder-symbol { width: 130px; }
  .founder-card h2 { font-size: 39px; }
  .admin-form-row { grid-template-columns: 1fr; }
  .privacy-nav { grid-template-columns: 1fr; }
  .partners-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .admin-toolbar { gap: 6px; padding: 7px; }
  .admin-toolbar-brand div, .admin-exit { display: none; }
  .admin-toolbar-brand { min-width: 38px; }
  .admin-dialog-body { padding: 16px; }
  .admin-upload { grid-template-columns: 1fr; }
  .admin-upload input, .admin-upload button { grid-column: 1; grid-row: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .design-panel { left: 10px; right: 10px; top: 68px; width: auto; }
}

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