/* =====================================================
   renatamartyniak.pl — Professional Brand Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Raleway:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --blue-900: #0d2d42;
  --blue-700: #1a5f8a;
  --blue-500: #2d8bc0;
  --blue-400: #5bb3e0;
  --blue-200: #a8d8ef;
  --blue-100: #ddf0fa;
  --blue-50:  #f0f8fd;
  --ink:    #1c2e3d;
  --muted:  #4a6880;
  --light:  #8aacbe;
  --white:  #ffffff;
  --bg:     #f7fbfe;
  --border: #d4e8f3;
  --shadow-sm: 0 2px 8px rgba(13,45,66,.06);
  --shadow-md: 0 8px 28px rgba(13,45,66,.10);
  --shadow-lg: 0 20px 60px rgba(13,45,66,.14);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --font:   'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --raleway:'Raleway', 'Segoe UI', sans-serif;
  --max-w: 1100px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
ul  { list-style: none; padding: 0; }
p   { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-brand {
  text-decoration: none; display: flex; flex-direction: row;
  align-items: center; gap: 12px;
}
.nav-logo-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--white); letter-spacing: -.02em; line-height: 1;
}
.nav-brand-text { display: flex; flex-direction: column; gap: 1px; }
.nav-brand-name { font-family: var(--raleway); font-size: 16px; font-weight: 700; color: var(--blue-900); letter-spacing: -.01em; line-height: 1; }
.nav-brand-sub  { font-family: var(--raleway); font-size: 10px; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li > a {
  font-family: var(--raleway); font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 7px 10px; border-radius: var(--r-sm);
  transition: background .18s, color .18s; white-space: nowrap; display: block;
}
.nav-links > li > a:hover, .nav-links > li > a.active { background: var(--blue-100); color: var(--blue-700); }
.nav-links .nav-cta > a {
  background: var(--blue-700); color: var(--white);
  padding: 8px 18px; border-radius: var(--r-sm); margin-left: 6px;
}
.nav-links .nav-cta > a:hover { background: var(--blue-900); color: var(--white); }

/* ---- NAV DROPDOWN ---- */
.nav-item-dropdown { position: relative; }
.nav-dropdown-toggle::after { content: ' ▾'; font-size: 9px; vertical-align: middle; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  list-style: none; min-width: 210px; z-index: 300;
  padding-top: 6px; /* 6px transparent hover-bridge fills gap between link and panel */
  background: transparent;
}
/* draw the visible panel as ::before — sits below <li> items, above background */
.nav-dropdown::before {
  content: '';
  position: absolute; top: 6px; left: 0; right: 0; bottom: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  z-index: -1;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.open   .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block; padding: 9px 18px; position: relative;
  font-family: var(--raleway); font-size: 13px; font-weight: 500;
  color: var(--muted); white-space: nowrap; border-radius: 0;
  background: none; transition: background .15s, color .15s;
}
.nav-dropdown li a:hover { background: var(--blue-50); color: var(--blue-700); }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--blue-900); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO (homepage) ---- */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-500) 100%);
  color: var(--white); padding: 100px 0 88px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(91,179,224,.22) 0%, transparent 50%),
    radial-gradient(circle at 5%  80%, rgba(45,139,192,.18) 0%, transparent 45%);
}
.hero-content { position: relative; max-width: 700px; }
.hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24); color: #c8e8f7;
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 600; line-height: 1.1; color: var(--white);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.08rem; color: rgba(255,255,255,.82);
  max-width: 560px; margin-bottom: 34px; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white); padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(91,179,224,.18) 0%, transparent 50%);
}
.page-hero-content { position: relative; }
.page-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.24); color: #c8e8f7;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600; color: var(--white);
  margin-bottom: 12px; line-height: 1.1;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.8);
  max-width: 520px; margin-bottom: 24px; line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700; font-family: var(--raleway);
  letter-spacing: .03em; text-transform: uppercase;
  cursor: pointer; border: none; text-decoration: none; line-height: 1;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: none; box-shadow: none; }
.btn-white   { background: var(--white); color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-outline { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.38); }
.btn-outline:hover { background: rgba(255,255,255,.22); color: var(--white); }
.btn-primary { background: var(--blue-700); color: var(--white); }
.btn-primary:hover { background: var(--blue-900); color: var(--white); }
.btn-secondary { background: var(--blue-100); color: var(--blue-700); }
.btn-secondary:hover { background: var(--blue-200); color: var(--blue-900); }

/* ---- SECTIONS ---- */
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--blue-50); }
.section-dark { background: var(--blue-900); color: var(--white); }
.section-header { margin-bottom: 44px; }
.section-label {
  display: inline-block; font-family: var(--raleway); font-size: 11px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 10px;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 600; color: var(--blue-900); line-height: 1.15; margin-bottom: 12px;
}
.section-dark h2 { color: var(--white); }
.section-lead { font-size: 1.02rem; color: var(--muted); max-width: 620px; line-height: 1.75; }

/* ---- GRID ---- */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---- CARDS ---- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px 26px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 50px; height: 50px; background: var(--blue-100);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-900); margin-bottom: 8px; }
.card h3 a { color: var(--blue-900); }
.card h3 a:hover { color: var(--blue-500); }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.card-arrow {
  font-size: .88rem; font-weight: 600; color: var(--blue-500);
  display: inline-flex; align-items: center; gap: 4px;
}
.card-arrow::after { content: ' →'; }

/* ---- ENTRY TILES ---- */
.entry-tile {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  text-decoration: none; display: block; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.entry-tile:hover {
  border-color: var(--blue-400); box-shadow: var(--shadow-md);
  transform: translateY(-4px); color: var(--ink);
}
.tile-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--blue-100); display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.tile-label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 6px; }
.tile-title { font-size: 1rem; font-weight: 700; color: var(--blue-900); margin-bottom: 8px; }
.tile-desc  { font-size: .87rem; color: var(--muted); line-height: 1.6; }

/* ---- ABOUT BLOCK ---- */
.about-block {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 60px; align-items: center;
}
.about-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border-radius: var(--r-lg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--muted); font-size: .85rem;
  text-align: center; padding: 20px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 14px; }
.about-text p  { color: var(--muted); line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag  { background: var(--blue-100); color: var(--blue-700); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }

/* ---- TRUST BAR ---- */
.trust-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 0; background: var(--white);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px 24px;
  align-items: center;
}
.trust-item  { text-align: center; min-width: 0; }
.trust-num   { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--blue-700); line-height: 1; }
.trust-lbl   { font-family: var(--raleway); font-size: .72rem; color: var(--muted); margin-top: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white); padding: 68px 0; text-align: center;
}
.cta-banner h2   { color: var(--white) !important; margin-bottom: 12px; }
.cta-banner .lead { color: rgba(255,255,255,.8); max-width: 500px; margin: 0 auto 28px; }
.cta-banner-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: var(--blue-100); border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px; color: var(--blue-900); font-size: .95rem; line-height: 1.7;
}

/* ---- DEADLINE BANNER ---- */
.deadline-banner {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff; border-radius: var(--r-md);
  padding: 13px 16px; margin-bottom: 12px; text-align: center;
  box-shadow: 0 2px 10px rgba(180,83,9,.25);
}
.deadline-banner strong {
  display: block; font-family: var(--raleway);
  font-size: .95rem; font-weight: 800;
  letter-spacing: -.01em; margin-bottom: 2px;
}
.deadline-banner span { font-size: .78rem; opacity: .92; }

/* ---- CHECK LIST ---- */
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--muted); font-size: .95rem; line-height: 1.65;
}
.check-list li::before {
  content: ''; flex-shrink: 0; margin-top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-5' stroke='%232d8bc0' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info {
  background: var(--blue-50); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
}
.contact-info h3 { font-size: 1rem; font-weight: 700; color: var(--blue-900); margin-bottom: 20px; }
.contact-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: .9rem; color: var(--muted);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row strong { color: var(--blue-900); min-width: 64px; font-weight: 600; }
.contact-paths h3 { font-size: 1rem; font-weight: 700; color: var(--blue-900); margin-bottom: 16px; }
.path-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 12px;
  transition: box-shadow .2s, transform .2s;
}
.path-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.path-item h4 { font-size: .95rem; font-weight: 700; color: var(--blue-900); margin-bottom: 4px; }
.path-item p  { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---- NEWS ---- */
.news-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card-bar { height: 6px; background: linear-gradient(90deg, var(--blue-700), var(--blue-400)); }
.news-card-body { padding: 24px; }
.news-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: 8px;
}
.news-card h3 {
  font-size: 1.02rem; font-weight: 700; color: var(--blue-900);
  margin-bottom: 8px; line-height: 1.4;
}
.news-card p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

/* ---- PARTNERS ---- */
.partner-section + .partner-section { margin-top: 44px; }
.partner-section h3 {
  font-size: .85rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: 16px;
}
.partner-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.partner-logo {
  aspect-ratio: 2/1; background: var(--blue-50); border: 1px solid var(--border);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; color: var(--light); font-size: .72rem;
  font-weight: 600; text-align: center; padding: 8px;
  transition: border-color .2s;
}
.partner-logo:hover { border-color: var(--blue-400); }

/* ---- FOOTER ---- */
.site-footer { background: var(--blue-900); padding: 60px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-brand-name { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.footer-brand-sub  { font-size: 10.5px; color: rgba(255,255,255,.45); letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }
.footer-brand-desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-top: 12px; }
.footer-col h4     { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 14px; }
.footer-links li   { margin-bottom: 8px; }
.footer-links a    { font-size: .87rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .78rem; color: rgba(255,255,255,.35);
}

/* ---- NEWS GRID ---- */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.news-card-content { padding: 24px; }
.news-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-500);
  display: block; margin-bottom: 8px;
}

/* ---- CONTACT EXTRAS ---- */
.contact-paths { }
.contact-list { list-style: none; padding: 0; margin-top: 20px; }
.contact-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-list strong { color: var(--blue-900); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span { color: var(--muted); }
.contact-list a:hover { color: var(--blue-500); }
.path-list { display: flex; flex-direction: column; }

/* ---- ABOUT PHOTO WRAPPER ---- */
.about-photo-wrap { }
.about-photo-placeholder {
  aspect-ratio: 3/4; max-width: 300px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border-radius: var(--r-lg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--light); font-size: .85rem; text-align: center; padding: 20px;
}

/* ---- PHOTO PLACEHOLDER (generic) ---- */
.photo-placeholder {
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-50) 100%);
  border: 1.5px dashed var(--blue-400); border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 28px 20px; color: var(--muted);
  font-size: .82rem; text-align: center; min-height: 200px;
  position: relative; overflow: hidden;
}
.photo-placeholder .ph-icon {
  font-size: 2rem; margin-bottom: 8px; opacity: .5;
}
.photo-placeholder .ph-label {
  font-family: var(--raleway); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--blue-500);
  margin-bottom: 6px;
}
.photo-placeholder .ph-prompt {
  font-size: .7rem; color: var(--blue-400); font-style: italic;
  margin-top: 8px; padding: 8px 12px;
  background: rgba(45,139,192,.07); border-radius: 8px; line-height: 1.5;
  max-width: 260px;
}
.photo-placeholder-tall  { min-height: 320px; }
.photo-placeholder-short { min-height: 160px; }

/* ---- QUOTE BLOCK ---- */
.quote-block {
  border-left: 4px solid var(--blue-500);
  padding: 22px 28px; margin: 28px 0;
  background: var(--blue-50); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote-block blockquote {
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: var(--blue-900); line-height: 1.6; margin: 0 0 8px;
}
.quote-block cite {
  font-family: var(--raleway); font-size: .78rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}

/* ---- CREDENTIAL CARDS ---- */
.credential-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.credential-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: box-shadow .18s, transform .18s;
}
.credential-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.credential-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--blue-100); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.credential-text h4 {
  font-family: var(--raleway); font-size: .88rem; font-weight: 700;
  color: var(--blue-900); margin-bottom: 3px;
}
.credential-text p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: var(--blue-200);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -25px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue-500); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-500);
}
.timeline-year {
  font-family: var(--raleway); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 4px;
}
.timeline-item h4 {
  font-family: var(--raleway); font-size: .95rem; font-weight: 700;
  color: var(--blue-900); margin-bottom: 4px;
}
.timeline-item p { font-size: .87rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---- STORY / GALLERY CARDS ---- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.story-media {
  aspect-ratio: 4/3;
  background: var(--blue-50);
  overflow: hidden;
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-body {
  padding: 22px;
}
.story-kicker,
.story-date {
  display: inline-block;
  font-family: var(--raleway);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.story-date {
  color: var(--muted);
  margin-left: 8px;
}
.story-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.45;
  margin: 10px 0 10px;
}
.story-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.story-points {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-points li {
  position: relative;
  padding-left: 16px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
}
.story-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}
.story-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.story-band-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
}
.story-band-item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.story-band-item p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── Post list (compact, no images) ─────────────────────── */
.post-list {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.post-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background .15s;
}
.post-item:last-child { border-bottom: none; }
.post-item:hover { background: var(--blue-50); }
.post-item-meta {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-sans);
  line-height: 1.5;
}
.post-item-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-700);
  background: var(--blue-50);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 5px;
}
.post-item-body {
  padding: 18px 24px;
}
.post-item-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1.35;
  color: var(--text);
  font-family: var(--font-sans);
}
.post-item-body p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ---- FORM ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--raleway); font-size: .8rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--blue-900);
  margin-bottom: 6px;
}
.form-group input:not([type=checkbox]):not([type=radio]), .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--font); font-size: .95rem;
  color: var(--ink); background: var(--white);
  transition: border-color .18s, box-shadow .18s; outline: none;
}
.form-group input:not([type=checkbox]):not([type=radio]):focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(45,139,192,.14);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .87rem; font-weight: 400; color: var(--ink);
  text-transform: none; letter-spacing: 0; cursor: pointer;
  line-height: 1.5;
}
.form-check input[type=checkbox] {
  width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--blue-500); cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--blue-900); margin-bottom: 6px;
}
.form-card .form-desc {
  font-size: .9rem; color: var(--muted); margin-bottom: 24px; line-height: 1.65;
}
.form-notice {
  font-size: .76rem; color: var(--muted); margin-top: 12px;
  padding: 10px 14px; background: var(--blue-50); border-radius: var(--r-sm);
}
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-option {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  transition: border-color .15s, background .15s;
}
.radio-option:hover { border-color: var(--blue-400); background: var(--blue-50); }
.radio-option input[type=radio] { margin-top: 2px; accent-color: var(--blue-500); flex-shrink: 0; }
.radio-option .radio-label { font-size: .9rem; font-weight: 600; color: var(--blue-900); text-transform: none; letter-spacing: 0; font-family: var(--raleway); }
.radio-option .radio-desc  { font-size: .78rem; color: var(--muted); margin-top: 2px; text-transform: none; letter-spacing: 0; }
.radio-option:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); }
.form-section {
  margin: 28px 0 14px; font-family: var(--raleway); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue-400);
  display: flex; align-items: center; gap: 10px;
}
.form-section::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-block { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-band { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 10px 12px 16px; gap: 2px;
    box-shadow: var(--shadow-md); z-index: 199;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a  { display: block; padding: 12px 14px; font-size: 15px; }
  .nav-links .nav-cta > a { text-align: center; margin-left: 0; margin-top: 6px; }
  .nav-toggle { display: flex; }
  /* Dropdown on mobile — always visible when open */
  .nav-item-dropdown .nav-dropdown {
    display: block; position: static; box-shadow: none;
    border: none; border-radius: 0;
    background: var(--blue-50); padding: 0 0 0 0; margin: 0 0 4px;
    padding-top: 0; /* remove desktop bridge */
  }
  .nav-item-dropdown .nav-dropdown::before { display: none; }
  .nav-dropdown li a {
    padding: 9px 14px 9px 28px; font-size: 14px; color: var(--muted);
  }
  .nav-dropdown-toggle::after { content: none; }
  .grid-2, .grid-3, .grid-4, .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-block  { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; }
  .post-item-meta { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 16px 10px; }
  .post-item-body { padding: 12px 16px 16px; }
  .hero { padding: 68px 0 60px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
  .cta-banner { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-items { grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
  .credential-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.85rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .hero { padding: 56px 0 48px; }
}

/* ---- NAV MOBILE-ONLY ITEM ---- */
@media (min-width: 769px) {
  .nav-mobile-only { display: none; }
}

/* ---- ABOUT PHOTO (real photo) ---- */
.about-photo-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-md);
}

/* When about-block has no photo — text fills full width */
.about-block:has(> .about-text:only-child),
.about-block.no-photo {
  grid-template-columns: 1fr;
}
/* Also constrain inner text for readability at full width */
.about-block.no-photo .about-text,
.about-block:has(> .about-text:only-child) .about-text {
  max-width: 740px;
}

/* ---- RESPONSIVE EXTRAS ---- */
@media (max-width: 768px) {
  .about-block { gap: 32px; }
  .about-photo-wrap { max-width: 320px; margin: 0 auto; }
  .contact-grid { gap: 24px; }
  .trust-items { grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
  .news-grid { gap: 20px; }
  .grid { gap: 16px; }
  .section-header { margin-bottom: 28px; }
  .page-hero { padding: 48px 0 40px; }
  .footer-grid { gap: 24px; }
  .form-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .trust-num { font-size: 1.8rem; }
  .trust-items { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .quote-block { padding: 16px 18px; }
  .quote-block blockquote { font-size: 1.08rem; }
  .card { padding: 22px 18px; }
  .credential-grid { grid-template-columns: 1fr; }
  .about-block { gap: 24px; }
  .hero-actions { gap: 10px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: auto; }
  .cta-banner-actions .btn { width: auto; }
}

/* ---- OFFER BLOCKS (unified program template) ---- */
.offer-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.offer-block:last-child { border-bottom: none; }
.offer-block-alt { background: var(--blue-50); }

.offer-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.offer-h3 {
  font-family: var(--raleway);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px; margin-top: 28px;
}
.offer-main .offer-h3:first-child { margin-top: 0; }

.offer-meta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden; margin-bottom: 12px;
}
.offer-meta-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  font-size: .87rem; color: var(--muted); line-height: 1.5;
}
.offer-meta-item:last-child { border-bottom: none; }
.offer-meta-icon { font-size: 14px; flex-shrink: 0; width: 18px; text-align: center; margin-top: 2px; }

.offer-facilitator {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 12px;
}
.offer-facilitator img {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; border: 2px solid var(--blue-200);
}
.offer-facilitator-ph {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-100); border: 2px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.offer-facilitator-name {
  font-family: var(--raleway); font-size: .9rem; font-weight: 700;
  color: var(--blue-900); margin-bottom: 2px;
}
.offer-facilitator-role { font-size: .77rem; color: var(--muted); line-height: 1.5; }

.offer-flyer-poster {
  display: block; margin-top: 16px; margin-bottom: 4px;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
}
.offer-flyer-poster img { width: 100%; display: block; transition: opacity .2s; }
.offer-flyer-poster:hover img { opacity: .88; }

.offer-steps { display: flex; flex-direction: column; gap: 12px; }
.offer-step { display: flex; gap: 14px; align-items: flex-start; }
.offer-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-700); color: var(--white);
  font-family: var(--raleway); font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.offer-step-body h4 {
  font-family: var(--raleway); font-size: .9rem; font-weight: 700;
  color: var(--blue-900); margin-bottom: 2px;
}
.offer-step-body p { font-size: .83rem; color: var(--muted); line-height: 1.55; margin: 0; }

.offer-sessions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 0;
}
.offer-session {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 14px;
}
.offer-session-num {
  font-family: var(--raleway); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-400);
  margin-bottom: 4px;
}
.offer-session h4 { font-size: .84rem; font-weight: 700; color: var(--blue-900); margin-bottom: 4px; }
.offer-session p { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
  .offer-layout { grid-template-columns: 1fr; gap: 28px; }
  .offer-block { padding: 48px 0; }
  .offer-sessions-grid { grid-template-columns: 1fr; }
}
/* ---- LIGHTBOX ---- */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  padding: 4px 10px;
  border-radius: 4px;
}
.lb-close:hover { opacity: 1; background: rgba(255,255,255,.1); }

/* ---- LIGHTBOX ---- */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  padding: 4px 10px;
  border-radius: 4px;
}
.lb-close:hover { opacity: 1; background: rgba(255,255,255,.1); }
