/* Pazurn — Workplace Digital Competencies Platform */
:root {
  --ink: #17241f;
  --ink-soft: #2a3833;
  --paper: #f4f1eb;
  --paper-deep: #ebe6dc;
  --surface: #ffffff;
  --muted: #5a635f;
  --muted-soft: #7a847f;
  --primary: #21564b;
  --primary-hover: #184239;
  --brass: #9a7a4a;
  --border: #d8d2c8;
  --border-strong: #c4bdb2;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1080px;
  --header-h: 72px;
  --radius: 4px;
  --shadow: 0 4px 14px rgba(23, 36, 31, 0.07);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: 2.15rem; margin-bottom: 1rem; }
h2 { font-size: 1.65rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.65rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; text-wrap: pretty; }
.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.7; }
ul, ol { margin-bottom: 1.15rem; padding-left: 1.4rem; }
li { margin-bottom: 0.45rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.25rem 0; }
.section-alt { background: var(--paper-deep); }
.section-intro { max-width: 40rem; margin-bottom: 1.75rem; color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted-soft);
  margin-left: 0.35rem;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}
.hero-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass);
  margin-bottom: 0.75rem;
}
.hero-content h1 { font-size: 2.25rem; margin-bottom: 1.15rem; }
.hero-content .lead { margin-bottom: 1.6rem; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--paper); }
.btn-primary:hover { background: var(--primary-hover); color: var(--paper); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--paper-deep); text-decoration: none; }
.btn-group { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card-image { height: 168px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.35rem; }
.card-body p { font-size: 0.94rem; color: var(--muted); margin-bottom: 0.85rem; }
.card-link { font-size: 0.9rem; font-weight: 500; }

/* Note / disclaimer */
.note {
  background: var(--paper-deep);
  border-left: 3px solid var(--brass);
  padding: 1.15rem 1.4rem;
  margin: 1.6rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.note strong { color: var(--ink); }

/* Layout helpers */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.two-col img {
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--paper-deep);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.feature-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--brass);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Modules / programmes */
.module-list { display: flex; flex-direction: column; gap: 2rem; }
.module-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.35rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.module-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
}
.module-meta {
  font-size: 0.88rem;
  color: var(--muted-soft);
  margin-bottom: 0.75rem;
}
.module-topics { font-size: 0.9rem; color: var(--muted); }
.module-topics strong { color: var(--ink); }

.programme-block {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}
.programme-block img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.price-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.75rem;
}
.team-member { text-align: center; }
.team-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.9rem;
  border: 2px solid var(--border);
}
.team-role {
  font-size: 0.86rem;
  color: var(--muted-soft);
  margin-bottom: 0.6rem;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: left;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.contact-details {
  background: var(--paper-deep);
  padding: 1.85rem;
  border-radius: var(--radius);
}
.contact-item { margin-bottom: 1.15rem; }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

/* Page header */
.page-header {
  padding: 2.25rem 0 1.35rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.25rem;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header .lead { margin-bottom: 0; max-width: 38rem; }
.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted-soft);
  margin-bottom: 1.15rem;
}
.breadcrumb a { color: var(--muted-soft); }

/* Steps */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Legal */
.legal-content { max-width: 46rem; }
.legal-content h2 { margin-top: 2.15rem; margin-bottom: 0.85rem; }
.legal-content h3 { margin-top: 1.5rem; }
.legal-content p, .legal-content li { font-size: 0.96rem; }

/* Success */
.success-box {
  text-align: center;
  padding: 3.75rem 1.5rem;
  max-width: 34rem;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #a8b0ab;
  padding: 2.75rem 0 1.75rem;
  margin-top: 2.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}
.footer-brand h3 {
  color: var(--paper);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.footer-brand p { font-size: 0.9rem; color: #a8b0ab; margin-bottom: 0; }
.footer-links h4 {
  color: var(--paper);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-sans);
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #a8b0ab; font-size: 0.9rem; }
.footer-links a:hover { color: var(--paper); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.35rem;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .footer-grid, .programme-block {
    grid-template-columns: 1fr;
  }
  .hero-image { order: -1; }
  .hero-image img { height: 230px; }
  .module-item { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1.15rem;
    border-bottom: 1px solid var(--border);
    gap: 0.9rem;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  h1 { font-size: 1.75rem; }
  .hero-content h1 { font-size: 1.9rem; }
  .section { padding: 2.35rem 0; }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn { width: 100%; }
}
