*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0D1B2A;
  --navy-mid: #1C3148;
  --gold: #C9A84C;
  --gold-light: #E8CFA0;
  --cream: #F7F4EE;
  --cream-dark: #EDE9DF;
  --text-dark: #0D1B2A;
  --text-mid: #3D5166;
  --text-light: #7A8FA0;
  --white: #FFFFFF;
  --border: rgba(13, 27, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.page {
  display: none;
  padding-top: 68px;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(201, 168, 76, 0.03) 80px, rgba(201, 168, 76, 0.03) 81px);
  pointer-events: none;
}

.hero-content {
  padding: 6rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
}

.hero-photo-frame {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy);
  padding: 5rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 860px;
  line-height: 1.8;
  margin-top: 0.75rem;
}

/* ── SHARED ── */
.section-tag {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.content-section {
  padding: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--cream-dark);
  color: var(--text-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 2rem 0;
}

/* ── ABOUT ── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.about-role {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-bio {
  font-size: 20px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-photo {
  position: relative;
}

.about-photo-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.about-photo-frame {
  position: relative;
  z-index: 1;
}

.about-photo-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  min-height: 460px;
}


/* ── ZDJECIE DODATKOWE pod portretem — osobna ramka ── */
.about-photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-extra-photo {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-extra-photo img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center;
}

/* ── EXPERIENCE ── */
.exp-section {
  background: var(--cream-dark);
  padding: 4rem 2.5rem;
}

.exp-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.exp-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 3rem 2.75rem;
  position: relative;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.exp-card:hover::before {
  transform: scaleX(1);
}

.exp-years {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.exp-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.exp-company {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.exp-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
}

.exp-photos {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.exp-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ── SZKOLENIA — 3 pionowe bloki ── */
.training-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.training-block {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
  position: relative;
}

.training-block:last-child {
  border-right: 1px solid var(--border);
}

.training-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.training-block:hover {
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.08);
  z-index: 1;
}

.training-block:hover::after {
  transform: scaleX(1);
}

.training-block-photo {
  position: sticky;
  top: 68px;
  z-index: 2;
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.training-block-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.training-block:hover .training-block-photo img {
  transform: scale(1.04);
}

.training-block-body {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.training-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}

.training-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.training-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ── INTERIM — 3 karty ── */
.interim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.interim-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.interim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 27, 42, 0.1);
}

.interim-card-accent {
  height: 4px;
  background: var(--gold);
  width: 100%;
}

.training-block-accent {
  height: 4px;
  background: var(--gold);
  width: 100%;
  flex-shrink: 0;
}

.interim-card-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.interim-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.interim-card-icon {
  width: 44px;
  height: 44px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1.25rem;
}

.interim-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.interim-card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

.interim-scope {
  background: var(--cream-dark);
  padding: 1rem 1.25rem;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

.interim-scope strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

/* ── AUDYTY — 3 karty ── */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.audit-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.audit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 27, 42, 0.1);
}

.audit-card-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.audit-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.audit-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--navy);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.audit-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.audit-card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}

.audit-points {
  list-style: none;
}

.audit-points li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.audit-points li:last-child {
  border-bottom: none;
}

.audit-points li::before {
  content: '—';
  color: var(--gold);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── PROJEKTY ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  /* ZMIANA: align-items: start zamiast domyślnego stretch,
         flex-direction: column ale BEZ justify-content: space-between —
         treść wyrównana do góry, boks zachowuje równą wysokość z sąsiadami */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.08);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--navy);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.project-cat {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.25;
  /* ZMIANA: usunięto flex:1 — tytuł nie rozciąga się już do dołu */
}

.project-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--cream-dark);
  color: var(--text-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── CONTACT + FOOTER ── */
.contact-strip {
  background: var(--navy);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-strip-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
}

.contact-strip-text em {
  font-style: italic;
  color: var(--gold-light);
}

footer {
  background: #070F18;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.step-list {
  list-style: none;
  margin-top: 1rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.step-item:first-child {
  border-top: 1px solid var(--border);
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  min-width: 40px;
  line-height: 1;
  margin-top: -4px;
}

.step-title {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── FOOTER ── */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-contact a {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

/* ── CONTACT PAGE ── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

.contact-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-value:hover {
  color: var(--gold);
}

.contact-social-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--navy);
  background: var(--white);
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.contact-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-visual {
  position: relative;
}

.contact-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
  min-height: 480px;
}

.contact-visual-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.contact-visual-inner {
  position: relative;
  z-index: 1;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── TABLET ≤900px ── */
@media (max-width: 900px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.98);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 14px;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-visual {
    display: none;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }

  .about-photo {
    order: -1;
  }

  .about-photo-accent {
    display: none;
  }

  .about-name {
    font-size: 38px;
  }

  .exp-section {
    padding: 2.5rem 1.5rem;
  }

  .exp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .exp-photos {
    grid-template-columns: 1fr;
  }

  .training-3col {
    grid-template-columns: 1fr;
    border: 1px solid var(--border);
  }

  .training-block {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .training-block:last-child {
    border-bottom: none;
  }

  .training-block-photo {
    position: relative;
    top: auto;
    height: 200px;
  }

  .training-block-body {
    padding: 2rem 1.5rem;
  }

  .training-num {
    font-size: 40px;
  }

  .training-title {
    font-size: 24px;
  }

  .interim-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .audit-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem;
  }

  .contact-visual {
    order: -1;
  }

  .contact-visual-accent {
    display: none;
  }

  .contact-visual img {
    min-height: 260px;
  }

  .page-header {
    padding: 3rem 1.5rem 2.5rem;
  }

  .page-title {
    font-size: 40px;
  }

  .content-section {
    padding: 2.5rem 1.5rem;
  }

  .contact-strip {
    padding: 2.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .contact-strip-text {
    font-size: 26px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-contact-sep {
    display: none;
  }

  .section-title {
    font-size: 36px;
  }
}

/* ── MOBILE ≤600px ── */
@media (max-width: 600px) {
  .hero-content {
    padding: 2.5rem 1.25rem 2rem;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .about-hero {
    padding: 2rem 1.25rem;
  }

  .about-name {
    font-size: 32px;
  }

  .about-bio {
    font-size: 14px;
  }

  .exp-section {
    padding: 2rem 1.25rem;
  }

  .exp-grid {
    grid-template-columns: 1fr;
  }

  .exp-role {
    font-size: 18px;
  }

  .training-block-body {
    padding: 1.5rem 1.25rem;
  }

  .training-title {
    font-size: 22px;
  }

  .interim-card-title {
    font-size: 21px;
  }

  .audit-card-title {
    font-size: 21px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-title {
    font-size: 18px;
  }

  .page-header {
    padding: 2.5rem 1.25rem 2rem;
  }

  .page-title {
    font-size: 32px;
  }

  .page-subtitle {
    font-size: 14px;
  }

  .content-section {
    padding: 2rem 1.25rem;
  }

  .contact-page-grid {
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .contact-item-value {
    font-size: 20px;
  }

  .contact-social-row {
    flex-direction: column;
  }

  .contact-social-btn {
    justify-content: center;
  }

  .contact-strip {
    padding: 2rem 1.25rem;
  }

  .contact-strip-text {
    font-size: 22px;
  }

  footer {
    padding: 1.25rem;
  }

  .section-title {
    font-size: 28px;
  }
}

/* ══════════════════════════════════════════════════════════════
   RWD — TELEFONY (≤480px)
   Uzupełnienie i korekta dla małych ekranów
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── NAV ── */
  nav {
    padding: 0 1rem;
    height: 60px;
  }

  .page {
    padding-top: 60px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-links {
    top: 60px;
  }

  .nav-links a {
    padding: 0.9rem 1.25rem;
    font-size: 13px;
  }

  /* ── HERO ── */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    padding: 2rem 1rem 2rem;
  }

  .hero-eyebrow {
    font-size: 11px;
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: 30px;
    margin-bottom: 1.25rem;
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 1.75rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-outline {
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    font-size: 12px;
  }

  /* ── BIO / O MNIE ── */
  .about-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1rem;
  }

  .about-photo-col {
    order: -1;
  }

  .about-photo-accent {
    display: none;
  }

  .about-name {
    font-size: 28px;
  }

  .about-role {
    font-size: 12px;
    margin-bottom: 1rem;
  }

  .about-bio {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .about-extra-photo img {
    height: 140px;
  }

  .section-tag {
    font-size: 12px;
  }

  /* ── DOŚWIADCZENIE ── */
  .exp-section {
    padding: 1.75rem 1rem;
  }

  .exp-inner {
    max-width: 100%;
  }

  .exp-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .exp-card {
    padding: 1.5rem 1.25rem;
  }

  .exp-years {
    font-size: 11px;
  }

  .exp-role {
    font-size: 17px;
    margin-bottom: 0.2rem;
  }

  .exp-company {
    font-size: 12px;
    margin-bottom: 0.5rem;
  }

  .exp-desc {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .exp-photos {
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
  }

  .exp-photos img {
    height: 180px;
  }

  .section-title {
    font-size: 26px;
  }

  /* ── PAGE HEADER ── */
  .page-header {
    padding: 2rem 1rem 1.75rem;
  }

  .page-title {
    font-size: 28px;
    line-height: 1.1;
  }

  .page-subtitle {
    font-size: 13.5px;
    line-height: 1.7;
    margin-top: 0.5rem;
  }

  .content-section {
    padding: 1.75rem 1rem;
  }

  /* ── SZKOLENIA ── */
  .training-3col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .training-block {
    border: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .training-block-photo {
    position: relative;
    top: auto;
    height: 170px;
  }

  .training-block-body {
    padding: 1.25rem 1rem;
  }

  .training-num {
    font-size: 34px;
    margin-bottom: 0.6rem;
  }

  .training-title {
    font-size: 20px;
    margin-bottom: 0.75rem;
  }

  .training-desc {
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* ── INTERIM ── */
  .interim-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .interim-card-photo img {
    height: 170px;
  }

  .interim-card-body {
    padding: 1.25rem 1rem;
  }

  .interim-card-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
    margin-bottom: 0.85rem;
  }

  .interim-card-title {
    font-size: 19px;
    margin-bottom: 0.6rem;
  }

  .interim-card-desc {
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* ── AUDYTY ── */
  .audit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .audit-card-photo img {
    height: 170px;
  }

  .audit-card-body {
    padding: 1.25rem 1rem;
  }

  .audit-card-num {
    font-size: 34px;
  }

  .audit-card-title {
    font-size: 19px;
    margin-bottom: 0.6rem;
  }

  .audit-card-desc {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .audit-points li {
    font-size: 12.5px;
  }

  /* ── PROJEKTY ── */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-card {
    padding: 1.5rem 1.25rem;
  }

  .project-title {
    font-size: 18px;
    margin-bottom: 0.5rem;
  }

  .project-desc {
    font-size: 13.5px;
    line-height: 1.6;
  }

  /* ── KONTAKT PAGE ── */
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem 1rem;
  }

  .contact-visual {
    order: -1;
  }

  .contact-visual-accent {
    display: none;
  }

  .contact-visual img {
    min-height: 200px;
    max-height: 240px;
  }

  .contact-item-label {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .contact-item-value {
    font-size: 18px;
  }

  .contact-social-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .contact-social-btn {
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
  }

  /* ── CONTACT STRIP ── */
  .contact-strip {
    padding: 1.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .contact-strip-text {
    font-size: 20px;
  }

  /* ── FOOTER ── */
  footer {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-contact a {
    font-size: 13px;
  }

  .footer-contact-sep {
    display: none;
  }

  .footer-copy {
    font-size: 11px;
  }
}