@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("assets/fonts/source-sans-3-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1a2420;
  --ink-soft: #3d4a44;
  --mist: #e6efe8;
  --leaf: #3f6b5a;
  --leaf-deep: #2a4a3d;
  --sage: #7a9a88;
  --glow: #c5d9b8;
  --sand: #f3ebe0;
  --cream: #f7f4ef;
  --accent: #c9a8c4;
  --accent-deep: #9a7a96;
  --white: #ffffff;
  --danger: #8b3a3a;
  --radius: 14px;
  --font-display: "Source Sans 3", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(26, 36, 32, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(243, 235, 224, 0.9), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(197, 217, 184, 0.25), transparent 45%),
    var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  color: var(--white);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 3.4rem;
  height: auto;
  flex-shrink: 0;
}

.hero-logo {
  width: clamp(8rem, 14vw, 10.5rem);
  height: auto;
  margin: 0 0 1.1rem;
  animation: wing-soft 4.5s ease-in-out infinite alternate;
  transform-origin: 50% 55%;
}

@keyframes wing-soft {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-6px) scale(1.02); }
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(197, 217, 184, 0.4), transparent 55%),
    radial-gradient(ellipse 55% 45% at 18% 78%, rgba(201, 168, 196, 0.2), transparent 52%),
    linear-gradient(165deg, #1e3a30 0%, #2f5546 42%, #4a6e5d 78%, #6b8f7a 100%);
  background-size: 120% 120%;
  animation: mist-drift 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 28, 24, 0.72) 0%, rgba(18, 28, 24, 0.28) 42%, rgba(18, 28, 24, 0.12) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

@keyframes mist-drift {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}

.hero-inner {
  width: min(720px, 100%);
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.25rem, 2vw, 2.5rem) clamp(3rem, 6vh, 4.5rem);
  animation: rise-in 0.9s ease-out both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 3.5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 0.95rem + 1.1vw, 1.5rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1.05rem;
  opacity: 0.92;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) clamp(1.25rem, 2vw, 2.5rem);
}

.section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.section-kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about {
  background:
    radial-gradient(circle at 90% 10%, rgba(197, 217, 184, 0.4), transparent 42%),
    radial-gradient(circle at 8% 85%, rgba(243, 235, 224, 0.95), transparent 48%),
    linear-gradient(165deg, #f7f4ef 0%, #f3efe6 45%, #eef3ea 100%);
}

.about-grid {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.about-grid > * {
  min-width: 0;
}

.about-content h2 {
  max-width: none;
}

.about-lead {
  margin: 0 0 1.25rem;
  max-width: 42ch;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.about-photo {
  margin: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: auto;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "content photo"
      "content aside";
    align-items: start;
    gap: 1.75rem 2.5rem;
  }

  .about-content {
    grid-area: content;
  }

  .about-photo {
    grid-area: photo;
  }

  .about-aside {
    grid-area: aside;
  }
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.aside-panel {
  background: linear-gradient(160deg, var(--leaf-deep), var(--leaf));
  color: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: float-soft 5s ease-in-out infinite alternate;
}

@keyframes float-soft {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.aside-panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.aside-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.aside-panel li + li {
  margin-top: 0.45rem;
}

.for-whom {
  background:
    radial-gradient(circle at 15% 20%, rgba(243, 235, 224, 0.9), transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(201, 168, 196, 0.18), transparent 42%),
    linear-gradient(160deg, #ebe6dc 0%, #e8efe6 50%, #e6ebe3 100%);
}

.credentials {
  background:
    radial-gradient(circle at 8% 20%, rgba(197, 217, 184, 0.35), transparent 42%),
    radial-gradient(circle at 95% 80%, rgba(243, 235, 224, 0.85), transparent 40%),
    linear-gradient(180deg, #f5f2eb 0%, #f7f4ef 55%, #f0f4ed 100%);
}

.credentials h2 {
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 1.75rem);
  font-weight: 500;
  max-width: 28ch;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.cred-block {
  padding-top: 1.15rem;
  margin-top: 1.35rem;
  border-top: 1px solid rgba(63, 107, 90, 0.22);
}

.cred-block:first-of-type {
  margin-top: 1.5rem;
}

.cred-label {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 600;
}

.cred-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  max-width: 72ch;
  font-size: 0.98rem;
}

.cred-list li + li {
  margin-top: 0.45rem;
}

.cred-list strong {
  color: var(--ink);
  font-weight: 600;
}

.cred-note {
  margin: 1.15rem 0 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cred-note a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cred-note a:hover,
.cred-note a:focus-visible {
  color: var(--accent);
}

.audience-list {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.audience-list > li {
  min-width: 0;
}

@media (min-width: 720px) {
  .audience-list {
    grid-template-columns: 1fr 1fr;
  }
}

.audience-list p {
  margin: 0;
  color: var(--ink-soft);
}

.audience-list .audience-heading {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(63, 107, 90, 0.25);
  color: var(--ink);
  max-width: none;
}

.audience-situations {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.audience-situations li + li {
  margin-top: 0.4rem;
}

.booking {
  background:
    radial-gradient(circle at 80% 10%, rgba(243, 235, 224, 0.9), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(197, 217, 184, 0.28), transparent 40%),
    linear-gradient(180deg, #f3efe6 0%, #f7f4ef 50%, #eef2ea 100%);
}

.booking-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(63, 107, 90, 0.12);
}

.booking-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .booking-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(63, 107, 90, 0.28);
  background: #fbfaf8;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(63, 107, 90, 0.15);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.form-note,
.form-status {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

.form-status[data-state="ok"] {
  color: var(--leaf-deep);
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: var(--danger);
  font-weight: 600;
}

.booking-reassure {
  margin: 0 0 1.1rem;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.slot-hint {
  margin: 0;
  color: var(--ink-soft);
}

.slot-hint strong {
  color: var(--ink);
}

.location {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 168, 196, 0.14), transparent 40%),
    linear-gradient(165deg, #eef3ec 0%, #e8ebe4 55%, #e6e9e2 100%);
}

.location-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  min-width: 0;
}

.location-grid > * {
  min-width: 0;
}

@media (min-width: 800px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.location-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 14rem;
}

.location-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

.map-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  min-height: 14rem;
}

@media (min-width: 800px) {
  .map-wrap {
    aspect-ratio: auto;
    height: 100%;
    max-height: none;
  }

  .map-wrap iframe {
    min-height: 100%;
  }
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  margin: 0.85rem 0 0;
}

.map-link a {
  color: var(--leaf-deep);
  font-weight: 500;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
}

.footer-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: end;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 4.25rem;
  height: auto;
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.95rem;
}

.footer-meta a {
  color: var(--white);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.page-hero {
  position: relative;
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 2.75rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(197, 217, 184, 0.4), transparent 55%),
    radial-gradient(ellipse 55% 45% at 18% 78%, rgba(201, 168, 196, 0.2), transparent 52%),
    linear-gradient(165deg, #1e3a30 0%, #2f5546 42%, #4a6e5d 78%, #6b8f7a 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 28, 24, 0.55) 0%, rgba(18, 28, 24, 0.2) 50%, rgba(18, 28, 24, 0.1) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.page-hero .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.05rem);
  margin: 0.35rem 0 0.75rem;
  color: var(--white);
}

.page-hero .section-lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.cert-section {
  background: var(--cream);
}

.cert-intro {
  margin-bottom: 1.75rem;
}

.cert-intro h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.55rem);
  max-width: none;
}

.cert-intro p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.training-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.training-list li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(63, 107, 90, 0.18);
}

.training-list li:last-child {
  border-bottom: 1px solid rgba(63, 107, 90, 0.18);
}

.training-date {
  font-size: 0.92em;
  font-weight: 500;
  color: var(--sage);
  white-space: nowrap;
}

.training-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.training-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.training-doc {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--leaf-deep);
  font-weight: 500;
  font-size: 0.92rem;
}

.cert-gallery-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(201, 168, 196, 0.12), transparent 40%),
    linear-gradient(160deg, #eef3ec 0%, #e8ebe4 100%);
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cert-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.cert-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  background: var(--sand);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.cert-thumb:hover img {
  transform: scale(1.03);
}

.cert-thumb-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  background:
    linear-gradient(160deg, #f7f4ef 0%, #e6efe8 100%);
}

.cert-pdf-label {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--leaf-deep);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cert-pdf-title {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.3;
}

.cert-card figcaption {
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cert-card figcaption strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.cert-card figcaption span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dark green page (kwalifikacje) — warm + accent, no fog */
.page-dark {
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(165deg, #2c4035 0%, #425e4e 45%, #5a7360 100%);
}

.page-dark .page-hero,
.page-dark .credentials,
.page-dark .cert-section,
.page-dark .cert-gallery-section {
  background: transparent;
}

.page-dark .page-hero {
  padding: 5.75rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
}

.page-dark .page-hero::after {
  display: none;
}

.page-dark .page-hero h1 {
  margin: 0.3rem 0 0.55rem;
}

.page-dark .page-hero .section-lead {
  margin-bottom: 0;
}

.page-dark .section {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 2.75rem;
}

.page-dark .section-kicker {
  margin-bottom: 0.55rem;
}

.page-dark .section h2,
.page-dark .credentials h2 {
  margin-bottom: 0.5rem;
}

.page-dark .site-footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: rgba(28, 36, 32, 0.45);
  border-top: 1px solid rgba(243, 235, 224, 0.2);
}

.page-dark .section-kicker,
.page-dark .page-hero .section-kicker {
  color: #e4d5bf;
}

.page-dark h1,
.page-dark h2,
.page-dark .credentials h2,
.page-dark .cert-intro h2 {
  color: #f7f1e6;
}

.page-dark .training-list h3 {
  color: #f3f6f2;
}

.page-dark .section-lead,
.page-dark .cert-intro p,
.page-dark .training-list p,
.page-dark .cred-list {
  color: rgba(243, 235, 224, 0.86);
}

.page-dark .cred-list strong {
  color: #f7f1e6;
}

.page-dark .cred-label {
  color: #e4d5bf;
}

.page-dark .cred-block {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top-color: rgba(228, 213, 191, 0.32);
}

.page-dark .cert-intro {
  margin-bottom: 1.15rem;
}

.page-dark .training-list li {
  padding: 0.95rem 0;
}

.page-dark .training-list li,
.page-dark .training-list li:last-child {
  border-color: rgba(243, 235, 224, 0.18);
}

.page-dark .training-date {
  color: #d4c4a8;
}

.page-dark .training-doc {
  color: rgba(243, 235, 224, 0.55);
}

.page-dark .training-doc:hover,
.page-dark .training-doc:focus-visible {
  color: rgba(243, 235, 224, 0.9);
}

@media (max-width: 700px) {
  .nav {
    display: none;
  }

  .site-header {
    padding: 1rem 1.25rem;
  }

  .logo {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .logo-mark {
    width: 2.75rem;
  }

  .hero-inner {
    padding-top: 4.75rem;
  }

  .hero-logo {
    width: clamp(6.5rem, 22vw, 7.5rem);
    margin-bottom: 0.85rem;
  }

  .brand-mark {
    font-size: clamp(1.9rem, 8.5vw, 2.35rem);
  }

  .hero h2,
  .hero-lead {
    max-width: none;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section h2 {
    max-width: none;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .about-content {
    order: 1;
  }

  .about-aside {
    order: 2;
  }

  .about-photo {
    order: 3;
  }

  .aside-panel {
    animation: none;
  }

  .audience-list {
    gap: 2rem;
  }

  .audience-list .audience-heading {
    font-size: clamp(1.45rem, 5.5vw, 1.75rem);
    line-height: 1.2;
  }

  .audience-list li + li {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(63, 107, 90, 0.25);
  }

  .location-photo,
  .location-photo img,
  .map-wrap {
    min-height: 12rem;
  }

  .booking-layout {
    gap: 1.5rem;
  }

  .cookie-banner {
    padding: 0.85rem 1rem 1rem;
  }

  .cookie-banner-inner {
    padding: 1rem;
  }
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  padding: clamp(1rem, 3vw, 1.35rem);
  background: rgba(26, 36, 32, 0.42);
  backdrop-filter: blur(6px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.15rem, 3vw, 1.5rem);
  border-radius: var(--radius);
  background: linear-gradient(165deg, #f7f4ef 0%, #eef3ea 100%);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-banner h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 62ch;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-banner .btn {
  font-size: 0.92rem;
  padding: 0.72rem 1.15rem;
}

.cookie-banner .btn-primary {
  background: var(--leaf-deep);
  color: var(--white);
}

.cookie-banner .btn-primary:hover {
  background: var(--leaf);
}

.cookie-banner .btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(63, 107, 90, 0.28);
}

.cookie-banner .btn-secondary:hover {
  background: var(--sand);
}

.cookie-banner .btn-ghost {
  background: transparent;
  color: var(--leaf-deep);
  padding-inline: 0.85rem;
}

.cookie-banner .btn-ghost:hover {
  background: rgba(63, 107, 90, 0.08);
  transform: none;
}

.cookie-banner-settings {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(63, 107, 90, 0.2);
  display: grid;
  gap: 0.75rem;
}

.cookie-banner-settings[hidden] {
  display: none;
}

.cookie-toggle {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.cookie-toggle input {
  margin-top: 0.2rem;
  accent-color: var(--leaf-deep);
}

.cookie-toggle-disabled {
  opacity: 0.72;
  cursor: default;
}

.cookie-toggle strong {
  color: var(--ink);
}

.footer-meta a[data-cookie-settings] {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
