:root {
  --navy: #1c2438;
  --navy-2: #141b2c;
  --teal: #1a7a8a;
  --teal-deep: #024959;
  --copper: #c4956a;
  --cream: #f8f6f2;
  --paper: #ffffff;
  --line: #e5e2db;
  --muted: #667084;
  --orange-eu: #e87c1e;
  --blue-eu: #1a3a6b;
  --shadow: 0 24px 70px rgba(28, 36, 56, 0.12);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--teal);
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 10px clamp(22px, 5vw, 74px);
  background: rgba(248, 246, 242, 0.94);
  border-bottom: 1px solid rgba(28, 36, 56, 0.1);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand .logo-dark { display: none; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  color: rgba(28, 36, 56, 0.72);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { background: var(--teal); transform: translateY(-2px); }
.btn-teal { background: var(--teal); }
.btn-teal:hover { background: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--copper); color: var(--navy); }
.btn-outline { border-color: rgba(255,255,255,0.35); background: transparent; }
.btn-outline:hover { border-color: var(--copper); background: rgba(255,255,255,0.06); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 600;
  text-underline-offset: 5px;
}
.text-link::after { content: "\2192"; transition: transform 160ms ease; }
.text-link:hover::after { transform: translateX(4px); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow-on-dark { color: #e2b990; }
.display-title,
.section-title,
.project-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  letter-spacing: -0.025em;
}
.display-title { max-width: 720px; font-size: clamp(3.45rem, 7vw, 7rem); line-height: 0.92; }
.display-title em { color: var(--teal); font-weight: 300; }
.section-title { max-width: 760px; font-size: clamp(2.65rem, 5vw, 5.1rem); line-height: 1; }
.section-title em { color: var(--teal); font-weight: 300; }
.lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(28, 36, 56, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}
.lead-on-dark { color: rgba(255,255,255,0.72); }
.section-shell { max-width: 1320px; margin: 0 auto; }

.hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  background: var(--cream);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 118px) clamp(28px, 6vw, 92px);
}
.hero-copy .lead { max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 40px; }
.hero-visual {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  background: var(--navy);
}
.hero-visual::before {
  content: "+";
  position: absolute;
  top: -100px;
  right: -22px;
  color: rgba(255,255,255,0.035);
  font-family: var(--font-head);
  font-size: 25rem;
  line-height: 1;
}
.hero-project-view {
  position: absolute;
  top: 52px;
  right: clamp(28px, 5vw, 68px);
  left: clamp(28px, 5vw, 68px);
  height: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.025);
}
.hero-project-view > small {
  color: var(--copper);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.project-signal-list { display: grid; gap: 12px; margin-top: 24px; }
.project-signal {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.project-signal::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid rgba(119,197,206,0.75);
  border-radius: 50%;
  box-shadow: 8px 0 0 -5px var(--copper);
}
.project-signal strong { color: #fff; font-family: var(--font-head); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.project-signal span { color: rgba(255,255,255,0.48); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { padding: 28px 20px 8px 0; }
.hero-stat + .hero-stat { padding-left: 22px; border-left: 1px solid rgba(255,255,255,0.15); }
.hero-stat strong {
  display: block;
  color: var(--copper);
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
}
.hero-stat span { display: block; margin-top: 8px; color: rgba(255,255,255,0.5); font-size: 0.67rem; letter-spacing: 0.11em; text-transform: uppercase; }

.projects-priority {
  position: relative;
  padding: clamp(76px, 9vw, 128px) clamp(22px, 5vw, 74px);
  background: var(--navy-2);
  color: #fff;
}
.projects-priority::before {
  content: "REALIZACJE";
  position: absolute;
  top: 16px;
  right: 4vw;
  color: rgba(255,255,255,0.025);
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 1;
  pointer-events: none;
}
.section-head-row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-head-row .section-title { color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-top: 3px solid var(--teal);
  background: rgba(255,255,255,0.055);
  color: #fff;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.project-card:nth-child(2) { border-top-color: var(--copper); }
.project-card:nth-child(3) { border-top-color: var(--orange-eu); }
.project-card:hover { transform: translateY(-7px); background: rgba(255,255,255,0.095); }
.project-number { color: rgba(255,255,255,0.22); font-family: var(--font-head); font-size: 3.7rem; line-height: 1; }
.project-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.72);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-status { border-color: rgba(65,197,151,0.45); color: #85dfbd; }
.project-card h3 { margin: 0; font-family: var(--font-head); font-size: 2.35rem; font-weight: 400; line-height: 1.05; }
.project-card p { margin: 18px 0 28px; color: rgba(255,255,255,0.63); }
.project-card-bottom { margin-top: auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.project-card-bottom strong { display: block; color: var(--copper); font-family: var(--font-head); font-size: 1.7rem; font-weight: 400; }
.project-card-bottom span { color: rgba(255,255,255,0.46); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.project-arrow { color: #fff !important; font-size: 1.35rem !important; }

.content-section { padding: clamp(76px, 9vw, 132px) clamp(22px, 6vw, 92px); }
.content-section-white { background: var(--paper); }
.two-column { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(44px, 8vw, 118px); align-items: start; }
.proof-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof-item { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 26px; background: var(--paper); }
.proof-item span { color: var(--teal); font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.proof-item h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; line-height: 1.15; }
.proof-item p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.path-card { padding: 36px; border-top: 3px solid var(--teal); background: var(--cream); }
.path-card:nth-child(2) { border-color: var(--copper); }
.path-card h3 { margin: 12px 0 14px; font-family: var(--font-head); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.path-card p { margin: 0; color: var(--muted); }

.contact-section {
  padding: clamp(76px, 9vw, 126px) clamp(22px, 5vw, 74px);
  background: var(--teal-deep);
  color: #fff;
}
.contact-form { margin-top: 44px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); }
.contact-card { position: relative; min-height: 255px; display: flex; flex-direction: column; padding: 30px; background: var(--teal-deep); cursor: pointer; transition: background 180ms ease; }
.contact-card:hover, .contact-card:has(input:checked) { background: #075a69; }
.contact-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--copper); }
.contact-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.contact-card input:focus-visible { opacity: 1; width: 18px; height: 18px; top: 12px; right: 12px; }
.contact-card small { color: #a5dce2; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-card h3 { margin: 20px 0 12px; font-family: var(--font-head); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.contact-card p { margin: 0; color: rgba(255,255,255,0.62); font-size: 0.9rem; }
.contact-card .choice-mark { margin-top: auto; align-self: flex-end; color: rgba(255,255,255,0.4); font-size: 1.35rem; }
.contact-card:has(input:checked) .choice-mark { color: var(--copper); }
.form-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; padding: clamp(24px, 4vw, 44px); background: #fff; color: var(--navy); }
.form-field { display: grid; gap: 8px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; padding: 14px 15px; border: 1px solid #cfd3da; border-radius: 0; background: #fff; color: var(--navy); font: inherit; }
.form-field textarea { min-height: 155px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid rgba(26,122,138,0.25); border-color: var(--teal); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 4px; }
.form-note { max-width: 650px; margin: 0; color: var(--muted); font-size: 0.75rem; }
.email-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; color: rgba(255,255,255,0.66); font-size: 0.82rem; }
.email-address { color: #fff; font-weight: 600; user-select: all; }
.copy-email { padding: 7px 10px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; font: inherit; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.copy-email:hover { border-color: var(--copper); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  padding: 48px clamp(22px, 5vw, 74px);
  background: var(--navy-2);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}
.site-footer strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 500; }
.site-footer a { color: var(--copper); }

/* Katalog projektów */
.subpage-hero {
  padding: clamp(74px, 10vw, 150px) clamp(22px, 6vw, 92px) clamp(68px, 8vw, 110px);
  background: var(--navy);
  color: #fff;
}
.subpage-hero .display-title { max-width: 960px; }
.subpage-hero .display-title em { color: #77c5ce; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 42px; }
.filter-btn {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  background: #fff;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.catalog-card[data-program="fewim"] { border-top-color: var(--teal); }
.catalog-card[data-program="fem"] { border-top-color: var(--copper); }
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.catalog-card[hidden] { display: none; }
.catalog-card .project-badges { margin-top: 0; }
.catalog-card .badge { border-color: var(--line); color: var(--muted); }
.catalog-card .badge-status { border-color: rgba(26,122,138,0.35); color: var(--teal); }
.catalog-card h2 { margin: 14px 0; font-family: var(--font-head); font-size: 2.35rem; font-weight: 500; line-height: 1.04; }
.catalog-card p { margin: 0 0 28px; color: var(--muted); }
.catalog-data { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.catalog-data strong { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; line-height: 1.05; }
.catalog-data span { color: var(--muted); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Podstrony projektów */
.project-page { background: var(--navy-2); color: #fff; }
.project-page .site-nav { background: rgba(20,27,44,0.94); border-color: rgba(255,255,255,0.1); }
.project-page .nav-links a { color: rgba(255,255,255,0.72); }
.project-page .brand .logo-light { display: none; }
.project-page .brand .logo-dark { display: block; }
.project-page .menu-toggle { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; }
.project-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 142px) clamp(22px, 6vw, 92px) 78px;
  background: var(--navy-2);
}
.project-hero::after {
  content: attr(data-project-no);
  position: absolute;
  right: -2vw;
  bottom: -34px;
  color: rgba(255,255,255,0.025);
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 10rem);
  white-space: nowrap;
}
.project-hero-inner { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; }
.project-kicker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.project-title { max-width: 1000px; color: #fff; font-size: clamp(3.3rem, 7vw, 7rem); line-height: 0.92; }
.project-subtitle { max-width: 800px; margin: 30px 0 0; color: rgba(255,255,255,0.64); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.project-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 54px; border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.project-fact { min-height: 142px; padding: 24px; }
.project-fact + .project-fact { border-left: 1px solid rgba(255,255,255,0.15); }
.project-fact strong { display: block; color: var(--copper); font-family: var(--font-head); font-size: clamp(1.65rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.05; }
.project-fact span { display: block; margin-top: 10px; color: rgba(255,255,255,0.5); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.eu-logo-panel { padding: 22px clamp(22px, 6vw, 92px); background: #fff; }
.eu-logo-panel-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.eu-logo-panel img { width: min(590px, 100%); max-height: 88px; object-fit: contain; object-position: left center; }
.eu-logo-note { max-width: 320px; color: #5e6674; font-size: 0.75rem; line-height: 1.55; }
.project-content { background: var(--cream); color: var(--navy); }
.project-content .content-section { border-bottom: 1px solid var(--line); }
.project-content-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(44px, 8vw, 120px); }
.project-content-grid p { margin-top: 0; color: var(--muted); }
.info-card { padding: 26px; border-top: 3px solid var(--teal); background: #fff; box-shadow: 0 10px 35px rgba(28,36,56,0.07); }
.info-card h3 { margin: 0 0 10px; font-family: var(--font-head); font-size: 1.65rem; font-weight: 500; }
.info-card p { margin: 0; }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.task-card { min-height: 210px; padding: 26px; border: 1px solid var(--line); background: #fff; }
.task-card span { color: var(--teal); font-family: var(--font-head); font-size: 2.2rem; }
.task-card h3 { margin: 12px 0 8px; font-family: var(--font-head); font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
.task-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.result-band { padding: clamp(72px, 8vw, 110px) clamp(22px, 6vw, 92px); background: var(--blue-eu); color: #fff; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 40px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.18); }
.result-card { min-height: 220px; padding: 30px; background: var(--blue-eu); }
.result-card strong { display: block; color: #ffc187; font-family: var(--font-head); font-size: 3.2rem; font-weight: 400; line-height: 1; }
.result-card h3 { margin: 14px 0 8px; font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; }
.result-card p { margin: 0; color: rgba(255,255,255,0.65); font-size: 0.86rem; }
.update-note { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--orange-eu); background: rgba(232,124,30,0.1); color: var(--navy); font-size: 0.86rem; }

@media (max-width: 1060px) {
  .site-nav { grid-template-columns: auto auto; justify-content: space-between; }
  .site-nav > nav { display: contents; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 4px; }
  .project-page .nav-links { background: var(--navy-2); border-color: rgba(255,255,255,0.12); }
  .project-page .nav-links li { border-color: rgba(255,255,255,0.12); }
  .nav-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 600px; }
  .project-grid, .catalog-grid { grid-template-columns: 1fr 1fr; }
  .project-card:last-child, .catalog-card:last-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 210px; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-fact:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,0.15); }
  .project-fact:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.15); }
  .task-grid, .result-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-nav { min-height: 72px; padding: 7px 18px; }
  .brand img { width: 54px; height: 54px; }
  .display-title { font-size: clamp(3rem, 16vw, 4.7rem); }
  .section-title { font-size: clamp(2.5rem, 12vw, 3.9rem); }
  .hero { min-height: auto; }
  .hero-copy { padding: 54px 22px 56px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 380px; padding: 24px; }
  .hero-project-view { top: 28px; right: 24px; left: 24px; height: 48%; padding: 20px; }
  .project-signal-list { gap: 4px; margin-top: 12px; }
  .project-signal { grid-template-columns: 24px 1fr auto; gap: 9px; padding: 8px 0; }
  .project-signal strong { font-size: 1.05rem; }
  .project-signal span { font-size: 0.56rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 18px 7px 4px 0; }
  .hero-stat + .hero-stat { padding-left: 8px; }
  .hero-stat:nth-child(3) { grid-column: auto; border-top: 0; border-left: 1px solid rgba(255,255,255,0.15); }
  .hero-stat strong { font-size: 1.75rem; }
  .hero-stat span { font-size: 0.5rem; letter-spacing: 0.07em; }
  .project-grid, .catalog-grid { grid-template-columns: 1fr; }
  .project-card:last-child, .catalog-card:last-child { grid-column: auto; }
  .project-card { min-height: 385px; padding: 26px; }
  .form-panel { grid-template-columns: 1fr; }
  .form-field-full, .form-actions { grid-column: auto; }
  .section-head-row { align-items: flex-start; flex-direction: column; }
  .two-column, .paths-grid, .project-content-grid { grid-template-columns: 1fr; }
  .proof-item { grid-template-columns: 54px 1fr; padding: 22px; }
  .site-footer { grid-template-columns: 1fr; }
  .project-title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .project-facts { grid-template-columns: 1fr; }
  .project-fact + .project-fact { border-top: 1px solid rgba(255,255,255,0.15); border-left: 0; }
  .eu-logo-panel-inner { align-items: flex-start; flex-direction: column; }
  .eu-logo-note { max-width: none; }
  .task-grid, .result-grid { grid-template-columns: 1fr; }
  .result-card { min-height: auto; }
  .catalog-data { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
